@tyroneross/build-loop 0.36.0 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/.agents/plugins/marketplace.json +2 -2
  2. package/.claude-plugin/marketplace.json +3 -3
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +1 -1
  5. package/.cursor/rules/build-loop-surface.mdc +12 -11
  6. package/.cursor/rules/skill-index.mdc +33 -0
  7. package/AGENTS.md +213 -34
  8. package/README.md +99 -31
  9. package/agents/advisor.md +4 -4
  10. package/agents/alignment-checker.md +2 -2
  11. package/agents/architecture-scout.md +4 -4
  12. package/agents/build-orchestrator.md +38 -36
  13. package/agents/database-assessor.md +11 -5
  14. package/agents/design-contract-specialist.md +8 -8
  15. package/agents/fact-checker.md +13 -3
  16. package/agents/fix-critique.md +2 -2
  17. package/agents/independent-auditor.md +60 -7
  18. package/agents/leak-scanner.md +82 -0
  19. package/agents/overfitting-reviewer.md +2 -2
  20. package/agents/plan-critic.md +1 -1
  21. package/agents/promotion-reviewer.md +5 -5
  22. package/agents/retrospective-synthesizer.md +138 -35
  23. package/agents/scope-auditor.md +82 -11
  24. package/agents/security-reviewer.md +56 -2
  25. package/agents/self-improvement-architect.md +17 -3
  26. package/agents/transcript-pattern-miner.md +5 -5
  27. package/agents/ui-validator.md +1 -1
  28. package/bin/build-loop-debugger.js +143 -0
  29. package/bin/build-loop-install.js +1 -4
  30. package/bin/build-loop-load-probe.js +345 -0
  31. package/codex-skills/build-loop/SKILL.md +28 -6
  32. package/commands/feedback.md +37 -0
  33. package/dist/src/interactive-verifier.d.ts +1 -14
  34. package/dist/src/interactive-verifier.d.ts.map +1 -1
  35. package/dist/src/interactive-verifier.js +6 -113
  36. package/dist/src/interactive-verifier.js.map +1 -1
  37. package/dist/src/quality.d.ts +5 -0
  38. package/dist/src/quality.d.ts.map +1 -0
  39. package/dist/src/quality.js +81 -0
  40. package/dist/src/quality.js.map +1 -0
  41. package/dist/src/storage.d.ts.map +1 -1
  42. package/dist/src/storage.js +37 -3
  43. package/dist/src/storage.js.map +1 -1
  44. package/docs/agent-surface-policy.md +35 -31
  45. package/docs/memory-setup.md +19 -0
  46. package/hooks/git/pre-push +65 -4
  47. package/hooks/hooks.json +95 -38
  48. package/hooks/pre-commit +20 -1
  49. package/hooks/pre-edit-rally-point.sh +10 -3
  50. package/hooks/session-start-codex-hook-trust.sh +30 -0
  51. package/hooks/session-start-git-hooks.sh +3 -1
  52. package/hooks/session-start-rally-point.sh +52 -4
  53. package/hooks/session-start-worktree-gc.sh +47 -94
  54. package/hooks/stop-transcript-sweep.sh +173 -0
  55. package/hooks/test_closeout.sh +14 -2
  56. package/package.json +8 -7
  57. package/scripts/README.md +1 -1
  58. package/scripts/_paths.py +65 -0
  59. package/scripts/groundwork_exchange.py +1012 -0
  60. package/scripts/install_memory.py +33 -1
  61. package/scripts/lessons_index/ingest.py +13 -2
  62. package/scripts/lessons_index/query.py +36 -13
  63. package/scripts/memory_context/__init__.py +108 -14
  64. package/scripts/memory_graph/__init__.py +5 -1
  65. package/scripts/project_resolver.py +42 -36
  66. package/scripts/sync_plugin_cache.py +37 -2
  67. package/skills/agent-rally-point/SKILL.md +46 -0
  68. package/skills/api-registry-bridge/SKILL.md +1 -1
  69. package/skills/architecture/dead/SKILL.md +1 -1
  70. package/skills/architecture/impact/SKILL.md +1 -1
  71. package/skills/architecture/review/SKILL.md +1 -1
  72. package/skills/architecture/rules/SKILL.md +3 -3
  73. package/skills/architecture/scan/SKILL.md +1 -1
  74. package/skills/architecture/trace/SKILL.md +1 -1
  75. package/skills/attribution-standard/SKILL.md +6 -6
  76. package/skills/auto-decision-capture/SKILL.md +31 -2
  77. package/skills/auto-finding-capture/SKILL.md +28 -1
  78. package/skills/build-loop/SKILL.md +131 -23
  79. package/skills/build-loop/fallbacks.md +16 -21
  80. package/skills/build-loop/phases/ui-validation.md +2 -2
  81. package/skills/build-loop/references/advisor-dispatch-ladder.md +1 -1
  82. package/skills/build-loop/references/apple-native-planning.md +1 -1
  83. package/skills/build-loop/references/autonomous-and-per-commit-modes.md +11 -5
  84. package/skills/build-loop/references/autonomy-dashboard.md +115 -0
  85. package/skills/build-loop/references/capability-routing.md +24 -2
  86. package/skills/build-loop/references/coordination.md +24 -6
  87. package/skills/build-loop/references/experiment-results-template.md +15 -3
  88. package/skills/build-loop/references/leadership.md +1 -1
  89. package/skills/build-loop/references/memory.md +14 -3
  90. package/skills/build-loop/references/modular-systems-pack.md +8 -0
  91. package/skills/build-loop/references/output-style.md +86 -0
  92. package/skills/build-loop/references/phase-1-assess.md +102 -2
  93. package/skills/build-loop/references/phase-2-plan.md +9 -1
  94. package/skills/build-loop/references/phase-3-execute.md +5 -2
  95. package/skills/build-loop/references/phase-4-review.md +85 -8
  96. package/skills/build-loop/references/phase-5-iterate.md +76 -8
  97. package/skills/build-loop/references/phase-6-learn.md +10 -17
  98. package/skills/build-loop/references/privileged-request-broker.md +254 -0
  99. package/skills/build-loop/references/resource-aware-execution.md +183 -0
  100. package/skills/build-loop/references/self-recursive-dev.md +2 -2
  101. package/skills/build-loop/references/status-output-format.md +207 -0
  102. package/skills/build-loop/references/verify-dispatch.md +56 -2
  103. package/skills/building-with-deepagents/SKILL.md +1 -1
  104. package/skills/claim-scope/SKILL.md +185 -0
  105. package/skills/color-engine/SKILL.md +103 -0
  106. package/skills/color-engine/_core.py +464 -0
  107. package/skills/color-engine/color_engine.py +175 -0
  108. package/skills/cost-rca/SKILL.md +61 -0
  109. package/skills/data-plane-worktrees/SKILL.md +139 -0
  110. package/skills/data-plane-worktrees/agents/openai.yaml +4 -0
  111. package/skills/database-practice/SKILL.md +200 -0
  112. package/skills/database-practice/references/diagnostic-queries.sql +126 -0
  113. package/skills/database-practice/references/vector-and-graph-tuning.md +208 -0
  114. package/skills/database-practice/scripts/db_table_map.py +1244 -0
  115. package/skills/database-practice/scripts/test_db_table_map.py +514 -0
  116. package/skills/debug-loop/SKILL.md +36 -6
  117. package/skills/debugging-memory/SKILL.md +32 -430
  118. package/skills/debugging-memory/references/pattern-extraction.md +4 -4
  119. package/skills/debugging-memory/references/search.md +32 -120
  120. package/skills/debugging-memory/references/store.md +32 -126
  121. package/skills/debugging-memory/references/subagent-integration.md +1 -1
  122. package/skills/decision-queue/SKILL.md +251 -0
  123. package/skills/decision-queue/assets/template.html +1242 -0
  124. package/skills/decision-queue/references/example-large-queue-batching.md +164 -0
  125. package/skills/decision-queue/scripts/regen_template_constants.py +160 -0
  126. package/skills/defenseclaw-bridge/SKILL.md +2 -2
  127. package/skills/defenseclaw-bridge/references/dc-config-mapping.md +2 -9
  128. package/skills/drain-proposals/SKILL.md +53 -0
  129. package/skills/focused-loop-builder/SKILL.md +31 -0
  130. package/skills/focused-loop-builder/references/spec-format.md +27 -0
  131. package/skills/handoff/SKILL.md +169 -8
  132. package/skills/ibr-bridge/SKILL.md +4 -1
  133. package/skills/knowledge/SKILL.md +26 -14
  134. package/skills/knowledge/references/review-mode.md +2 -3
  135. package/skills/knowledge/templates/madr-minimal.md +1 -1
  136. package/skills/mcp-builder/SKILL.md +1 -1
  137. package/skills/model-bakeoff/SKILL.md +48 -10
  138. package/skills/model-tiering/SKILL.md +92 -31
  139. package/skills/native-ax-driver/SKILL.md +38 -5
  140. package/skills/native-ax-driver/scripts/native_driver.py +278 -22
  141. package/skills/native-ax-driver/scripts/test_native_driver.py +227 -0
  142. package/skills/optimize/SKILL.md +1 -1
  143. package/skills/plugin-builder/SKILL.md +48 -1
  144. package/skills/plugin-builder/references/build-loop-phase-guidance.md +3 -4
  145. package/skills/plugin-builder/references/distribution.md +13 -2
  146. package/skills/plugin-builder/references/plugin-hygiene-lessons.md +2 -2
  147. package/skills/plugin-tests/SKILL.md +2 -2
  148. package/skills/recursive-retrospective/SKILL.md +1 -1
  149. package/skills/repo-closeout/SKILL.md +17 -0
  150. package/skills/repo-closeout/agents/openai.yaml +4 -0
  151. package/skills/repo-maintenance/SKILL.md +179 -0
  152. package/skills/repo-maintenance/agents/openai.yaml +4 -0
  153. package/skills/repo-maintenance/references/pre-public-hygiene.md +134 -0
  154. package/skills/repo-maintenance/references/repository-taxonomy.md +161 -0
  155. package/skills/repo-maintenance/references/safety-protocol.md +106 -0
  156. package/skills/repo-maintenance/references/stack-profiles.md +138 -0
  157. package/skills/repo-maintenance/scripts/audit_repo_maintenance.py +1198 -0
  158. package/skills/repo-maintenance/scripts/test_audit_repo_maintenance.py +506 -0
  159. package/skills/repository-intelligence/SKILL.md +189 -0
  160. package/skills/repository-intelligence/agents/openai.yaml +4 -0
  161. package/skills/repository-intelligence/references/assessment-rubric.md +88 -0
  162. package/skills/repository-intelligence/scripts/repository_inventory.py +347 -0
  163. package/skills/research/SKILL.md +12 -2
  164. package/skills/root-cause-analysis/SKILL.md +1 -1
  165. package/skills/runtime-parity-verification/SKILL.md +36 -1
  166. package/skills/security-methodology/SKILL.md +23 -10
  167. package/skills/security-methodology/references/agentic-handoff-templates.md +220 -0
  168. package/skills/security-methodology/references/cross-source-matrix.md +1 -1
  169. package/skills/security-methodology/references/owasp-agentic-top-10.md +1 -1
  170. package/skills/security-scan/SKILL.md +55 -15
  171. package/skills/self-improve/SKILL.md +70 -50
  172. package/skills/silent-assumptions/SKILL.md +341 -0
  173. package/skills/silent-assumptions/references/elicitation-detectors.md +342 -0
  174. package/skills/spec-writing/SKILL.md +128 -24
  175. package/skills/spec-writing/scripts/check_checklist.py +114 -15
  176. package/skills/ui-design/SKILL.md +6 -4
  177. package/skills/ui-design/references/color-engine.md +132 -0
  178. package/skills/ui-design/references/design-preferences-from-owned-apps.md +8 -8
  179. package/skills/ui-design/references/ui-guidance-sources.md +1 -1
  180. package/skills/ui-design/references/universal-design-principles.alt.md +2 -2
  181. package/plugin-artifacts/codex/.codex-plugin/plugin.json +0 -41
  182. package/plugin-artifacts/codex/AGENTS.md +0 -560
  183. package/plugin-artifacts/codex/BUILD-ARTIFACT.md +0 -5
  184. package/plugin-artifacts/codex/LICENSE +0 -202
  185. package/plugin-artifacts/codex/README.md +0 -313
  186. package/plugin-artifacts/codex/assets/build-loop-plugin-icon.png +0 -0
  187. package/plugin-artifacts/codex/docs/agent-surface-policy.md +0 -63
  188. package/plugin-artifacts/codex/references/advisor-dispatch-ladder.md +0 -62
  189. package/plugin-artifacts/codex/references/agent-role-taxonomy.md +0 -135
  190. package/plugin-artifacts/codex/references/autonomous-and-per-commit-modes.md +0 -161
  191. package/plugin-artifacts/codex/references/autonomy-config.md +0 -231
  192. package/plugin-artifacts/codex/references/backlog-system.md +0 -285
  193. package/plugin-artifacts/codex/references/capability-routing.md +0 -231
  194. package/plugin-artifacts/codex/references/codex-subagents.md +0 -106
  195. package/plugin-artifacts/codex/references/coordination-file-template.md +0 -181
  196. package/plugin-artifacts/codex/references/coordination-rules.md +0 -552
  197. package/plugin-artifacts/codex/references/dogfood-reload-checkpoint.md +0 -112
  198. package/plugin-artifacts/codex/references/halt-and-ask-protocol.md +0 -102
  199. package/plugin-artifacts/codex/references/implementer-envelope-schema.md +0 -302
  200. package/plugin-artifacts/codex/references/intent-capability-pack.md +0 -257
  201. package/plugin-artifacts/codex/references/intent-exploration-prompts.md +0 -96
  202. package/plugin-artifacts/codex/references/leadership.md +0 -72
  203. package/plugin-artifacts/codex/references/memory-systems.md +0 -261
  204. package/plugin-artifacts/codex/references/memory.md +0 -313
  205. package/plugin-artifacts/codex/references/model-tier-mapping.md +0 -296
  206. package/plugin-artifacts/codex/references/modular-systems-pack.md +0 -96
  207. package/plugin-artifacts/codex/references/phase-1-assess.md +0 -249
  208. package/plugin-artifacts/codex/references/phase-2-plan.md +0 -86
  209. package/plugin-artifacts/codex/references/phase-3-execute.md +0 -49
  210. package/plugin-artifacts/codex/references/phase-4-review.md +0 -341
  211. package/plugin-artifacts/codex/references/phase-5-iterate.md +0 -72
  212. package/plugin-artifacts/codex/references/phase-6-learn.md +0 -58
  213. package/plugin-artifacts/codex/references/recent-design-structures.md +0 -274
  214. package/plugin-artifacts/codex/references/research-trigger-policy.md +0 -140
  215. package/plugin-artifacts/codex/references/runtime-smoke-triggers.md +0 -42
  216. package/plugin-artifacts/codex/references/self-review.md +0 -234
  217. package/plugin-artifacts/codex/references/single-writer-commit-protocol.md +0 -90
  218. package/plugin-artifacts/codex/references/task-capture-policy.md +0 -68
  219. package/plugin-artifacts/codex/references/ui-io-contract.md +0 -116
  220. package/plugin-artifacts/codex/references/ui-spotcheck-protocol.md +0 -65
  221. package/plugin-artifacts/codex/references/verify-dispatch.md +0 -85
  222. package/plugin-artifacts/codex/skills/build-loop/SKILL.md +0 -381
  223. package/plugin-artifacts/codex/skills/build-loop/detect-plugins.mjs +0 -82
  224. package/plugin-artifacts/codex/skills/build-loop/eval-guide.md +0 -65
  225. package/plugin-artifacts/codex/skills/build-loop/fallbacks.md +0 -549
  226. package/plugin-artifacts/codex/skills/build-loop/phases/fact-check.md +0 -42
  227. package/plugin-artifacts/codex/skills/build-loop/phases/ui-validation.md +0 -267
  228. package/plugin-artifacts/codex/skills/build-loop/references/advisor-dispatch-ladder.md +0 -62
  229. package/plugin-artifacts/codex/skills/build-loop/references/apple-native-planning.md +0 -439
  230. package/plugin-artifacts/codex/skills/build-loop/references/autonomous-and-per-commit-modes.md +0 -161
  231. package/plugin-artifacts/codex/skills/build-loop/references/capability-routing.md +0 -231
  232. package/plugin-artifacts/codex/skills/build-loop/references/codex-subagents.md +0 -106
  233. package/plugin-artifacts/codex/skills/build-loop/references/coordination.md +0 -161
  234. package/plugin-artifacts/codex/skills/build-loop/references/correction-aware-capture.md +0 -177
  235. package/plugin-artifacts/codex/skills/build-loop/references/experiment-results-template.md +0 -101
  236. package/plugin-artifacts/codex/skills/build-loop/references/independent-auditor.md +0 -72
  237. package/plugin-artifacts/codex/skills/build-loop/references/intent-capability-pack.md +0 -257
  238. package/plugin-artifacts/codex/skills/build-loop/references/intent-exploration-prompts.md +0 -96
  239. package/plugin-artifacts/codex/skills/build-loop/references/leadership.md +0 -72
  240. package/plugin-artifacts/codex/skills/build-loop/references/memory.md +0 -313
  241. package/plugin-artifacts/codex/skills/build-loop/references/modular-systems-pack.md +0 -96
  242. package/plugin-artifacts/codex/skills/build-loop/references/output-style.md +0 -222
  243. package/plugin-artifacts/codex/skills/build-loop/references/pay-it-forward-arch.md +0 -98
  244. package/plugin-artifacts/codex/skills/build-loop/references/phase-1-assess.md +0 -249
  245. package/plugin-artifacts/codex/skills/build-loop/references/phase-2-plan.md +0 -86
  246. package/plugin-artifacts/codex/skills/build-loop/references/phase-3-execute.md +0 -49
  247. package/plugin-artifacts/codex/skills/build-loop/references/phase-4-review.md +0 -341
  248. package/plugin-artifacts/codex/skills/build-loop/references/phase-5-iterate.md +0 -72
  249. package/plugin-artifacts/codex/skills/build-loop/references/phase-6-learn.md +0 -58
  250. package/plugin-artifacts/codex/skills/build-loop/references/recent-design-structures.md +0 -274
  251. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/ASSESSMENT.md +0 -85
  252. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/STANDALONE_TEST_RUN.md +0 -149
  253. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/01-simple-bugfix.md +0 -32
  254. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/02-ui-build-with-iteration.md +0 -48
  255. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/03-multi-failure-escalation.md +0 -60
  256. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/04-ui-build-ibr-absent.md +0 -51
  257. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/05-refactor-navgator-absent.md +0 -71
  258. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/scenarios/06-recurring-bug-debugger-absent.md +0 -52
  259. package/plugin-artifacts/codex/skills/build-loop/references/refactor-history/trace-comparison.md +0 -202
  260. package/plugin-artifacts/codex/skills/build-loop/references/self-recursive-dev.md +0 -77
  261. package/plugin-artifacts/codex/skills/build-loop/references/self-review.md +0 -234
  262. package/plugin-artifacts/codex/skills/build-loop/references/ui-io-contract.md +0 -116
  263. package/plugin-artifacts/codex/skills/build-loop/references/verify-dispatch.md +0 -85
  264. package/plugin-artifacts/codex/skills/build-loop/scanners/audit-design-rules.mjs +0 -476
  265. package/plugin-artifacts/codex/skills/build-loop/scanners/require-visual-evidence.mjs +0 -239
  266. package/plugin-artifacts/codex/skills/build-loop/templates/backlog-item.md +0 -35
  267. package/plugin-artifacts/codex/skills/build-loop/templates/codex-worker-prompt.md +0 -100
  268. package/plugin-artifacts/codex/skills/build-loop/templates/ui-subagent-prompt.md +0 -179
  269. package/plugin-artifacts/codex/skills/build-loop/templates/ux-fix-plan.md +0 -40
  270. package/scripts/build_codex_plugin_artifact.py +0 -321
@@ -1,181 +0,0 @@
1
- <!-- SPDX-FileCopyrightText: 2025-2026 Tyrone Ross, Jr <46267523+tyroneross@users.noreply.github.com> | SPDX-License-Identifier: Apache-2.0 -->
2
-
3
- # Coordination File Template
4
-
5
- **Purpose:** Canonical starting shape for a new per-run coordination file at `.build-loop/coordination/<topic>.md`. Inherits binding rules from `references/coordination-rules.md`; this template defines the **structure** every coord file MUST include so verifiers, peer sessions, and `scripts/coordination_status.py` can parse them uniformly.
6
-
7
- **How to use:** Copy this file to `.build-loop/coordination/<your-topic>-<YYYY-MM-DD>.md`. Replace every `{{PLACEHOLDER}}` token with a real value. Delete the `<!-- TEMPLATE NOTE: -->` blocks before committing. Keep section ordering; `coordination_status.py` parses the "Codex feedback log" verdict headings and step-status table, so don't rename those sections.
8
-
9
- ---
10
-
11
- ## ⬇️ Template begins below ⬇️
12
-
13
- <!-- TEMPLATE NOTE: Title is human-readable. Include the version/feature scope. -->
14
-
15
- # Coordination — {{RUN_TITLE}} ({{DATE_YYYY_MM_DD}})
16
-
17
- **Date:** {{DATE_YYYY_MM_DD}}
18
- **Session:** {{PRIMARY_TOOL}} ({{PRIMARY_ROLE}}); {{VERIFIER_TOOL}} ({{VERIFIER_ROLE}})
19
- **Status:** active — will be archived per closeout protocol when all pieces land
20
- **Predecessor:** `.build-loop/coordination/archived/{{PREVIOUS_RUN_FILE}}.md` <!-- or "none (first run)" -->
21
-
22
- ## Scope
23
-
24
- <!-- TEMPLATE NOTE: One paragraph naming the deliverable goal and explicit out-of-scope items. -->
25
-
26
- {{SCOPE_SUMMARY_2_TO_4_SENTENCES}}
27
-
28
- **Pieces (chunk list with one-line summaries):**
29
-
30
- - **{{PIECE_ID_1}}** — {{PIECE_1_ONE_LINE}}
31
- - **{{PIECE_ID_2}}** — {{PIECE_2_ONE_LINE}}
32
- - **{{PIECE_ID_N}}** — {{PIECE_N_ONE_LINE}}
33
-
34
- **Out of scope:**
35
-
36
- - {{OUT_OF_SCOPE_1}}
37
- - {{OUT_OF_SCOPE_2}}
38
-
39
- ## Operating Rule (binding — inherited from references/coordination-rules.md)
40
-
41
- **Claude does not proceed past a step marked `verification-pending` until the latest verifier feedback entry for that step is one of:**
42
-
43
- - `PASS` — acceptance criteria verified.
44
- - `VARIANCE` that has been resolved (Claude fixed, documented non-acceptance, OR escalated to user).
45
- - Explicit user override.
46
-
47
- A `VARIANCE` left unresolved blocks the next step. A `BLOCKED` entry requires the producing peer to supply the missing evidence before proceeding.
48
-
49
- Per-run amendments: {{ANY_RUN_SPECIFIC_OPERATING_AMENDMENTS_OR_NONE}}
50
-
51
- ## Coordination Protocol (binding — inherited)
52
-
53
- - **All Rally Point writes** go through `scripts/rally_point/post.py` `post()` helper.
54
- - **Cheap detection at every step boundary**: `python3 scripts/coordination_status.py --workdir . --session-id <id> --owned-file <path> --coordination-file .build-loop/coordination/{{THIS_FILE_NAME}}.md --json`. `--coordination-file` REQUIRED — explicit beats implicit.
55
- - **Verifier feedback entry format** (append-only to "Verifier feedback log" at bottom):
56
-
57
- ```md
58
- ### YYYY-MM-DD HH:MM TZ — {{VERIFIER}} <VERDICT>
59
- **Step:** <piece id / name>
60
- **Verdict:** PASS | VARIANCE | BLOCKED
61
- **Evidence:** <file:line or command result>
62
- **Impact:** <why this matters>
63
- **Requested Claude action:** <fix / explain / user decision>
64
- ```
65
-
66
- - **Post via channel** in parallel: `post(kind="feedback", payload={"step": "<id>", "verdict": "<VERDICT>", "evidence": {...}, "impact": "...", "requested_action": "..."})`. Both writes (feedback log + channel) MUST happen — the feedback log is the durable record; the channel is the runtime signal.
67
-
68
- ## MECE Ownership Packets per Piece
69
-
70
- <!-- TEMPLATE NOTE: Repeat this block once per piece. Every write-handoff requires all seven. Skip ONLY for pure-read handoffs. -->
71
-
72
- ### {{PIECE_ID}} — {{PIECE_TITLE}}
73
-
74
- - **Owns** ({{OWNER_TOOL}}): {{FILE_OR_SCOPE_LIST}}
75
- - **Does not own**: {{FILE_OR_SCOPE_LIST}}
76
- - **Interface contract**: {{DELIVERABLE_SHAPE — schema, format, CLI exit codes, return-envelope fields}}
77
- - **Integration checkpoint**: {{HOW_VERIFIER_CONFIRMS — test command, grep pattern, file existence, fresh-session load}}
78
- - **Allowed tools**: {{LIST_OR_EMPTY — tools the peer MAY use; [] = no restriction}}
79
- - **Denied tools**: {{LIST_OR_EMPTY — tools the peer must NOT use; [] = no restriction}}
80
-
81
- ### {{NEXT_PIECE_ID}} — {{NEXT_PIECE_TITLE}}
82
-
83
- - **Owns** ({{OWNER_TOOL}}): ...
84
- - **Does not own**: ...
85
- - **Interface contract**: ...
86
- - **Integration checkpoint**: ...
87
- - **Allowed tools**: []
88
- - **Denied tools**: []
89
-
90
- <!-- TEMPLATE NOTE: Continue for every piece. Enforce via `python3 scripts/brief_mece_validator.py --brief-file <packet-as-tmpfile>` before dispatching that piece to an implementer. -->
91
-
92
- ## Step status (live)
93
-
94
- <!-- TEMPLATE NOTE: This table is parsed by humans + verifiers. Status column updates as work progresses. -->
95
-
96
- | # | Piece | Owner | Status | Version after | Pending verifier check |
97
- |---|---|---|---|---|---|
98
- | {{PIECE_ID_1}} | {{PIECE_1_TITLE}} | {{OWNER_1}} | ⏸️ awaiting dispatch | {{VERSION_TAG_OR_PIECE}} | yes |
99
- | {{PIECE_ID_2}} | {{PIECE_2_TITLE}} | {{OWNER_2}} | ⏸️ awaiting dispatch | {{VERSION_TAG_OR_PIECE}} | yes |
100
- | {{PIECE_ID_N}} | {{PIECE_N_TITLE}} | {{OWNER_N}} | ⏸️ awaiting dispatch | {{VERSION_TAG_OR_PIECE}} | yes |
101
-
102
- **Status legend:** `⏸️ awaiting dispatch` → `🏃 executing` → `✅ executed; verification-pending` → `✅ PASS (verifier)` → `done`. Variances surface as `⚠️ VARIANCE — <one-line>` until resolved.
103
-
104
- ## Acceptance criteria per piece (for verifier checking)
105
-
106
- <!-- TEMPLATE NOTE: Mirrors interface-contract + integration-checkpoint from MECE packets above. Verifier confirms both before posting PASS. Repeat per piece. -->
107
-
108
- ### {{PIECE_ID_1}}
109
-
110
- - {{CHECK_1}} — {{HOW_TO_RUN}}
111
- - {{CHECK_2}} — {{HOW_TO_RUN}}
112
- - {{CHECK_N}} — {{HOW_TO_RUN}}
113
-
114
- ### {{PIECE_ID_2}}
115
-
116
- - ...
117
-
118
- ## Release verification (when this run bumps a plugin version)
119
-
120
- <!-- TEMPLATE NOTE: Drop this section if the run does not ship a versioned release. -->
121
-
122
- After the final piece commits + the version-bump commit lands, verifier runs:
123
-
124
- ```bash
125
- python3 scripts/verify_release_surface.py \
126
- --version {{TARGET_VERSION}} \
127
- --branch {{TARGET_BRANCH}} \
128
- --remote origin \
129
- --json
130
- ```
131
-
132
- Exit 0 = all seven release-surface checks pass; exit 1 = at least one failed. Verifier appends the JSON result as the final verifier-feedback-log entry.
133
-
134
- ## Anti-checklist (don't do these)
135
-
136
- - No new coordination-file FORMAT — reuse this template's section shape.
137
- - No new presence mechanism — reuse Rally Point `presence.write_presence` + `post()`.
138
- - No new agents unless explicitly justified.
139
- - No silent scope creep — if a piece grows mid-execution, post `VARIANCE` to the feedback log first.
140
-
141
- ---
142
-
143
- ## Verifier feedback log
144
-
145
- <!-- TEMPLATE NOTE: Verifier appends entries below per the format in Coordination Protocol. Do NOT edit prior entries — append-only. -->
146
-
147
- <!-- Example (delete before committing):
148
-
149
- ### 2026-05-20 16:02 PDT — codex PASS
150
- **Step:** {{PIECE_ID_1}}
151
- **Verdict:** PASS
152
- **Evidence:** `python3 scripts/test_plugin_manifest.py` -> 12/12 OK; `git ls-remote origin {{TARGET_BRANCH}} {{TARGET_VERSION}}` -> both refs at <sha>
153
- **Impact:** Piece {{PIECE_ID_1}} acceptance criteria satisfied; Claude can proceed to next piece.
154
- **Requested Claude action:** Proceed to {{PIECE_ID_2}}.
155
-
156
- -->
157
-
158
- ## ⬆️ Template ends above ⬆️
159
-
160
- ---
161
-
162
- ## Template usage checklist
163
-
164
- Before committing your filled-in coord file:
165
-
166
- 1. Every `{{PLACEHOLDER}}` replaced with a real value.
167
- 2. Every `<!-- TEMPLATE NOTE: ... -->` block deleted.
168
- 3. Every piece has a MECE packet (all seven elements: owns / does-not-own / interface-contract / integration-checkpoint / allowed-tools / denied-tools / acceptance-criteria).
169
- 4. Every piece has an acceptance-criteria sub-section.
170
- 5. Step-status table rows match piece IDs in MECE packets.
171
- 6. Run `python3 scripts/coordination_status.py --workdir . --session-id <id> --coordination-file <this-file> --json` — should report `status: clear` initially.
172
- 7. Optionally write `.build-loop/coordination/active.json` (or `active`) pointing at this file so future `coordination_status.py` calls without explicit `--coordination-file` resolve to it deterministically.
173
-
174
- ## Reference
175
-
176
- - Binding rules: `references/coordination-rules.md`
177
- - Validator for MECE packets: `scripts/brief_mece_validator.py`
178
- - Status sensor: `scripts/coordination_status.py`
179
- - Channel helper: `scripts/rally_point/post.py`
180
- - Release verifier (when bumping a version): `scripts/verify_release_surface.py`
181
- - Closeout protocol: `scripts/rally_point/lifecycle.py` + `agents/build-orchestrator.md` Phase D