codex-orchestrator 2.0.3 → 2.0.5

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 (161) hide show
  1. package/CHANGELOG.md +51 -427
  2. package/README.md +161 -37
  3. package/dist/src/index.d.ts +1 -1
  4. package/dist/src/index.d.ts.map +1 -1
  5. package/dist/src/v2/acceptance-proof.d.ts +5 -0
  6. package/dist/src/v2/acceptance-proof.d.ts.map +1 -1
  7. package/dist/src/v2/acceptance-proof.js +10 -2
  8. package/dist/src/v2/acceptance-proof.js.map +1 -1
  9. package/dist/src/v2/adapters/gh-issue-adapter.d.ts.map +1 -1
  10. package/dist/src/v2/adapters/gh-issue-adapter.js +6 -7
  11. package/dist/src/v2/adapters/gh-issue-adapter.js.map +1 -1
  12. package/dist/src/v2/adapters/gh-pull-request-adapter.d.ts +7 -1
  13. package/dist/src/v2/adapters/gh-pull-request-adapter.d.ts.map +1 -1
  14. package/dist/src/v2/adapters/gh-pull-request-adapter.js +288 -0
  15. package/dist/src/v2/adapters/gh-pull-request-adapter.js.map +1 -1
  16. package/dist/src/v2/adapters/pull-requests.d.ts +69 -0
  17. package/dist/src/v2/adapters/pull-requests.d.ts.map +1 -1
  18. package/dist/src/v2/adapters/pull-requests.js +48 -0
  19. package/dist/src/v2/adapters/pull-requests.js.map +1 -1
  20. package/dist/src/v2/adapters/worktree.d.ts +1 -0
  21. package/dist/src/v2/adapters/worktree.d.ts.map +1 -1
  22. package/dist/src/v2/adapters/worktree.js +10 -1
  23. package/dist/src/v2/adapters/worktree.js.map +1 -1
  24. package/dist/src/v2/cli-contract.d.ts +3 -3
  25. package/dist/src/v2/cli-contract.d.ts.map +1 -1
  26. package/dist/src/v2/cli-contract.js +1 -3
  27. package/dist/src/v2/cli-contract.js.map +1 -1
  28. package/dist/src/v2/cli.d.ts +33 -0
  29. package/dist/src/v2/cli.d.ts.map +1 -0
  30. package/dist/src/v2/{candidate-cli.js → cli.js} +55 -39
  31. package/dist/src/v2/cli.js.map +1 -0
  32. package/dist/src/v2/code-review-report.d.ts +1 -1
  33. package/dist/src/v2/code-review-report.d.ts.map +1 -1
  34. package/dist/src/v2/code-review-report.js +2 -2
  35. package/dist/src/v2/code-review-report.js.map +1 -1
  36. package/dist/src/v2/codex-process.d.ts.map +1 -1
  37. package/dist/src/v2/codex-process.js +12 -1
  38. package/dist/src/v2/codex-process.js.map +1 -1
  39. package/dist/src/v2/config.d.ts +2 -3
  40. package/dist/src/v2/config.d.ts.map +1 -1
  41. package/dist/src/v2/config.js +0 -3
  42. package/dist/src/v2/config.js.map +1 -1
  43. package/dist/src/v2/contained-report-operation.d.ts +2 -2
  44. package/dist/src/v2/contained-report-operation.d.ts.map +1 -1
  45. package/dist/src/v2/contained-report-operation.js +1 -1
  46. package/dist/src/v2/contained-report-operation.js.map +1 -1
  47. package/dist/src/v2/containment.d.ts +15 -2
  48. package/dist/src/v2/containment.d.ts.map +1 -1
  49. package/dist/src/v2/containment.js +43 -6
  50. package/dist/src/v2/containment.js.map +1 -1
  51. package/dist/src/v2/direct-delivery.d.ts +5 -10
  52. package/dist/src/v2/direct-delivery.d.ts.map +1 -1
  53. package/dist/src/v2/direct-delivery.js +32 -91
  54. package/dist/src/v2/direct-delivery.js.map +1 -1
  55. package/dist/src/v2/proof-report.d.ts.map +1 -1
  56. package/dist/src/v2/proof-report.js +55 -29
  57. package/dist/src/v2/proof-report.js.map +1 -1
  58. package/dist/src/v2/review-feedback-coordinator.d.ts +54 -0
  59. package/dist/src/v2/review-feedback-coordinator.d.ts.map +1 -0
  60. package/dist/src/v2/review-feedback-coordinator.js +245 -0
  61. package/dist/src/v2/review-feedback-coordinator.js.map +1 -0
  62. package/dist/src/v2/review-feedback.d.ts +127 -0
  63. package/dist/src/v2/review-feedback.d.ts.map +1 -0
  64. package/dist/src/v2/review-feedback.js +436 -0
  65. package/dist/src/v2/review-feedback.js.map +1 -0
  66. package/dist/src/v2/run-issue.d.ts +63 -9
  67. package/dist/src/v2/run-issue.d.ts.map +1 -1
  68. package/dist/src/v2/run-issue.js +798 -78
  69. package/dist/src/v2/run-issue.js.map +1 -1
  70. package/dist/src/v2/run-store.d.ts +49 -5
  71. package/dist/src/v2/run-store.d.ts.map +1 -1
  72. package/dist/src/v2/run-store.js +138 -44
  73. package/dist/src/v2/run-store.js.map +1 -1
  74. package/dist/src/v2/runtime.d.ts +40 -3
  75. package/dist/src/v2/runtime.d.ts.map +1 -1
  76. package/dist/src/v2/runtime.js +245 -52
  77. package/dist/src/v2/runtime.js.map +1 -1
  78. package/dist/src/v2/setup-cli.d.ts.map +1 -1
  79. package/dist/src/v2/setup-cli.js +4 -11
  80. package/dist/src/v2/setup-cli.js.map +1 -1
  81. package/dist/src/v2/setup-runtime.d.ts.map +1 -1
  82. package/dist/src/v2/setup-runtime.js +1 -61
  83. package/dist/src/v2/setup-runtime.js.map +1 -1
  84. package/dist/src/v2/setup-store.d.ts +0 -5
  85. package/dist/src/v2/setup-store.d.ts.map +1 -1
  86. package/dist/src/v2/setup-store.js +3 -106
  87. package/dist/src/v2/setup-store.js.map +1 -1
  88. package/dist/src/v2/setup.d.ts +6 -46
  89. package/dist/src/v2/setup.d.ts.map +1 -1
  90. package/dist/src/v2/setup.js +12 -294
  91. package/dist/src/v2/setup.js.map +1 -1
  92. package/dist/src/v2/workflow-assets.d.ts +19 -11
  93. package/dist/src/v2/workflow-assets.d.ts.map +1 -1
  94. package/dist/src/v2/workflow-assets.js +132 -40
  95. package/dist/src/v2/workflow-assets.js.map +1 -1
  96. package/docs/deep-dive.md +328 -56
  97. package/internal-workflow/docs/agents/bugfix-quality-gate.md +11 -0
  98. package/internal-workflow/docs/agents/coding-skill-routing.md +116 -196
  99. package/internal-workflow/docs/agents/contract-test-ledger.md +11 -1
  100. package/internal-workflow/docs/agents/review-gates.md +32 -39
  101. package/internal-workflow/docs/agents/review-protocol.md +75 -147
  102. package/internal-workflow/evals/coding-skill-evals.json +84 -0
  103. package/internal-workflow/manifest.json +1 -1
  104. package/internal-workflow/operations/acceptance-proof/SKILL.md +7 -1
  105. package/internal-workflow/operations/ambiguity-review/SKILL.md +2 -0
  106. package/internal-workflow/operations/code-review/SKILL.md +21 -1
  107. package/internal-workflow/operations/implementation/SKILL.md +22 -1
  108. package/internal-workflow/operations/spec-author/SKILL.md +10 -1
  109. package/internal-workflow/operations/spec-review/SKILL.md +10 -1
  110. package/internal-workflow/operations/triage/SKILL.md +10 -1
  111. package/internal-workflow/schemas/code-review-v1.json +1 -1
  112. package/internal-workflow/schemas/proof-report-v1.json +1 -1
  113. package/internal-workflow/skills/agent-auto/SKILL.md +6 -1
  114. package/internal-workflow/skills/code-debugger/SKILL.md +122 -0
  115. package/internal-workflow/skills/code-debugger/agents/openai.yaml +7 -0
  116. package/internal-workflow/skills/code-review/SKILL.md +51 -17
  117. package/internal-workflow/skills/code-review/references/cleanup-lens.md +52 -0
  118. package/internal-workflow/skills/implementation-spec-maker/SKILL.md +15 -6
  119. package/internal-workflow/skills/implementation-spec-maker/agents/openai.yaml +1 -1
  120. package/internal-workflow/skills/implementation-spec-maker/references/spec-template.md +2 -2
  121. package/internal-workflow/skills/implementation-spec-review/SKILL.md +108 -204
  122. package/internal-workflow/skills/implementation-spec-review/evals/evals.json +24 -0
  123. package/internal-workflow/skills/implementation-spec-review/references/review-loop.md +93 -0
  124. package/internal-workflow/skills/small-task-implementer/SKILL.md +15 -8
  125. package/internal-workflow/skills/spec-implementer/SKILL.md +101 -172
  126. package/internal-workflow/skills/spec-implementer/evals/evals.json +30 -0
  127. package/internal-workflow/skills/spec-implementer/references/review-loop.md +100 -0
  128. package/internal-workflow/skills/tdd/SKILL.md +20 -6
  129. package/internal-workflow/skills/tdd/agents/openai.yaml +2 -2
  130. package/internal-workflow/skills/tdd/evals/evals.json +18 -0
  131. package/internal-workflow/skills/tdd/mocking.md +3 -42
  132. package/internal-workflow/skills/tdd/refactoring.md +6 -8
  133. package/package.json +9 -6
  134. package/dist/src/v2/adapters/target-activity-fence.d.ts +0 -23
  135. package/dist/src/v2/adapters/target-activity-fence.d.ts.map +0 -1
  136. package/dist/src/v2/adapters/target-activity-fence.js +0 -249
  137. package/dist/src/v2/adapters/target-activity-fence.js.map +0 -1
  138. package/dist/src/v2/candidate-cli.d.ts +0 -26
  139. package/dist/src/v2/candidate-cli.d.ts.map +0 -1
  140. package/dist/src/v2/candidate-cli.js.map +0 -1
  141. package/dist/src/v2/legacy-cutover.d.ts +0 -52
  142. package/dist/src/v2/legacy-cutover.d.ts.map +0 -1
  143. package/dist/src/v2/legacy-cutover.js +0 -87
  144. package/dist/src/v2/legacy-cutover.js.map +0 -1
  145. package/internal-workflow/docs/agents/artifact-review-loop.md +0 -267
  146. package/internal-workflow/docs/agents/implementation-review-loop.md +0 -302
  147. package/internal-workflow/operations/cleanup-review/SKILL.md +0 -3
  148. package/internal-workflow/operations/spec-implementation/SKILL.md +0 -3
  149. package/internal-workflow/profiles/implementer_deep.toml +0 -9
  150. package/internal-workflow/profiles/researcher_standard.toml +0 -9
  151. package/internal-workflow/profiles/reviewer_fast.toml +0 -9
  152. package/internal-workflow/skills/cleanup-review/SKILL.md +0 -84
  153. package/internal-workflow/skills/cleanup-review/agents/openai.yaml +0 -6
  154. package/internal-workflow/skills/codebase-design/DEEPENING.md +0 -35
  155. package/internal-workflow/skills/codebase-design/DESIGN-IT-TWICE.md +0 -50
  156. package/internal-workflow/skills/codebase-design/SKILL.md +0 -82
  157. package/internal-workflow/skills/codebase-design/agents/openai.yaml +0 -6
  158. package/internal-workflow/skills/research/SKILL.md +0 -107
  159. package/internal-workflow/skills/research/agents/openai.yaml +0 -6
  160. package/internal-workflow/skills/ui-evidence-proof/SKILL.md +0 -123
  161. package/internal-workflow/skills/ui-evidence-proof/agents/openai.yaml +0 -6
package/CHANGELOG.md CHANGED
@@ -6,12 +6,60 @@ The format is based on Keep a Changelog, and this project follows SemVer.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.0.5] - 2026-07-28
10
+
11
+ ### Added
12
+ - Added durable continuation of successful direct runs from newly observed,
13
+ trusted unresolved pull-request feedback. The same run now freezes an
14
+ immutable batch, reuses affected Closure, reruns checks and Acceptance Proof,
15
+ and appends one fast-forward commit plus one marker-bound summary to the same
16
+ draft PR.
17
+
18
+ ### Changed
19
+ - Removed the configured Codex CLI version pin. Setup and runtime now use the
20
+ installed `codex` command, while the containment canary binds its actual
21
+ version, canonical executable path and digest, plus the orchestrator package
22
+ version, and rejects a stale certificate after any of those identities change.
23
+ - The daemon now discovers both `agent:auto` and `agent:review` issues, while
24
+ suppressing unchanged `review-ready` output only within the current process.
25
+ - Run state now emits schema version 2 and losslessly reads version 1; migrated
26
+ `review-ready` runs baseline existing feedback without executing it.
27
+ - Replaced overlapping legacy live-smoke profiles and scenario aliases with a
28
+ single supplemental `v2-regression` matrix whose scenarios each exercise a
29
+ distinct current V2 policy, recovery, diagnostics, proof, or quality gate.
30
+ - Pinned every model-backed live-smoke operation to real `gpt-5.6-luna`, with
31
+ per-scenario model audit evidence and deterministic fault injection retained
32
+ only around the real model result.
33
+ - Reduced the universal proof generation schema from 52 KB to 22 KB by keeping
34
+ successful-proof semantics in generation while moving duplicated platform
35
+ combinations to the existing strict runtime validator, reducing
36
+ structured-output load without weakening final proof acceptance.
37
+ - Treats a zero-exit Codex invocation with a missing output report as a
38
+ resumable transport failure, allowing the existing bounded retry to recover
39
+ without weakening malformed-report validation.
40
+ - Repairs one schema-valid implementation report whose cumulative
41
+ `changedFiles` omits current product changes, without consuming another
42
+ implementation cycle or permitting worktree mutation; repeated mismatch
43
+ remains fail-closed.
44
+
45
+ ### Removed
46
+ - Removed unsupported configuration conversion, old workflow-manifest readers,
47
+ obsolete run-state fallbacks, superseded prompts, and historical workflow
48
+ planning artifacts. The repository and package now contain only the current
49
+ V2 runtime and contracts.
50
+
51
+ ### Security
52
+ - Review bodies can authorize repair only when bound to the exact PR head and a
53
+ fresh immutable-user `write` or `admin` permission receipt. Source, permission,
54
+ ref, worktree, or publication drift fails closed; no thread-resolution or
55
+ force-push authority was added.
56
+
9
57
  ## [2.0.3] - 2026-07-18
10
58
 
11
59
  ### Changed
12
60
  - Added durable `agent:waiting-human` questions, current-WRITE trusted answers,
13
61
  conflict clarification, permission revocation, and same-run rerouting before
14
- implementation. Exact Config V1 now migrates atomically to Config V2.
62
+ implementation.
15
63
  - Replaced the two-file runtime skill lookup with one generated, manifest-bound
16
64
  package workflow containing the declared skills, profiles, operation wrappers,
17
65
  schemas, and shared review contracts.
@@ -28,441 +76,17 @@ The format is based on Keep a Changelog, and this project follows SemVer.
28
76
  ### Changed
29
77
  - Re-published the current V2 package line for downstream workspace upgrades.
30
78
 
31
- ## [2.0.1] - 2026-07-17
32
-
33
- ### Fixed
34
- - `setup --fresh` now checks for a pre-existing V2 owner before acquiring its
35
- own setup lock, so a safe Legacy cutover no longer blocks on itself.
36
-
37
79
  ## [2.0.0] - 2026-07-17
38
80
 
39
81
  ### Changed
40
- - Replaced the compatibility and experimental runtimes with one public V2 CLI,
41
- one strict configuration contract, and one `runIssue` lifecycle shared by
42
- direct runs and the serial daemon.
82
+ - Introduced one public V2 CLI, one strict configuration contract, and one
83
+ `runIssue` lifecycle shared by direct runs and the serial daemon.
43
84
  - Reduced the default live release smoke to package install, normal default
44
85
  Codex, browser proof, and safety-negative scenarios; broader policy scenarios
45
86
  remain opt-in.
46
87
 
47
- ### Removed
48
- - Removed the Legacy CLI, bridge manifest, bundled workflow prompts, alternate
49
- planning/scoped execution paths, and their compiled/test assets from the npm
50
- package.
51
-
52
88
  ### Security
53
89
  - Contained tool environments exclude GitHub, SSH, npm, and cloud publication
54
90
  credentials while preserving the explicitly accepted shared Codex-auth and
55
91
  same-user local-read behavior. Proof rejects credentials in every text
56
92
  artifact and applies public-only host-identity restrictions to evidence.
57
-
58
- ## [0.1.51] - 2026-07-15
59
-
60
- ### Fixed
61
- - Bridge publication normalizes the package CLI executable mode before hashing,
62
- so installed-package verification matches npm's required `bin` mode.
63
-
64
- ## [0.1.50] - 2026-07-15
65
-
66
- ### Added
67
- - Added a target-scoped shared/exclusive activity fence for daemon lifetime,
68
- targeted claims, setup, and skill-runtime-v2 preparation.
69
- - Added `setup --prepare-skill-runtime-v2`, strict Darwin/Linux legacy-process
70
- drain checks, canonical prepared-generation evidence, and a verified
71
- `bridge-runtime.json` package manifest.
72
-
73
- ### Changed
74
- - Runner state can preserve a forward-compatible empty version-2 envelope while
75
- bridge config remains version 1; bridge execution still stores only legacy
76
- run records and does not change prompt or Codex transport behavior.
77
-
78
- ### Security
79
- - Skill-runtime-v2 preparation now fails closed on foreign or ambiguous process
80
- ownership, active local/GitHub claims, GitHub read failure, and bridge package
81
- provenance mismatch.
82
-
83
- ## [0.1.49] - 2026-07-15
84
-
85
- ### Added
86
- - Added a Runner-owned Publication saga that pins validated candidates and
87
- reconciles branch, draft PR, managed-label, and terminal-comment mutations
88
- without duplicating non-idempotent GitHub writes.
89
- - Added atomic Publication preparation for both scoped Missions and durable Plan
90
- Parents, including exact applied-candidate and final-validation fencing.
91
-
92
- ### Changed
93
- - GitHub issue and pull-request adapters now expose canonical fully paginated
94
- enumeration contracts with immutable remote identities.
95
-
96
- ### Fixed
97
- - Publication recovery remains durably indexed through restart, counts only
98
- completed postcondition observations, fails closed after exhausted state CAS,
99
- and rejects attempts to overwrite an existing recovery schedule.
100
- - Plan Parent cancellation now atomically cancels linked Publication work so a
101
- cancelled owner cannot continue remote mutations.
102
- - Live-smoke completion fixtures now satisfy the current proof-plan contract and
103
- isolate each scenario from prior configuration overrides.
104
-
105
- ## [0.1.48] - 2026-07-14
106
-
107
- ### Added
108
- - Added the Resolution Mission safety core with capability-fenced execution,
109
- deterministic evaluation, audited quarantine output, and bounded scope
110
- expansion.
111
- - Added a restart-safe Resolution Mission loop that drives recoverable blockers
112
- through diagnosis, authorization, execution, reconciliation, and reevaluation
113
- without turning internal retry conditions into user blockers.
114
- - Added indexed resumable Mission scheduling, fenced daemon claims, durable
115
- process ownership, cancellation reconciliation, and terminal retention.
116
- - Added typed durable Plan Parent aggregates with deterministic dependency waves,
117
- immutable child descriptors, serial integration checkpoints, recovery Missions,
118
- and atomic final Publication linkage.
119
-
120
- ### Fixed
121
- - Exact runner idle timeouts before the first safe file change now keep a
122
- dedicated typed blocker and receive one bounded recovery retry instead of
123
- being reported as normal completion without changes.
124
-
125
- ## [0.1.47] - 2026-07-13
126
-
127
- ### Changed
128
- - Scoped review handoffs now distinguish genuinely maintainer-only checks from
129
- checks that an implementation agent can run before handoff.
130
- - Failed configured checks are preserved as explicit residual-risk warnings
131
- after the agent's own validation succeeds instead of blocking publication.
132
- - The repo-local self-improvement workflow now resolves `codex` through `PATH`
133
- rather than depending on a macOS application-bundle path.
134
-
135
- ### Fixed
136
- - Review evidence validation now rejects maintainer-only claims that omit a
137
- concrete reason or merely defer agent-verifiable work.
138
-
139
- ## [0.1.46] - 2026-07-13
140
-
141
- ### Changed
142
- - Automatic Acceptance Proof routing now treats issue text and changed paths as
143
- applicability hints while the validated proof plan remains authoritative.
144
- - Self-improvement discovery now emits an explicit proof strategy selected from
145
- observable behavior instead of relying on file-location inference.
146
-
147
- ### Fixed
148
- - Non-visual frontend refactors no longer require browser screenshots merely
149
- because they touch frontend paths.
150
- - Runner command dispatch and strict legacy visual gates no longer override an
151
- accepted non-visual proof plan.
152
-
153
- ## [0.1.45] - 2026-07-07
154
-
155
- ### Added
156
- - Added runner support for agent-authored Acceptance Proof plans so scoped
157
- implementation handoffs can carry explicit proof-plan artifacts.
158
- - Added proof-plan report validation coverage across scoped runs, plan-auto
159
- children, status output, and handoff decisions.
160
-
161
- ### Changed
162
- - Acceptance Proof guidance now documents the proof-plan/report contract more
163
- directly in runner docs and scoped workflow prompts.
164
-
165
- ## [0.1.44] - 2026-07-07
166
-
167
- ### Added
168
- - Added typed runner blocker evidence and bounded report/evidence repair so
169
- safe completion-report or review-handoff failures can be repaired without
170
- weakening publication gates.
171
- - Added focused live-smoke and unit coverage for incomplete progress retry,
172
- typed blocker repair, and daily self-improvement issue limits.
173
-
174
- ### Changed
175
- - Scoped review reports now keep handoff output shorter while preserving the
176
- evidence the runner needs for publication decisions.
177
- - Daily self-improvement runs now limit issue churn so repeated runs produce
178
- fewer redundant follow-up issues.
179
-
180
- ### Fixed
181
- - Scoped implementation runs can retry incomplete agent progress after an idle
182
- timeout when the runner can prove safe progress in the worktree.
183
-
184
- ## [0.1.43] - 2026-07-06
185
-
186
- ### Added
187
- - Added `codex-orchestrator acceptance-proof validate --report <path>` so proof
188
- agents can check machine-readable Acceptance Proof reports before handoff.
189
-
190
- ### Changed
191
- - Adaptive Acceptance Proof prompts now include a minimal valid JSON report
192
- template generated from the runner-owned report contract instead of a long
193
- prose schema line.
194
- - Malformed adaptive proof reports now return all structural schema errors at
195
- once and get one proof-report repair attempt before hard-blocking.
196
-
197
- ## [0.1.42] - 2026-07-06
198
-
199
- ### Changed
200
- - Runner terminal handoff now uses one shared outcome module for review-ready,
201
- blocked, and promotion-requested finalization across scoped, recovered, parent,
202
- and child paths.
203
- - Draft PR handoff, terminal labels, comments, Durable Run Summary evidence, and
204
- child state cleanup now share focused ordering tests instead of relying on
205
- repeated per-path mutation sequences.
206
-
207
- ## [0.1.41] - 2026-07-03
208
-
209
- ### Added
210
- - Added a focused `plan-auto-tree-recovery` live-smoke scenario that prepares
211
- stale runner-owned parent state, recovered closed child evidence, and
212
- retryable blocked child rework in the scratch repository.
213
-
214
- ### Fixed
215
- - `codex-orchestrator run --issue` can now enter plan-auto parent recovery for
216
- open `agent:plan-auto` issues that still carry `agent:running`, while keeping
217
- child-labeled and unsafe cases behind the existing recovery safety checks.
218
-
219
- ## [0.1.40] - 2026-07-03
220
-
221
- ### Changed
222
- - Live smoke now defaults to a smaller `core-release` profile, exposes explicit
223
- scenario profiles, and folds related commit, safety, and Acceptance Proof
224
- checks into matrix scenarios.
225
- - Runner rework now uses a first-class `ReworkDecision` contract with explicit
226
- retry, exhausted, and hard-block outcomes across scoped, recovery, and
227
- issue-tree child paths.
228
- - Quality gates now prefer structured TDD evidence in `validation[]`, while
229
- keeping legacy validation summaries as a fallback.
230
- - Figma MCP policy now distinguishes optional design context from required
231
- design access: optional failures retry without MCP, required failures block.
232
- - Added focused live-smoke coverage for tree-child quality-gate rework:
233
- `npm run smoke:live -- --scenario tree-child-quality-rework --cleanup`.
234
-
235
- ## [0.1.39] - 2026-07-02
236
-
237
- ### Fixed
238
- - Fixed full live smoke plan-child fixtures so issue-tree children write only
239
- to their declared ownership paths.
240
- - Fixed browser-proof live smoke execution so packaged visual proof reads target
241
- config while validating proof artifacts from the issue worktree.
242
-
243
- ## [0.1.38] - 2026-07-02
244
-
245
- ### Added
246
- - Added risk-routing review gates so runner handoffs can require plan review,
247
- cleanup review, or code review evidence before publication.
248
- - Added risk and review-gate metadata to scoped, parent, and child orchestration
249
- handoffs so downstream agents inherit the correct validation expectations.
250
-
251
- ### Changed
252
- - Updated bundled workflow prompts to report risk classification and review-gate
253
- completion consistently across PRD, issue breakdown, scoped implementation,
254
- parent orchestration, and Acceptance Proof flows.
255
-
256
- ## [0.1.37] - 2026-07-01
257
-
258
- ### Changed
259
- - Publishability checks now drop runner-owned visual proof skip notes when the
260
- changed files do not require the visual proof gate.
261
- - Local self-improvement daily phase summaries now share one helper for failure
262
- classification, exit-code impact, and summary rendering.
263
-
264
- ## [0.1.36] - 2026-05-21
265
-
266
- ### Added
267
- - Added package-owned browser visual proof for web UI Acceptance Proof, with
268
- scenario-driven navigation, screenshots, DOM snapshots, console/network logs,
269
- and machine-readable UI Evidence reports.
270
- - Added `visual-proof auto` dispatch so setup can route web changes to browser
271
- proof and mobile changes to device-backed proof from one package-owned
272
- command.
273
- - Added live smoke coverage for the browser proof path, including packaged CLI
274
- execution and browser runtime evidence.
275
-
276
- ### Changed
277
- - Browser proof now prefers an explicit or locally installed Chrome, Chromium,
278
- or Edge executable before falling back to Playwright-managed Chromium
279
- download.
280
- - Live smoke daemon retries now tolerate transient GitHub failures during
281
- browser-proof runs.
282
-
283
- ## [0.1.35] - 2026-05-21
284
-
285
- ### Added
286
- - Added a runner-validated UI Evidence Contract for Acceptance Proof reports,
287
- covering workflow, viewport, freshness, layout, copy, and source-input
288
- evidence for screenshot and UI-dump artifacts.
289
- - Added live smoke coverage for UI Evidence pass and blocking cases, including
290
- missing UI Evidence and too-narrow desktop viewport proof.
291
-
292
- ### Changed
293
- - Runner-owned visual proof no longer treats screenshot-only command success as
294
- a pass path; proof commands must produce a valid machine-readable Acceptance
295
- Proof report.
296
- - Updated the legacy `visual-proof` live smoke scenario to emit the same
297
- machine-readable UI Evidence report required by the runner.
298
-
299
- ## [0.1.34] - 2026-05-20
300
-
301
- ### Added
302
- - Added an Adaptive Proof Agent Codex phase for scoped and issue-tree child
303
- runs, with runner-provided proof report paths, artifact directories, changed
304
- file context, and proof-owned repair policy.
305
- - Added durable Acceptance Proof attempt evidence in lifecycle events, run
306
- summaries, blocked comments, review reports, and issue-tree PR handoff.
307
- - Added package-bundled Acceptance Proof workflow prompts and setup routing for
308
- the new proof phase.
309
-
310
- ### Changed
311
- - Parent `agent:plan-auto` child waves now block parent publication when a child
312
- Acceptance Proof attempt fails, requests rework, or is blocked.
313
- - Proof attempts now use isolated Codex homes and preserve proof artifacts while
314
- keeping publication authority runner-owned.
315
-
316
- ## [0.1.33] - 2026-05-20
317
-
318
- ### Added
319
- - Added canonical `reviewGates.acceptanceProof` policy with proof-owned path
320
- classification and machine validation for high-confidence proof reports.
321
- - Added live smoke scenarios for canonical Acceptance Proof pass, proof rework,
322
- low-confidence blocking, and proof-phase product-diff blocking.
323
-
324
- ### Changed
325
- - Kept `reviewGates.visualProof` as a compatibility adapter while routing
326
- runner prompts and proof policy through Acceptance Proof.
327
- - Proof-phase product-code changes now block publishability instead of being
328
- silently committed as verification output.
329
-
330
- ## [0.1.32] - 2026-05-19
331
-
332
- ### Added
333
- - Added package-owned `visual-proof mobile`, `visual-proof android`, and
334
- `visual-proof ios` commands for reusable UI launch proof across installed
335
- repositories.
336
- - Mobile visual proof now supports Flutter Android, native Android, Flutter iOS,
337
- and native iOS projects, with screenshots saved into runner proof artifacts.
338
-
339
- ### Changed
340
- - Setup now defaults visual proof to
341
- `codex-orchestrator visual-proof mobile --issue ${issueNumber}` instead of a
342
- target-repo local proof script.
343
- - Android proof resolves SDK tools from environment variables, `PATH`, and
344
- default macOS, Linux, and Windows SDK locations.
345
- - On macOS, mobile proof falls back to the iOS simulator when Android tooling or
346
- devices are unavailable and the repo has an iOS target.
347
-
348
- ## [0.1.30] - 2026-05-18
349
-
350
- ### Added
351
- - Runner setup now records an explicit remote base branch so scoped and
352
- issue-tree worktrees start from the same branch that PRs target.
353
- - Context snapshots and live smoke now prove the resolved remote base ref and
354
- SHA used for autonomous runs.
355
-
356
- ### Changed
357
- - Doctor now checks the configured remote base branch instead of trusting the
358
- currently checked-out local branch, and warns about legacy base config.
359
- - Existing Codex branches from a different base are blocked on resume instead
360
- of being reset, deleted, or rebased automatically.
361
- - Prompt conflict reports now give agents explicit keep, merge, and replace
362
- actions so users get a concrete choice instead of a bare warning.
363
- - Mobile proof guidance now separates native Android, Flutter Android, and
364
- native iOS validation paths so platform-specific cache/tooling recovery is not
365
- applied to the wrong project type.
366
-
367
- ## [0.1.29] - 2026-05-18
368
-
369
- ### Added
370
- - Setup now records a prompt manifest and supports `--sync-prompts` modes for
371
- safe prompt refreshes, local-edit preservation, replacement, and appended
372
- package updates.
373
- - Doctor now warns when package prompt updates are available and points users to
374
- the setup command that applies safe prompt updates.
375
-
376
- ## [0.1.27] - 2026-05-18
377
-
378
- ### Changed
379
- - Setup and docs now describe the package-bundled workflow prompt model
380
- clearly, so installed repositories do not depend on local Codex `SKILL.md`
381
- files.
382
- - `agent:auto` is reserved for standalone scoped issues, while issue-tree
383
- children use only `agent:child` plus runner metadata and are executed by their
384
- parent `agent:plan-auto` flow.
385
- - The default workflow prompts are full package-bundled workflows instead of
386
- fallback stubs, with setup preserving project-owned prompt edits by default.
387
-
388
- ## [0.1.26] - 2026-05-16
389
-
390
- ### Added
391
- - Runner diagnostics wave: read-only `doctor`, `status --json`, phase-specific
392
- Codex profiles, lifecycle events, and bounded context snapshots before Codex
393
- sessions.
394
- - Live smoke coverage for diagnostics/profile evidence through the packaged CLI.
395
-
396
- ### Changed
397
- - Status and handoff evidence now point to bounded runner artifacts instead of
398
- requiring operators to inspect raw Codex transcripts.
399
-
400
- ## [0.1.25] - 2026-05-15
401
-
402
- ### Added
403
- - Runner-owned Loop Policy controls for daemon priority selection, bounded
404
- rework, optional Fresh-Context Review, Durable Run Summaries, and
405
- non-mutating Policy Suggestions.
406
-
407
- ### Changed
408
- - Scoped and issue-tree handoff reports now include stronger runner-owned
409
- evidence before draft PR publication, while keeping GitHub publication,
410
- labels, comments, merges, releases, and deploys outside Agent authority.
411
-
412
- ## [0.1.24] - 2026-05-14
413
-
414
- ### Changed
415
- - Mobile UI verification guidance now gives an explicit adb/emulator preflight
416
- for Android mobile app work, prefers a connected device before emulator
417
- fallback, tells agents to try loading Test Android Apps when unavailable, and
418
- treats missing plugin/device targets as a warning rather than a blocker.
419
-
420
- ## [0.1.23] - 2026-05-14
421
-
422
- ### Added
423
- - Automatic GitHub release notes on publish (tag + generated release notes), so each npm publish can have matching GitHub “what changed”.
424
- - Published `CHANGELOG.md` in the npm package, so the npm page can show a clear “what changed” history without leaving the registry.
425
-
426
- ### Changed
427
- - Started maintaining this changelog so release-by-release improvements are easy to scan.
428
-
429
- ## [0.1.22] - 2026-05-14
430
-
431
- ### Added
432
- - Less “false red” friction across repos:
433
- - If a repo doesn’t have a script like `typecheck`, the runner can treat it as a warning instead of blocking the whole run.
434
- - Optional lint baseline mode to keep progress moving when the repo has existing lint debt, while still keeping touched files clean.
435
- - One automatic “rework” retry for common fixable blockers, so the agent can self-correct once instead of stopping immediately.
436
-
437
- ### Changed
438
- - UI proof is Playwright-oriented and non-blocking: missing/failed visual proof is reported as a warning so it doesn’t stop unrelated progress.
439
-
440
- ## [0.1.21] - 2026-05-14
441
-
442
- ### Added
443
- - A more “productized” runner experience:
444
- - Clearer, more consistent review handoff reports (what changed, what was validated, what remains risky).
445
- - A stronger live-smoke harness so you can trust that publishing gates behave the same way every time.
446
- - Safer path policy so the runner can reason about “what changed” consistently across OS/path quirks.
447
- - Setup now avoids committing/generated runtime folders by default, reducing repo noise.
448
-
449
- ## [0.1.20] - 2026-05-13
450
-
451
- ### Added
452
- - A more reliable execution loop for both scoped issues and issue trees:
453
- - Durable, structured completion reporting so the runner can validate outcomes instead of trusting free-form text.
454
- - Better timeouts/logging so failures are actionable and don’t require re-running blindly.
455
- - Runner-owned screenshot proof support (so visual validation can be enforced consistently).
456
-
457
- ### Changed
458
- - Stronger “runner owns publication” boundaries (the runner stays the source of truth for commits/push/PRs and safety checks).
459
-
460
- ## [0.1.19] - 2026-05-12
461
-
462
- ### Changed
463
- - Cleaner, more predictable runs by isolating Codex session state away from the target repo and cleaning it up afterward (reduces leaked state and cross-run flakiness).
464
-
465
- ## [0.1.16] - 2026-05-12
466
-
467
- ### Added
468
- - Initial release: a reusable GitHub Issues-driven runner that can take an authorized issue, run Codex in an isolated worktree, enforce project checks/policy, and hand back a draft PR (including parent planning + dependency-aware child execution).