HUE-025 — Implement adaptive orchestrator planning, dependencies and replanning
Canonical source:
docs/roadmap/issues.json·HUE-025Specification status:
TBI· Readiness:agent:blocked
Implement a bounded scheduler/router that proposes inbox destination, attaches Space context, plans only when useful, handles dependencies, prevents conflicts and replans from evidence.
- Implement direct/tool/single-worker/plan topology choice
- Add Inbox destination and Session-type proposal hook
- Schedule ready steps and parallel safe branches
- Prevent conflicting writes/source actions
- Replan with immutable revisions and explanation
- Route results and proposed Space-state updates
Acceptance criteria
Section titled “Acceptance criteria”- Simple fixture avoids unnecessary multi-agent plan
- Inbox fixture receives correctable Space/Session proposal
- Independent branches run concurrently
- Conflicting execution is blocked
- Failure triggers bounded replan
- User sees plan revision reason
Dependencies
Section titled “Dependencies”HUE-021HUE-023HUE-024
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>.