Server drives pipeline as state machine

On agent completion, the server automatically runs script/test and
advances stories through the pipeline: coder → qa → mergemaster →
archive. Failed gates restart the agent with failure context. Agents
no longer need to call pipeline-advancing MCP tools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-23 13:13:41 +00:00
parent 682c8f9b36
commit 00b212d7e3
3 changed files with 440 additions and 12 deletions

View File

@@ -86,6 +86,7 @@ impl AgentsApi {
&project_root,
&payload.0.story_id,
payload.0.agent_name.as_deref(),
None,
)
.await
.map_err(bad_request)?;