@journeykit/canon 0.48.0 → 0.49.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.
- package/dist/skills/SKILL.src.md +142 -130
- package/dist/skills/reference/brief-align.md +8 -8
- package/dist/skills/reference/brief-clarify.md +6 -6
- package/dist/skills/reference/brief-harden.md +5 -5
- package/dist/skills/reference/brief-polish.md +13 -13
- package/dist/skills/reference/brief-shape.md +9 -9
- package/dist/skills/reference/canon-artifact-ingest.md +7 -7
- package/dist/skills/reference/canon-authoring.md +11 -11
- package/dist/skills/reference/canon-context.md +13 -13
- package/dist/skills/reference/canon-fmt.md +1 -1
- package/dist/skills/reference/canon-gate.md +52 -53
- package/dist/skills/reference/canon-inventory.md +10 -11
- package/dist/skills/reference/canon-learn.md +13 -14
- package/dist/skills/reference/canon-plan-import.md +15 -15
- package/dist/skills/reference/canon-plugins.md +8 -8
- package/dist/skills/reference/canon-policy.md +11 -11
- package/dist/skills/reference/canon-report-dashboard.md +6 -7
- package/dist/skills/reference/canon-retrieve.md +6 -6
- package/dist/skills/reference/canon-review.md +52 -53
- package/dist/skills/reference/canon-storage.md +16 -19
- package/dist/skills/reference/canon-subject.md +120 -127
- package/dist/skills/reference/role-implementer.md +90 -76
- package/dist/skills/reference/role-orchestrator.md +196 -172
- package/dist/skills/reference/role-planner.md +101 -97
- package/dist/skills/reference/role-reviewer.md +91 -85
- package/dist/skills/scripts/canon-retrieve-pre-dispatch.sh +5 -5
- package/man/canon-adapter-authorize.1 +11 -8
- package/man/canon-adapter-validate.1 +15 -8
- package/man/canon-artifacts-prune.1 +11 -11
- package/man/canon-artifacts-store.1 +8 -8
- package/man/canon-artifacts-verify.1 +7 -7
- package/man/canon-artifacts.1 +10 -4
- package/man/{canon-brief-approve.1 → canon-briefs-approve.1} +20 -17
- package/man/{canon-brief-check.1 → canon-briefs-check.1} +9 -6
- package/man/{canon-brief-show.1 → canon-briefs-get.1} +14 -11
- package/man/canon-briefs.1 +59 -0
- package/man/{canon-change-new.1 → canon-changes-create.1} +14 -14
- package/man/{canon-change-defer.1 → canon-changes-defer.1} +19 -16
- package/man/{canon-change-drop.1 → canon-changes-drop.1} +19 -16
- package/man/{canon-change-reopen.1 → canon-changes-reopen.1} +20 -17
- package/man/canon-changes.1 +65 -0
- package/man/canon-completion.1 +8 -5
- package/man/{canon-context-pack-add.1 → canon-context-packs-create.1} +9 -9
- package/man/{canon-context-pack-show.1 → canon-context-packs-get.1} +10 -7
- package/man/{canon-context-pack-verify.1 → canon-context-packs-verify.1} +10 -7
- package/man/canon-context-packs.1 +56 -0
- package/man/canon-context.1 +9 -6
- package/man/canon-dashboard.1 +10 -10
- package/man/canon-demo-init.1 +12 -7
- package/man/canon-demo-review.1 +7 -7
- package/man/{canon-divergence-accept.1 → canon-divergences-accept.1} +12 -12
- package/man/{canon-divergence-add.1 → canon-divergences-add.1} +12 -12
- package/man/{canon-divergence-defer.1 → canon-divergences-defer.1} +12 -12
- package/man/{canon-divergence-list.1 → canon-divergences-list.1} +10 -7
- package/man/{canon-divergence-resolve.1 → canon-divergences-resolve.1} +12 -12
- package/man/{canon-divergence.1 → canon-divergences.1} +16 -10
- package/man/canon-evidence-add-all.1 +117 -0
- package/man/canon-evidence-add.1 +16 -22
- package/man/canon-evidence-approval-payload.1 +10 -7
- package/man/canon-evidence-audit.1 +11 -11
- package/man/canon-evidence.1 +15 -5
- package/man/canon-export.1 +11 -11
- package/man/{canon-feature-new.1 → canon-features-create.1} +14 -14
- package/man/{canon-feature.1 → canon-features.1} +12 -6
- package/man/{canon-finding-close.1 → canon-findings-close.1} +17 -23
- package/man/{canon-finding-add.1 → canon-findings-create.1} +13 -13
- package/man/{canon-finding-list.1 → canon-findings-list.1} +11 -8
- package/man/{canon-finding.1 → canon-findings.1} +18 -20
- package/man/canon-format.1 +7 -4
- package/man/canon-gate-check.1 +9 -6
- package/man/canon-gate-install-hooks.1 +12 -12
- package/man/canon-gate-promote.1 +8 -8
- package/man/canon-gate.1 +11 -5
- package/man/canon-ingest-plans.1 +10 -10
- package/man/canon-ingest-records.1 +13 -13
- package/man/canon-init-check.1 +48 -0
- package/man/canon-init.1 +10 -13
- package/man/canon-inventory-sync.1 +8 -8
- package/man/canon-inventory.1 +10 -4
- package/man/canon-ledger-compact.1 +10 -10
- package/man/canon-ledger.1 +10 -4
- package/man/canon-migrate-revert.1 +58 -0
- package/man/canon-migrate.1 +19 -22
- package/man/{canon-plugin-sync.1 → canon-plugins-sync.1} +10 -10
- package/man/{canon-plugin.1 → canon-plugins.1} +12 -6
- package/man/canon-policy-approve.1 +13 -10
- package/man/{canon-policy-show.1 → canon-policy-get.1} +8 -5
- package/man/canon-policy.1 +13 -7
- package/man/{canon-prompt-add.1 → canon-prompts-create.1} +14 -14
- package/man/{canon-prompt-show.1 → canon-prompts-get.1} +10 -7
- package/man/canon-prompts.1 +49 -0
- package/man/canon-purge.1 +12 -16
- package/man/canon-query.1 +11 -8
- package/man/canon-regime-show.1 +10 -7
- package/man/canon-report-build.1 +4 -4
- package/man/canon-report-check.1 +7 -4
- package/man/canon-report-snapshot.1 +6 -6
- package/man/canon-report.1 +10 -4
- package/man/canon-retrieve.1 +11 -8
- package/man/{canon-review-brief.1 → canon-reviews-brief.1} +14 -14
- package/man/{canon-review-change.1 → canon-reviews-change.1} +13 -13
- package/man/{canon-review-scenario.1 → canon-reviews-scenario.1} +12 -12
- package/man/{canon-review.1 → canon-reviews.1} +16 -10
- package/man/{canon-dispatch-begin.1 → canon-runs-create.1} +11 -11
- package/man/{canon-task-done.1 → canon-runs-diff.1} +7 -10
- package/man/{canon-dispatch-end.1 → canon-runs-end.1} +11 -11
- package/man/{canon-dispatch.1 → canon-runs.1} +15 -9
- package/man/{canon-scenario-new.1 → canon-scenarios-create.1} +14 -14
- package/man/{canon-scenario.1 → canon-scenarios.1} +12 -6
- package/man/canon-schema.1 +22 -34
- package/man/canon-search.1 +15 -12
- package/man/canon-selftest.1 +7 -4
- package/man/canon-skills-check.1 +10 -7
- package/man/canon-skills-doctor.1 +10 -7
- package/man/canon-skills-get.1 +47 -0
- package/man/canon-skills-install.1 +10 -10
- package/man/canon-skills-list.1 +53 -0
- package/man/canon-skills.1 +16 -16
- package/man/canon-status.1 +10 -7
- package/man/{canon-strategy-approval-payload.1 → canon-strategies-approval-payload.1} +13 -10
- package/man/{canon-strategy-promote.1 → canon-strategies-promote.1} +12 -12
- package/man/{canon-strategy-rollback.1 → canon-strategies-rollback.1} +12 -12
- package/man/{canon-strategy.1 → canon-strategies.1} +14 -8
- package/man/{canon-subject-adopt.1 → canon-subjects-adopt.1} +10 -10
- package/man/{canon-subject-new.1 → canon-subjects-create.1} +14 -14
- package/man/{canon-subject-show.1 → canon-subjects-get.1} +9 -6
- package/man/{canon-subject-move.1 → canon-subjects-move.1} +12 -12
- package/man/{canon-subject-unadopt.1 → canon-subjects-unadopt.1} +12 -12
- package/man/{canon-subject.1 → canon-subjects.1} +16 -10
- package/man/canon-tasks-done.1 +50 -0
- package/man/{canon-task.1 → canon-tasks.1} +13 -7
- package/man/canon-trace.1 +8 -5
- package/man/canon.1 +66 -36
- package/package.json +5 -5
- package/man/canon-adapter.1 +0 -46
- package/man/canon-brief.1 +0 -64
- package/man/canon-change.1 +0 -59
- package/man/canon-context-pack.1 +0 -50
- package/man/canon-demo.1 +0 -47
- package/man/canon-dispatch-diff.1 +0 -41
- package/man/canon-ingest.1 +0 -46
- package/man/canon-prompt.1 +0 -43
- package/man/canon-regime.1 +0 -39
- package/man/canon-skills-show.1 +0 -102
|
@@ -50,14 +50,14 @@ Drive it through the sync command (never hand-write records):
|
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
# every canon.yaml specs.roots[] entry
|
|
53
|
-
canon
|
|
53
|
+
canon plugins sync porting
|
|
54
54
|
# a specific repo
|
|
55
|
-
canon
|
|
55
|
+
canon plugins sync porting --repo ../svc
|
|
56
56
|
# ad hoc: ignore canon.yaml
|
|
57
|
-
canon
|
|
57
|
+
canon plugins sync porting --spec-root ./specs
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
`canon
|
|
60
|
+
`canon plugins sync <plugin-id>` resolves the manifest, then for each
|
|
61
61
|
candidate validates FIRST (envelope present + typed; every required
|
|
62
62
|
`join_key` field present + a string; every declared field present + type-
|
|
63
63
|
matching; no field outside envelope ∪ join-key ∪ declared), then writes.
|
|
@@ -67,7 +67,7 @@ same path; a different body for the same join key appends at a new path,
|
|
|
67
67
|
never overwriting. `--dry-run` validates and reports what would be written
|
|
68
68
|
without writing; an identical rerun writes nothing and reports `unchanged`.
|
|
69
69
|
|
|
70
|
-
**Done when:** `canon
|
|
70
|
+
**Done when:** `canon plugins sync <plugin-id>` exits `0` with no validation
|
|
71
71
|
error; the next step (3) reads the overlay back.
|
|
72
72
|
|
|
73
73
|
## 3. Project a read
|
|
@@ -113,12 +113,12 @@ scenarios you synced.
|
|
|
113
113
|
`at`), so an unchanged inventory re-syncs to a byte-identical body
|
|
114
114
|
(zero new files) and a genuine coverage edit supersedes the prior
|
|
115
115
|
overlay via latest-`at`-wins.
|
|
116
|
-
3. `canon
|
|
116
|
+
3. `canon plugins sync porting` writes/dedupes those candidates.
|
|
117
117
|
4. `canon query --kind scenario --plugin porting [--json]` projects
|
|
118
118
|
`covered`/`surface_ref` back onto each scenario.
|
|
119
119
|
|
|
120
120
|
`canon gate check`'s verdicts are byte-identical with and without a
|
|
121
|
-
`canon
|
|
121
|
+
`canon plugins sync porting` run — the gate reads NO plugin overlay. Wiring
|
|
122
122
|
an overlay field into a gate decision needs its own reviewed change
|
|
123
123
|
("covered ≠ coverage").
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@ misplaced under `.canon/vocab/<id>/` fails that loader (missing
|
|
|
136
136
|
see `canon-inventory`.
|
|
137
137
|
- **`canon gate check`** — see `canon-gate`; the gate never reads a
|
|
138
138
|
plugin overlay.
|
|
139
|
-
- **`canon
|
|
139
|
+
- **`canon scenarios create`/`canon features create`** (corpus-authoring
|
|
140
140
|
scaffold, independent of the plugin machinery) — template generators
|
|
141
141
|
that write no ledger record.
|
|
142
142
|
- **A projection over a core kind other than `scenario`, or wiring an
|
|
@@ -38,12 +38,12 @@ delegation:
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
All four keys are required and unknown keys are refused. With the entry and an approved policy the role may run
|
|
41
|
-
`canon
|
|
42
|
-
as it is now (`canon
|
|
41
|
+
`canon briefs approve <slug> --as <role> --actor <id> --delegated`, which canon grants when the latest plan review of the brief
|
|
42
|
+
as it is now (`canon reviews brief`) is an `approve` by another actor with no open `blocker` finding. An entry that is invalid
|
|
43
43
|
(a key missing or unknown, an act this release does not know, a `to` that is no canon role, a blank `approver`, two entries
|
|
44
|
-
for one role, or a key that is not a list) gives no authority and `canon status` and `canon init
|
|
44
|
+
for one role, or a key that is not a list) gives no authority and `canon status` and `canon init-check` say
|
|
45
45
|
`DELEGATION_INVALID`, with the entry's position in the list (from 0) as the `field`. Editing the policy undoes its approval,
|
|
46
|
-
so the delegation stops until a human runs `canon policy approve`; `canon
|
|
46
|
+
so the delegation stops until a human runs `canon policy approve`; `canon briefs approve` never approves a changed `delegation:`
|
|
47
47
|
along with a brief (`policyHeld` names it). `canon init` writes no entry, only a commented example. To withdraw a
|
|
48
48
|
delegation, delete the entry and run `canon policy approve`; an `Approved:` line already written stays.
|
|
49
49
|
|
|
@@ -98,11 +98,11 @@ canon policy approve --approver <who> [--note <text>] [--repo <dir>]
|
|
|
98
98
|
|
|
99
99
|
A human approves the policy after reviewing `.canon/policy.yaml`, in the
|
|
100
100
|
same answer that approves a subject's brief (0.16; see the skill's working
|
|
101
|
-
loop). `canon
|
|
101
|
+
loop). `canon briefs approve` records both in one call. `canon policy
|
|
102
102
|
approve` is a human's decision: with a role declared (`--as` or `CANON_ROLE`)
|
|
103
103
|
it is refused with `ACTOR_DENIED` (exit 2, not retryable) unless it records the
|
|
104
104
|
answer the human gave in the conversation: show them `.canon/policy.yaml`, ask,
|
|
105
|
-
and on an explicit approval run it (the steps are in `canon skills
|
|
105
|
+
and on an explicit approval run it (the steps are in `canon skills get role-planner`) with `--relayed-via <tool>`, `--actor`,
|
|
106
106
|
`--approver` and `--note` (their name and words); the file then carries `relay`
|
|
107
107
|
(role, actor, tool). The human may run it themselves, for a policy-only change
|
|
108
108
|
or after the brief answer, supplying `--approver` and `--note`. It
|
|
@@ -123,7 +123,7 @@ command again replaces the one approval file (replay-safe). With no
|
|
|
123
123
|
`.canon/policy.yaml` it is
|
|
124
124
|
refused (exit `2`), and so is an empty `--approver`.
|
|
125
125
|
|
|
126
|
-
**Done when:** `canon policy
|
|
126
|
+
**Done when:** `canon policy get` reports `approval: approved` and
|
|
127
127
|
`canon gate check` no longer prints `policy not approved`.
|
|
128
128
|
|
|
129
129
|
While a policy exists with no approval, `canon gate check` prints after
|
|
@@ -140,7 +140,7 @@ approval file cannot be read, the gate fails closed instead:
|
|
|
140
140
|
unreviewed-promotion policy — policy changed since approval: .canon/policy.yaml is sha256:<now>, but `<who>` approved sha256:<then> at <time>; … (--override-reason does not waive it); the human re-approves the policy in force with `canon policy approve --approver <human> --note "<words>"`, or restore the approved .canon/policy.yaml (and .canon/policy.approval.json) from git
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
`canon gate check` exits `1`; `canon
|
|
143
|
+
`canon gate check` exits `1`; `canon subjects move` (the ship guard and
|
|
144
144
|
the reopen) refuses with `POLICY_APPROVAL_STALE`, or
|
|
145
145
|
`POLICY_APPROVAL_CORRUPT` (or `POLICY_APPROVAL_DENIED` when the file may not be read) for a broken approval, and
|
|
146
146
|
`--override-reason` does not waive either. A policy never approved stays
|
|
@@ -151,7 +151,7 @@ An agent never edits the policy
|
|
|
151
151
|
to pass the gate: it stops and asks the human, who re-approves or restores
|
|
152
152
|
it.
|
|
153
153
|
|
|
154
|
-
## `canon policy
|
|
154
|
+
## `canon policy get [--json]`
|
|
155
155
|
|
|
156
156
|
Prints the policy path and current digest, and the approval state
|
|
157
157
|
(`approved`, `changed`, `unreadable` or `unapproved`) with the approver,
|
|
@@ -282,7 +282,7 @@ read as a big-endian u64, are less than `rate · 2^64` — computed exactly,
|
|
|
282
282
|
as a comparison against `ceil(rate · 2^64)`, so `rate: 0` samples nothing
|
|
283
283
|
and `rate: 1` samples everything. A sampled in-scope scenario whose
|
|
284
284
|
latest audit is missing or `indeterminate` is `uncovered-cell`; with
|
|
285
|
-
`shipped` in `scope`, `canon
|
|
285
|
+
`shipped` in `scope`, `canon subjects move <id> --to shipped` also refuses
|
|
286
286
|
it. `canon context` and the `canon status` policy line show
|
|
287
287
|
`require_audit=(rate=… seed=`…` scope=…)`.
|
|
288
288
|
|
|
@@ -300,7 +300,7 @@ spec_coverage:
|
|
|
300
300
|
|
|
301
301
|
For every in-scope scenario (`spec_coverage.exclude_lanes` applies) that has
|
|
302
302
|
declared evidence, its newest record (the latest `at`; an audit is not one)
|
|
303
|
-
must be a CI record (`canon evidence add
|
|
303
|
+
must be a CI record (`canon evidence add-all --from-ci`, see
|
|
304
304
|
`canon-gate`) of the code as it stands now, from a run that ran enough
|
|
305
305
|
cases. The first thing that is wrong is the scenario's one violation, and
|
|
306
306
|
its reason is in the detail:
|
|
@@ -147,12 +147,11 @@ canon dashboard --snapshot /tmp/canon-snap --port 8080
|
|
|
147
147
|
|
|
148
148
|
`/briefs.html` lists every live change whose brief awaits the human (no
|
|
149
149
|
`Approved:` line, or edited since) with its intent, outcome, flow steps,
|
|
150
|
-
acceptance, questions and assumptions, and its `canon
|
|
150
|
+
acceptance, questions and assumptions, and its `canon briefs check`
|
|
151
151
|
blockers and advisories. Each brief that has no blocker has a selection box
|
|
152
152
|
and the page shows how many are selected. The human types their name and their
|
|
153
153
|
answer once and clicks Approve: one request carries every selected brief with
|
|
154
|
-
the sha256 of the file the page read, and records exactly what `canon
|
|
155
|
-
approve <id>+ --approver <name> --note <text>` records, the `Approved:` line
|
|
154
|
+
the sha256 of the file the page read, and records exactly what `canon briefs approve <id>+ --approver <name> --note <text>` records, the `Approved:` line
|
|
156
155
|
bound to the brief digest and the policy approval, for each. A brief that
|
|
157
156
|
changed after the page loaded (`BRIEF_PAGE_STALE`) or that has
|
|
158
157
|
blockers refuses the whole request (409, the first refused brief's own code such as `BRIEF_INVALID`, with an
|
|
@@ -160,10 +159,10 @@ blockers refuses the whole request (409, the first refused brief's own code such
|
|
|
160
159
|
naming one brief the old way (`changeId`, `sha256`) is still accepted. The server is localhost only and
|
|
161
160
|
refuses requests from other origins (`DASHBOARD_REQUEST_DENIED`).
|
|
162
161
|
|
|
163
|
-
For an agent: when clean briefs are waiting, show them (`canon
|
|
162
|
+
For an agent: when clean briefs are waiting, show them (`canon briefs get
|
|
164
163
|
<slug> --body`), ask with the harness question tool, and tell the human they
|
|
165
164
|
can approve them in `canon dashboard` (briefs page) instead. An agent never
|
|
166
|
-
clicks Approve or fills the form; it runs `canon
|
|
165
|
+
clicks Approve or fills the form; it runs `canon briefs approve` only from the
|
|
167
166
|
human's explicit answer, with `--relayed-via`. The page lists the approvals an
|
|
168
167
|
agent recorded for the human under "Approved through an agent" (`relayed` in
|
|
169
168
|
`GET /api/briefs`), with the role, actor and tool of each.
|
|
@@ -224,7 +223,7 @@ computes it; nothing here is derived a second time.
|
|
|
224
223
|
window down by `EvidenceRecord.verdict`. `divergence_open_running_total` is
|
|
225
224
|
a running `opened - resolved` event count, NOT the number open now —
|
|
226
225
|
the two differ whenever one `resolved` record closes several findings on a
|
|
227
|
-
scenario. For current state per scenario, run `canon
|
|
226
|
+
scenario. For current state per scenario, run `canon divergences list`.
|
|
228
227
|
|
|
229
228
|
- **Scope status** (`mart_scope_status`) —
|
|
230
229
|
Every specified scenario × evidence-verified × plan-carried × spec-covered (`mart_scope_status`). Driven by the spec corpus, so a scenario no plan task declares still appears — with a NULL `task_id`, which is the worklist entry.
|
|
@@ -249,7 +248,7 @@ computes it; nothing here is derived a second time.
|
|
|
249
248
|
reporting; never a `canon gate` input. See `canon-subject`.
|
|
250
249
|
|
|
251
250
|
- **Review rounds** (`mart_review_rounds`) — one row per `(change_id, round)`
|
|
252
|
-
over `Finding` records (`canon
|
|
251
|
+
over `Finding` records (`canon findings create`, then `canon findings close` to
|
|
253
252
|
move a finding's disposition), folded to the latest version
|
|
254
253
|
of each `(change_id, round, seq)` finding first, so a finding raised
|
|
255
254
|
`open` and later closed is counted once and in one disposition bucket.
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
`canon-learn`) at task-dispatch time. It is a fail-soft, advisory-only
|
|
5
5
|
read: it NEVER blocks a dispatch and NEVER gates reproducibility.
|
|
6
6
|
|
|
7
|
-
## `canon retrieve --for-role <r> --regime <k> [--
|
|
7
|
+
## `canon retrieve --for-role <r> --regime <k> [--top <n>] [--repo <dir>] [--json]`
|
|
8
8
|
|
|
9
9
|
Prints the top-`k` retrievable strategies stored for `regime_key = <k>`
|
|
10
10
|
(active strategies plus backward-compatible legacy rows without a lifecycle;
|
|
11
11
|
guardrails are just strategies distilled from a failure-polarity verdict),
|
|
12
|
-
newest-distilled first, capped at `--
|
|
12
|
+
newest-distilled first, capped at `--top` (default 5). Demoted,
|
|
13
13
|
quarantined, rejected, and rolled-back rows are not retrievable.
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
canon retrieve --for-role dev --regime dev/canon/join-spine/9c93d024b1a2
|
|
17
|
-
canon retrieve --for-role dev --regime dev/canon/join-spine/9c93d024b1a2 --
|
|
17
|
+
canon retrieve --for-role dev --regime dev/canon/join-spine/9c93d024b1a2 --top 3 --json
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
- `--regime` is the FULL `regime_key` string
|
|
21
21
|
(`<role>/<repo>/<area>/<hash>`) — the same serialization the write side
|
|
22
22
|
produces.
|
|
23
|
-
- Assembling `--regime` in a script or hook? Use `canon regime
|
|
23
|
+
- Assembling `--regime` in a script or hook? Use `canon regime-show
|
|
24
24
|
--role-segment <r> --repo-name <r> --area <a> --hash <h>`: it runs canon's ONE
|
|
25
25
|
canonical `regime_key` serializer and prints the validated key, so a
|
|
26
26
|
caller routes through the exact normalizer the write path uses instead
|
|
@@ -47,7 +47,7 @@ A generic, fail-soft, advisory-only shell script that fires at a
|
|
|
47
47
|
PreToolUse-equivalent point for a `task`-shaped dispatch (Claude Code's
|
|
48
48
|
`Task` tool / Codex's equivalent). It reads the tool's `subagent_type`
|
|
49
49
|
as `--for-role`, assembles `--regime` by routing its repo/area segments
|
|
50
|
-
through `canon regime
|
|
50
|
+
through `canon regime-show` (so it never re-derives the join key with a
|
|
51
51
|
drifting shell slug), calls `canon retrieve --json`, and emits the
|
|
52
52
|
result as a `PreToolUse` `hookSpecificOutput.additionalContext` JSON
|
|
53
53
|
envelope on stdout — Claude Code's convention for surfacing advisory
|
|
@@ -68,7 +68,7 @@ hook-seam entry with `canon gate install-hooks`:
|
|
|
68
68
|
```bash
|
|
69
69
|
canon gate install-hooks --repo . --event PreToolUse \
|
|
70
70
|
--matcher Task --command "sh .claude/hooks/canon-retrieve-pre-dispatch.sh" \
|
|
71
|
-
--timeout 15
|
|
71
|
+
--hook-timeout 15
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
This merges the standard `{matcher, hooks: [{type: "command", command,
|
|
@@ -5,7 +5,7 @@ that anyone other than the author looked at the work. Canon records that
|
|
|
5
5
|
second look as two ledger kinds — a **Finding** per issue a reviewer
|
|
6
6
|
raises, and a **Review** per scenario a reviewer signs off — and the
|
|
7
7
|
opt-in `spec_coverage.require_review` policy makes `canon gate check` and
|
|
8
|
-
`canon
|
|
8
|
+
`canon subjects move` hold a subject until both are in order.
|
|
9
9
|
|
|
10
10
|
Both records are attestations: canon never checks a finding's summary
|
|
11
11
|
against the code, or that a reviewer actually read the scenario. What the
|
|
@@ -26,11 +26,11 @@ The order an agent follows to claim a subject done:
|
|
|
26
26
|
each issue the reviewer raises as a Finding, fix it, then close it:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
canon
|
|
29
|
+
canon findings create --change c-demo --round 1 --seq 1 \
|
|
30
30
|
--severity blocker --introduced-unknown --disposition open --actor reviewer-2 \
|
|
31
31
|
--summary "unbounded subprocess wait" --session review-session-1
|
|
32
32
|
# ... fix, commit ...
|
|
33
|
-
canon
|
|
33
|
+
canon findings close c-demo_1_1 \
|
|
34
34
|
--disposition fixed --resolution-rev HEAD
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -42,13 +42,13 @@ The order an agent follows to claim a subject done:
|
|
|
42
42
|
the evidence is in (the review pins what it saw):
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
canon
|
|
45
|
+
canon reviews scenario world.demo.01 --project root \
|
|
46
46
|
--actor reviewer-2 --role reviewer \
|
|
47
47
|
--session review-session-1 \
|
|
48
48
|
--rev HEAD --upstream-ref "pr#41"
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
`
|
|
51
|
+
`reviews scenario` writes directly; there is nothing to promote. If the
|
|
52
52
|
reviewer could not reach a verdict, record that instead of signing:
|
|
53
53
|
`--review-outcome indeterminate` (or `unavailable` when it could not run).
|
|
54
54
|
Changing the scenario or re-attesting it afterwards makes the review
|
|
@@ -56,35 +56,35 @@ The order an agent follows to claim a subject done:
|
|
|
56
56
|
the screenshots or recordings it looked at with `--artifact <path>`
|
|
57
57
|
(below).
|
|
58
58
|
|
|
59
|
-
4. **Move the subject**: `canon
|
|
59
|
+
4. **Move the subject**: `canon subjects move <id> --to verifying`, later
|
|
60
60
|
`shipped`. See `canon-subject`.
|
|
61
61
|
|
|
62
62
|
**Done when:** `canon gate check` exits 0 (no `unreviewed-promotion`, no
|
|
63
63
|
`open-blocker`) and `canon status` shows the subject with every scenario
|
|
64
64
|
reviewed and `openBlockers: 0` (`data.subjects[]`).
|
|
65
65
|
|
|
66
|
-
## `canon
|
|
66
|
+
## `canon findings create` / `canon findings close`
|
|
67
67
|
|
|
68
68
|
A Finding's natural key is `(change_id, round, seq)`: the change under
|
|
69
69
|
review, the 1-based review round, and the 1-based index within that
|
|
70
|
-
round. `seq` is never auto-assigned; `
|
|
70
|
+
round. `seq` is never auto-assigned; `findings create` refuses an occupied
|
|
71
71
|
key, because two different findings under one key are two reviewers'
|
|
72
72
|
work collapsed into one identity.
|
|
73
73
|
|
|
74
74
|
```text
|
|
75
|
-
canon
|
|
75
|
+
canon findings create --change <c> --round <n> --seq <n> \
|
|
76
76
|
--severity blocker|should-fix|note --disposition open \
|
|
77
77
|
--actor <who> --summary "<one line>" \
|
|
78
78
|
[--rev <rev>] [--resolution-rev <rev>] [--introduced-rev <rev> | --introduced-unknown] [--file-ref path/to/file.rs:120-134] [--scenario <id>] [--session <id>]
|
|
79
|
-
canon
|
|
79
|
+
canon findings close <c>_<n>_<n> \
|
|
80
80
|
--disposition fixed --resolution-rev <rev> [--actor <id>] [--session <id>] # or rejected / deferred / open
|
|
81
|
-
canon
|
|
81
|
+
canon findings close <c>_<n>_<n> \
|
|
82
82
|
--disposition rejected|deferred --reason "<why, one line>"
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
`--reason` is required for `rejected` and `deferred` (refused with
|
|
86
86
|
`FINDING_REASON_REQUIRED` otherwise) and optional for `fixed`. It is stored
|
|
87
|
-
on the closing version, shown by `
|
|
87
|
+
on the closing version, shown by `findings list` as `[reason: …]` and carried
|
|
88
88
|
in the JSON. Give the reason when you reject or defer: it is the only record
|
|
89
89
|
of why the finding was not fixed.
|
|
90
90
|
|
|
@@ -94,21 +94,21 @@ the finding, so it is the reviewer's: a call that declares another role
|
|
|
94
94
|
with `FINDING_ROLE_DENIED`, nothing is written and the finding stays open.
|
|
95
95
|
`fixed` is closed by every role. The closing version records the role the
|
|
96
96
|
call declared (`--role` is accepted only when it names that role, or when
|
|
97
|
-
none is declared) and no role when none was; `
|
|
97
|
+
none is declared) and no role when none was; `findings list` names who
|
|
98
98
|
closed each closed finding and under which role (`closedBy`, `closedRole`).
|
|
99
99
|
|
|
100
100
|
`--scenario` (repeatable, each a scenario the index knows; refused with
|
|
101
101
|
`SCENARIO_NOT_FOUND` otherwise) names the scenarios the finding is
|
|
102
102
|
about. After a `fixed` close, fresh evidence for those scenarios alone
|
|
103
103
|
re-verifies the fix; a finding naming none asks every evidenced scenario of
|
|
104
|
-
the subject, as before. `
|
|
104
|
+
the subject, as before. `findings close` copies the list.
|
|
105
105
|
|
|
106
106
|
Both stage a candidate. Under `write: { promote: auto }` (what
|
|
107
107
|
`canon init` writes) the same run promotes it and the success line names
|
|
108
108
|
the committed record (``wrote kind=finding/… — staged and promoted in this
|
|
109
109
|
run; nothing to promote``); under `write.promote: manual`
|
|
110
110
|
`canon gate promote` commits it, and the line says so (``staged … — run
|
|
111
|
-
`canon gate promote` to commit it``). `
|
|
111
|
+
`canon gate promote` to commit it``). `findings close`
|
|
112
112
|
changes only the disposition (and `resolution_sha` with it); severity,
|
|
113
113
|
reviewer, summary, and refs are copied from the committed record. It
|
|
114
114
|
appends a second version at the same natural key — the first stays. Its
|
|
@@ -130,7 +130,7 @@ Outside git, or in a repository with no commit, the write is refused with
|
|
|
130
130
|
Many findings at once: `--input` takes inline JSON, a file or `-`; an array
|
|
131
131
|
(or NDJSON) is a batch validated before any write. Keys are the option
|
|
132
132
|
names in camelCase (`change`, `actor`, `resolutionRev`); `canon schema
|
|
133
|
-
|
|
133
|
+
findings.create --json` shows `input` (its limits and a complete `example`) and `canon schema findings.create
|
|
134
134
|
--schemas --json` gives `Input`, the schema of one document. An identical
|
|
135
135
|
repeat is `unchanged` (`data.unchanged`) and writes nothing; a different
|
|
136
136
|
finding under an occupied key is `FINDING_EXISTS`.
|
|
@@ -164,7 +164,7 @@ text in the summary, not a field.
|
|
|
164
164
|
|
|
165
165
|
| Disposition | Meaning |
|
|
166
166
|
|---|---|
|
|
167
|
-
| `open` | Raised and not yet dealt with. The default on `
|
|
167
|
+
| `open` | Raised and not yet dealt with. The default on `findings create`; `findings close` refuses it (a defect that came back is a new finding). |
|
|
168
168
|
| `fixed` | Fixed by a commit. Carries `--resolution-rev <rev>` (default `HEAD`) naming a commit this repo holds; only `fixed` may carry one. |
|
|
169
169
|
| `rejected` | The reviewer's point was considered and declined. Needs `--reason`. |
|
|
170
170
|
| `deferred` | Accepted, but postponed to later work. Needs `--reason`. |
|
|
@@ -174,20 +174,20 @@ text in the summary, not a field.
|
|
|
174
174
|
Every reader takes the **latest version per natural key**
|
|
175
175
|
`(change_id, round, seq)` — the same fold the report's finding panel
|
|
176
176
|
uses. A blocker raised `open` and later closed `fixed` counts as fixed.
|
|
177
|
-
A finding is not reopened: `
|
|
177
|
+
A finding is not reopened: `findings close` takes `fixed`, `rejected` or
|
|
178
178
|
`deferred` and refuses `--disposition open`; a defect that came back is a new
|
|
179
|
-
`
|
|
179
|
+
`findings create` (the next `--seq`).
|
|
180
180
|
|
|
181
|
-
## `canon
|
|
181
|
+
## `canon reviews scenario`
|
|
182
182
|
|
|
183
183
|
```text
|
|
184
|
-
canon
|
|
184
|
+
canon reviews scenario <scenario-id> [<scenario-id>] --project <root-id> \
|
|
185
185
|
--actor <who> [--rev <rev>] --role <role> \
|
|
186
186
|
(--upstream-ref <ref> | --original-spec-ref <ref>) [--session <id>] \
|
|
187
187
|
[--review-outcome signed|indeterminate|unavailable] \
|
|
188
188
|
[--reviewer-provider <p>] [--reviewer-model <m>] [--reviewer-harness <h>] \
|
|
189
189
|
[--artifact <path>] [--artifact <path>] [--max-artifact-mib <MiB>]
|
|
190
|
-
canon
|
|
190
|
+
canon reviews change <slug> --project <root> --actor <who> [--rev <rev>] \
|
|
191
191
|
--role reviewer (--upstream-ref <ref> | --original-spec-ref <ref>) # a chore, below
|
|
192
192
|
```
|
|
193
193
|
|
|
@@ -197,9 +197,8 @@ may carry the same scenario id. Exactly one provenance ref is required.
|
|
|
197
197
|
`--actor` is the reviewer and is required; `--session` fills `actor.session_id`.
|
|
198
198
|
A Review carries no verdict about the behavior; the `verifying → shipped`
|
|
199
199
|
ship gate still refuses missing or `Divergent` evidence verdicts on its
|
|
200
|
-
own (a `Divergent` one passes only while a human's `canon
|
|
201
|
-
|
|
202
|
-
so: `canon review scenario: wrote <path> (new) — written directly; nothing to
|
|
200
|
+
own (a `Divergent` one passes only while a human's `canon divergences accept` holds). It is written directly to the ledger, with no staging step, and says
|
|
201
|
+
so: `canon reviews scenario: wrote <path> (new) — written directly; nothing to
|
|
203
202
|
promote`.
|
|
204
203
|
|
|
205
204
|
`--rev` is the commit the review is about: any git revision, default
|
|
@@ -220,7 +219,7 @@ its reason.
|
|
|
220
219
|
### Several scenarios in one call (0.18)
|
|
221
220
|
|
|
222
221
|
The scenario operand is repeatable, and an `--input` array (see
|
|
223
|
-
`canon schema
|
|
222
|
+
`canon schema reviews.scenario`) batches several calls. One reviewer, pin, provenance ref and set of artifacts cover
|
|
224
223
|
every review; each review pins its own scenario and evidence, and each
|
|
225
224
|
gets its own `pinned` and `wrote` line. The artifacts are stored once.
|
|
226
225
|
It is all or nothing: a scenario with no record, or an operand
|
|
@@ -228,18 +227,18 @@ that is not a scenario id, refuses the call (exit 2) and writes no review.
|
|
|
228
227
|
This is also the batch re-pin after `canon evidence add` reports reviews
|
|
229
228
|
it made stale (see `canon-gate`).
|
|
230
229
|
|
|
231
|
-
### A chore is reviewed as a change (`
|
|
230
|
+
### A chore is reviewed as a change (`reviews change`, 0.23)
|
|
232
231
|
|
|
233
232
|
A chore adds no scenarios, and recording the suite again after it leaves
|
|
234
233
|
every scenario review current (a review pins the evidence's verdict and
|
|
235
234
|
checks, so the same verdicts from the same cases change nothing). What the
|
|
236
235
|
chore needs instead is one change-level review: the reviewer signs its
|
|
237
|
-
invariants and checks against the diff with `canon
|
|
238
|
-
<slug>`, in place of `
|
|
236
|
+
invariants and checks against the diff with `canon reviews change
|
|
237
|
+
<slug>`, in place of `reviews scenario`. The review pins the chore's brief
|
|
239
238
|
(its digest, less the `Approved:` line), so an edit to the brief stales it,
|
|
240
239
|
and `--to shipped` refuses a chore with no signed, current change-level
|
|
241
240
|
review (`spec_coverage.require_review.distinct_actor` asks it of a reviewer
|
|
242
|
-
and session that did not attest the subject's evidence). `
|
|
241
|
+
and session that did not attest the subject's evidence). `reviews change` takes a
|
|
243
242
|
chore's slug and refuses a feature change.
|
|
244
243
|
|
|
245
244
|
### What the reviewer looked at (artifacts)
|
|
@@ -259,8 +258,8 @@ review records each distinct file once, in the order given:
|
|
|
259
258
|
"artifacts": [{"path": "reports/title.png", "sha256": "<64 hex>"}]
|
|
260
259
|
```
|
|
261
260
|
|
|
262
|
-
The field is absent when no `--artifact` is given. `
|
|
263
|
-
`canon
|
|
261
|
+
The field is absent when no `--artifact` is given. `reviews scenario` prints
|
|
262
|
+
`canon reviews scenario: artifact store holds <n> bound file(s) under
|
|
264
263
|
.canon/artifacts/sha256/ (<k> newly stored) — commit them with the
|
|
265
264
|
ledger`.
|
|
266
265
|
|
|
@@ -274,7 +273,7 @@ an altered blob, is `stale-evidence` on the review's scenario, naming
|
|
|
274
273
|
the review:
|
|
275
274
|
|
|
276
275
|
```
|
|
277
|
-
stale-evidence world.demo.01 — review by `reviewer-2` (actor `reviewer-2`, 2026-10-11T09:00:00Z) bound file `reports/title.png` recorded sha256 <hex>; stored blob .canon/artifacts/sha256/<hex>: missing; working tree: <other hex> — the bound bytes are gone, look again and re-record the review with `canon
|
|
276
|
+
stale-evidence world.demo.01 — review by `reviewer-2` (actor `reviewer-2`, 2026-10-11T09:00:00Z) bound file `reports/title.png` recorded sha256 <hex>; stored blob .canon/artifacts/sha256/<hex>: missing; working tree: <other hex> — the bound bytes are gone, look again and re-record the review with `canon reviews scenario <scenario-id> --artifact <path>`
|
|
278
277
|
```
|
|
279
278
|
|
|
280
279
|
The reviewer's later review replaces the earlier one, so its files are
|
|
@@ -286,7 +285,7 @@ screenshot shows.
|
|
|
286
285
|
|
|
287
286
|
### What the review saw (pins)
|
|
288
287
|
|
|
289
|
-
`
|
|
288
|
+
`reviews scenario` reads the corpus and records `pins` on the review; the
|
|
290
289
|
reviewer never types them:
|
|
291
290
|
|
|
292
291
|
- `scenario_digest` — the scenario record's `scenario_digest`: a sha256
|
|
@@ -309,7 +308,7 @@ reviewer never types them:
|
|
|
309
308
|
verdict from the same checks again leaves the review current. A scenario
|
|
310
309
|
with no evidence yet is pinned with an empty list.
|
|
311
310
|
|
|
312
|
-
It prints `canon
|
|
311
|
+
It prints `canon reviews scenario: pinned <id> at scenario digest <12 hex> and the
|
|
313
312
|
verdict and checks of its <n> role(s) of evidence; …` (`at source digest` for
|
|
314
313
|
a file pin). A
|
|
315
314
|
scenario with no record (never synced) is refused with exit 2 and nothing
|
|
@@ -329,32 +328,32 @@ final.
|
|
|
329
328
|
an approval), `indeterminate` (it ran and reached no verdict) or
|
|
330
329
|
`unavailable` (it could not run). Only `signed` counts; the other two
|
|
331
330
|
are recorded so a failed review is visible, never mistaken for a
|
|
332
|
-
sign-off or a rejection, and `
|
|
331
|
+
sign-off or a rejection, and `reviews scenario` says so. `--reviewer-provider`,
|
|
333
332
|
`--reviewer-model` and `--reviewer-harness` record the runtime that
|
|
334
333
|
produced the review, as given. An empty or padded label is a usage error.
|
|
335
334
|
|
|
336
|
-
`--session` (on `evidence add`, `
|
|
337
|
-
`
|
|
335
|
+
`--session` (on `evidence add`, `reviews scenario`, `findings create` and
|
|
336
|
+
`findings close`) takes one opaque token: non-empty, no surrounding
|
|
338
337
|
whitespace, no control characters. Anything else is a usage error
|
|
339
338
|
(exit 2) and nothing is written.
|
|
340
339
|
|
|
341
|
-
## `canon
|
|
340
|
+
## `canon reviews brief`
|
|
342
341
|
|
|
343
342
|
```bash
|
|
344
|
-
canon
|
|
343
|
+
canon reviews brief add-login --actor reviewer-1 --round 1 --verdict approve --digest add-login=sha256:0123456789abcdef
|
|
345
344
|
```
|
|
346
345
|
|
|
347
|
-
`--verdict` is `approve` or `revise`; `--digest` is `<change>=sha256:<hex>`. `--project`, `--session`, `--reviewer-provider`, `--reviewer-model` and `--reviewer-harness` are as on `
|
|
346
|
+
`--verdict` is `approve` or `revise`; `--digest` is `<change>=sha256:<hex>`. `--project`, `--session`, `--reviewer-provider`, `--reviewer-model` and `--reviewer-harness` are as on `reviews change`.
|
|
348
347
|
|
|
349
348
|
A plan review (0.46): an independent reviewer's verdict on a change's brief, written to the ledger as a `Review` with a `plan`
|
|
350
|
-
(`round`, `verdict`, `digest`) and no `pins`. `--digest` is the digest `canon
|
|
351
|
-
reviewer read; one that is not the brief's now is `RELAY_DIGEST_STALE` (exit 2), a missing or ill-formed one `
|
|
349
|
+
(`round`, `verdict`, `digest`) and no `pins`. `--digest` is the digest `canon briefs get <change> --body` printed for the brief the
|
|
350
|
+
reviewer read; one that is not the brief's now is `RELAY_DIGEST_STALE` (exit 2), a missing or ill-formed one `INPUT_INVALID`, a change with no brief
|
|
352
351
|
`BRIEF_NOT_FOUND`, a closed change `CHANGE_CONFLICT` (reason `CLOSED`), and nothing is written. The data carries `reviewId`, `round`,
|
|
353
352
|
`verdict` and `digest`; a repeat of the same call is `unchanged`. The provenance is the brief's path and the pin is `HEAD` (`COMMIT_REQUIRED`
|
|
354
353
|
in a repo with no commit).
|
|
355
354
|
|
|
356
|
-
Findings of the review are `canon
|
|
357
|
-
for P2 and `note` for P3. `canon
|
|
355
|
+
Findings of the review are `canon findings create --change <id> --review <review id>`, with `--severity blocker` for P0 and P1, `should-fix`
|
|
356
|
+
for P2 and `note` for P3. `canon briefs approve --delegated` reads the latest plan review of the brief as it is now (by round, then by the
|
|
358
357
|
time it was recorded): it must be an `approve` by another actor than the approving one, and none of its findings may be an open `blocker`
|
|
359
358
|
(`deferred` counts as open; the findings of earlier rounds are not read). A plan review never counts as a chore's sign-off, never
|
|
360
359
|
replaces one in the ledger or the archive, and `canon query --kind review --change <id>` lists it with its `plan`.
|
|
@@ -423,8 +422,8 @@ A review written before 0.23 pins something the gate no longer compares: a
|
|
|
423
422
|
count until `canon migrate` rewrites it to what the evidence says (see
|
|
424
423
|
`canon-gate`). A review that was current under the rule it was written under
|
|
425
424
|
becomes a current review; one that was stale stays stale, and its scenario
|
|
426
|
-
needs a new `canon
|
|
427
|
-
reviewer's earlier one. The gate, `canon status` and `canon
|
|
425
|
+
needs a new `canon reviews scenario`, which pins what it saw and replaces the
|
|
426
|
+
reviewer's earlier one. The gate, `canon status` and `canon subjects move`
|
|
428
427
|
print one advisory naming how many scenarios are waiting for `canon
|
|
429
428
|
migrate`. In CI, check out full history (`fetch-depth: 0`) for the job that
|
|
430
429
|
runs `canon migrate`, or a pre-0.15 review whose commit is missing is pinned
|
|
@@ -438,7 +437,7 @@ counting: a current signed review failing only `distinct_actor`, then a
|
|
|
438
437
|
stale review, then non-signed outcomes.
|
|
439
438
|
|
|
440
439
|
```
|
|
441
|
-
unreviewed-promotion world.demo.01 — no review record for this scenario; spec_coverage.require_review wants an independent review (`canon
|
|
440
|
+
unreviewed-promotion world.demo.01 — no review record for this scenario; spec_coverage.require_review wants an independent review (`canon reviews scenario`) once its subject is claimed done
|
|
442
441
|
```
|
|
443
442
|
|
|
444
443
|
or, when the only reviews are self-reviews:
|
|
@@ -459,7 +458,7 @@ review (`its spec changed`, `its evidence changed`, `its spec and its
|
|
|
459
458
|
evidence changed`):
|
|
460
459
|
|
|
461
460
|
```
|
|
462
|
-
unreviewed-promotion world.demo.01 — stale review by `reviewer-2`: its evidence changed (the latest evidence records are not the pinned ones) since the review; a pinned review counts only while what it saw is current — review it again (`canon
|
|
461
|
+
unreviewed-promotion world.demo.01 — stale review by `reviewer-2`: its evidence changed (the latest evidence records are not the pinned ones) since the review; a pinned review counts only while what it saw is current — review it again (`canon reviews scenario`)
|
|
463
462
|
```
|
|
464
463
|
|
|
465
464
|
or, when every latest review recorded no sign-off:
|
|
@@ -474,11 +473,11 @@ A non-signed review is a gap even without `distinct_actor`.
|
|
|
474
473
|
|
|
475
474
|
With `block_on_findings`, a Finding whose latest version is severity
|
|
476
475
|
`blocker` and disposition `open`, on a change listed in an in-scope
|
|
477
|
-
subject's `change_ids` (`canon
|
|
476
|
+
subject's `change_ids` (`canon subjects adopt`). The subject string is
|
|
478
477
|
`<change_id>#<round>.<seq>`:
|
|
479
478
|
|
|
480
479
|
```
|
|
481
|
-
open-blocker c-demo#1.1 — open blocker finding by `reviewer-2` on change `c-demo` (subject `demo-subject`): unbounded subprocess wait; fix it and `canon
|
|
480
|
+
open-blocker c-demo#1.1 — open blocker finding by `reviewer-2` on change `c-demo` (subject `demo-subject`): unbounded subprocess wait; fix it and `canon findings close <change>_<n>_<n> --disposition fixed`, or have a reviewer close it as rejected or deferred
|
|
482
481
|
```
|
|
483
482
|
|
|
484
483
|
Findings on changes no in-scope subject has adopted do not block.
|
|
@@ -497,11 +496,11 @@ review waivers: 1 advisory(ies) — not failing the gate:
|
|
|
497
496
|
|
|
498
497
|
## The status guard
|
|
499
498
|
|
|
500
|
-
With `require_review` present, `canon
|
|
499
|
+
With `require_review` present, `canon subjects move <id> --to <state>`
|
|
501
500
|
prints on stderr which review checks it ran or skipped:
|
|
502
501
|
|
|
503
502
|
```stderr
|
|
504
|
-
stderr: canon
|
|
503
|
+
stderr: canon subjects move: review guard for building → verifying (spec_coverage.require_review, scope: verifying, shipped)
|
|
505
504
|
ran unreviewed-promotion — every owned scenario needs a signed review, current with the spec and evidence it pinned, by an actor, and from a session, other than its evidence's
|
|
506
505
|
ran open-blocker — 1 adopted change(s) checked for open blocker findings
|
|
507
506
|
```
|