You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite orchestrator skill instructions to use MCP tools instead of Read/Write on JSON files. Formalize subagent return contracts. Add get_run_state calls for cumulative state decisions.
Deliverables
Rewrite orchestrate/SKILL.md — replace all run-index.json Read/Write operations with MCP tool calls (init_run, emit_event, register_artifact, complete_run)
Rewrite orchestrate/modules/review-cycle.md — replace all state transition writes with emit_event calls for the review cycle's ~8 event types
Parent
Part of #74 (MCP server for run data + v3 event-sourced format) — PR 4 of 4.
Dependencies
packages/mcpserver with run-data tools #85 (MCP server must exist and be registered)@codeassembly/run-data#86 (Factory migration)Scope
Rewrite orchestrator skill instructions to use MCP tools instead of Read/Write on JSON files. Formalize subagent return contracts. Add
get_run_statecalls for cumulative state decisions.Deliverables
orchestrate/SKILL.md— replace all run-index.json Read/Write operations with MCP tool calls (init_run,emit_event,register_artifact,complete_run)orchestrate/modules/review-cycle.md— replace all state transition writes withemit_eventcalls for the review cycle's ~8 event typesparseWarningconcept, add "MUST include all fields" instruction to all 7 subagent promptsget_run_statefor flow control (from Replace LLM-driven run-index.json assembly with MCP orchestration tools and structured return contracts #83) — 5 specific decision points where the orchestrator reads authoritative state instead of relying on conversation memory_data/artifact-conventions.md— document v3 format specificationFiles to modify
packages/agents/content/skills/orchestrate/SKILL.mdpackages/agents/content/skills/orchestrate/modules/review-cycle.mdpackages/agents/content/skills/_data/artifact-conventions.mdpackages/agents/content/subagents/orchestrated-architect.mdpackages/agents/content/subagents/orchestrated-planner.mdpackages/agents/content/subagents/orchestrated-coder.mdpackages/agents/content/subagents/orchestrated-reviewer.mdpackages/agents/content/subagents/aspect-code-reviewer.mdpackages/agents/content/subagents/aspect-silent-failure-reviewer.mdpackages/agents/content/subagents/aspect-test-reviewer.mdAcceptance criteria
run-index.jsonget_run_state, not conversation memoryrun-index.json(header-only) +run-log.jsonlwith events for all state transitionsSee #74 implementation plan, Step 4 for full details.