codex-workflow-v2 2.0.0-beta.13.6 → 2.0.0-beta.13.7

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.
package/docs/release.md CHANGED
@@ -4,6 +4,38 @@ The npm package is `codex-workflow-v2` with public visibility. Consumers must pi
4
4
  an exact version. Stable compatibility covers the latest minor release of the current
5
5
  major only; older minors are unsupported unless a release note explicitly says otherwise.
6
6
 
7
+ ## beta.13.7 candidate: retire completed carryover authority
8
+
9
+ After a recovered Step passed review, its recorded dirty-work permission still
10
+ overrode the next Step's route. A later repeated mechanical failure therefore
11
+ returned `doctor` instead of ordinary Plan replacement. The completed record is
12
+ now retained as history and consumed only after its completion evidence, exact
13
+ PRA, required strict review and Git history are verified. Active or damaged
14
+ bindings continue to fail closed. A corrective claim must belong to the same
15
+ Worker who performed the terminal corrective yield.
16
+
17
+ The exact published beta.13.7 read-only compatibility preflight can guide a
18
+ stranded beta.13.6 source through its existing Plan replacement and original-Worker
19
+ handoff commands before transport. It does not mutate state, authorize execution,
20
+ or waive approval gates. Task and base transport must preserve all product bytes
21
+ and change only the exact Workflow dependency. See the packaged gateway skill for
22
+ the stage-specific bindings and mandatory source status/next readbacks.
23
+
24
+ Release evidence must include the published beta.13.6 runtime reproducing the
25
+ later-Step blocker, source Plan/PRA/authorization/handoff recovery, dependency
26
+ transport, target provenance/context refresh, same-Worker execution and strict
27
+ review. A route that reaches only `plan-set` is not sufficient. Prior one-time
28
+ release-gate exceptions do not authorize this candidate.
29
+
30
+ The trusted lifecycle harness must record each compatibility invocation and its
31
+ terminal observation. For source `task plan-set`, record `inputBinding` computed
32
+ from the actual files passed to that command: `candidatePlanHash` is the rendered
33
+ Plan hash, and `candidateInputHash`/`riskAuditInputHash` are SHA-256 of recursively
34
+ key-sorted canonical JSON inputs. Do not copy these values from an approval receipt
35
+ without checking the executed inputs. The validator checks this binding, the resulting
36
+ Plan hash, original-Worker ownership, ordered source status/next checkpoints, live-lease
37
+ waiting, exact stale repair, and a fresh preflight before transport.
38
+
7
39
  ## beta.13.6 candidate: preserve work across root-cause replan
8
40
 
9
41
  A repeated mechanical failure can legitimately yield the same Task to a replacement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-workflow-v2",
3
- "version": "2.0.0-beta.13.6",
3
+ "version": "2.0.0-beta.13.7",
4
4
  "description": "Requirements-first Codex development workflow with local state and explicit Git ownership.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -68,6 +68,7 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "24.10.1",
71
+ "codex-workflow-source-beta136": "npm:codex-workflow-v2@2.0.0-beta.13.6",
71
72
  "typescript": "5.9.3"
72
73
  },
73
74
  "license": "MIT"
@@ -124,7 +124,41 @@ paths and content hash. Every retained path must already be allowed by the new S
124
124
  and remain outside forbidden scope. A changed binding or blocked assessment is a hard
125
125
  stop; never clean, stash, reset, manually commit, or edit state to make it eligible.
126
126
 
127
- The beta.13.6 corrective-carryover update compatibility profile permits its exact
127
+ The beta.13.7 consumed-carryover compatibility profile also permits the exact
128
+ published external beta.13.7 runner to execute only the read-only
129
+ `update corrective-carryover-preflight --id <TASK-ID>` against a coherent beta.13.6
130
+ repository. A completed, verified Step's carryover remains historical evidence;
131
+ it must not override a later Step's repeated-cause recovery route.
132
+
133
+ When `sourceRecovery.eligible=true`, execute only its exact `action` with the
134
+ repository-installed beta.13.6 CLI. This narrow compatibility response, not the
135
+ old source `next`, authorizes the source navigation repair. It may expose only
136
+ `task plan-set`, `task handoff-prepare`, or `task claim`, bound to the current
137
+ Task revision, Plan, completed history, terminal failure HEAD/dirty hash and
138
+ corrective-yield actor. For Plan replacement, prepare the exact candidate Plan
139
+ and independent PRA files, then pass them as `--file` and `--risk-audit-file`
140
+ to this read-only preflight. Without both inputs no source mutation is authorized.
141
+ Require the returned candidate Plan and input hashes; execute source `task plan-set`
142
+ with those same unchanged files and verify its resulting Plan hash. Core rejects
143
+ candidate inputs that omit or alter any completed Step before source mutation.
144
+ Source execution
145
+ authorization retains its ordinary human or exact eligible delegation gate.
146
+ Use only the returned original Worker for handoff and claim. After every source
147
+ mutation run source `status` then `next`, and repeat the target preflight before
148
+ another compatibility action. `sourceRecovery` never authorizes transport or
149
+ `task run`; top-level `eligible` remains false until transport itself is proved.
150
+
151
+ Once the replacement Plan is authorized and that same Worker has claimed it,
152
+ the preflight may expose the exact expired-lease repair described below. Never
153
+ force-release a live lease. Require a fresh top-level `eligible=true` before
154
+ dependency transport. beta.13.7 accepts one dependency-only commit on each of
155
+ the Task and Milestone base, with the same exact source beta.13.6 and target
156
+ beta.13.7. After installing the target, use its ordinary advertised
157
+ dependency provenance recovery, atomic context refresh and original-Worker
158
+ credential recovery. This profile permits no external state mutation, installed
159
+ code patch, wider product commit, changed dirty bytes, or approval substitution.
160
+
161
+ The historical beta.13.6 corrective-carryover update compatibility profile permits its exact
128
162
  external runner to execute only the read-only
129
163
  `update corrective-carryover-preflight --id <TASK-ID>` against a repository coherently
130
164
  pinned to beta.13.5. This is an explicit compatibility inspection, not permission to