@journeykit/canon 0.46.0 → 0.48.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 (124) hide show
  1. package/dist/skills/SKILL.src.md +15 -18
  2. package/dist/skills/reference/canon-gate.md +31 -28
  3. package/dist/skills/reference/canon-inventory.md +1 -1
  4. package/dist/skills/reference/canon-plan-import.md +1 -1
  5. package/dist/skills/reference/canon-policy.md +1 -1
  6. package/dist/skills/reference/canon-report-dashboard.md +2 -6
  7. package/dist/skills/reference/canon-review.md +3 -3
  8. package/dist/skills/reference/canon-storage.md +76 -155
  9. package/dist/skills/reference/canon-subject.md +1 -8
  10. package/dist/skills/reference/role-implementer.md +13 -8
  11. package/dist/skills/reference/role-orchestrator.md +9 -27
  12. package/dist/skills/reference/role-planner.md +1 -4
  13. package/dist/skills/reference/role-reviewer.md +1 -1
  14. package/man/canon-adapter-authorize.1 +2 -2
  15. package/man/canon-adapter-validate.1 +2 -2
  16. package/man/canon-adapter.1 +2 -2
  17. package/man/canon-artifacts-prune.1 +4 -4
  18. package/man/canon-artifacts-store.1 +6 -4
  19. package/man/canon-artifacts-verify.1 +7 -7
  20. package/man/canon-artifacts.1 +5 -8
  21. package/man/canon-brief-approve.1 +2 -2
  22. package/man/canon-brief-check.1 +2 -2
  23. package/man/canon-brief-show.1 +2 -2
  24. package/man/canon-brief.1 +2 -2
  25. package/man/canon-change-defer.1 +3 -4
  26. package/man/canon-change-drop.1 +2 -2
  27. package/man/canon-change-new.1 +2 -2
  28. package/man/canon-change-reopen.1 +2 -2
  29. package/man/canon-change.1 +2 -2
  30. package/man/canon-completion.1 +2 -2
  31. package/man/canon-context-pack-add.1 +2 -2
  32. package/man/canon-context-pack-show.1 +2 -2
  33. package/man/canon-context-pack-verify.1 +2 -2
  34. package/man/canon-context-pack.1 +2 -2
  35. package/man/canon-context.1 +2 -2
  36. package/man/canon-dashboard.1 +2 -2
  37. package/man/canon-demo-init.1 +2 -2
  38. package/man/canon-demo-review.1 +2 -2
  39. package/man/canon-demo.1 +2 -2
  40. package/man/canon-dispatch-begin.1 +2 -2
  41. package/man/canon-dispatch-diff.1 +2 -2
  42. package/man/canon-dispatch-end.1 +2 -2
  43. package/man/canon-dispatch.1 +2 -2
  44. package/man/canon-divergence-accept.1 +2 -2
  45. package/man/canon-divergence-add.1 +2 -2
  46. package/man/canon-divergence-defer.1 +2 -2
  47. package/man/canon-divergence-list.1 +2 -2
  48. package/man/canon-divergence-resolve.1 +2 -2
  49. package/man/canon-divergence.1 +2 -2
  50. package/man/canon-evidence-add.1 +3 -3
  51. package/man/canon-evidence-approval-payload.1 +2 -2
  52. package/man/canon-evidence-audit.1 +2 -2
  53. package/man/canon-evidence.1 +2 -2
  54. package/man/canon-export.1 +2 -2
  55. package/man/canon-feature-new.1 +2 -2
  56. package/man/canon-feature.1 +2 -2
  57. package/man/canon-finding-add.1 +2 -2
  58. package/man/canon-finding-close.1 +2 -2
  59. package/man/canon-finding-list.1 +2 -2
  60. package/man/canon-finding.1 +2 -2
  61. package/man/canon-format.1 +2 -2
  62. package/man/canon-gate-check.1 +2 -2
  63. package/man/canon-gate-install-hooks.1 +2 -2
  64. package/man/canon-gate-promote.1 +2 -2
  65. package/man/canon-gate.1 +2 -2
  66. package/man/canon-ingest-plans.1 +2 -2
  67. package/man/canon-ingest-records.1 +2 -2
  68. package/man/canon-ingest.1 +2 -2
  69. package/man/canon-init.1 +2 -2
  70. package/man/canon-inventory-sync.1 +2 -2
  71. package/man/canon-inventory.1 +2 -2
  72. package/man/canon-ledger-compact.1 +2 -2
  73. package/man/canon-ledger.1 +2 -2
  74. package/man/canon-migrate.1 +3 -3
  75. package/man/canon-plugin-sync.1 +2 -2
  76. package/man/canon-plugin.1 +2 -2
  77. package/man/canon-policy-approve.1 +2 -2
  78. package/man/canon-policy-show.1 +2 -2
  79. package/man/canon-policy.1 +2 -2
  80. package/man/canon-prompt-add.1 +2 -2
  81. package/man/canon-prompt-show.1 +2 -2
  82. package/man/canon-prompt.1 +2 -2
  83. package/man/canon-purge.1 +2 -2
  84. package/man/canon-query.1 +4 -4
  85. package/man/canon-regime-show.1 +2 -2
  86. package/man/canon-regime.1 +2 -2
  87. package/man/canon-report-build.1 +2 -2
  88. package/man/canon-report-check.1 +2 -2
  89. package/man/canon-report-snapshot.1 +2 -2
  90. package/man/canon-report.1 +2 -2
  91. package/man/canon-retrieve.1 +2 -2
  92. package/man/canon-review-brief.1 +2 -2
  93. package/man/canon-review-change.1 +2 -2
  94. package/man/canon-review-scenario.1 +2 -2
  95. package/man/canon-review.1 +2 -2
  96. package/man/canon-scenario-new.1 +2 -2
  97. package/man/canon-scenario.1 +2 -2
  98. package/man/canon-schema.1 +2 -2
  99. package/man/canon-search.1 +2 -2
  100. package/man/canon-selftest.1 +2 -2
  101. package/man/canon-skills-check.1 +2 -2
  102. package/man/canon-skills-doctor.1 +2 -2
  103. package/man/canon-skills-install.1 +2 -2
  104. package/man/canon-skills-show.1 +2 -2
  105. package/man/canon-skills.1 +2 -2
  106. package/man/canon-status.1 +2 -2
  107. package/man/canon-strategy-approval-payload.1 +2 -2
  108. package/man/canon-strategy-promote.1 +2 -2
  109. package/man/canon-strategy-rollback.1 +2 -2
  110. package/man/canon-strategy.1 +2 -2
  111. package/man/canon-subject-adopt.1 +2 -2
  112. package/man/canon-subject-move.1 +2 -2
  113. package/man/canon-subject-new.1 +2 -2
  114. package/man/canon-subject-show.1 +2 -2
  115. package/man/canon-subject-unadopt.1 +2 -2
  116. package/man/canon-subject.1 +2 -2
  117. package/man/canon-task-done.1 +2 -2
  118. package/man/canon-task.1 +2 -2
  119. package/man/canon-trace.1 +2 -2
  120. package/man/canon.1 +4 -7
  121. package/package.json +5 -5
  122. package/man/canon-artifacts-move.1 +0 -63
  123. package/man/canon-tier-age.1 +0 -50
  124. package/man/canon-tier.1 +0 -39
@@ -155,7 +155,7 @@ usage: canon inventory sync [--spec-root <DIR>] [--dry-run] [--input]
155
155
  canon inventory sync --json
156
156
  ```
157
157
  ```text
158
- # Read stored records across every storage tier
158
+ # Read stored records
159
159
  usage: canon query --kind <change|task|scenario|run|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|change_state> [--since <TIMESTAMP>] [--plugin <PLUGIN_ID> | --history] [--change <CHANGE_ID>] [--status <STATUS>] [--domain <NAME>] [--include-sensitive] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
160
160
  ```
161
161
  ```bash
@@ -300,14 +300,12 @@ canon evidence add --input '[{"scenario":"auth.login.01","class":"test-run","ref
300
300
  A record binds exactly what its own write names (`--report`,
301
301
  `--artifact`): nothing is carried forward from an earlier record, so name
302
302
  every file the record should prove again. canon stores the bytes by digest
303
- in the artifact store (by default `.canon/artifacts/sha256/`, committed
304
- with the ledger; an object store when `canon.yaml`'s `artifact_store:` block
305
- names one, in which case nothing is kept locally) and `canon gate check`
303
+ in `.canon/artifacts/sha256/` (committed with the ledger; with
304
+ `storage.attachments: lfs` through git LFS, and the write is refused with
305
+ `ARTIFACTS_STORE_REQUIRED` when git-lfs is missing) and `canon gate check`
306
306
  re-checks them, so the working-tree report may be gitignored. Run
307
- `canon artifacts verify` to ask the store yourself; it refuses, never
308
- passes, when an object store cannot be reached. Moving an existing store
309
- (`canon artifacts move --tier`) and deleting the blobs no record binds
310
- (`canon artifacts prune`) are the repo owner's call: do not run them.
307
+ `canon artifacts verify` to check the store yourself. Deleting the blobs no
308
+ record binds (`canon artifacts prune`) is the repo owner's call: do not run it.
311
309
  For a scenario about what users see, let the test report carry its
312
310
  screenshots: Playwright's JUnit reporter attaches, per test case, what a
313
311
  test attaches (`testInfo.attach(name, {path})`, or `screenshot: 'on'`), and
@@ -353,6 +351,13 @@ canon evidence add --input '[{"scenario":"auth.login.01","class":"test-run","ref
353
351
  time. Reviews stay current while the verdicts and checks are unchanged; a
354
352
  scenario whose gap was accepted needs the human to accept again once new
355
353
  evidence says something different.
354
+ A scenario whose own brief the human has not answered (not approved,
355
+ changed after its approval, or in the 0.30 format) is skipped by that
356
+ batch, not refused: the batch exits 0, records the rest, and names each
357
+ skipped scenario with its brief in `data.briefSkipped` and a
358
+ `BRIEF_SCENARIO_SKIPPED` warning. Report those briefs to whoever
359
+ coordinates the work; they are not a reason to stop the chore's evidence
360
+ step, and `--override-reason` stays the human's decision.
356
361
 
357
362
  **Done when:** `canon gate check` lists no `uncovered-cell` or
358
363
  `stale-evidence` violation for the change's scenarios (read `data.violations[]`
@@ -37,14 +37,6 @@ usage: canon adapter validate --response <FILE>
37
37
  canon adapter validate --response adapter-response.json --json
38
38
  ```
39
39
  ```text
40
- # Move the local artifact blobs to an object-store tier, verify them, and remove the local copies
41
- usage: canon artifacts move --tier <TIER> [--commit --plan-digest <PLAN_DIGEST>] [--input]
42
- # a bare run previews and prints planDigest; `--commit --plan-digest <PLAN_DIGEST>` with that digest acts
43
- ```
44
- ```bash
45
- canon artifacts move --tier cold --json
46
- ```
47
- ```text
48
40
  # Delete the artifact blobs no record binds any more (the bare run previews; --commit --plan-digest deletes)
49
41
  usage: canon artifacts prune [--keep-days <N>] [--limit <N> | --all] [--cursor <CURSOR>] [--commit --plan-digest <PLAN_DIGEST>] [--input]
50
42
  # a bare run previews and prints planDigest; `--commit --plan-digest <PLAN_DIGEST>` with that digest acts
@@ -60,7 +52,7 @@ usage: canon artifacts store [--max-artifact-mib <N>] [--dry-run] [--input]
60
52
  canon artifacts store --json
61
53
  ```
62
54
  ```text
63
- # Check that the artifact store holds every file the latest evidence and current reviews bind (--full re-hashes the stored bytes)
55
+ # Check that the artifact store holds every file the latest evidence and current reviews bind
64
56
  usage: canon artifacts verify [--full]
65
57
  ```
66
58
  ```bash
@@ -280,7 +272,7 @@ usage: canon purge --kind <run|trajectory|session|event> --before <TIMESTAMP> [-
280
272
  canon purge --kind run --before 2020-01-01T00:00:00Z --json
281
273
  ```
282
274
  ```text
283
- # Read stored records across every storage tier
275
+ # Read stored records
284
276
  usage: canon query --kind <change|task|scenario|run|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|change_state> [--since <TIMESTAMP>] [--plugin <PLUGIN_ID> | --history] [--change <CHANGE_ID>] [--status <STATUS>] [--domain <NAME>] [--include-sensitive] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
285
277
  ```
286
278
  ```bash
@@ -434,14 +426,6 @@ usage: canon subject unadopt <SUBJECT_ID> --change <CHANGE_ID> [--dry-run] [--in
434
426
  canon subject unadopt demo --change add-login --json
435
427
  ```
436
428
  ```text
437
- # Apply canon.yaml aging rules, moving old records to their destination tier
438
- usage: canon tier age [--commit --plan-digest <PLAN_DIGEST>] [--input]
439
- # a bare run previews and prints planDigest; `--commit --plan-digest <PLAN_DIGEST>` with that digest acts
440
- ```
441
- ```bash
442
- canon tier age --json
443
- ```
444
- ```text
445
429
  # Follow a finding's review loop in time order: review, finding, fix, re-review, evidence
446
430
  usage: canon trace <TRACE_ID>
447
431
  ```
@@ -659,8 +643,8 @@ read the refusal in `error` of `canon subject move demo --to shipped --json`.
659
643
 
660
644
  ## Destructive commands preview first
661
645
 
662
- `canon purge`, `canon tier age`, `canon ledger compact`, `canon artifacts
663
- move` and `canon migrate` delete or rewrite existing data. A bare run only
646
+ `canon purge`, `canon ledger compact`, `canon artifacts prune` and
647
+ `canon migrate` delete or rewrite existing data. A bare run only
664
648
  previews: exit 0, nothing written, a report with `planDigest` and
665
649
  `effects[]`. Read the effects, then act with `--commit --plan-digest
666
650
  <planDigest>`; it refuses (`PLAN_STALE`, exit 2) when the plan recomputed
@@ -670,21 +654,19 @@ read that changed since is `PLAN_STALE` too, and `meta.next[0]` is the preview
670
654
  to run again. A commit holds the repository write lock for its whole run:
671
655
  another command that writes waits for it, and one that waited 30 seconds
672
656
  answers `REPO_LOCK_UNAVAILABLE` (exit 2, retryable): run it again. A document passed
673
- with `--input` never carries `--commit` or `--plan-digest`, and these six
657
+ with `--input` never carries `--commit` or `--plan-digest`, and these four
674
658
  leaves take one object only (`INPUT_INVALID`).
675
659
 
676
660
  ```bash
677
661
  canon purge --kind session --before 2026-01-01
678
- canon tier age
662
+ canon artifacts prune
679
663
  canon ledger compact
680
664
  ```
681
665
 
682
- `canon artifacts move --tier <tier>` moves the local artifact store to an
683
- object store and removes the local blobs, `canon artifacts prune` deletes the
666
+ `canon artifacts prune` deletes the
684
667
  blobs no record binds any more and the stale `.tmp-` files a killed write left
685
- in the store (a deleted local blob stays in git history; a deleted object of a
686
- tier is gone for good; `canon artifacts verify` only counts the temp files), and
687
- `purge` deletes records. They
668
+ in the store (a deleted blob stays in git history; `canon artifacts verify`
669
+ only counts the temp files), and `purge` deletes records. They
688
670
  are the repo owner's decisions, not steps of the loop: run the preview, give
689
671
  the human the effects, and run the commit only on their answer. If the repo is
690
672
  large, the store is slow or the human has not asked for it, do not run it.
@@ -102,7 +102,7 @@ usage: canon gate check [--release]
102
102
  canon gate check --json
103
103
  ```
104
104
  ```text
105
- # Read stored records across every storage tier
105
+ # Read stored records
106
106
  usage: canon query --kind <change|task|scenario|run|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|change_state> [--since <TIMESTAMP>] [--plugin <PLUGIN_ID> | --history] [--change <CHANGE_ID>] [--status <STATUS>] [--domain <NAME>] [--include-sensitive] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
107
107
  ```
108
108
  ```bash
@@ -362,9 +362,6 @@ editing files or by `subject unadopt`; you ask, then record their answer.
362
362
  change is refused (reason `CLOSED`).
363
363
  - Evidence, reviews and findings stay as they are; the warning
364
364
  `CHANGE_RECORDS_KEPT` lists what the closed change keeps.
365
- - A repo whose `canon.yaml` has no `change_state` line under `routing:` refuses
366
- these leaves with `CONFIG_INVALID`; `canon migrate` previews and, committed
367
- with its plan digest, adds the line.
368
365
 
369
366
  A closed change drops out of what the subject and the gate require. `canon
370
367
  status --json` lists it per subject in `setAsideChanges` and its scenarios in
@@ -114,7 +114,7 @@ usage: canon gate check [--release]
114
114
  canon gate check --json
115
115
  ```
116
116
  ```text
117
- # Read stored records across every storage tier
117
+ # Read stored records
118
118
  usage: canon query --kind <change|task|scenario|run|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|change_state> [--since <TIMESTAMP>] [--plugin <PLUGIN_ID> | --history] [--change <CHANGE_ID>] [--status <STATUS>] [--domain <NAME>] [--include-sensitive] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
119
119
  ```
120
120
  ```bash
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-adapter-authorize 1 "authorize 0.46.0"
3
+ .TH canon-adapter-authorize 1 "authorize 0.48.0"
4
4
  .SH NAME
5
5
  canon\-adapter\-authorize \- Authorize declared capabilities against repository policy (preflight only)
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-adapter-validate 1 "validate 0.46.0"
3
+ .TH canon-adapter-validate 1 "validate 0.48.0"
4
4
  .SH NAME
5
5
  canon\-adapter\-validate \- Read and validate one provider\-neutral response envelope
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-adapter 1 "adapter 0.46.0"
3
+ .TH canon-adapter 1 "adapter 0.48.0"
4
4
  .SH NAME
5
5
  canon\-adapter \- Validate a provider\-neutral adapter response without executing a provider
6
6
  .SH SYNOPSIS
@@ -43,4 +43,4 @@ Examples:
43
43
  canon adapter validate \-\-response response.json
44
44
  canon adapter validate \-\-response response.json \-\-repo . \-\-json
45
45
  .SH VERSION
46
- v0.46.0
46
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-artifacts-prune 1 "prune 0.46.0"
3
+ .TH canon-artifacts-prune 1 "prune 0.48.0"
4
4
  .SH NAME
5
5
  canon\-artifacts\-prune \- Delete the artifact blobs no record binds any more (the bare run previews; \-\-commit \-\-plan\-digest deletes)
6
6
  .SH SYNOPSIS
@@ -64,14 +64,14 @@ Examples:
64
64
  canon artifacts prune \-\-keep\-days 30
65
65
  canon artifacts prune \-\-commit \-\-plan\-digest <PLAN_DIGEST>
66
66
 
67
- The store only grows: a report written anew on every run adds a blob per run. A blob stays while a record binds it: the latest evidence of a task or of a scenario and the reviews still in effect (what `canon gate check` and `canon artifacts verify` read), a record not promoted yet, and, with \-\-keep\-days N, any evidence or review written in the last N days. Every other blob of the configured store is deleted: the local directory .canon/artifacts/sha256, or the objects of the object\-store tier `artifact_store:` names (the same rule; a copy left in the local directory of such a repo is judged by it too).
67
+ The store only grows: a report written anew on every run adds a blob per run. A blob stays while a record binds it: the latest evidence of a task or of a scenario and the reviews still in effect (what `canon gate check` and `canon artifacts verify` read), a record not promoted yet, and, with \-\-keep\-days N, any evidence or review written in the last N days. Every other blob of .canon/artifacts/sha256 is deleted.
68
68
 
69
69
  The bare run previews: it says how many blobs and bytes go and stay, why each kept blob stays, lists the blobs to delete a page at a time (\-\-limit, \-\-cursor, \-\-all; the totals are the whole\*(Aqs) and writes nothing. With nothing to delete it says so and offers no \-\-commit. \-\-commit \-\-plan\-digest deletes exactly that plan (PLAN_STALE, exit 2, nothing deleted, when evidence or a record changed since). A repo whose records or staging cannot be read in full is refused: a blob is never deleted on a guess. After a prune, `canon artifacts verify` and `canon gate check` answer as before.
70
70
 
71
- A deleted local blob leaves the working tree, so commit the removal with the ledger; it stays in git history, and shrinking that history is the repo owner\*(Aqs call, not this command\*(Aqs. A deleted object of a tier cannot be undone: the tier keeps no other copy. A delete that fails stops the run (ARTIFACTS_PRUNE_INCOMPLETE says what was deleted); a new preview lists what remains.
71
+ A deleted blob leaves the working tree, so commit the removal with the ledger; it stays in git history, and shrinking that history is the repo owner\*(Aqs call, not this command\*(Aqs. A delete that fails stops the run (ARTIFACTS_PRUNE_INCOMPLETE says what was deleted); a new preview lists what remains.
72
72
 
73
73
  It also deletes the stale temp files a killed blob write left in .canon/artifacts/sha256 (`.tmp\-<sha256>\-<pid>\-<nanos>`, a regular file modified over five minutes ago; a younger file, a link, a directory or any other name stays): the preview lists them in data.staleTemps, the plan digest covers them, and the commit checks each again under the store lock. A temp file is no finished blob, so deleting it changes no record; one git already tracks must be taken out of the commit. `canon artifacts verify` only counts them.
74
74
 
75
75
  Exit 0 for a preview or a commit, 1 when a delete failed, 2 when the plan is stale or the records or the store cannot be read.
76
76
  .SH VERSION
77
- v0.46.0
77
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-artifacts-store 1 "store 0.46.0"
3
+ .TH canon-artifacts-store 1 "store 0.48.0"
4
4
  .SH NAME
5
5
  canon\-artifacts\-store \- Store the bound files of existing evidence records and current reviews in the artifact store (.canon/artifacts/sha256/)
6
6
  .SH SYNOPSIS
@@ -47,8 +47,10 @@ Print help
47
47
  \fB\-V\fR, \fB\-\-version\fR
48
48
  Print version
49
49
  .SH EXTRA
50
- For records written before canon stored bound bytes (0.11\-0.13), and for any evidence file, or file of a current review, whose stored blob was lost. Each attachment whose working\-tree file still hashes to the recorded digest is copied into .canon/artifacts/sha256/<hex> (or uploaded to the object store); everything else is listed as not stored, with why. A superseded review\*(Aqs files are not stored, as the gate does not check them. Commit the store with the ledger.
50
+ For records written before canon stored bound bytes (0.11\-0.13), and for any evidence file, or file of a current review, whose stored blob was lost. Each attachment whose working\-tree file still hashes to the recorded digest is copied into .canon/artifacts/sha256/<hex>; everything else is listed as not stored, with why. A superseded review\*(Aqs files are not stored, as the gate does not check them. Commit the store with the ledger.
51
51
 
52
- Exit 0 when the pass ran (the gate decides whether an unstored file matters), 2 when the ledger cannot be read or a write fails.
52
+ With `storage.attachments: lfs` in canon.yaml it first checks that git\-lfs is installed and its filter is set up (ARTIFACTS_STORE_REQUIRED, exit 2, nothing written, when not) and makes sure .canon/artifacts/.gitattributes routes the blobs through the filter.
53
+
54
+ Exit 0 when the pass ran (the gate decides whether an unstored file matters), 2 when the ledger cannot be read, git\-lfs is missing for attachments: lfs, or a write fails.
53
55
  .SH VERSION
54
- v0.46.0
56
+ v0.48.0
@@ -1,12 +1,12 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-artifacts-verify 1 "verify 0.46.0"
3
+ .TH canon-artifacts-verify 1 "verify 0.48.0"
4
4
  .SH NAME
5
- canon\-artifacts\-verify \- Check that the artifact store holds every file the latest evidence and current reviews bind (\-\-full re\-hashes the stored bytes)
5
+ canon\-artifacts\-verify \- Check that the artifact store holds every file the latest evidence and current reviews bind
6
6
  .SH SYNOPSIS
7
7
  \fBcanon artifacts verify\fR [\fB\-\-as\fR] [\fB\-\-full\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
8
8
  .SH DESCRIPTION
9
- Check that the artifact store holds every file the latest evidence and current reviews bind (\-\-full re\-hashes the stored bytes)
9
+ Check that the artifact store holds every file the latest evidence and current reviews bind
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
@@ -27,7 +27,7 @@ orchestrator
27
27
  .RE
28
28
  .TP
29
29
  \fB\-\-full\fR
30
- Download every blob and re\-hash it, instead of trusting the store\*(Aqs size and digest metadata
30
+ Re\-hash every stored blob (a blob is always hashed when it is read, so the answer is the same without the flag)
31
31
  .TP
32
32
  \fB\-\-repo\fR \fI<DIR>\fR
33
33
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
@@ -41,10 +41,10 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH EXTRA
44
- Asks the store canon.yaml\*(Aqs `artifacts:` block selects (default: local, .canon/artifacts/sha256) about each bound file, the way `canon gate check` does. For an object store that is one HEAD per distinct digest plus the size and sha256 metadata written at upload; \-\-full downloads each blob and re\-hashes it.
44
+ Checks each bound file against its blob in .canon/artifacts/sha256, the way `canon gate check` does: a blob that hashes to its name is stored, a missing blob whose working\-tree file still hashes to the digest is verified by the working tree only, and anything else is a problem (data.problems names each). A blob that is a Git LFS pointer to the recorded digest (a clone that never ran `git lfs pull`) is the state lfs_pointer in data.problems[].blob; `git lfs pull` fetches the bytes.
45
45
 
46
- Exit 0 when every file is stored, 1 when one is missing or altered (data.problems names each), 2 when the store cannot be used or reached: an unreachable store is a refusal, never a pass.
46
+ Exit 0 when every file is stored, 1 when one is missing, altered or only an lfs_pointer (data.problems names each), 2 when the store cannot be used.
47
47
 
48
48
  It also counts the stale temp files a killed blob write left in .canon/artifacts/sha256 (`.tmp\-<sha256>\-<pid>\-<nanos>`, modified over five minutes ago): data.staleTemps has their files and bytes (unreadable, never 0, when the directory cannot be read) and a line names `canon artifacts prune`, which deletes them. verify deletes nothing, and a temp file never changes the exit.
49
49
  .SH VERSION
50
- v0.46.0
50
+ v0.48.0
@@ -1,12 +1,12 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-artifacts 1 "artifacts 0.46.0"
3
+ .TH canon-artifacts 1 "artifacts 0.48.0"
4
4
  .SH NAME
5
- canon\-artifacts \- Check or move the evidence artifact store (local, or an object\-store tier)
5
+ canon\-artifacts \- Check the evidence artifact store
6
6
  .SH SYNOPSIS
7
7
  \fBcanon artifacts\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
8
  .SH DESCRIPTION
9
- Check or move the evidence artifact store (local, or an object\-store tier)
9
+ Check the evidence artifact store
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
@@ -34,15 +34,12 @@ Print version
34
34
  .SH SUBCOMMANDS
35
35
  .TP
36
36
  canon\-artifacts\-verify(1)
37
- Check that the artifact store holds every file the latest evidence and current reviews bind (\-\-full re\-hashes the stored bytes)
37
+ Check that the artifact store holds every file the latest evidence and current reviews bind
38
38
  .TP
39
39
  canon\-artifacts\-store(1)
40
40
  Store the bound files of existing evidence records and current reviews in the artifact store (.canon/artifacts/sha256/)
41
41
  .TP
42
- canon\-artifacts\-move(1)
43
- Move the local artifact blobs to an object\-store tier, verify them, and remove the local copies
44
- .TP
45
42
  canon\-artifacts\-prune(1)
46
43
  Delete the artifact blobs no record binds any more (the bare run previews; \-\-commit \-\-plan\-digest deletes)
47
44
  .SH VERSION
48
- v0.46.0
45
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-brief-approve 1 "approve 0.46.0"
3
+ .TH canon-brief-approve 1 "approve 0.48.0"
4
4
  .SH NAME
5
5
  canon\-brief\-approve \- Record the human\*(Aqs approval of the brief, bound to its text; refused while `brief check` has blockers. With \-\-delegated, the approval the owner delegated in the policy
6
6
  .SH SYNOPSIS
@@ -84,4 +84,4 @@ the brief\*(Aqs latest plan review is an approve by another actor with no open b
84
84
  `Approved: <owner> <when> — "<canon\*(Aqs words>" (delegated to <role> <actor> under policy <digest> after review <id>) …`.
85
85
  It records no policy approval.
86
86
  .SH VERSION
87
- v0.46.0
87
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-brief-check 1 "check 0.46.0"
3
+ .TH canon-brief-check 1 "check 0.48.0"
4
4
  .SH NAME
5
5
  canon\-brief\-check \- Read the brief against the rules: blocker and advisory findings (exit 0 clean, 1 blockers, 2 refused)
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print version
41
41
  [\fICHANGE_ID\fR]
42
42
  The change to read (default: the repo\*(Aqs only live change)
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-brief-show 1 "show 0.46.0"
3
+ .TH canon-brief-show 1 "show 0.48.0"
4
4
  .SH NAME
5
5
  canon\-brief\-show \- Show where the change stands and the next one to three steps; never edits
6
6
  .SH SYNOPSIS
@@ -50,4 +50,4 @@ Examples:
50
50
 
51
51
  The operand names the change; without it the repo\*(Aqs only live change is read.
52
52
  .SH VERSION
53
- v0.46.0
53
+ v0.48.0
package/man/canon-brief.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-brief 1 "brief 0.46.0"
3
+ .TH canon-brief 1 "brief 0.48.0"
4
4
  .SH NAME
5
5
  canon\-brief \- Check a change\*(Aqs brief (PRD format) and see the next steps; never edits
6
6
  .SH SYNOPSIS
@@ -61,4 +61,4 @@ gets one blocker, `brief.old\-format`: `canon migrate` rewrites it. A brief
61
61
  with fewer than two known headings (written before 0.19) checks as `brief.legacy`, an
62
62
  advisory. Without \-\-change, the repo\*(Aqs only live change is checked.
63
63
  .SH VERSION
64
- v0.46.0
64
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-change-defer 1 "defer 0.46.0"
3
+ .TH canon-change-defer 1 "defer 0.48.0"
4
4
  .SH NAME
5
5
  canon\-change\-defer \- Set an approved change aside for now (a human\*(Aqs decision: needs a reason, a reference and the approver); `canon change reopen` brings it back
6
6
  .SH SYNOPSIS
@@ -85,7 +85,6 @@ the date of a conversation).
85
85
  Refused (CHANGE_CONFLICT, nothing written): `SHIPPED` for a change that already shipped (write
86
86
  a new change that removes the behavior), `CLOSED` for a change already deferred or dropped with
87
87
  other values (the same call again is `unchanged`). CHANGE_NOT_FOUND for a change with no
88
- record. A repo with no `change_state:` line under `routing:` is refused (CONFIG_INVALID, TIERS):
89
- run `canon migrate`. Not destructive: nothing is deleted, so there is no \-\-commit.
88
+ record. Not destructive: nothing is deleted, so there is no \-\-commit.
90
89
  .SH VERSION
91
- v0.46.0
90
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-change-drop 1 "drop 0.46.0"
3
+ .TH canon-change-drop 1 "drop 0.48.0"
4
4
  .SH NAME
5
5
  canon\-change\-drop \- Give up an approved change for good (a human\*(Aqs decision: needs a reason, a reference and the approver); it is never brought back
6
6
  .SH SYNOPSIS
@@ -74,4 +74,4 @@ and the same call again is `unchanged`; any other call is CHANGE_CONFLICT (CLOSE
74
74
  the work back, write a new change (`canon change new`) and name the dropped one in its
75
75
  `Source:`.
76
76
  .SH VERSION
77
- v0.46.0
77
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-change-new 1 "new 0.46.0"
3
+ .TH canon-change-new 1 "new 0.48.0"
4
4
  .SH NAME
5
5
  canon\-change\-new \- Write .canon/changes/<slug>/brief.md, import it, and adopt it into a subject
6
6
  .SH SYNOPSIS
@@ -63,4 +63,4 @@ Print version
63
63
  <\fICHANGE_ID\fR>
64
64
  The change\*(Aqs slug (its change_id)
65
65
  .SH VERSION
66
- v0.46.0
66
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-change-reopen 1 "reopen 0.46.0"
3
+ .TH canon-change-reopen 1 "reopen 0.48.0"
4
4
  .SH NAME
5
5
  canon\-change\-reopen \- Bring a deferred change back (a human\*(Aqs decision); the old approval is void and the brief needs a new one
6
6
  .SH SYNOPSIS
@@ -75,4 +75,4 @@ stale, and `canon brief approve` writes a new line even for the same name and an
75
75
  Human only, like `canon change defer`; \-\-ref is optional here. This reopens a change; to
76
76
  reopen a shipped subject use `canon subject move \-\-to verifying`.
77
77
  .SH VERSION
78
- v0.46.0
78
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-change 1 "change 0.46.0"
3
+ .TH canon-change 1 "change 0.48.0"
4
4
  .SH NAME
5
5
  canon\-change \- Write a plan change (.canon/changes/<slug>/brief.md) and adopt it into a subject; a human can defer, drop or reopen it
6
6
  .SH SYNOPSIS
@@ -56,4 +56,4 @@ role is refused (ACTOR_DENIED) unless it relays the human\*(Aqs explicit answer
56
56
  (deferred or dropped) change is no longer required by `gate check`, `status` or the ship guard, and the
57
57
  scenarios only it made are set aside; nothing is deleted. A shipped change cannot be closed.
58
58
  .SH VERSION
59
- v0.46.0
59
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-completion 1 "completion 0.46.0"
3
+ .TH canon-completion 1 "completion 0.48.0"
4
4
  .SH NAME
5
5
  canon\-completion \- Write the shell completion script for canon (bash, zsh or fish)
6
6
  .SH SYNOPSIS
@@ -57,4 +57,4 @@ Examples:
57
57
 
58
58
  The script is generated from the command tree, so it completes exactly what the parser accepts. It needs no repo and no network.
59
59
  .SH VERSION
60
- v0.46.0
60
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-context-pack-add 1 "add 0.46.0"
3
+ .TH canon-context-pack-add 1 "add 0.48.0"
4
4
  .SH NAME
5
5
  canon\-context\-pack\-add \- Create an immutable context pack from a repository\-local JSON manifest
6
6
  .SH SYNOPSIS
@@ -44,4 +44,4 @@ Print help
44
44
  \fB\-V\fR, \fB\-\-version\fR
45
45
  Print version
46
46
  .SH VERSION
47
- v0.46.0
47
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-context-pack-show 1 "show 0.46.0"
3
+ .TH canon-context-pack-show 1 "show 0.48.0"
4
4
  .SH NAME
5
5
  canon\-context\-pack\-show \- Show a context pack after verifying its manifest and content objects
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print version
41
41
  <\fIPACK_ID\fR>
42
42
  Context pack id (sha256:<64 hex digits>)
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-context-pack-verify 1 "verify 0.46.0"
3
+ .TH canon-context-pack-verify 1 "verify 0.48.0"
4
4
  .SH NAME
5
5
  canon\-context\-pack\-verify \- Verify a context pack\*(Aqs manifest and immutable content objects
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print version
41
41
  <\fIPACK_ID\fR>
42
42
  Context pack id (sha256:<64 hex digits>)
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-context-pack 1 "context-pack 0.46.0"
3
+ .TH canon-context-pack 1 "context-pack 0.48.0"
4
4
  .SH NAME
5
5
  canon\-context\-pack \- Create, inspect, and verify reproducible context packs
6
6
  .SH SYNOPSIS
@@ -47,4 +47,4 @@ Examples:
47
47
  canon context\-pack show sha256:<pack\-digest> \-\-repo . \-\-json
48
48
  canon context\-pack verify sha256:<pack\-digest>
49
49
  .SH VERSION
50
- v0.46.0
50
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-context 1 "context 0.46.0"
3
+ .TH canon-context 1 "context 0.48.0"
4
4
  .SH NAME
5
5
  canon\-context \- Show what you can author here: record kinds, fields, enums, policies
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-dashboard 1 "dashboard 0.46.0"
3
+ .TH canon-dashboard 1 "dashboard 0.48.0"
4
4
  .SH NAME
5
5
  canon\-dashboard \- Serve the local status dashboard
6
6
  .SH SYNOPSIS
@@ -47,4 +47,4 @@ Print help
47
47
  \fB\-V\fR, \fB\-\-version\fR
48
48
  Print version
49
49
  .SH VERSION
50
- v0.46.0
50
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-demo-init 1 "init 0.46.0"
3
+ .TH canon-demo-init 1 "init 0.48.0"
4
4
  .SH NAME
5
5
  canon\-demo\-init \- Scaffold the demo repo (gate starts RED)
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-demo-review 1 "review 0.46.0"
3
+ .TH canon-demo-review 1 "review 0.48.0"
4
4
  .SH NAME
5
5
  canon\-demo\-review \- Record the missing reviewer evidence (gate turns GREEN)
6
6
  .SH SYNOPSIS
@@ -41,4 +41,4 @@ Print help
41
41
  \fB\-V\fR, \fB\-\-version\fR
42
42
  Print version
43
43
  .SH VERSION
44
- v0.46.0
44
+ v0.48.0
package/man/canon-demo.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-demo 1 "demo 0.46.0"
3
+ .TH canon-demo 1 "demo 0.48.0"
4
4
  .SH NAME
5
5
  canon\-demo \- Try the evidence loop end\-to\-end in a throwaway demo repo
6
6
  .SH SYNOPSIS
@@ -44,4 +44,4 @@ Examples:
44
44
  canon gate check # RED
45
45
  canon demo review && canon gate check # GREEN
46
46
  .SH VERSION
47
- v0.46.0
47
+ v0.48.0
@@ -1,6 +1,6 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-dispatch-begin 1 "begin 0.46.0"
3
+ .TH canon-dispatch-begin 1 "begin 0.48.0"
4
4
  .SH NAME
5
5
  canon\-dispatch\-begin \- Mint a Run manifest with retrieved guidance and context/policy lineage
6
6
  .SH SYNOPSIS
@@ -77,4 +77,4 @@ Print help
77
77
  \fB\-V\fR, \fB\-\-version\fR
78
78
  Print version
79
79
  .SH VERSION
80
- v0.46.0
80
+ v0.48.0