codex-workflow-v2 2.0.0-beta.13.9 → 2.0.0-beta.14

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 (271) hide show
  1. package/README.md +27 -388
  2. package/dist/reviewer-runtime-build.json +89 -29
  3. package/dist/src/alpha6/adoption.d.ts +2 -0
  4. package/dist/src/alpha6/adoption.js +22 -0
  5. package/dist/src/alpha6/adoption.js.map +1 -1
  6. package/dist/src/alpha6/captured-check-evidence.d.ts +51 -0
  7. package/dist/src/alpha6/captured-check-evidence.js +152 -0
  8. package/dist/src/alpha6/captured-check-evidence.js.map +1 -0
  9. package/dist/src/alpha6/component-owner.d.ts +15 -1
  10. package/dist/src/alpha6/component-owner.js +44 -2
  11. package/dist/src/alpha6/component-owner.js.map +1 -1
  12. package/dist/src/alpha6/corrective-decision-boundary.d.ts +4 -0
  13. package/dist/src/alpha6/corrective-decision-boundary.js +47 -0
  14. package/dist/src/alpha6/corrective-decision-boundary.js.map +1 -0
  15. package/dist/src/alpha6/downstream-proof.d.ts +1 -25
  16. package/dist/src/alpha6/downstream-proof.js +0 -171
  17. package/dist/src/alpha6/downstream-proof.js.map +1 -1
  18. package/dist/src/alpha6/literal-test-invocation.d.ts +2 -0
  19. package/dist/src/alpha6/literal-test-invocation.js +106 -0
  20. package/dist/src/alpha6/literal-test-invocation.js.map +1 -0
  21. package/dist/src/alpha6/milestone.d.ts +2 -0
  22. package/dist/src/alpha6/milestone.js +10 -1
  23. package/dist/src/alpha6/milestone.js.map +1 -1
  24. package/dist/src/alpha6/navigation-dirty-carryover.d.ts +11 -0
  25. package/dist/src/alpha6/navigation-dirty-carryover.js +130 -0
  26. package/dist/src/alpha6/navigation-dirty-carryover.js.map +1 -0
  27. package/dist/src/alpha6/plan-integrity.js +7 -5
  28. package/dist/src/alpha6/plan-integrity.js.map +1 -1
  29. package/dist/src/alpha6/remediation.d.ts +6 -21
  30. package/dist/src/alpha6/remediation.js +161 -476
  31. package/dist/src/alpha6/remediation.js.map +1 -1
  32. package/dist/src/alpha6/root-cause-replan-carryover.d.ts +4 -1
  33. package/dist/src/alpha6/root-cause-replan-carryover.js +29 -5
  34. package/dist/src/alpha6/root-cause-replan-carryover.js.map +1 -1
  35. package/dist/src/beta1/project-transaction.d.ts +3 -1
  36. package/dist/src/beta1/project-transaction.js +6 -2
  37. package/dist/src/beta1/project-transaction.js.map +1 -1
  38. package/dist/src/checks/runner.d.ts +26 -0
  39. package/dist/src/checks/runner.js +223 -0
  40. package/dist/src/checks/runner.js.map +1 -0
  41. package/dist/src/checks/task-sync.d.ts +10 -0
  42. package/dist/src/checks/task-sync.js +41 -0
  43. package/dist/src/checks/task-sync.js.map +1 -0
  44. package/dist/src/checks/worker.d.ts +1 -0
  45. package/dist/src/checks/worker.js +154 -0
  46. package/dist/src/checks/worker.js.map +1 -0
  47. package/dist/src/cli-actions.d.ts +2 -2
  48. package/dist/src/cli-actions.js +3 -15
  49. package/dist/src/cli-actions.js.map +1 -1
  50. package/dist/src/cli.js +14 -98
  51. package/dist/src/cli.js.map +1 -1
  52. package/dist/src/contracts.d.ts +35 -32
  53. package/dist/src/dependency-provenance.d.ts +2 -2
  54. package/dist/src/dependency-provenance.js +12 -69
  55. package/dist/src/dependency-provenance.js.map +1 -1
  56. package/dist/src/domain/base-sync-conflict.d.ts +13 -0
  57. package/dist/src/domain/base-sync-conflict.js +32 -0
  58. package/dist/src/domain/base-sync-conflict.js.map +1 -0
  59. package/dist/src/domain/step-start-admission.d.ts +4 -0
  60. package/dist/src/domain/step-start-admission.js +9 -0
  61. package/dist/src/domain/step-start-admission.js.map +1 -0
  62. package/dist/src/domain/virgin-registration.d.ts +3 -0
  63. package/dist/src/domain/virgin-registration.js +65 -0
  64. package/dist/src/domain/virgin-registration.js.map +1 -0
  65. package/dist/src/errors.d.ts +1 -1
  66. package/dist/src/errors.js.map +1 -1
  67. package/dist/src/gateway-handshake.js +0 -8
  68. package/dist/src/gateway-handshake.js.map +1 -1
  69. package/dist/src/git.d.ts +3 -1
  70. package/dist/src/git.js +41 -14
  71. package/dist/src/git.js.map +1 -1
  72. package/dist/src/graph.js +25 -3
  73. package/dist/src/graph.js.map +1 -1
  74. package/dist/src/index.d.ts +1 -0
  75. package/dist/src/navigation-actions.d.ts +9 -0
  76. package/dist/src/navigation-actions.js +72 -0
  77. package/dist/src/navigation-actions.js.map +1 -0
  78. package/dist/src/navigation-update-artifact.d.ts +5 -0
  79. package/dist/src/navigation-update-artifact.js +227 -0
  80. package/dist/src/navigation-update-artifact.js.map +1 -0
  81. package/dist/src/navigation-update.d.ts +39 -0
  82. package/dist/src/navigation-update.js +82 -0
  83. package/dist/src/navigation-update.js.map +1 -0
  84. package/dist/src/observation.js +52 -29
  85. package/dist/src/observation.js.map +1 -1
  86. package/dist/src/observed-routes.js +5 -6
  87. package/dist/src/observed-routes.js.map +1 -1
  88. package/dist/src/pending-review-update.d.ts +0 -13
  89. package/dist/src/pending-review-update.js +1 -6
  90. package/dist/src/pending-review-update.js.map +1 -1
  91. package/dist/src/reviewer.d.ts +1 -1
  92. package/dist/src/reviewer.js +20 -17
  93. package/dist/src/reviewer.js.map +1 -1
  94. package/dist/src/runtime.d.ts +3 -0
  95. package/dist/src/runtime.js +6 -0
  96. package/dist/src/runtime.js.map +1 -0
  97. package/dist/src/state/corrective-replan-executor.d.ts +10 -0
  98. package/dist/src/state/corrective-replan-executor.js +37 -1
  99. package/dist/src/state/corrective-replan-executor.js.map +1 -1
  100. package/dist/src/state/corrective-replan-public-schema.js +15 -2
  101. package/dist/src/state/corrective-replan-public-schema.js.map +1 -1
  102. package/dist/src/state/corrective-replan-public.js +1 -1
  103. package/dist/src/state/corrective-replan-public.js.map +1 -1
  104. package/dist/src/state/corrective-replan-transaction.d.ts +1 -0
  105. package/dist/src/state/corrective-replan-transaction.js +12 -11
  106. package/dist/src/state/corrective-replan-transaction.js.map +1 -1
  107. package/dist/src/state/corrective-yield-transaction.d.ts +1 -0
  108. package/dist/src/state/corrective-yield-transaction.js +11 -10
  109. package/dist/src/state/corrective-yield-transaction.js.map +1 -1
  110. package/dist/src/state/lock.d.ts +4 -0
  111. package/dist/src/state/lock.js +21 -0
  112. package/dist/src/state/lock.js.map +1 -1
  113. package/dist/src/version.d.ts +1 -1
  114. package/dist/src/version.js +1 -1
  115. package/dist/src/version.js.map +1 -1
  116. package/dist/src/workflow-blocker-route.d.ts +8 -0
  117. package/dist/src/workflow-blocker-route.js +106 -0
  118. package/dist/src/workflow-blocker-route.js.map +1 -0
  119. package/dist/src/workflow.d.ts +48 -63
  120. package/dist/src/workflow.js +666 -1460
  121. package/dist/src/workflow.js.map +1 -1
  122. package/docs/autonomy-guardrails.md +26 -304
  123. package/docs/decisions.md +14 -112
  124. package/docs/development-flow.md +35 -238
  125. package/docs/project-memory.md +31 -50
  126. package/docs/release-app-evidence.md +190 -0
  127. package/docs/release.md +95 -388
  128. package/docs/updating-existing-project.md +19 -717
  129. package/package.json +11 -13
  130. package/plugins/codex-workflow-gateway/.codex-plugin/plugin.json +2 -2
  131. package/plugins/codex-workflow-gateway/references/chat-dispatch.md +73 -197
  132. package/plugins/codex-workflow-gateway/references/codebase-memory-routing.md +57 -0
  133. package/plugins/codex-workflow-gateway/references/protocol.md +42 -445
  134. package/plugins/codex-workflow-gateway/scripts/chat-dispatch.mjs +7 -1
  135. package/plugins/codex-workflow-gateway/scripts/chat-model-policy.mjs +10 -8
  136. package/plugins/codex-workflow-gateway/scripts/chat-registry.mjs +23 -5
  137. package/plugins/codex-workflow-gateway/skills/codex-workflow-gateway/SKILL.md +66 -757
  138. package/references/state-machine.md +4 -4
  139. package/roles/technical-planner.md +1 -1
  140. package/schemas/corrective-decision-event.schema.json +3 -1
  141. package/schemas/project-knowledge-map.schema.json +3 -1
  142. package/schemas/remediation-event.schema.json +10 -1
  143. package/schemas/task.schema.json +46 -2
  144. package/schemas/transition-payloads.schema.json +16 -1
  145. package/src/alpha6/adoption.ts +1123 -0
  146. package/src/alpha6/captured-check-evidence.ts +132 -0
  147. package/src/alpha6/check-support-anchor.ts +128 -0
  148. package/src/alpha6/component-owner.ts +168 -0
  149. package/src/alpha6/corrective-decision-boundary.ts +39 -0
  150. package/src/alpha6/downstream-proof.ts +520 -0
  151. package/src/alpha6/failed-step-planning-recovery.ts +88 -0
  152. package/src/alpha6/handoff.ts +1443 -0
  153. package/src/alpha6/journal.ts +473 -0
  154. package/src/alpha6/literal-test-invocation.ts +84 -0
  155. package/src/alpha6/mechanical-feasibility.ts +488 -0
  156. package/src/alpha6/milestone.ts +2192 -0
  157. package/src/alpha6/navigation-dirty-carryover.ts +154 -0
  158. package/src/alpha6/npm-check-contract.ts +47 -0
  159. package/src/alpha6/plan-integrity.ts +298 -0
  160. package/src/alpha6/plan-risk.ts +1480 -0
  161. package/src/alpha6/preexecution-replan.ts +187 -0
  162. package/src/alpha6/remediation-cause.ts +98 -0
  163. package/src/alpha6/remediation.ts +2438 -0
  164. package/src/alpha6/review.ts +1198 -0
  165. package/src/alpha6/root-cause-replan-carryover.ts +491 -0
  166. package/src/alpha6/store-sidecars.ts +335 -0
  167. package/src/alpha7/autonomy.ts +411 -0
  168. package/src/alpha7/corrective-recovery.ts +1332 -0
  169. package/src/artifacts.ts +130 -0
  170. package/src/beta1/project-transaction.ts +355 -0
  171. package/src/change-explanation.ts +153 -0
  172. package/src/checks/runner.ts +245 -0
  173. package/src/checks/task-sync.ts +41 -0
  174. package/src/checks/worker.ts +149 -0
  175. package/src/cli-actions.ts +107 -0
  176. package/src/cli.ts +1457 -0
  177. package/src/contracts.ts +1494 -0
  178. package/src/credential-output.ts +89 -0
  179. package/src/credential-transport.ts +215 -0
  180. package/src/delegation.ts +190 -0
  181. package/src/dependency-provenance.ts +472 -0
  182. package/src/diagnostics.ts +93 -0
  183. package/src/domain/base-sync-conflict.ts +35 -0
  184. package/src/domain/completed-step-carryover.ts +76 -0
  185. package/src/domain/discovery.ts +27 -0
  186. package/src/domain/plan-semantics.ts +58 -0
  187. package/src/domain/step-start-admission.ts +10 -0
  188. package/src/domain/validation.ts +177 -0
  189. package/src/domain/virgin-registration.ts +46 -0
  190. package/src/errors.ts +24 -0
  191. package/src/fs-utils.ts +61 -0
  192. package/src/gateway-handshake.ts +95 -0
  193. package/src/git.ts +183 -0
  194. package/src/graph.ts +342 -0
  195. package/src/historical-step-provenance.ts +136 -0
  196. package/src/index.ts +23 -0
  197. package/src/lifecycle/canonical-hash.ts +28 -0
  198. package/src/lifecycle/catalog.ts +202 -0
  199. package/src/lifecycle/compiler-inspection.ts +29 -0
  200. package/src/lifecycle/core-static-readiness.ts +132 -0
  201. package/src/lifecycle/corrective-replan-authority.ts +136 -0
  202. package/src/lifecycle/corrective-replan-binding-manifest.ts +51 -0
  203. package/src/lifecycle/corrective-replan-credential-core.ts +408 -0
  204. package/src/lifecycle/corrective-replan-credential-schema.ts +54 -0
  205. package/src/lifecycle/corrective-replan-credentials.ts +48 -0
  206. package/src/lifecycle/corrective-replan.ts +843 -0
  207. package/src/lifecycle/evaluator.ts +48 -0
  208. package/src/lifecycle/fingerprint.ts +488 -0
  209. package/src/lifecycle/immutable.ts +8 -0
  210. package/src/lifecycle/implementation-table.ts +118 -0
  211. package/src/lifecycle/index.ts +8 -0
  212. package/src/lifecycle/schema-artifact.ts +263 -0
  213. package/src/lifecycle/semantic-registry.ts +572 -0
  214. package/src/lifecycle/types.ts +838 -0
  215. package/src/memory.ts +273 -0
  216. package/src/migration.ts +161 -0
  217. package/src/navigation-actions.ts +70 -0
  218. package/src/navigation-update-artifact.ts +198 -0
  219. package/src/navigation-update.ts +121 -0
  220. package/src/observation.ts +225 -0
  221. package/src/observed-routes.ts +660 -0
  222. package/src/operational-contract.ts +125 -0
  223. package/src/pending-review-update.ts +175 -0
  224. package/src/repository.ts +99 -0
  225. package/src/reviewer.ts +1879 -0
  226. package/src/runtime.ts +6 -0
  227. package/src/state/corrective-replan-executor.ts +818 -0
  228. package/src/state/corrective-replan-public-schema.ts +83 -0
  229. package/src/state/corrective-replan-public.ts +908 -0
  230. package/src/state/corrective-replan-transaction.ts +949 -0
  231. package/src/state/corrective-yield-executor.ts +327 -0
  232. package/src/state/corrective-yield-transaction.ts +730 -0
  233. package/src/state/lock.ts +902 -0
  234. package/src/state/store.ts +567 -0
  235. package/src/transition-core.ts +330 -0
  236. package/src/ulid.ts +24 -0
  237. package/src/version.ts +2 -0
  238. package/src/workflow-blocker-route.ts +109 -0
  239. package/src/workflow.ts +10172 -0
  240. package/docs/alpha7.1-implementation-brief.md +0 -268
  241. package/docs/alpha7.2-corrective-context-refresh-brief.md +0 -484
  242. package/docs/alpha7.2.1-remediation-recovery-brief.md +0 -86
  243. package/docs/beta1-stabilization-brief.md +0 -165
  244. package/docs/beta11-plan-integrity-recovery-brief.md +0 -38
  245. package/docs/beta13.2-signal-review-recovery.md +0 -38
  246. package/docs/beta2-initial-assembly-navigation-brief.md +0 -616
  247. package/docs/change-model.md +0 -118
  248. package/docs/delegated-approval.md +0 -254
  249. package/docs/lifecycle/state-machine-stabilization.md +0 -641
  250. package/docs/pdf/README.md +0 -24
  251. package/docs/pdf/codex-workflow-v2-architecture-ru.pdf +0 -0
  252. package/docs/pdf/codex-workflow-v2-chat-only-guide-ru.pdf +0 -0
  253. package/docs/pdf/codex-workflow-v2-technical-reference-ru.pdf +0 -0
  254. package/docs/pdf/requirements.txt +0 -1
  255. package/docs/pdf/sources/codex-workflow-v2-architecture-ru.md +0 -478
  256. package/docs/pdf/sources/codex-workflow-v2-chat-only-guide-ru.md +0 -506
  257. package/docs/pdf/sources/codex-workflow-v2-technical-reference-ru.md +0 -778
  258. package/docs/pending-review-update.md +0 -15
  259. package/docs/problem-briefs/01-pre-implementation-integrity.md +0 -482
  260. package/docs/problem-briefs/02-minimal-step-integrity.md +0 -411
  261. package/docs/problem-briefs/03-minimal-agent-context-integrity.md +0 -358
  262. package/docs/problem-briefs/04-task-dependency-and-structural-replacement-integrity.md +0 -573
  263. package/docs/problem-briefs/BRIEF-TEMPLATE.md +0 -56
  264. package/docs/problem-briefs/README.md +0 -120
  265. package/docs/problem-briefs/evidence/p01-mechanical-feasibility-corpus.md +0 -90
  266. package/docs/problem-briefs/evidence/signal-v4-pre-m3-replay.md +0 -246
  267. package/docs/split-required-recovery.md +0 -47
  268. package/docs/stable-release-defect-register.md +0 -730
  269. package/docs/validation-report.md +0 -182
  270. package/scripts/generate-pdf-docs.py +0 -524
  271. package/scripts/run-pdf-docs.mjs +0 -62
@@ -1,730 +0,0 @@
1
- # Stable Release Defect Register
2
-
3
- This register captures defects and operational gaps found while running the
4
- alpha.7 through beta.9 lines against the `signal_v4` Milestone 3 lifecycle. It is intentionally
5
- separate from implementation briefs: an item stays here until it is either
6
- verified fixed by a regression test or explicitly classified as downstream-only.
7
-
8
- Last reviewed: 2026-08-22.
9
-
10
- ## Severity and status
11
-
12
- - **Confirmed** means the behavior was reproduced from package or downstream evidence.
13
- - **Investigation** means the risk is concrete, but the package defect boundary is not yet proven.
14
- - **Closed-regression** means a patch exists; the stable release must retain its regression coverage.
15
- - **Downstream** means the finding belongs to `signal_v4`, not to the workflow package.
16
-
17
- ## Post-beta.5 open findings
18
-
19
- ### WF-STABLE-030 — chat order and replacement progress are not observable
20
-
21
- - Status: Closed-regression in beta.9
22
- - Severity: High
23
- - Area: Codex App routing, title identity, Milestone supervision
24
- - Evidence: automatically created Task/reviewer titles had no project sequence, long semantic
25
- segments were unpredictably shortened, and the Coordinator summary did not expose that cancelled
26
- T03 had been replaced by a distinct T08.
27
- - Fix: the gateway owns one atomic project registry with non-reusable monotonic `#NNN`, six compact
28
- title families, exact readback and deterministic fallback. Core exposes a read-only Milestone
29
- progress projection; Task and Coordinator chats emit progress tables at defined boundaries.
30
- - Regression: concurrent allocations remain unique and monotonic; long Cyrillic titles and multiple
31
- review attempts traverse fallback/readback; projection keeps `T03 cancelled → T08 replacement`
32
- as two rows with exact Step status.
33
-
34
- ### WF-STABLE-029 — dependency-only Workflow update strands an active Task
35
-
36
- - Status: Closed-regression in beta.9
37
- - Severity: Critical
38
- - Area: Git provenance integrity, package update, active Task recovery
39
- - Evidence: Signal T04 contained the beta.8 dependency update commit at HEAD after all recorded Task
40
- commits. `task submit` correctly rejected the unregistered commit, but no bounded route could
41
- classify it as Workflow-owned provenance.
42
- - Fix: fresh navigation advertises recovery only for one clean, local, dependency-only HEAD after
43
- exact recorded history, with no Step/lease/transaction activity and complete beta.9 alignment
44
- across runtime, manifest, lock, install, Task branch, and Milestone base. Recovery only appends
45
- that SHA to `systemCommits` with an audit record; it never mutates Git.
46
- - Regression: exact candidate succeeds and is idempotent; product-file contamination and stale-base
47
- divergence fail closed.
48
-
49
- ### WF-STABLE-028 — passed guarded Step strands later final Task-review remediation
50
-
51
- - Status: Closed-regression in beta.8
52
- - Severity: High
53
- - Area: guarded remediation breaker, final Task review, navigation/mutation agreement
54
- - Evidence: Signal Task `TASK-01M0HVK4YDJ3W9X0N72TYNV8WK` reached a verified passing third
55
- sealed Step review after two ordinary failures and one independently authorized `continue-fix`.
56
- A later final Task review found two new defects and `next` correctly advertised `task plan-set`,
57
- but the mutation rejected the Plan because the already-consumed `continue-fix` event still
58
- matched the current Plan. The suggested current-Plan retry was impossible because the guarded
59
- Step was already `completed`.
60
- - Risk: a valid append-only review history can leave a nonterminal Task with no executable
61
- transition even though its state is clean and navigation advertises a corrective Plan update.
62
- - Fix: a verified passing Step-review event now closes the preceding breaker cycle for that Step.
63
- Resolved `continue-fix`, remediation, and decision events remain immutable evidence but do not
64
- gate a later final Task-review remediation cycle. A changed guarded Step starts a fresh bounded
65
- cycle under the replacement Plan Risk Audit; unresolved and failed cycles retain the existing
66
- hard-stop behavior.
67
- - Regression: `tests/alpha7-remediation-replay.test.ts` reproduces the full sequence through two
68
- failed sealed reviews, `continue-fix`, a verified pass, failed final Task review, atomic Plan and
69
- Risk Audit replacement, execution authorization, and successful `task run` of the reopened
70
- guarded Step while proving the historical sidecars are retained.
71
-
72
- ### WF-STABLE-027 — Milestone coordinator stops supervising after Task-chat dispatch
73
-
74
- - Status: Closed-regression in beta.7
75
- - Severity: High
76
- - Area: Codex App Task isolation, Milestone orchestration, autonomous completion
77
- - Evidence: the beta.6 `signal_v4` recovery coordinator created seven same-title forked chats,
78
- marked one actionable and six waiting, and then ended its own turn. The first chat continued as a
79
- Task worker while the coordinator stayed idle; no wait/read/resume loop routed completion or the
80
- remaining membership.
81
- - Risk: the apparent delegate autonomy stops at chat creation. The user must manually monitor and
82
- restart every Task, while inherited history, duplicate titles, and placeholder chats weaken Task
83
- isolation and make the sidebar audit trail ambiguous.
84
- - Fix: the packaged gateway now requires standalone `create_thread` dispatch with Task-only input,
85
- deterministic title readback, just-in-time sequential creation, a bounded `wait_threads` cursor
86
- loop, full `read_thread` verification, same-thread `send_message_to_thread` recovery, and a
87
- secret-free CoordinatorReport. A coordinator may end with a nonterminal dispatched Task only for
88
- an explicit checkpoint or a genuine human/semantic, integrity, permission, or exhausted
89
- infrastructure blocker.
90
- - Regression evidence: plugin validation pins every supervision primitive and the no-premature-final
91
- rule. A live two-Task Codex App E2E proved isolated self-start, title truncation repair,
92
- sequential dispatch, cursor progression, non-human blocker recovery in the same thread, and
93
- terminal completion without user intervention. Core lifecycle tests remain `287/287` green.
94
-
95
- ### WF-STABLE-025 — a new Codex task receives a stale personal-plugin skill path
96
-
97
- - Status: Investigation; behavior reproduced, ownership boundary not yet isolated
98
- - Severity: High
99
- - Area: personal plugin installer, cachebuster registration, Codex App skill discovery
100
- - Evidence: after `signal_v4` was updated to `codex-workflow-v2@2.0.0-beta.5` and the packaged
101
- `codex-workflow-gateway` installer completed, the new Codex task `Возобновить recovery
102
- Milestone 3` received the catalog path ending in cachebuster `0.1.0+codex.20260818092852`.
103
- That file no longer existed. The actually installed skill was under
104
- `0.1.0+codex.20260821083915`; the agent found it only by searching the local plugin cache.
105
- - Reproduction: open a new task after installing a cachebuster update, use the skill path supplied
106
- to that task, and observe an immediate file-not-found failure before any workflow action. The
107
- task can continue only after out-of-band cache discovery. This contradicts the installer guidance
108
- that starting a new task is sufficient to load the updated plugin.
109
- - Risk: routine Workflow starts produce a noisy, repeated failure. More importantly, if both cache
110
- generations remain present, a task may silently load stale gateway rules instead of failing,
111
- weakening exact-version routing and human-gate guarantees.
112
- - beta.9 live readback (2026-08-22): after the source was validated, copied through the packaged
113
- installer, and `codex plugin add` reported installed root `0.1.0+codex.20260822110519`, three new
114
- worktree Tasks were still injected with missing path `0.1.0+codex.20260822065726`. All three
115
- found the actual cache only by read-only search and then verified beta.9 content. This rules out a
116
- missed source copy or failed install and localizes the remaining defect to App catalog/runtime
117
- invalidation.
118
- - Required closure:
119
- - determine whether the stale reference is emitted by the packaged installer/registration flow
120
- or retained by Codex App's skill catalog;
121
- - after an A-to-B cachebuster update, every newly created task must resolve B without filesystem
122
- search and must never advertise a missing or superseded A path;
123
- - if an application restart is an unavoidable boundary, the installer must detect and report it
124
- explicitly instead of claiming that a new task alone is sufficient;
125
- - retain an integration regression covering install, cachebuster update, new-task discovery, and
126
- exact `SKILL.md` content identity.
127
- - Scope note: no workflow-state mutation occurred before the fallback lookup. This finding is
128
- independent from the stale Plan Risk Audit recovery defect observed later in the same task.
129
-
130
- ### WF-STABLE-026 — Milestone authorization can bypass stale Project Memory
131
-
132
- - Status: Closed-regression in beta.6
133
- - Severity: Critical
134
- - Area: repository navigation, Project Memory authority, Milestone authorization
135
- - Evidence: while resuming `signal_v4` Milestone 3 on beta.5, the persisted Project Memory map was
136
- active but its current scan was stale after the workflow dependency changed. Repository `next`
137
- still advertised Milestone authorization, and direct Milestone authorization/autonomy methods did
138
- not independently require a current approved map.
139
- - Risk: an existing Milestone could be authorized against stale Project Memory, after which linked
140
- Task Plan contracts would bind obsolete source hashes or force an unadvertised manual recovery.
141
- - Fix: repository navigation now derives the current map status before Discovery or Milestone
142
- authorization and routes `project-memory reconcile`/`approve` first. Direct Milestone authorize,
143
- autonomy prepare, and autonomy grant also fail closed unless the current map is active and
144
- approved.
145
- - Regression evidence: `tests/milestone.test.ts` proves that reconcile/approval preserves the exact
146
- existing Milestone and Plan, then advertises Milestone authorization and binds the linked Task
147
- Plan contract to the refreshed map revision/hash. A separate witness proves stale Project Memory
148
- outranks replacement Discovery.
149
-
150
- ## Beta.2 closure candidates
151
-
152
- ### WF-STABLE-009 — initial assembly creates a state rejected by `status` and `next`
153
-
154
- - Status: Closed-regression in beta.2
155
- - Severity: Critical
156
- - Area: Milestone initial assembly, reverse membership, repository navigation
157
- - Evidence: both the beta.1 real-agent E2E and the live read-only `signal_v4` reincarnation
158
- materialized a first linked planning Task successfully, after which `status` and `next` returned
159
- `MILESTONE_SCOPE_INCOMPLETE` for the intentionally repairable pre-Plan membership gap.
160
- - Risk: the documented seven-Task initial assembly cannot follow authoritative `next`; agents must
161
- either stop before work begins or bypass navigation and invalidate lifecycle evidence.
162
- - Closure evidence: centralized initial-assembly assessment, deterministic fresh/adopted/unsafe
163
- regressions, exact copied `signal_v4` snapshot replay, and real-agent seven-Task assembly all pass;
164
- strict reverse-membership blocking remains active outside the exact predicate.
165
-
166
- ### WF-STABLE-010 — beta.1 release E2E continued after failed `next`
167
-
168
- - Status: Closed-regression in beta.2; clean release E2E verified
169
- - Severity: Critical
170
- - Area: release evidence, real-agent transcript validation
171
- - Evidence: the beta.1 final E2E transcript contains failed `status` and `next` calls with
172
- `MILESTONE_SCOPE_INCOMPLETE`; the Delegate labelled the gap expected, invoked direct
173
- `milestone plan-set`, and the final audit still accepted the run despite the Brief explicitly
174
- declaring a `next` bypass invalid.
175
- - Risk: a real-agent run can conceal a Core lifecycle defect and produce a false release
176
- recommendation.
177
- - Candidate evidence: the append-only transcript validator rejects navigation bypasses,
178
- unadvertised mutations, failed non-retryable mutations, unresolved syntax retries, and
179
- unterminated harness invocations. Final-21 passed the complete validator with `250/250` events.
180
-
181
- ### WF-STABLE-011 — pending Task review `next` names a non-autonomous primitive
182
-
183
- - Status: Closed-regression in beta.2; clean release E2E verified
184
- - Severity: High
185
- - Area: Task final review, truthful navigation, real-agent evidence
186
- - Evidence: the first beta.2 real-agent diagnostic run reached a submitted Task with pending review;
187
- `next` returned `task review-record`, while the packaged and successfully executed autonomous
188
- command was `task review-launch`.
189
- - Risk: an agent following the exact autonomous route appears to bypass authoritative navigation,
190
- while an agent following the literal response must manufacture reviewer output instead of using
191
- the isolated reviewer launcher.
192
- - Candidate evidence: deterministic navigation regressions prove exact `task review-launch` while
193
- preserving `task result-set` after a passed review. Final-21 completed strict Step review and the
194
- final independent Task review without a rejected lifecycle mutation.
195
-
196
- ### WF-STABLE-012 — Core-owned Git transitions omit the sandbox permission contract
197
-
198
- - Status: Closed-regression in beta.2; clean release E2E verified
199
- - Severity: High
200
- - Area: Task execution, truthful navigation, Codex sandbox integration
201
- - Evidence: the rebuilt beta.2 real-agent E2E followed `next.action = task step-complete`; Core ran
202
- its owned checks and then failed non-mutating at `git add` because `.git/index.lock` was denied.
203
- The exact same transition succeeded after a bounded Git-metadata escalation.
204
- - Risk: a nominally autonomous Milestone learns required authority only by failing a lifecycle
205
- mutation. This creates noisy retry history, invalidates clean release transcripts, and can strand
206
- less capable agents despite a valid Plan and grant.
207
- - Candidate evidence: positive and negative navigation regressions cover the four local Git-writing
208
- transitions and absence on read-only/external routes. Final-21 consumed the policy before local
209
- start, Step completion, and Core merge without a rejected lifecycle mutation.
210
-
211
- ### WF-STABLE-013 — strict reviewer can wait indefinitely or fail before launch
212
-
213
- - Status: Closed-regression in beta.2; clean release E2E verified
214
- - Severity: Critical
215
- - Area: strict Step review, final Task review, non-interactive Codex subprocess lifecycle
216
- - Evidence: beta.2 `real-agent-release-final-6` left two `task step-review` parents and two nested
217
- `codex exec` reviewers alive for more than five minutes at unchanged Task revision `6`. Neither
218
- invocation returned a terminal success or failure result.
219
- - Additional evidence: beta.2 `real-agent-release-final-10` exposed an integration error in the
220
- first correction: the global `--ask-for-approval never` option was placed after `exec`, which the
221
- real Codex CLI rejected with status `2`. Two launch failures consumed the two ordinary
222
- remediation attempts before the run was stopped.
223
- - Root cause: the strict reviewer used inherited/default approval behavior despite intentionally
224
- probing a denied write, the synchronous subprocess had no host-side deadline, and the initial
225
- correction did not test the real CLI's global-option ordering contract.
226
- - Risk: an autonomous Milestone can hang forever inside Core before review evidence exists; a retry
227
- can create a second concurrent reviewer for the same Step/revision.
228
- - Candidate evidence: strict reviewers now place `approval=never` before the `exec` subcommand,
229
- retain read-only sandboxing, and have a fixed host-side execution deadline that returns terminal
230
- `unverified` evidence on timeout. Focused tests assert the exact global-option ordering as well as
231
- deadline propagation and timeout fail-closed behavior. Final-21 completed both strict reviewer
232
- invocations under the non-interactive, ephemeral, ignore-config/rules, read-only contract.
233
-
234
- ### WF-STABLE-014 — transcript validator accepts a started mutation with no terminal result
235
-
236
- - Status: Closed-regression in beta.2; clean release E2E verified
237
- - Severity: Critical
238
- - Area: release evidence, append-only harness transcript, indeterminate mutation recovery
239
- - Evidence: the incomplete `real-agent-release-final-6` transcript originally returned PASS with
240
- `181` checked events even though two `task step-review` commentaries had no matching mutation
241
- result and the Task remained at revision `6`. Final-8 then exposed the same class for read-only
242
- commands: successful `milestone autonomy-prepare` had no terminal observation event, so the
243
- wrapper log alone could not distinguish success, failure, or interruption.
244
- - Risk: a hung or externally interrupted mutation can be presented as valid release evidence; an
245
- agent may re-enter the same semantic transition without knowing whether the first process is
246
- still active.
247
- - Candidate evidence: the validator pairs trusted-harness invocation commentary with the exact
248
- terminal navigation, mutation, or read-only observation result; rejects failed observations,
249
- EOF with a pending invocation, and any second command before the pending invocation resolves.
250
- Immutable final-6 and final-8 transcripts are retained as diagnostic evidence and rejected for
251
- their respective stranded invocations.
252
-
253
- ### WF-STABLE-015 — `task plan-set` navigation omits its exact inclusion contract
254
-
255
- - Status: Closed-regression in beta.2; clean release E2E verified
256
- - Severity: High
257
- - Area: Task planning navigation, autonomous Plan construction, fail-before-write usability
258
- - Evidence: the Delegate followed `next.action = task plan-set` and produced substantive acceptance
259
- statements, but Core rejected the first Plan because it did not contain the opaque Task acceptance
260
- ID `AC-001` as an exact array member. The Task remained planning at revision `1`; the transcript
261
- correctly rejected the run as failed release evidence.
262
- - Root cause: Core validates exact Task requirement and acceptance ID inclusion, while `next`
263
- previously exposed only the action and revision. The machine-readable precondition was visible
264
- only indirectly in large status/Brief output and was not part of the exact transition contract.
265
- - Candidate evidence: every `task plan-set` navigation now returns `taskPlanContract` with exact
266
- required requirement IDs, acceptance IDs, current risks, Brief hash, and current Knowledge Map binding. The
267
- packaged gateway requires planners to copy those exact IDs before adding semantic detail.
268
-
269
- ### WF-STABLE-016 — Git-completion navigation omits the required writer lease input
270
-
271
- - Status: Closed-regression in beta.2; clean release E2E verified
272
- - Severity: High
273
- - Area: Task completion/merge navigation, writer lease continuity, autonomous execution
274
- - Evidence: after successful implementation, strict Step review, Task review, result, and delegated
275
- acceptance, `next` advertised `task merge` plus `gitMutationPolicy`. The Delegate followed that
276
- response without `--writer-token`; the CLI rejected the invocation before any mutation.
277
- - Root cause: the mandatory writer lease was enforced by each transition but absent from the exact
278
- machine-readable navigation contract. The gateway therefore had no local precondition telling it
279
- to retain and pass the sensitive lease on the first call.
280
- - Candidate evidence: `next` returns a non-secret `writerTokenContract` for `task step-complete`,
281
- `task submit`, `task merge`, and `task merge-confirm`, and omits it for non-consuming adjacent
282
- transitions. The packaged gateway treats it as a first-call precondition and never prints or
283
- persists the token.
284
-
285
- ### WF-STABLE-017 — subcommand `--help` is treated as a lifecycle mutation
286
-
287
- - Status: Closed-regression in beta.2; clean release E2E verified
288
- - Severity: High
289
- - Area: CLI command discovery, autonomous execution, release transcript integrity
290
- - Evidence: after clean seven-Task assembly and an active owner autonomy grant, the real Delegate
291
- invoked `milestone authorize --help`. The CLI dispatched the underlying lifecycle operation and
292
- rejected it with `INVALID_ARGUMENT: Missing required option --id` before any state write.
293
- - Root cause: CLI dispatch had no early help route; parsed `--help` remained an unused option while
294
- noun/action matching entered the ordinary mutation implementation.
295
- - Candidate evidence: help is intercepted before repository/state construction, returns exit `0`
296
- with a machine-readable `readOnly` response at top-level, noun, and action scopes, and never
297
- requests mutation inputs or changes workflow state. Critical autonomous transitions expose exact
298
- required and optional option lists. The transcript validator recognizes safe trusted-harness help
299
- observations, rejects mutation-style help inputs, and requires a fresh successful `next` before
300
- any subsequent mutation.
301
-
302
- ### WF-STABLE-018 — credential-bearing receipts are buried after large Task payloads
303
-
304
- - Status: Closed-regression in beta.2; clean release E2E verified
305
- - Severity: High
306
- - Area: C1 handoff, writer lease continuity, autonomous credential consumption
307
- - Evidence: the real Delegate completed initial assembly through `task handoff-prepare` with zero
308
- rejected lifecycle calls, then reported that the one-time claim token was unavailable. The raw
309
- successful CLI result proves that the token was emitted exactly once but was buried after roughly
310
- 5 KiB of Task/event data; the wrapper did not truncate stdout.
311
- - Root cause: credential-bearing values shared the same large compatibility payload as canonical
312
- Task state and context. Although Core emitted the token correctly, the response supplied no
313
- compact, prominent transfer receipt for an autonomous consumer.
314
- - Candidate evidence: `task handoff-prepare` now emits first-field `credentialHandoff`, and `task
315
- run` emits first-field `writerLeaseReceipt`. Both name the intended next action, source, target or
316
- owner, option, and sensitivity; the exact credential occurs once, while legacy payload data and
317
- read-only responses contain no duplicate secret.
318
-
319
- ### WF-STABLE-019 — claimed Task run requires a lease that navigation says will be issued later
320
-
321
- - Status: Closed-regression in beta.2; clean release E2E verified
322
- - Severity: High
323
- - Area: C1 claim, writer lease continuity, truthful Task navigation
324
- - Evidence: the real Delegate consumed the first-field claim token and completed `task claim`, then
325
- safely paused for bounded Git permission. After resume, Core-owned `task start` succeeded. The
326
- following `next` advertised `task run` without a writer-token contract, and the exact call was
327
- rejected because claimed posture already required the lease created by claim.
328
- - Root cause: the first writer-lease receipt was emitted by `task run`, but claimed posture requires
329
- that same credential as an input to run. `task claim` returned the lease only inside its large
330
- payload, while action-only navigation intentionally omitted `task run` from the writer contract.
331
- - Candidate evidence: `task claim` now emits first-field `writerLeaseReceipt` with `task run` as its
332
- consuming action, and claimed `task run` navigation advertises the exact `--writer-token`
333
- precondition. Unclaimed runs still acquire their initial lease without a token.
334
-
335
- ### WF-STABLE-020 — transcript validator rejects safe top-level help
336
-
337
- - Status: Closed-regression in beta.2
338
- - Severity: High
339
- - Area: release transcript integrity, read-only CLI discovery
340
- - Evidence: phase 1 completed initial assembly, one complete Plan, and autonomy preparation with
341
- zero rejected lifecycle calls. A successful trusted-harness top-level `--help` was immediately
342
- followed by fresh successful `next`, but packaged validation returned
343
- `Unsupported read-only observation`.
344
- - Root cause: CLI help semantics covered top-level, noun, and action scopes, while the transcript
345
- recognizer's regular expression required at least one noun before `--help`.
346
- - Candidate evidence: the validator recognizes bare top-level `--help` as safe help, retains the
347
- mandatory fresh-`next` barrier, and still rejects failed help or embedded mutation inputs.
348
-
349
- ### WF-STABLE-021 — checkpoint guidance permits parallel invocations rejected by release validation
350
-
351
- - Status: Closed-regression in beta.2; clean release E2E verified
352
- - Severity: Critical
353
- - Area: gateway protocol, release transcript integrity, lifecycle checkpoints
354
- - Evidence: `real-agent-release-final-21` completed phase-1 initial assembly with no individually
355
- rejected command, but four times started `next` before the paired `status` had emitted its
356
- terminal result (or vice versa). The strict validator rejected the first overlap with
357
- `INCOMPLETE_INVOCATION` at event index `29`, before owner grant or Task execution.
358
- - Root cause: the packaged gateway required both `status` and `next` after each boundary but did not
359
- state that the first invocation must terminate before the second starts. Real agents may
360
- parallelize independent-looking read-only calls, while the append-only validation contract
361
- deliberately treats overlapping lifecycle invocations as indeterminate evidence.
362
- - Candidate evidence: Skill, protocol, recovery guide, and E2E Brief now require terminal
363
- `status` followed by terminal `next` and explicitly prohibit parallel tool batches. An exact
364
- transcript fixture proves that overlapping checkpoint starts remain rejected. The final clean
365
- `real-agent-release-final-21` followed every `status` then `next` checkpoint sequentially through
366
- final acceptance; the complete transcript validates at `250/250` with no overlap.
367
-
368
- ### WF-STABLE-022 — raw real-agent evidence persists one-time C1 credentials
369
-
370
- - Status: Closed-regression in beta.2; clean release E2E verified
371
- - Severity: Critical
372
- - Area: real-agent evidence, C1 credentials, release security
373
- - Evidence: the corrected `real-agent-release-final-21` consumed credential-first handoff, claim,
374
- and run receipts successfully, but Codex `exec --json` serialized the literal `--claim-token`,
375
- `--writer-token`, and credential-bearing stdout into the raw session JSONL. The semantic lifecycle
376
- log remained secret-free, but the raw diagnostic artifact contradicted the stated memory-only
377
- handling rule.
378
- - Root cause: raw Codex JSONL was redirected directly to evidence without a streaming redaction
379
- boundary. A language-model tool call necessarily contains the CLI argument it invokes, even when
380
- the agent does not echo the value in prose.
381
- - Candidate evidence: a streaming structural sanitizer removes exact credential fields and CLI
382
- options before JSONL is persisted, preserves non-secret token metrics, and provides a fail-closed
383
- post-run inspection mode. Deterministic tests cover command arguments, embedded receipt JSON,
384
- structured receipts, and already-sanitized evidence. The final clean final-21 used the streaming
385
- sanitizer from process start for both phases; fail-closed inspection reports zero credential
386
- findings in both persisted raw JSONL artifacts.
387
-
388
- ### WF-STABLE-023 — claimed strict-review navigation omits its writer lease precondition
389
-
390
- - Status: Closed-regression in beta.2; clean release E2E verified
391
- - Severity: Critical
392
- - Area: claimed C1 review, truthful navigation, writer lease continuity
393
- - Evidence: sanitized `real-agent-release-final-21` completed one guarded Step and its Core-owned
394
- commit, then `next` advertised `task step-review` without `writerTokenContract`. The exact first
395
- call was rejected non-mutating with `TRANSITION_BLOCKED` because claimed posture requires the
396
- active lease token.
397
- - Root cause: navigation enumerated always-lease-bound completion actions and claimed `task run`,
398
- but not the later claimed-C1 mutations that call the same handoff authorization predicate.
399
- - Candidate evidence: writer-token navigation is now posture-aware for every claimed-C1 action
400
- that can consume an optional lease, including `task step-review` and `task review-launch`.
401
- Regressions cover both claimed review boundaries while preserving token-free unclaimed review
402
- navigation. The final clean final-21 exposed the contract and succeeded on the first call for
403
- both `task step-review` and `task review-launch`, with zero rejected lifecycle mutations.
404
-
405
- ## Beta.2 current evidence
406
-
407
- - The first `real-agent-release-final-21` is immutable diagnostic evidence for WF-STABLE-021: its
408
- lifecycle commands individually succeeded, but packaged validation rejected four overlapping
409
- checkpoint pairs. It stopped before owner grant and was not resumed.
410
-
411
- - Final clean `real-agent-release-final-21` used a rebuilt tarball with SHA-256
412
- `24a7b69b0ada9d922946a8c0c593384d5806d58a35e04fae171d26f83585ac4f` and an isolated
413
- `final21` marketplace/plugin cache. Phase 1 assembled exactly seven linked Tasks and stopped at
414
- the autonomy gate; phase 2 completed the sole required guarded Task, strict Step review,
415
- content-only context refresh, final review, delegated acceptance, Core merge, Milestone
416
- validation, and delegated Milestone final acceptance. Task
417
- `TASK-01M04B516YDHY5D1B78S2XEV0S` is `merged` at revision `14`; Milestone
418
- `MS-01M04B42MC7VCEKTQ7K8ZYK0G1` is `accepted` at revision `5`; accepted head is
419
- `64a2e58e030dfb95f5f5724fb1825b02143ffaa7`. Final `next` is repository idle with
420
- `discovery start`. Transcript validation passes `250/250`, both credential scans report zero
421
- findings, waived Tasks executed is zero, and rejected lifecycle mutations is zero.
422
- - Post-WF-STABLE-023 full sequential validation on Node `24.17.0` passed `153/153` in
423
- `644031 ms`. Plugin check, release check, isolated-cache dry-pack, downstream smoke, root
424
- workflow regression, and `git diff --check` passed. The E2E-tested pre-evidence-doc tarball SHA-1 is
425
- `4519d05b31fa08b39f5f5f9f9e2b9f0e13941935`.
426
-
427
- - Post-WF-STABLE-020 sequential package validation passed `149/149` under Node `24.17.0`.
428
- Current validation accepts the immutable `final-20` phase-1 transcript as `132/132`, while its
429
- packaged pre-fix validator deterministically rejects it. Rebuilt package dry-pack, plugin check,
430
- release check, downstream smoke, root regression, and `git diff --check` passed; dry-pack shasum
431
- is `d5ca042dd1bb90e52c6d5313dafa6730e5d3795f`.
432
- - Post-WF-STABLE-019 sequential package validation passed `149/149` under Node `24.17.0`.
433
- Rebuilt package dry-pack, plugin validation, release check, downstream smoke, root workflow
434
- regression, and `git diff --check` all passed; dry-pack shasum is
435
- `547166399294368c89ae7c581192cf81a6391638`.
436
- - Post-WF-STABLE-018 sequential package validation passed `147/147` under Node `24.17.0`.
437
- Rebuilt package dry-pack with isolated npm cache, plugin validation, release check, downstream
438
- smoke, root workflow regression, and `git diff --check` all passed; package shasum is
439
- `04571ca2f51f48661c984e8d16a2e32c336efe64`.
440
- - Final post-WF-STABLE-015 sequential package validation passed `141/141` under Node `24.17.0`.
441
- - Package archive, downstream smoke, plugin validation, release check, and root workflow regression
442
- passed on the rebuilt candidate. One root-regression setup attempt lacked Node on the child-process
443
- `PATH`; the authoritative rerun with the declared Node 24 environment passed.
444
- - Exact copied `signal_v4` snapshot replay passed without live-project or live-state writes.
445
- - Disposable final-6 phase 1 assembled seven Tasks and stopped cleanly at the autonomy boundary.
446
- Phase 2 authorized and completed the guarded Step, then correctly stopped as invalid evidence
447
- when strict Step review remained indeterminate.
448
- - Disposable final-11 assembled all seven Tasks and authorized the Milestone, then stopped on the
449
- first rejected `task plan-set` because exact `AC-001` inclusion was not discoverable from `next`.
450
- It is immutable diagnostic evidence for WF-STABLE-015, not release evidence.
451
- - Disposable final-12 reached delegated Task acceptance and `task merge`, then stopped on the first
452
- rejected merge because `next` did not advertise mandatory `--writer-token`. It is immutable
453
- diagnostic evidence for WF-STABLE-016, not release evidence.
454
- - Disposable final-13 passed clean bootstrap/preflight but the real Codex transport failed before
455
- the first workflow action. It made no workflow mutation and is external diagnostic evidence, not
456
- a package-defect or release signal.
457
- - Disposable final-16 cleared transport, completed initial assembly and the owner grant, then
458
- stopped on the first rejected `milestone authorize --help`. It is immutable diagnostic evidence
459
- for WF-STABLE-017, not release evidence.
460
- - Disposable final-17 completed seven-Task initial assembly with zero rejected mutations and proved
461
- read-only help plus fresh `next`, but the packaged validator still rejected that help observation.
462
- It stopped before owner grant and is immutable WF-STABLE-017 diagnostic evidence.
463
- - Disposable final-18 completed initial assembly through C1 handoff preparation with zero rejected
464
- lifecycle calls. It then exposed WF-STABLE-018: the exact one-time claim token existed in complete
465
- stdout but was buried after the large Task/event payload and was not retained by the Delegate.
466
- The run is immutable diagnostic evidence and is not eligible for continuation or release evidence.
467
- - Disposable final-19 completed seven-Task assembly, delegated authorization, credential-first
468
- handoff/claim, and bounded Core `task start`. It then exposed WF-STABLE-019 when claimed
469
- `task run` was advertised without its already-bound lease precondition and was rejected once.
470
- The run is immutable diagnostic evidence and is not eligible for continuation.
471
- - Disposable final-20 completed clean seven-Task phase-1 assembly and autonomy preparation with no
472
- rejected lifecycle call, then exposed WF-STABLE-020 when transcript validation rejected safe
473
- top-level help plus fresh `next`. No owner grant was issued; the run is immutable diagnostic
474
- evidence and is not eligible for continuation.
475
- - The rebuilt tarball, fresh clean final-acceptance/idle E2E, transcript/security checks, and all
476
- deterministic/package release gates are green. The independent source/evidence audit completed
477
- with `PASS`, found no material blocker, and confirmed the beta.2 release recommendation.
478
-
479
- ## Workflow findings closed for beta.1
480
-
481
- ### WF-STABLE-001 — `locks repair` exposes a full writer token
482
-
483
- - Status: Closed-regression in beta.1
484
- - Severity: High
485
- - Area: lock recovery, CLI output, secret handling
486
- - Evidence: the `locks repair` result includes the complete credential-bearing writer token rather
487
- than a redacted value or one-time bounded handoff.
488
- - Risk: a transcript, log, screenshot, or delegated agent output can disclose authority that permits
489
- state mutation.
490
- - Stable-release requirement:
491
- - never print the full token in ordinary JSON or human-readable output;
492
- - return only a redacted fingerprint unless an explicit secure handoff channel is used;
493
- - add CLI, JSON-envelope, logging, snapshot, and error-path tests proving no token leakage;
494
- - preserve deterministic recovery and avoid making the token unrecoverable before ownership is
495
- safely transferred.
496
-
497
- ### WF-STABLE-002 — standalone Project Knowledge `next` is misleadingly attributed to a failed Task
498
-
499
- - Status: Closed-regression in beta.1
500
- - Severity: Medium
501
- - Area: `next`, Project Knowledge Map, remediation terminality
502
- - Signal replay evidence:
503
- - Task `TASK-01M00W190K3V3HM68Q3QVSH1AY` is `needs_fix` with
504
- `STEP-002-FORMALIZATION-CONTRACTS` failed and a `split-required` decision;
505
- - after a top-level reconcile, `next` correctly returns scope `project-memory`, action
506
- `project-memory approve`, revision `168`, but also returns that failed Task as `taskId`.
507
- - Risk: an agent or operator can interpret a standalone project approval as permission to refresh or
508
- resume the terminal remediation path.
509
- - Stable-release requirement:
510
- - standalone Project Knowledge actions must not look like Task execution actions;
511
- - either omit `taskId` or expose it under an explicit non-authorizing field such as
512
- `triggerTaskId`/`stalenessOriginTaskId`;
513
- - state clearly that approval cannot authorize, refresh, or resume the referenced Task;
514
- - add a replay for `split-required -> main branch reconcile -> standalone approval next`.
515
-
516
- ### WF-STABLE-003 — terminal `split-required` is routed into unsafe Knowledge rebind
517
-
518
- - Status: Closed-regression in beta.1
519
- - Severity: Critical
520
- - Area: corrective terminal decisions, Milestone membership evolution, `next`
521
- - Signal replay evidence:
522
- - after human approval of Project Knowledge Map revision `169`, exact `next` returns
523
- `task knowledge-rebind` for `TASK-01M00W190K3V3HM68Q3QVSH1AY` at revision `28`;
524
- - the Task is `needs_fix`, its guarded Step is failed, and its current corrective decision is
525
- `split-required`;
526
- - `taskCanRebindKnowledge` accepts every `needs_fix` Task without checking a hard-blocking
527
- corrective decision;
528
- - repository `next` lets Knowledge Map rebind override the Task-level `doctor` result for the
529
- `split-required` posture;
530
- - `rebindTaskKnowledge` changes the Plan hash, sets status to
531
- `awaiting_execution_authorization`, clears review/block state, and supersedes execution
532
- authorization without preserving the terminal decision on the rebound Plan;
533
- - no Task cancellation transition exists, and a started Task remains repository-actionable while
534
- its Milestone is active even if membership disposition is changed.
535
- - Risk: following exact `next` can detach the new Plan hash from the recorded `split-required`
536
- decision and make the failed Task appear authorizable again. Ignoring `next` to create or
537
- reclassify a replacement Task cannot remove the started failed Task from repository routing.
538
- - Stable-release requirement:
539
- - reject `knowledge-rebind` and `context-refresh` before the first write when the current
540
- corrective posture is `split-required` or `stop-escalate`;
541
- - keep terminal corrective decisions effective across Project Knowledge changes without
542
- rebinding or rewriting the historical Task Plan;
543
- - provide one unambiguous replacement route with explicit old/new Task relationship;
544
- - require atomic or journal-recoverable membership evolution;
545
- - prevent both orphan replacement Tasks and a still-required terminal Task;
546
- - make repository `next` return that replacement route rather than `knowledge-rebind`;
547
- - add deterministic and real-agent E2E coverage for
548
- `split-required -> Project Knowledge approval -> replacement -> Milestone continuation`.
549
-
550
- ### WF-STABLE-004 — workflow package upgrades can remain stranded on a Task branch
551
-
552
- - Status: Closed-regression in beta.1
553
- - Severity: Medium
554
- - Area: update instructions, branch ownership, Milestone base verification
555
- - Evidence: dependency commit `3f45abc88f7b85091c484d0b84f4c96d1dfeb045` pinned
556
- `codex-workflow-v2@2.0.0-alpha.7.2.1` only on the failed Task branch while local `main`, the
557
- Milestone base, remained on alpha.7.1. Recovery required a manually scoped cherry-pick producing
558
- `fabd1c868a9baa74c7ef273bf0272753c7927812` on local `main`.
559
- - Risk: diagnostics run with one package version while Milestone creation or replacement work starts
560
- from another, invalidating assumptions and repeating already-fixed lifecycle failures.
561
- - Stable-release requirement:
562
- - update preflight and documentation must distinguish current worktree version from Milestone base
563
- branch version;
564
- - provide an explicit dependency-only landing check before lifecycle work continues;
565
- - fail closed when declared, locked, installed, current-branch, and base-branch versions diverge;
566
- - never suggest merging unrelated product commits to transport a workflow dependency update.
567
-
568
- ### WF-STABLE-005 — agent guidance did not make replacement membership evolution explicit
569
-
570
- - Status: Closed-regression in beta.1
571
- - Severity: Medium
572
- - Area: recovery prompts, operator guidance
573
- - Evidence: the generated post-approval prompt said to create a thin required replacement Task but
574
- did not explicitly require reclassification of the old failed membership and Milestone
575
- reauthorization through exact Core transitions.
576
- - Risk: correct package primitives can still be used in the wrong order, recreating an apparently
577
- active but non-completable Milestone.
578
- - Stable-release requirement:
579
- - ship a canonical `split-required` operator/delegate recovery prompt;
580
- - require sequential terminal `status` then terminal `next` after every state boundary;
581
- - distinguish Task creation, replacement linkage, membership evolution, and execution
582
- reauthorization;
583
- - prohibit manual state editing and resumption of the failed Step.
584
-
585
- ### WF-STABLE-006 — composite context refresh has no multi-file crash-recovery journal
586
-
587
- - Status: Closed-regression in beta.1
588
- - Severity: High
589
- - Area: Project Knowledge refresh, Task rebind, delegated reauthorization, durability
590
- - Evidence: alpha.7.1 validates the complete transition before its first canonical write and uses
591
- atomic replacement for each individual file, but the composite transition performs multiple file
592
- writes without a transaction journal. A process or machine failure between those writes can leave
593
- a partially applied cross-file transition.
594
- - Risk: the repository can be clean while Project Knowledge, Task binding, authorization, and audit
595
- sidecars disagree after a crash. Prevalidation prevents logical rejection after the first write but
596
- cannot recover an interrupted physical write sequence.
597
- - Stable-release requirement:
598
- - introduce a project-local transaction journal or an equivalent recoverable commit protocol;
599
- - define deterministic roll-forward/rollback semantics for every write boundary;
600
- - make recovery idempotent and preserve append-only audit history;
601
- - add crash-injection tests before and after each canonical and sidecar write;
602
- - prove `doctor`, `status`, and `next` detect and route every interrupted legacy/candidate shape;
603
- - never silently treat a partial refresh as authorized.
604
-
605
- ### WF-STABLE-007 — full validation commands may race through shared build/clean outputs
606
-
607
- - Status: Closed-regression in beta.1
608
- - Severity: Medium if confirmed
609
- - Area: maintainer validation, reproducibility
610
- - Evidence: concurrent `npm test` and `npm run validate` runs stopped producing reliable completion
611
- evidence after both reached shared test/build phases. A later sequential run continued normally.
612
- The observed behavior is consistent with shared `build`/`clean` output contention, but the exact
613
- cause has not been isolated.
614
- - Risk: maintainers can mistake a hung or corrupted concurrent run for passing release evidence, or
615
- waste hours waiting on a validation process that cannot complete deterministically.
616
- - Verification required:
617
- - reproduce with process-level tracing and isolated logs;
618
- - identify shared directories, cleanup commands, ports, caches, and child processes;
619
- - distinguish a package-script race from a test-runner or environment defect.
620
- - Stable-release requirement if confirmed:
621
- - isolate run outputs/resources or enforce an explicit single-run lock with a clear diagnostic;
622
- - ensure interruption cleans up child processes and resources;
623
- - document whether concurrent full validation is supported;
624
- - add a deterministic concurrency regression where practical.
625
-
626
- ### WF-STABLE-008 — replacement Task local start required a manual base-branch switch
627
-
628
- - Status: Closed-regression in beta.1
629
- - Severity: Low
630
- - Area: local Task start, replacement autonomy, Git preconditions
631
- - Evidence: the final disposable E2E correctly materialized and reauthorized the replacement, but
632
- its first `task start` was safely rejected because the clean checkout still pointed at the
633
- cancelled Task branch instead of `main`; the Delegate recovered by switching branches and retrying.
634
- - Stable guard: local Task start resolves the exact declared base ref and creates the new Task branch
635
- from that ref even when another clean Task branch is checked out. Dirty worktrees and external
636
- ownership rules remain fail-closed.
637
-
638
- ## Beta.1 closure evidence
639
-
640
- - `WF-STABLE-001`: CLI integration proves both inspection and stale repair return only a token
641
- fingerprint and never the writer token.
642
- - `WF-STABLE-002`: repository navigation returns diagnostic provenance as
643
- `stalenessOriginTaskId` with `authorizesTask: false`; eligible atomic refresh is a Task-scoped
644
- top-level action.
645
- - `WF-STABLE-003`: deterministic terminal replay and the disposable real-agent Milestone prove
646
- `split-required -> replacement -> reauthorization -> merge -> final acceptance`, with the old
647
- Task cancelled, linked, immutable in history, and without a retained writer lease.
648
- - `WF-STABLE-004`: update-preflight regressions cover declared, locked, installed, current-branch,
649
- and active Milestone base versions plus dependency-only transport guidance.
650
- - `WF-STABLE-005`: `docs/split-required-recovery.md` and the packaged gateway protocol define one
651
- exact replacement ordering and prohibit manual membership/state mutation.
652
- - `WF-STABLE-006`: beta transaction regressions inject ordinary failure and dead-process exit at
653
- every target-write boundary, then prove rollback or idempotent roll-forward, including file
654
- deletion. Context refresh and replacement both use the project journal.
655
- - `WF-STABLE-007`: a deterministic second full-validation owner fails immediately with
656
- `VALIDATION_ALREADY_RUNNING`; the sequential release suite completed normally.
657
- - `WF-STABLE-008`: the local branch-start regression begins on a clean historical Task branch and
658
- proves the new Task branch is created from the exact `main` commit.
659
-
660
- ## Downstream findings to retain as E2E fixtures
661
-
662
- ### SIGNAL-M3-001 — stable identifier validation misses real U+0000 after line terminators
663
-
664
- - Status: Downstream confirmed defect
665
- - Owner: `signal_v4`
666
- - Workflow relevance: use as the thin replacement-Task fixture for validating `split-required`
667
- recovery; do not implement the product fix in this repository.
668
- - Required downstream acceptance: reject real U+0000 in every position, including immediately after
669
- line terminators, without weakening other stable-identifier rules.
670
-
671
- ### SIGNAL-M3-002 — Project Knowledge has an unresolved `ownership` gap
672
-
673
- - Status: Downstream gap, currently non-blocking
674
- - Owner: `signal_v4`
675
- - Evidence: candidate Knowledge Map revision `168`, hash
676
- `8d775d82fb1aec85322a923ecf62053453160376033f45bd3c7e2a8c2588d51d`, reports no conflicts
677
- and one missing `ownership` category source.
678
- - Rule: do not expand the NUL replacement Task to fix this gap. Track it as separate project
679
- documentation work.
680
-
681
- ### SIGNAL-M3-003 — local `main` has no configured `origin`
682
-
683
- - Status: Downstream operational risk
684
- - Owner: `signal_v4`
685
- - Evidence: local `main` is at `fabd1c868a9baa74c7ef273bf0272753c7927812`, but `git ls-remote
686
- --heads origin main` fails because `origin` is not configured.
687
- - Risk: a local dependency correction may be mistaken for a shared or durable project update.
688
- - Rule: resolve repository remote/backup policy separately; do not let workflow lifecycle commands
689
- infer permission to publish.
690
-
691
- ## Closed alpha.7 regressions that must not recur
692
-
693
- ### WF-REG-001 — context-only Knowledge Map rebinding invalidated `continue-fix`
694
-
695
- - Status: Closed-regression in alpha.7.2
696
- - Stable guard: semantic Plan equality must preserve an authorized `continue-fix`; semantic changes
697
- must invalidate it; recovery remains append-only and non-mutating on failure.
698
-
699
- ### WF-REG-002 — recovered corrective decision still produced `TOKEN_RECOVERY_NO_GO`
700
-
701
- - Status: Closed-regression in alpha.7.2.1
702
- - Stable guard: an append-only remediation-mode recovery must restore the exact allowed transition
703
- without a fourth remediation run, duplicate decision, manual state edit, or writer-lease bypass.
704
-
705
- ### WF-REG-003 — delegated creation of exact Plan-declared supporting Knowledge sources was blocked
706
-
707
- - Status: Closed-regression in alpha.7.1
708
- - Stable guard: only exact normalized Plan-declared supporting sources with
709
- `knowledgeImpact=create` may be added; wildcard, directory, canonical, unauthorized, removal,
710
- category/authority changes, gaps, and conflicts remain blocked before the first write.
711
-
712
- ### WF-REG-004 — E2E history contained a spurious review failure from the harness
713
-
714
- - Status: Closed-regression in alpha.7.1 E2E evidence
715
- - Stable guard: fresh real-agent E2E evidence must separate harness/setup failures from lifecycle
716
- review attempts and must not pollute the Task remediation history.
717
-
718
- ### WF-REG-005 — `next` offered work that the exact transition would reject
719
-
720
- - Status: Closed-regression in alpha.7.2
721
- - Stable guard: `next` must use the same binding, recovery, terminal-decision, and corruption
722
- predicates as the exact mutating transition. If the transition is guaranteed to reject, `next`
723
- must return the recovery/blocking action instead of a Task run.
724
-
725
- ## Stable-release exit rule
726
-
727
- The stable release is not ready while any Confirmed workflow finding above is open. Investigation
728
- items must be either reproduced and fixed or closed with recorded evidence that Core already provides
729
- the required safe semantics. Downstream findings do not block the package by themselves, but the NUL
730
- fixture must complete the real-agent replacement path through final Milestone acceptance.