refactor: split the orchestrator into policy-router, effect-executor, and observation-reducer modules #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The live orchestrator is still a 3608-line monolith with 167
analysis.updatecalls, 167return analysissites, and 110Fixcomments.Why this matters
This is the main structural blocker to safe self-improvement. It makes trajectory slices harder to reason about, complicates replay determinism, and slows every architectural change.
Current evidence
/home/openclaw/.openclaw/workspace/bin/agent-orchestrateDeliverables
Definition of done
The orchestrator becomes a thin coordinator; major mutations and routing logic live in dedicated modules with tests.