30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
name: sonnet-impl-narrow
|
|
version: 1
|
|
description: Single-file impl of a tagged spec requirement against existing tests, sonnet in worktree
|
|
runtime: sonnet-impl-narrow
|
|
input:
|
|
state: test-validated
|
|
tags_forbidden: [security-sensitive, multi-file, algorithmic-large]
|
|
required_artifacts: [test_file, impl_skeleton, prompt_pack]
|
|
output:
|
|
state: impl-green
|
|
scope_budget:
|
|
files_modified_max: 1
|
|
lines_diff_max: 80
|
|
wall_clock_seconds_max: 1800
|
|
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
|
|
agent_bailed: sonnet-impl-narrow
|