HUE-023 — Implement capability-based route policy and precedence
Canonical source:
docs/roadmap/issues.json·HUE-023Specification status:
TBI· Readiness:agent:blocked
Resolve provider-neutral needs into approved runtime/model/effort routes.
- Implement capability request and route schema
- Apply safety > user > task > project > global > worker defaults
- Enforce privacy/cost/context/tool constraints
Acceptance criteria
Section titled “Acceptance criteria”- Explicit user override wins within safety
- Prohibited provider never selected
- Resolution rationale is stored
- Invalid policy uses approved fallback or fails closed
Dependencies
Section titled “Dependencies”HUE-022HUE-005
Non-goals
Section titled “Non-goals”- None beyond the documented scope.
Product contract
Section titled “Product contract”- Follow the milestone and repository product contract.
Implementation handoff requirements
Section titled “Implementation handoff requirements”- Preserve the documented security, project, memory and event boundaries.
- Add or update automated tests for every observable acceptance criterion.
- Provide real verification output; do not rely on a worker/agent self-report.
- Update only the exact documentation sections whose status changed.
- Include screenshots or a recording for user-interface changes.
- Include migration, rollback and recovery notes for data/state changes.
- Link the pull request to this issue with
Closes #<issue-number>.