feat: migrate missing harnesses, templates, and workflows from agent-runtimes
Brings the framework CRS repo up to date with all content that was living in agent-runtimes (local-dev fallback) but hadn't been promoted. New composites: feature-delivery-loop, integration-direct, scaffolding-repo, sonnet-impl-narrow, sonnet-manager, test-writing-repo New contexts: integration/v1, scaffolding/v1, sonnet-manager/v1, z-ai/v1, airouter/v1/bin (anthropic-compat-wrapper.sh), cp-harness/v1/init.sh New task-templates: sonnet-integrator.yaml, workflow/* (17 typed workflow task templates for the Epic 1 pipeline) Updated: agent-repo/v1/finalize.sh — adds AR-38/F97 empty-deliverable audit (SKIP_BRANCH_PUSH support, boilerplate-path filtering, ci_metadata.json flag) Also adds MEMORY.md index and memory/ topic files for the framework repo.
This commit is contained in:
38
task-templates/workflow/scaffold@1.yaml
Normal file
38
task-templates/workflow/scaffold@1.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
name: scaffold
|
||||
version: 1
|
||||
description: Write stub implementations satisfying test signatures before coding begins (WT-PIPE-3)
|
||||
runtime: scaffolding-repo
|
||||
input:
|
||||
state: tests-written
|
||||
tags_forbidden: []
|
||||
required_artifacts: []
|
||||
output:
|
||||
state: scaffolded
|
||||
scope_budget:
|
||||
files_modified_max: 5
|
||||
lines_diff_max: 300
|
||||
wall_clock_seconds_max: 1800
|
||||
nodes:
|
||||
- id: agent
|
||||
kind: agent
|
||||
template: scaffolding-repo
|
||||
prompt: |
|
||||
Write stub implementations for the following task.
|
||||
|
||||
Work item UUID: ${item.uuid}
|
||||
Test files: ${metadata.automation.test_files}
|
||||
Spec IDs: ${metadata.automation.spec_ids}
|
||||
Task description: ${item.body}
|
||||
|
||||
Read the test files on the work branch to identify what functions, classes,
|
||||
and modules need to exist. Write minimal stub implementations:
|
||||
- Correct signatures and type hints
|
||||
- Bodies: raise NotImplementedError("spec-id: description") — no real logic
|
||||
- Minimal Pydantic model fields where needed
|
||||
|
||||
Verify stubs compile and tests still collect (they should remain xfail):
|
||||
python -m py_compile <files>
|
||||
python -m pytest --collect-only ${metadata.automation.test_files}
|
||||
|
||||
Commit and push to the work branch. The coding agent will implement
|
||||
real logic on top of these stubs.
|
||||
Reference in New Issue
Block a user