Wire the three CRP tool handlers in context_ops.py to the ACMS pipeline
and ContextTierService, replacing NotImplementedError stubs with
functional implementations:
- request_context: Sources fragments from ContextTierService, filters
by query/focus keywords, and delegates to ACMSPipeline.assemble()
for budget-constrained context assembly. Accepts optional plan_id
for actor-context invocation.
- query_history: Searches across hot/warm/cold tiers for fragments
matching the query string via case-insensitive substring matching.
Returns results sorted by last-accessed timestamp.
- get_context_budget: Returns current token budget state (max, reserved,
available, used) computed from ContextBudget defaults and hot-tier
fragment token counts.
Additionally:
- Register ACMSPipeline as a Singleton in the DI container
- Create build_context_skill_definition() factory for SkillRegistry
auto-registration of the builtin/context skill
- Replace 3 obsolete NotImplementedError test scenarios with 8 new
functional BDD scenarios covering all handler paths
Lint, typecheck, and coverage (98%) all pass.
ISSUES CLOSED: #873