fix: per-item work branch (task/${item.uuid}) across all task-stage templates

This commit is contained in:
Paul O'Reilly
2026-07-04 19:37:03 +12:00
parent 4b39c9822f
commit d1dcdf4a8c
9 changed files with 58 additions and 2 deletions

View File

@@ -17,6 +17,13 @@ nodes:
- id: agent
kind: agent
template: code-airouter-tdd-repo
runtime_env:
# WF-COMP-15: stage agents share one per-item work branch so their work
# accumulates (test-write -> scaffold -> impl -> integrate -> merge all
# see the same tree). Without AGENT_REPO_URL the agent-repo layer never
# clones and the agent's output evaporates (E2E 2026-07-04).
AGENT_REPO_URL: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes-agents.git"
AGENT_BRANCH: "task/${item.uuid}"
labels: [airouter]
prompt: "Implement the failing test. Test files: ${metadata.automation.test_files}. Spec IDs: ${metadata.automation.spec_ids}."
escalation: