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.
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
name: feature-delivery-loop
|
|
version: 1
|
|
description: |
|
|
Orchestrator workflow for delivering a feature-tagged item end-to-end. Reads
|
|
the item's workflow_state and workflow_history, lists eligible child workflows,
|
|
picks one via policy-pick, dispatches it, waits for completion, then loops.
|
|
Emits ACL request-handoff when policy-pick returns no match or when an outcome
|
|
triggers an escalation that is not yet implemented.
|
|
runtime: feature-delivery-loop
|
|
input:
|
|
state: ready
|
|
required_artifacts: []
|
|
output:
|
|
state: impl-green
|
|
scope_budget:
|
|
# The orchestrator runner does not directly modify code; child workflows do.
|
|
# The schema requires positive minimums, so set the loop's own budget to 1/1
|
|
# — child workflow scope budgets are enforced separately during their dispatch.
|
|
files_modified_max: 1
|
|
lines_diff_max: 1
|
|
wall_clock_seconds_max: 7200
|
|
nodes:
|
|
- id: policy-pick
|
|
kind: script
|
|
cmd: scripts/workflow/policy-pick
|
|
on_fail: escalate
|
|
- id: agent
|
|
kind: agent
|
|
template: feature-delivery-loop
|
|
runtime_config:
|
|
runner: feature_delivery_loop
|
|
prompt: "Drive the eligibility-pick-dispatch-wait loop for item ${item.uuid} until it reaches a terminal state."
|
|
escalation:
|
|
policy_pick_no_match: blocked-pending-handoff
|
|
scope_exceeded: replan-spec-opus
|
|
agent_bailed: feature-delivery-loop
|