Seed cross-repo wait instructions on new AGENTS.md files.

New scaffold and rapp repos point at coordination-engine wait mode.

Assistant: grok
Assistant-Session: 01a09dc1-b21e-77e1-919e-fcad2f82b267
This commit is contained in:
tegwick 2026-09-14 16:46:45 +02:00
parent 4a19254e8c
commit 91dc9fe145
2 changed files with 10 additions and 2 deletions

View file

@ -89,7 +89,10 @@ def init(
),
"AGENTS.md": (
f"# Repository agent guide\n\nWorkplans use the prefix "
f"`{rapp_id.upper()}-WP-`.\n"
f"`{rapp_id.upper()}-WP-`.\n\n"
"Cross-repo waits: attach to a `prj-` driver "
"(`coordination-engine` `spec/cross-owner-wait-mode-v0.1.md`). "
"Do not strand a `wait` or implement residual flavor.\n"
),
"CLAUDE.md": f"# {rapp_id}\n\n@SCOPE.md\n@AGENTS.md\n",
"Makefile": (

View file

@ -124,7 +124,12 @@ def scaffold_repository(
f"Orient: {'GOAL.md' if prj else 'INTENT.md'} → SCOPE.md → workplans/.\n"
f"Workplan prefix: `{prefix}-`.\n\n"
"## State Hub Integration\n\n"
f"{render_hub_access_block()}\n",
f"{render_hub_access_block()}\n\n"
"## Cross-repo waits\n\n"
"If blocked on another repo, look for a `prj-` driver workplan and "
"follow `coordination-engine` `spec/cross-owner-wait-mode-v0.1.md`. "
"Do not mint a stranded `wait`, implement `flavor: residual`, or "
"message `ops-warden` for secrets.\n",
)
if prj:
today = utc_today().isoformat()