Files
agent-runtime-framework/task-templates/workflow/frozen-fixture-emit@1.yaml
Paul O'Reilly e51146fc30 fix: task templates use ingress CP_URL (https://agents.oreillyit.nz/api), not svc.cluster.local:8100
The deploy repo NetworkPolicy admits :8100 only from named apps and the traefik/cms-proxy
namespaces; agent/script pods time out, so state-tx / cp-cli calls silently lost transitions.
Invariant now rejects the in-cluster form and pins the ingress URL.

Claude-Session: https://claude.ai/code/session_01N218bERyNeLhbLmDRDvbWF
2026-10-01 18:14:30 +13:00

28 lines
711 B
YAML

name: frozen-fixture-emit
version: 1
description: Emit frozen test fixtures for test-needed items
runtime: script
input:
state: scoped-tagged
tags_required: [test-needed]
required_artifacts: [impl_skeleton]
output:
state: test-skeleton-ready
scope_budget:
files_modified_max: 2
lines_diff_max: 200
wall_clock_seconds_max: 600
nodes:
- id: frozen-fixture-emit
kind: script
cmd: scripts/workflow/frozen-fixture-emit
on_fail: refuse_dispatch
- id: state-tx
kind: script
cmd: scripts/workflow/state-tx
on_fail: continue
runtime_env:
CP_URL: "https://agents.oreillyit.nz/api"
STATE_TX_NEW_STATE: test-skeleton-ready
STATE_TX_FROM_STATES: scoped-tagged