fix: per-item work branch (task/${item.uuid}) across all task-stage templates
This commit is contained in:
@@ -17,6 +17,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: code-airouter-tdd-repo
|
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}"
|
||||||
prompt: "Implement the failing test. Test file: ${artifacts.test_file}. Skeleton: ${artifacts.impl_skeleton}."
|
prompt: "Implement the failing test. Test file: ${artifacts.test_file}. Skeleton: ${artifacts.impl_skeleton}."
|
||||||
escalation:
|
escalation:
|
||||||
fixture_broken: fix-test-fixture-sonnet
|
fixture_broken: fix-test-fixture-sonnet
|
||||||
|
|||||||
@@ -17,6 +17,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: code-airouter-tdd-repo
|
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]
|
labels: [airouter]
|
||||||
prompt: "Implement the failing test. Test files: ${metadata.automation.test_files}. Spec IDs: ${metadata.automation.spec_ids}."
|
prompt: "Implement the failing test. Test files: ${metadata.automation.test_files}. Spec IDs: ${metadata.automation.spec_ids}."
|
||||||
escalation:
|
escalation:
|
||||||
|
|||||||
@@ -16,6 +16,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: integration-direct
|
template: integration-direct
|
||||||
|
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: |
|
prompt: |
|
||||||
You are the integration gate for this work item.
|
You are the integration gate for this work item.
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ nodes:
|
|||||||
model: sonnet
|
model: sonnet
|
||||||
runtime_env:
|
runtime_env:
|
||||||
AGENT_REPO_URL: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes-agents.git"
|
AGENT_REPO_URL: "git@gitea.oreillyit.nz-ai-enablement:skynet/agent-runtimes-agents.git"
|
||||||
AGENT_BRANCH: "spec/auto-draft"
|
AGENT_BRANCH: "task/${item.uuid}"
|
||||||
AGENT_SKIP_BRANCH_PUSH: "true"
|
AGENT_SKIP_BRANCH_PUSH: "true"
|
||||||
AGENT_EMPTY_DELIVERABLE_CHECK: "false"
|
AGENT_EMPTY_DELIVERABLE_CHECK: "false"
|
||||||
prompt: "Review the implementation for '${item.title}' (project: ${item.project_id}). Write a concise merge checklist to /workspace/.agent-output/merge-checklist.md covering: (1) tests pass, (2) scope matches spec, (3) no regressions. End with MERGE_READY or NEEDS_REWORK."
|
prompt: "Review the implementation for '${item.title}' (project: ${item.project_id}). Write a concise merge checklist to /workspace/.agent-output/merge-checklist.md covering: (1) tests pass, (2) scope matches spec, (3) no regressions. End with MERGE_READY or NEEDS_REWORK."
|
||||||
|
|||||||
@@ -16,6 +16,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: scaffolding-repo
|
template: scaffolding-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: |
|
prompt: |
|
||||||
Write stub implementations for the following task.
|
Write stub implementations for the following task.
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: code-sonnet-tdd-repo
|
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}."
|
prompt: "Implement the failing test. Test file: ${artifacts.test_file}. Skeleton: ${artifacts.impl_skeleton}."
|
||||||
escalation:
|
escalation:
|
||||||
scope_exceeded: replan-spec-opus
|
scope_exceeded: replan-spec-opus
|
||||||
|
|||||||
@@ -16,4 +16,11 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: code-sonnet-tdd-repo
|
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 task. ${metadata.automation.test_files}${metadata.automation.spec_ids}Task description: ${artifacts.item_title}. ${artifacts.item_body}"
|
prompt: "Implement the task. ${metadata.automation.test_files}${metadata.automation.spec_ids}Task description: ${artifacts.item_title}. ${artifacts.item_body}"
|
||||||
|
|||||||
@@ -15,4 +15,11 @@ scope_budget:
|
|||||||
nodes:
|
nodes:
|
||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: minimax-test-writer
|
template: minimax-test-writer
|
||||||
|
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}"
|
||||||
@@ -16,6 +16,13 @@ nodes:
|
|||||||
- id: agent
|
- id: agent
|
||||||
kind: agent
|
kind: agent
|
||||||
template: test-writing-repo
|
template: test-writing-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: |
|
prompt: |
|
||||||
You are writing pytest tests for the following task.
|
You are writing pytest tests for the following task.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user