checkwright 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
  4. package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -1
  5. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
  6. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  7. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
  8. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  9. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
  10. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  11. package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
  12. package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -1
  13. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe +0 -0
  14. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  15. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
  16. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  17. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates +0 -0
  18. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  19. package/payload/canon-kit/README.md +1 -1
  20. package/payload/canon-kit/checks/check-amendment-queue.gate +1 -1
  21. package/payload/canon-kit/checks/check-amendment-retired-spelling.gate +1 -1
  22. package/payload/canon-kit/checks/check-amendment-update-target.gate +1 -1
  23. package/payload/canon-kit/checks/check-spec-embedded-source.gate +1 -1
  24. package/payload/gate-sdk/checks/check-graph.gate +1 -1
  25. package/payload/lifecycle-kit/templates/lead.md +2 -2
  26. package/payload/lifecycle-kit/templates/stages/align.md +2 -2
  27. package/payload/lifecycle-kit/templates/stages/build.md +1 -1
  28. package/payload/lifecycle-kit/templates/stages/close.md +1 -1
  29. package/payload/lifecycle-kit/templates/stages/scope.md +1 -1
  30. package/payload/lifecycle-kit/templates/stages/spec.md +1 -1
  31. package/payload/lifecycle-kit/templates/stages/validate.md +1 -1
  32. /package/payload/canon-kit/templates/{SPEC-amendment.md → amendment.md} +0 -0
package/README.md CHANGED
@@ -20,7 +20,7 @@ From your repository's root, in a new project or an existing one with every chan
20
20
 
21
21
  With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs, and on Windows the [`PATH` block](https://checkwright.dev/install.html#windows) runs first. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
22
22
 
23
- `init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the install and the version. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
23
+ `init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the install and the version. That commit runs the clone's own hooks, and if one refuses it the files stay staged and the setup commands still print. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
24
24
 
25
25
  Re-running is idempotent and non-destructive. `init` reads the per-file hash `checkwright.lock` recorded: a file still at its recorded hash is rewritten, and one you have changed since is **reported rather than overwritten** unless you pass `--force`. `--dry-run` prints the file plan and the manifest and writes nothing.
26
26
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "c3550419d1a42a5615b01205254de06dd6e02465",
7
+ "commit": "fee297c7f1bb0d842ddf25a805e6076c9fed056b",
8
8
  "spec_base_url": "https://checkwright.dev"
9
9
  },
10
10
  "description": "Reproducible checks that catch unsupported claims in coding-agent delivery before merge: a task marked done with no recorded test run, a skipped lifecycle stage, a spec naming a file the tree lacks. They prove the evidence a claim rests on exists, not that the code is correct.",
@@ -30,5 +30,5 @@
30
30
  "type": "git",
31
31
  "url": "git+https://github.com/checkwright/checkwright.git"
32
32
  },
33
- "version": "0.34.0"
33
+ "version": "0.35.0"
34
34
  }
@@ -1 +1 @@
1
- f00242a92d6b2ecd0c7211e3c2455f84b191eb6d3c5b5a2e24c3382082d332db checkwright-gates
1
+ 16c839da40775f5278a5e78679eda5b578009527ee31c26054049e9ed0d1737c checkwright-gates
@@ -1 +1 @@
1
- 2aeefffd753bdfdaccfe6a0adbd8ab87f626a898353fb74beacca23244d50220 *checkwright-gates.exe
1
+ ca651cc4e7b8d1cf113b8543c46ebeb335a789f82cf50a5df9567360c8a78506 *checkwright-gates.exe
@@ -1 +1 @@
1
- ac512d08d768d36605a2d549780c5ebb7102a1c9be75d852e03a775df7923e91 checkwright-gates
1
+ 111a9f9ff77dc6b744d0befb4fec9c2c1e4234e13582554339f130a1faa89b4d checkwright-gates
@@ -1 +1 @@
1
- 176e3a2bb98532b4d25fa346d743b338955233e5a199db9b73fbf483e649cc2e checkwright-gates
1
+ b2382b209c73664e47c8bc095aa30895a4c80e65c28ff8e6f57f4920b9d2b817 checkwright-gates
@@ -1 +1 @@
1
- ec23522797098b55d4f5bdd5cc025bab10f86143c3eb291951cf9f608eee81e9 checkwright-gates
1
+ f651ef866003c62fc600b3c94d2cf450d67e6ce2a47ae05508a4b89c64e03832 checkwright-gates
@@ -1 +1 @@
1
- 2112ea1f1850527f5c78b07e64fa65c4c5cb92d28e1017a22bed2a430ce53b61 *checkwright-gates.exe
1
+ dc73a1009cbf6f34c287c51353d5c8baaeeb94064c66bba0370cf5a365d0af14 *checkwright-gates.exe
@@ -1 +1 @@
1
- eae5bbc4463e228e6a520a41225e850e6bfbddd90ed431f4c8fe9362daaa8248 checkwright-gates
1
+ 0646cadcd8e79d1a08c3035284619afcac64143d41dd00554473262f615bd14c checkwright-gates
@@ -1 +1 @@
1
- 1aab17f5978496aa238c3e957b819b98220668243ef7c2f6fce43dd17fc23838 checkwright-gates
1
+ 81ed97656247fdf2093a26eb7191d1d7acf363038cfe2c24bc58efa480c4f432 checkwright-gates
@@ -58,7 +58,7 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
58
58
 
59
59
  They resolve through gate-sdk's registry path (your gates dir first, then each kit's `checks/`), and the pre-commit hook runs the precommit-tier ones their `# graph:` manifests trigger, read at commit. `--install-hooks` on the gate binary `GATE_SDK_NATIVE_BIN` names places both hooks in a clone once, and a gate registered later is reached with no re-install.
60
60
 
61
- 2. Adopt the amendment lifecycle — copy `templates/SPEC-amendment.md` when a designed-but-unimplemented change needs a home. Name it after the feature (`SPEC-<feature>.md`), place it in the owning component's directory (a governance ruling with no component lives at the repo root), and pair it with a queue entry tagged `[spec: SPEC-<feature>.md]`. Merge it into the canonical spec and delete it when the work completes.
61
+ 2. Adopt the amendment lifecycle — copy `templates/amendment.md` when a designed-but-unimplemented change needs a home. Name it after the feature (`SPEC-<feature>.md`), place it in the owning component's directory (a governance ruling with no component lives at the repo root), and pair it with a queue entry tagged `[spec: SPEC-<feature>.md]`. Merge it into the canonical spec and delete it when the work completes.
62
62
 
63
63
  3. Optional — reshape the config: copy `templates/canon-config.knobs` into your gates dir and override the manifest set, the spec/amendment names, section set, the Definition-of-Done mode (`exactly-one` / `at-most-one`), the banned-heading set and density budget, the embedded-source language map, or the glossary surface list. Defaults are this repo's layout.
64
64
 
@@ -1,3 +1,3 @@
1
- # graph: couples=knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/SPEC-*.md dir=bi valve=none tier=precommit
1
+ # graph: couples=knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/amendment.md dir=bi valve=none tier=precommit
2
2
  # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-amendment-queue — the Task↔amendment bidirectional rule, spec-readiness, and the amendment-citation arm
@@ -1,3 +1,3 @@
1
- # graph: couples=knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/SPEC-*.md dir=one valve=none tier=precommit trigger=*
1
+ # graph: couples=knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/amendment.md dir=one valve=none tier=precommit trigger=*
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-amendment-retired-spelling — every amendment carries a mandatory `## Retired spellings` block, and each spelling it declares survives only at a path its `## Existing sections updated` roster names, so a roster short by a surface reds at the gate rather than being found by a grep nobody is obliged to run
@@ -1,3 +1,3 @@
1
- # graph: couples=knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/SPEC-*.md dir=one valve=none tier=precommit
1
+ # graph: couples=knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/amendment.md dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-amendment-update-target — every entry under an amendment's `## Existing sections updated` cites at least one delta and every cited delta is defined under `## What changes` in the same amendment, so an update target no delta claims stops at the gate rather than reaching build as an orphan a batch adopts on its own authority
@@ -1,3 +1,3 @@
1
- # graph: couples=*SPEC*.md,kit:SPEC.md,kit:SPEC-*.md,kit:templates/SPEC-*.md,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_AMENDMENT_GLOB,knob:CANON_KIT_EMBED_LANGS.file-globs dir=one valve=none tier=precommit
1
+ # graph: couples=*SPEC*.md,kit:SPEC.md,kit:SPEC-*.md,kit:templates/amendment.md,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_AMENDMENT_GLOB,knob:CANON_KIT_EMBED_LANGS.file-globs dir=one valve=none tier=precommit
2
2
  # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-spec-embedded-source — a canonical spec's fenced block must not verbatim-copy a tracked source file
@@ -1,4 +1,4 @@
1
- # graph: couples=knob:GATE_SDK_GATES_DIR/gates.list,knob:GATE_SDK_GATES_DIR/*.sh,kit:*.sh,knob:GATE_SDK_GRAPH_ARTIFACT,knob:GATE_SDK_GRAPH_THEME_DIR/*,knob:GATE_SDK_GATES_DIR/*-config.knobs,*SPEC-*.md,kit:templates/SPEC-*.md,knob:GATE_SDK_GRAPH_VOCAB dir=one valve=none tier=precommit
1
+ # graph: couples=knob:GATE_SDK_GATES_DIR/gates.list,knob:GATE_SDK_GATES_DIR/*.sh,kit:*.sh,knob:GATE_SDK_GRAPH_ARTIFACT,knob:GATE_SDK_GRAPH_THEME_DIR/*,knob:GATE_SDK_GATES_DIR/*-config.knobs,*SPEC-*.md,kit:templates/amendment.md,knob:GATE_SDK_GRAPH_VOCAB dir=one valve=none tier=precommit
2
2
  # projection: knob:GATE_SDK_GRAPH_ARTIFACT
3
3
  # install: zero-config
4
4
  # spec: gate-sdk/SPEC.md §check-graph — manifest well-formedness, trigger parity, cycle valves, artifact drift, and amendment-body manifest validation (assertion G); the emitter is native/src/emit/graph.rs, reached in process rather than spawned
@@ -21,7 +21,7 @@ Dispatch mechanics are delegation-kit's, unchanged: dispatch in the background w
21
21
 
22
22
  **When the dispatched stage is the evidence-producing stage, the lead's verify is a read of the committed evidence — never a re-run of the producer.** This is the lifecycle instance of delegation-kit's no-producer-re-run rule (delegation-kit/SPEC.md §Verify after every agent commit, which owns the generic rule and the harm each misroute does). Read the manifest the stage committed and judge it.
23
23
 
24
- **Stage N+1 is dispatched on stage N's agent completion notification — never on its hand-back report, commit, stamp, a clean tree, a green battery, or a cleared `--simulate`.** Completion is a fact about a *session*, and none of those others distinguishes "finished" from "still writing". **Make one tool call before any turn you end to await that notification**, a read-only one serving, so a notification queued during the turn is delivered inside it (lifecycle-kit/SPEC.md §The stamp protocol, the honest limit on the lead's dispatch precondition).
24
+ **Stage N+1 is dispatched on stage N's agent completion notification — never on its hand-back report, commit, stamp, a clean tree, a green battery, or a cleared `--simulate`.** Completion is a fact about a *session*, and none of those others distinguishes "finished" from "still writing". **Make one tool call before any turn you end to await that notification**, a read-only one serving: a belt, its ground the delivery limit under lifecycle-kit/SPEC.md §The stamp protocol.
25
25
 
26
26
  **When the notification does not arrive, no single read distinguishes a finished-but-unreported session from a live one.** Delivery can fail, and the rule above has no fallback, while the artifact reads a lead reaches for next are the same ones it just refused. What recovers it is two signals and a question: the session's absence from the harness's running-agent roster, a `DONE` marker in its journal, and — decisive whenever either is ambiguous — asking the session itself, which §A running session is asked, never instructed already sanctions as a question rather than a command. The `DONE` check is valid only as the journal's **last line**, which a resumed session's turn writes again (each stage template's last step), so it answers for the newest turn, the intent oracle's included. An out-of-order append silently invalidates it and leaves the marker visible.
27
27
 
@@ -85,7 +85,7 @@ When the iteration's final stage completes, the lead **stops and reports what it
85
85
 
86
86
  Reporting is the lead's whole remaining act there — the state of the queue as the closing stage left it, whatever was filed for the next intake, and what the lead would recommend doing about it, offered as information for a decision and never as a decision taken.
87
87
 
88
- **Dispose of your journal before you report.** Every finding in it that must outlive the iteration goes to the committed channel that owns it — a gap bullet, a survey block — and a ruling goes to its governed surface; then append `DISPOSED` as the file's last line. **The knowledge-friction log is not on that list, and the omission is the instruction.** A fact you re-derived is stamped when you re-derive it; a line written here instead is the deferred capture that channel counts as none (drift-kit/SPEC.md §The knowledge-friction loop). The journal survives the boundary reset (§Economics), so this is what separates *preserved* from *drained*: an unread journal loses a finding exactly as a deleted one does, and the boundary entry announces an undisposed journal to the entering session rather than refusing it (lifecycle-kit/SPEC.md §bin/enter-stage.sh) — which is a prompt, not a substitute for doing this.
88
+ **Dispose of your journal before you report.** Every finding in it that must outlive the iteration goes to the committed channel that owns it — a gap bullet, a survey block — and a ruling goes to its governed surface; then append `DISPOSED` as the file's last line with `--emit journal --lead DISPOSED`. **The knowledge-friction log is not on that list, and the omission is the instruction.** A fact you re-derived is stamped when you re-derive it; a line written here instead is the deferred capture that channel counts as none (drift-kit/SPEC.md §The knowledge-friction loop). The journal survives the boundary reset (§Economics), so this is what separates *preserved* from *drained*: an unread journal loses a finding exactly as a deleted one does, and the boundary entry announces an undisposed journal to the entering session rather than refusing it (lifecycle-kit/SPEC.md §bin/enter-stage.sh) — which is a prompt, not a substitute for doing this.
89
89
 
90
90
  ## The escalation protocol
91
91
 
@@ -16,7 +16,7 @@ Trigger 3 is mechanized at build entry: `check-stage-entry` assertion C blocks t
16
16
 
17
17
  **Where your dispatch names a foreign adapter**, this stage's reading runs there and every write stays yours: follow lifecycle-kit/templates/host-protocol.md (lifecycle-kit/SPEC.md §The host protocol).
18
18
 
19
- **Audit the amendment against itself before auditing it against the tree.** Two defects are visible on the amendment alone and both survive a green battery. An author-stated count ("three things and no fourth") is an assertion about the deliverable, so check it against what the deltas actually mandate rather than against the sentence it heads. And every `## Existing sections updated` entry must name the delta that owns it (canon-kit/templates/SPEC-amendment.md).
19
+ **Audit the amendment against itself before auditing it against the tree.** Two defects are visible on the amendment alone and both survive a green battery. An author-stated count ("three things and no fourth") is an assertion about the deliverable, so check it against what the deltas actually mandate rather than against the sentence it heads. And every `## Existing sections updated` entry must name the delta that owns it (canon-kit/templates/amendment.md).
20
20
 
21
21
  **Read every delta for what a user meets.** A delta changing it carries the authoring stage's `{user-facing: …}` mark naming the direction that settles it (lifecycle-kit/templates/stages/spec.md). An unmarked one, or one whose direction does not settle the choice it makes, is an envelope question for the lead or the operator, never one to reword away.
22
22
 
@@ -28,4 +28,4 @@ Trigger 3 is mechanized at build entry: `check-stage-entry` assertion C blocks t
28
28
 
29
29
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the build stage. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
30
30
 
31
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
31
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
@@ -32,4 +32,4 @@ Build-time question triage — who rules, and where the ruling lives: a question
32
32
 
33
33
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the drain stage, when your batch's Done moves emptied the active sections — a batch that leaves work active skips the read, since that entry refuses on active work by design and the next batch re-enters this stage. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
34
34
 
35
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
35
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
@@ -26,4 +26,4 @@ The `close` stage of an iteration. Harvest lessons, housekeep, optionally merge.
26
26
 
27
27
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the roster's first stage, whose iteration-boundary checks read what this close leaves. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
28
28
 
29
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
29
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
@@ -46,4 +46,4 @@ With this stage's promotion commit landed (debt, plus the features only where sc
46
46
 
47
47
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the stage you recommended. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
48
48
 
49
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
49
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
@@ -38,4 +38,4 @@ Close by **recommending the next stage**: the trigger-gated audit stage when one
38
38
 
39
39
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the stage you recommended. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
40
40
 
41
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
41
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
@@ -24,4 +24,4 @@ Do not declare validate complete until the baseline diff is clean: no item that
24
24
 
25
25
  **Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the close stage. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
26
26
 
27
- **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.
27
+ **Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line with `--emit journal DONE` before you report, and again before the report of any later turn that appends to the file, as a resumed session answering a routed question does.