-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
area/contextContext engine: manager, pipeline, firewallContext engine: manager, pipeline, firewallarea/routingRouting engine: catalog, graph, router, cardsRouting engine: catalog, graph, router, cardscomplexity/averageStandard effort, moderate familiarity neededStandard effort, moderate familiarity neededenhancementNew feature or requestNew feature or requestmilestone/v0.4v0.4 Observability & evaluationv0.4 Observability & evaluationpriority/mediumMedium priority — production readinessMedium priority — production readiness
Description
Context
Split from #45. Wires ProfileConfig into ContextManager, Router, and TreeBuilder so users can pass a single config object.
Depends on the presets child issue (ProfileConfig must exist first).
Acceptance Criteria
-
ContextManagergains optionalprofile: ProfileConfig | Noneparameter that pre-fillsbudget,policy,scoring -
Routergains optionalrouting_config: RoutingConfig | Noneparameter as alternative to individual kwargs -
TreeBuildergains optionalrouting_config: RoutingConfig | Noneparameter formax_children/target_group_size - Individual kwargs still work (backward-compatible)
-
ProfileConfigkwargs override individual kwargs when both are provided (with clear precedence) - Tests for ProfileConfig integration path
File Paths
src/contextweaver/context/manager.py(edit)src/contextweaver/routing/router.py(edit)src/contextweaver/routing/tree.py(edit)tests/test_config.py(edit)tests/test_manager.py(edit)
Parent Issue
Part of #45 (ProfileConfig).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/contextContext engine: manager, pipeline, firewallContext engine: manager, pipeline, firewallarea/routingRouting engine: catalog, graph, router, cardsRouting engine: catalog, graph, router, cardscomplexity/averageStandard effort, moderate familiarity neededStandard effort, moderate familiarity neededenhancementNew feature or requestNew feature or requestmilestone/v0.4v0.4 Observability & evaluationv0.4 Observability & evaluationpriority/mediumMedium priority — production readinessMedium priority — production readiness