diff --git a/src/core/preprocessing.py b/src/core/preprocessing.py index fd9bdb0..b91253a 100644 --- a/src/core/preprocessing.py +++ b/src/core/preprocessing.py @@ -103,9 +103,11 @@ async def preprocess_request( # Format note for Tatlock (includes conversation context) steward_note = await format_steward_note(recommendation) - # Get scoped tools from household registry + # Get delegation tools from household registry + # Uses agent-as-tool pattern: expert agents get delegation wrappers, + # core tools are returned directly registry = get_household_registry() - scoped_tools = registry.get_scoped_tools( + scoped_tools = registry.get_delegation_tools( recommendation.recommended_capabilities )