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

@@ -16,6 +16,13 @@ nodes:
- id: agent
kind: agent
template: code-sonnet-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}"
prompt: "Implement the failing test. Test file: ${artifacts.test_file}. Skeleton: ${artifacts.impl_skeleton}."
escalation:
scope_exceeded: replan-spec-opus