diff --git a/task-templates/workflow/airouter-impl-ready@1.yaml b/task-templates/workflow/airouter-impl-ready@1.yaml index b2f6271..cf15c79 100644 --- a/task-templates/workflow/airouter-impl-ready@1.yaml +++ b/task-templates/workflow/airouter-impl-ready@1.yaml @@ -24,7 +24,18 @@ nodes: 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}." + prompt: | + You are implementing source code for the following task. + + ## Task Description + ${metadata.task_description} + + ## Instructions + 1. Read the task description carefully — it specifies the file(s) to create/modify and the exact requirements. + 2. Find the test file mentioned in the description and run it to see current state: `python -m pytest -v --tb=short` + 3. Implement the required source code until all tests pass. + 4. Do NOT modify any test files — they are read-only. + 5. Run the tests one final time to confirm they are green before finishing. escalation: fixture_broken: fix-test-fixture-sonnet contract_ambiguous: review-spec-opus