codex-orchestrator 2.0.2 → 2.0.4

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