@journeykit/canon 0.34.0 → 0.36.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 (126) hide show
  1. package/dist/skills/SKILL.src.md +47 -30
  2. package/dist/skills/reference/canon-artifact-ingest.md +6 -3
  3. package/dist/skills/reference/canon-authoring.md +9 -5
  4. package/dist/skills/reference/canon-context.md +6 -3
  5. package/dist/skills/reference/canon-fmt.md +2 -1
  6. package/dist/skills/reference/canon-gate.md +29 -21
  7. package/dist/skills/reference/canon-inventory.md +16 -11
  8. package/dist/skills/reference/canon-plan-import.md +6 -3
  9. package/dist/skills/reference/canon-plugins.md +12 -6
  10. package/dist/skills/reference/canon-policy.md +3 -3
  11. package/dist/skills/reference/canon-report-dashboard.md +11 -8
  12. package/dist/skills/reference/canon-review.md +8 -7
  13. package/dist/skills/reference/canon-session-ingest.md +12 -6
  14. package/dist/skills/reference/canon-storage.md +47 -17
  15. package/dist/skills/reference/canon-subject.md +45 -35
  16. package/dist/skills/reference/role-implementer.md +33 -33
  17. package/dist/skills/reference/role-orchestrator.md +83 -77
  18. package/dist/skills/reference/role-planner.md +28 -28
  19. package/dist/skills/reference/role-reviewer.md +29 -29
  20. package/man/canon-adapter-authorize.1 +2 -2
  21. package/man/canon-adapter-validate.1 +2 -2
  22. package/man/canon-adapter.1 +2 -2
  23. package/man/canon-artifacts-move.1 +6 -6
  24. package/man/canon-artifacts-store.1 +2 -2
  25. package/man/canon-artifacts-verify.1 +2 -2
  26. package/man/canon-artifacts.1 +2 -2
  27. package/man/canon-brief-approve.1 +5 -4
  28. package/man/canon-brief-check.1 +2 -2
  29. package/man/canon-brief-show.1 +2 -2
  30. package/man/canon-brief.1 +2 -2
  31. package/man/canon-change-new.1 +2 -2
  32. package/man/canon-change.1 +2 -2
  33. package/man/canon-completion.1 +2 -2
  34. package/man/canon-context-pack-add.1 +2 -2
  35. package/man/canon-context-pack-show.1 +2 -2
  36. package/man/canon-context-pack-verify.1 +2 -2
  37. package/man/canon-context-pack.1 +2 -2
  38. package/man/canon-context.1 +2 -2
  39. package/man/canon-dashboard.1 +2 -2
  40. package/man/canon-demo-init.1 +2 -2
  41. package/man/canon-demo-review.1 +2 -2
  42. package/man/canon-demo.1 +2 -2
  43. package/man/canon-dispatch-begin.1 +2 -2
  44. package/man/canon-dispatch-diff.1 +2 -2
  45. package/man/canon-dispatch-end.1 +2 -2
  46. package/man/canon-dispatch.1 +2 -2
  47. package/man/canon-divergence-accept.1 +2 -2
  48. package/man/canon-divergence-add.1 +3 -3
  49. package/man/canon-divergence-defer.1 +3 -3
  50. package/man/canon-divergence-list.1 +2 -2
  51. package/man/canon-divergence-resolve.1 +3 -3
  52. package/man/canon-divergence.1 +2 -2
  53. package/man/canon-evidence-add.1 +5 -5
  54. package/man/canon-evidence-approval-payload.1 +3 -3
  55. package/man/canon-evidence-audit.1 +4 -4
  56. package/man/canon-evidence.1 +2 -2
  57. package/man/canon-export.1 +2 -2
  58. package/man/canon-feature-new.1 +2 -2
  59. package/man/canon-feature.1 +2 -2
  60. package/man/canon-finding-add.1 +3 -3
  61. package/man/canon-finding-close.1 +2 -2
  62. package/man/canon-finding-list.1 +2 -2
  63. package/man/canon-finding.1 +2 -2
  64. package/man/canon-format.1 +2 -2
  65. package/man/canon-gate-check.1 +2 -2
  66. package/man/canon-gate-install-hooks.1 +2 -2
  67. package/man/canon-gate-promote.1 +2 -2
  68. package/man/canon-gate.1 +2 -2
  69. package/man/canon-ingest-plans.1 +2 -2
  70. package/man/canon-ingest-records.1 +2 -2
  71. package/man/canon-ingest-sessions.1 +2 -2
  72. package/man/canon-ingest.1 +2 -2
  73. package/man/canon-init.1 +7 -7
  74. package/man/canon-inventory-sync.1 +2 -2
  75. package/man/canon-inventory.1 +2 -2
  76. package/man/canon-ledger-compact.1 +5 -5
  77. package/man/canon-ledger.1 +3 -3
  78. package/man/canon-migrate.1 +8 -8
  79. package/man/canon-plugin-sync.1 +2 -2
  80. package/man/canon-plugin.1 +2 -2
  81. package/man/canon-policy-approve.1 +2 -2
  82. package/man/canon-policy-show.1 +2 -2
  83. package/man/canon-policy.1 +2 -2
  84. package/man/canon-prompt-add.1 +2 -2
  85. package/man/canon-prompt-show.1 +2 -2
  86. package/man/canon-prompt.1 +2 -2
  87. package/man/canon-purge.1 +7 -7
  88. package/man/canon-query.1 +2 -2
  89. package/man/canon-regime-show.1 +2 -2
  90. package/man/canon-regime.1 +2 -2
  91. package/man/canon-report-build.1 +2 -2
  92. package/man/canon-report-check.1 +2 -2
  93. package/man/canon-report-snapshot.1 +2 -2
  94. package/man/canon-report.1 +2 -2
  95. package/man/canon-retrieve.1 +2 -2
  96. package/man/canon-review-change.1 +3 -3
  97. package/man/canon-review-scenario.1 +3 -3
  98. package/man/canon-review.1 +2 -2
  99. package/man/canon-scenario-new.1 +2 -2
  100. package/man/canon-scenario.1 +2 -2
  101. package/man/canon-schema.1 +10 -4
  102. package/man/canon-search.1 +2 -2
  103. package/man/canon-selftest.1 +2 -2
  104. package/man/canon-skills-check.1 +2 -2
  105. package/man/canon-skills-doctor.1 +2 -2
  106. package/man/canon-skills-install.1 +2 -2
  107. package/man/canon-skills-show.1 +5 -5
  108. package/man/canon-skills.1 +2 -2
  109. package/man/canon-status.1 +2 -2
  110. package/man/canon-strategy-approval-payload.1 +2 -2
  111. package/man/canon-strategy-promote.1 +2 -2
  112. package/man/canon-strategy-rollback.1 +2 -2
  113. package/man/canon-strategy.1 +2 -2
  114. package/man/canon-subject-adopt.1 +2 -2
  115. package/man/canon-subject-move.1 +2 -2
  116. package/man/canon-subject-new.1 +2 -2
  117. package/man/canon-subject-show.1 +2 -2
  118. package/man/canon-subject-unadopt.1 +3 -3
  119. package/man/canon-subject.1 +2 -2
  120. package/man/canon-task-done.1 +2 -2
  121. package/man/canon-task.1 +2 -2
  122. package/man/canon-tier-age.1 +5 -5
  123. package/man/canon-tier.1 +2 -2
  124. package/man/canon-trace.1 +2 -2
  125. package/man/canon.1 +3 -3
  126. package/package.json +4 -4
@@ -10,7 +10,7 @@ build nothing meanwhile. The only waiver is `--override-reason
10
10
  the human's answer: canon records it on the evidence, echoes it in
11
11
  `data.overrides[]` and lists it in `status` for the human. Never use it to
12
12
  skip the wait yourself. `brief approve`, `policy approve` and `divergence
13
- accept` are the human's; they refuse you (`HUMAN_ONLY`) unless they record an
13
+ accept` are the human's; they refuse you (`ACTOR_DENIED`) unless they record an
14
14
  answer the human gave in the conversation (`--relayed-via`, the planner's
15
15
  procedure: `canon skills show role-planner`). You never run them without that
16
16
  answer, and never remove or unset your role (`env -u CANON_ROLE`, dropping
@@ -25,194 +25,194 @@ in your ids. Use only the options on a line; never guess one. Ask `canon schema
25
25
  <command> --json` only for a leaf this block does not list, or after a `USAGE` refusal.
26
26
 
27
27
  <!-- canon:generated commands-implementer begin -->
28
- Every leaf takes `--as <ROLE>` and `--json`; `--repo <DIR>` too, except `completion`, `schema`, `skills show`. `--input <JSON|FILE|->` runs a leaf from one JSON document (an array is a batch) and is only on the lines ending `[--input]`. Its document keys are the option names in camelCase, singular even when the option repeats (the value is then an array), and `operands` holds the operands. `--fields <FIELDS>` is a comma list of the paths `canon schema <COMMAND> --json` declares under `outputs[].fields.paths`; a path is the record's own key, spelled as the answer spells it.
29
- In a syntax line `<X>` is a value, `[x]` optional, `a | b` a choice, `(a | b)` exactly one is required, `[--x <V>]*` may repeat, `<X>+` is one or more, `[--a --b <V>]` go together. An option that is not on the line does not exist: it is refused (`USAGE`).
28
+ Every leaf takes `--as <ROLE>` and `--json`; `--repo <DIR>` too, except `completion`, `schema`, `skills show`. `--input <JSON|FILE|->` runs a leaf from one JSON document (an array is a batch) and is only on the lines ending `[--input]`. Its document keys are the option names in camelCase, singular even when the option repeats (the value is then an array; none is the key left out, `[]` is refused), and `operands` holds the operands. `--fields <FIELDS>` is a comma list of the paths `canon schema <COMMAND> --json` declares under `outputs[].fields.paths`; a path is the record's own key, spelled as the answer spells it.
29
+ A `usage:` line shows the syntax and is not itself a command to run (the runnable example under it is): `<X>` is a value, `[x]` optional, `a | b` a choice, `(a | b)` exactly one is required, `[--x <V>]*` may repeat, `<X>+` is one or more, `[--a --b <V>]` go together. An option that is not on the line does not exist: it is refused (`USAGE`).
30
30
 
31
31
  ```text
32
32
  # Write the shell completion script for canon (bash, zsh or fish)
33
- canon completion <SHELL>
33
+ usage: canon completion <SHELL>
34
34
  ```
35
35
  ```bash
36
36
  canon completion zsh --json
37
37
  ```
38
38
  ```text
39
39
  # Show what you can author here: record kinds, fields, enums, policies
40
- canon context [--fields <FIELDS>]
40
+ usage: canon context [--fields <FIELDS>]
41
41
  ```
42
42
  ```bash
43
43
  canon context --json
44
44
  ```
45
45
  ```text
46
46
  # Create an immutable context pack from a repository-local JSON manifest
47
- canon context-pack add --manifest <FILE> [--input]
47
+ usage: canon context-pack add --manifest <FILE> [--input]
48
48
  ```
49
49
  ```bash
50
50
  canon context-pack add --manifest .canon/context-manifest.json --json
51
51
  ```
52
52
  ```text
53
53
  # Show a context pack after verifying its manifest and content objects
54
- canon context-pack show <PACK_ID>
54
+ usage: canon context-pack show <PACK_ID>
55
55
  ```
56
56
  ```bash
57
57
  canon context-pack show sha256:0000000000000000000000000000000000000000000000000000000000000000 --json
58
58
  ```
59
59
  ```text
60
60
  # Verify a context pack's manifest and immutable content objects
61
- canon context-pack verify <PACK_ID>
61
+ usage: canon context-pack verify <PACK_ID>
62
62
  ```
63
63
  ```bash
64
64
  canon context-pack verify sha256:0000000000000000000000000000000000000000000000000000000000000000 --json
65
65
  ```
66
66
  ```text
67
67
  # Add a divergence candidate, staged with no run_seq yet
68
- canon divergence add <SCENARIO_ID> --actor <ACTOR_ID> [--project <PROJECT_ID>] [--rev <REV>] [--state <open|still-divergent|resolved|deferred>] [--reason <TEXT>] [--expiry <TIMESTAMP>] [--round <N>] [--session <SESSION_ID>] [--detail <TEXT>] [--role <ROLE>] [--promote | --no-promote] [--input]
68
+ usage: canon divergence add <SCENARIO_ID> --actor <ACTOR_ID> [--project <PROJECT_ID>] [--rev <REV>] [--state <open|still-divergent|resolved|deferred>] [--reason <TEXT>] [--expiry <TIMESTAMP>] [--round <N>] [--session <SESSION_ID>] [--detail <TEXT>] [--role <ROLE>] [--promote | --no-promote] [--input]
69
69
  ```
70
70
  ```bash
71
71
  canon divergence add auth.login.01 --actor alice --role reviewer --json
72
72
  ```
73
73
  ```text
74
74
  # Directly record a deferred divergence (requires --reason/--expiry)
75
- canon divergence defer <SCENARIO_ID> --actor <ACTOR_ID> --reason <TEXT> --expiry <TIMESTAMP> [--project <PROJECT_ID>] [--rev <REV>] [--round <N>] [--session <SESSION_ID>] [--role <ROLE>] [--input]
75
+ usage: canon divergence defer <SCENARIO_ID> --actor <ACTOR_ID> --reason <TEXT> --expiry <TIMESTAMP> [--project <PROJECT_ID>] [--rev <REV>] [--round <N>] [--session <SESSION_ID>] [--role <ROLE>] [--input]
76
76
  ```
77
77
  ```bash
78
78
  canon divergence defer auth.login.01 --actor alice --reason "waiting on the vendor" --expiry 2030-01-01T00:00:00Z --role reviewer --json
79
79
  ```
80
80
  ```text
81
81
  # List the current divergence burn-down state
82
- canon divergence list [--as-of <TIMESTAMP>] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
82
+ usage: canon divergence list [--as-of <TIMESTAMP>] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
83
83
  ```
84
84
  ```bash
85
85
  canon divergence list --as-of 2030-01-01 --json
86
86
  ```
87
87
  ```text
88
88
  # Directly record a resolved divergence
89
- canon divergence resolve <SCENARIO_ID> --actor <ACTOR_ID> [--project <PROJECT_ID>] [--rev <REV>] [--round <N>] [--session <SESSION_ID>] [--detail <TEXT>] [--role <ROLE>] [--input]
89
+ usage: canon divergence resolve <SCENARIO_ID> --actor <ACTOR_ID> [--project <PROJECT_ID>] [--rev <REV>] [--round <N>] [--session <SESSION_ID>] [--detail <TEXT>] [--role <ROLE>] [--input]
90
90
  ```
91
91
  ```bash
92
92
  canon divergence resolve auth.login.01 --actor alice --role reviewer --json
93
93
  ```
94
94
  ```text
95
95
  # Record one attributed EvidenceRecord for a task or scenario
96
- canon evidence add [--task <TASK_ID> | --all-scenarios] [--project <PROJECT_ID>] [--class <CLASS>] [--ref <TEXT>] [--verdict <faithful|not-applicable|divergent>] [--summary <TEXT>] [--command-result <TEXT> (with --summary)] [--scenario <SCENARIO_ID> | --all-scenarios] [--run <RUN_ID>] [--surface-ref <PATH_OR_EFFECT>]* [--actor <ACTOR_ID>] [--role <ROLE>] [--session <SESSION_ID>] [--approver <NAME> | --all-scenarios] [--approval-role <human> | --all-scenarios] [--signature-file <FILE> | --all-scenarios] [--approval-at <TIMESTAMP> | --all-scenarios] [--rev <REV>] [--artifact <PATH>]* [--report <FORMAT:PATH>]* [--report-case <NAME> | --all-scenarios]* [--max-artifact-mib <N>] [--override-reason <TEXT>] [--promote | --no-promote] [--input]
96
+ usage: canon evidence add [--task <TASK_ID> | --all-scenarios] [--project <PROJECT_ID>] [--class <CLASS>] [--ref <TEXT>] [--verdict <faithful|not-applicable|divergent>] [--summary <TEXT>] [--command-result <TEXT> (with --summary)] [--scenario <SCENARIO_ID> | --all-scenarios] [--run <RUN_ID>] [--surface-ref <PATH_OR_EFFECT>]* [--actor <ACTOR_ID>] [--role <ROLE>] [--session <SESSION_ID>] [--approver <NAME> | --all-scenarios] [--approval-role <human> | --all-scenarios] [--signature-file <FILE> | --all-scenarios] [--approval-at <TIMESTAMP> | --all-scenarios] [--rev <REV>] [--artifact <PATH>]* [--report <FORMAT:PATH>]* [--report-case <NAME> | --all-scenarios]* [--max-artifact-mib <N>] [--override-reason <TEXT>] [--promote | --no-promote] [--input]
97
97
  ```
98
98
  ```bash
99
99
  canon evidence add --scenario auth.login.01 --class test-run --ref "npm test" --role implementer --json
100
100
  ```
101
101
  ```text
102
102
  # Emit exact bytes for external `ssh-keygen -Y sign -n canon-approval-v1`
103
- canon evidence approval-payload --approver <NAME> --approval-at <TIMESTAMP> [--task <TASK_ID>] [--project <PROJECT_ID>] [--scenario <SCENARIO_ID>] [--run <RUN_ID>] [--rev <REV>] [--surface-ref <PATH_OR_EFFECT>]*
103
+ usage: canon evidence approval-payload --approver <NAME> --approval-at <TIMESTAMP> [--task <TASK_ID>] [--project <PROJECT_ID>] [--scenario <SCENARIO_ID>] [--run <RUN_ID>] [--rev <REV>] [--surface-ref <PATH_OR_EFFECT>]*
104
104
  ```
105
105
  ```bash
106
106
  canon evidence approval-payload --scenario auth.login.01 --project root --approver alice --approval-at 2030-01-01T00:00:00Z --json
107
107
  ```
108
108
  ```text
109
109
  # Record an external evaluator's re-audit of one scenario (class `audit`; the verdict follows --audit-result; canon never runs the evaluator)
110
- canon evidence audit <SCENARIO_ID> --ref <TEXT> --evaluator <ID> --evaluator-version <TEXT> --evaluator-digest <DIGEST> --audit-result <confirmed|refuted|indeterminate> [--project <PROJECT_ID>] [--summary <TEXT>] [--command-result <TEXT> (with --summary)] [--run <RUN_ID>] [--actor <ACTOR_ID>] [--role <ROLE>] [--session <SESSION_ID>] [--rev <REV>] [--artifact <PATH>]* [--report <FORMAT:PATH>]* [--report-case <NAME> (with --report)]* [--max-artifact-mib <N>] [--override-reason <TEXT>] [--promote | --no-promote] [--input]
110
+ usage: canon evidence audit <SCENARIO_ID> --ref <TEXT> --evaluator <ID> --evaluator-version <TEXT> --evaluator-digest <DIGEST> --audit-result <confirmed|refuted|indeterminate> [--project <PROJECT_ID>] [--summary <TEXT>] [--command-result <TEXT> (with --summary)] [--run <RUN_ID>] [--actor <ACTOR_ID>] [--role <ROLE>] [--session <SESSION_ID>] [--rev <REV>] [--artifact <PATH>]* [--report <FORMAT:PATH>]* [--report-case <NAME> (with --report)]* [--max-artifact-mib <N>] [--override-reason <TEXT>] [--promote | --no-promote] [--input]
111
111
  ```
112
112
  ```bash
113
113
  canon evidence audit auth.login.01 --ref audit-report.json --evaluator eval-1 --evaluator-version 2.1 --evaluator-digest 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef --audit-result confirmed --role implementer --json
114
114
  ```
115
115
  ```text
116
116
  # Create a fresh .feature file for a new area.surface
117
- canon feature new <SURFACE> --title <TEXT> [--actor <ACTOR_ID>] [--session <SESSION_ID>] [--project <PROJECT_ID>] [--input]
117
+ usage: canon feature new <SURFACE> --title <TEXT> [--actor <ACTOR_ID>] [--session <SESSION_ID>] [--project <PROJECT_ID>] [--input]
118
118
  ```
119
119
  ```bash
120
120
  canon feature new billing.invoice --title Invoices --json
121
121
  ```
122
122
  ```text
123
123
  # List a change's committed findings at their latest version
124
- canon finding list --change <CHANGE_ID> [--open] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
124
+ usage: canon finding list --change <CHANGE_ID> [--open] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
125
125
  ```
126
126
  ```bash
127
127
  canon finding list --change add-login --json
128
128
  ```
129
129
  ```text
130
130
  # Validate a spec/artifact corpus against canon's format
131
- canon format [<DIR>]
131
+ usage: canon format [<DIR>]
132
132
  ```
133
133
  ```bash
134
134
  canon format .canon/specs --json
135
135
  ```
136
136
  ```text
137
137
  # Run the coverage/ledger/staleness/trust checks (0 clean, 1 red, 2 usage)
138
- canon gate check [--release]
138
+ usage: canon gate check [--release]
139
139
  ```
140
140
  ```bash
141
141
  canon gate check --json
142
142
  ```
143
143
  ```text
144
144
  # Promote staged records (evidence, findings, divergences) to the committed ledger
145
- canon gate promote [--kind <evidence|finding|divergence>] [--dry-run] [--input]
145
+ usage: canon gate promote [--kind <evidence|finding|divergence>] [--dry-run] [--input]
146
146
  ```
147
147
  ```bash
148
148
  canon gate promote --kind evidence --json
149
149
  ```
150
150
  ```text
151
151
  # Validate each spec root, then materialize scenario index records
152
- canon inventory sync [--spec-root <DIR>] [--dry-run] [--input]
152
+ usage: canon inventory sync [--spec-root <DIR>] [--dry-run] [--input]
153
153
  ```
154
154
  ```bash
155
155
  canon inventory sync --json
156
156
  ```
157
157
  ```text
158
158
  # Read stored records across every storage tier
159
- canon query --kind <change|task|scenario|session|run|event|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding> [--since <TIMESTAMP>] [--plugin <PLUGIN_ID> | --history] [--change <CHANGE_ID>] [--status <STATUS>] [--domain <NAME>] [--include-sensitive] [--limit <N> | --all] [--cursor <CURSOR>] [--fields <FIELDS>]
159
+ usage: canon query --kind <change|task|scenario|session|run|event|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding> [--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
162
162
  canon query --kind evidence --json
163
163
  ```
164
164
  ```text
165
165
  # Fetch role-scoped strategy guidance
166
- canon retrieve --for-role <ROLE> (--regime <KEY> | --domain <NAME>) [--subject <SUBJECT_ID> (with --domain)] [--limit <N>]
166
+ usage: canon retrieve --for-role <ROLE> (--regime <KEY> | --domain <NAME>) [--subject <SUBJECT_ID> (with --domain)] [--limit <N>]
167
167
  ```
168
168
  ```bash
169
169
  canon retrieve --for-role reviewer --domain dev --limit 20 --json
170
170
  ```
171
171
  ```text
172
172
  # Append a tagged scenario stub to its .feature file (created if missing); many at once with `--input`
173
- canon scenario new <SCENARIO_ID> --title <TEXT> [--subject <SUBJECT_ID>] [--lane <NAME>] [--case <NAME>] [--flow <FLOW_ID>] [--change <CHANGE_ID> (with --flow)] [--actor <ACTOR_ID>] [--session <SESSION_ID>] [--feature <FILE>] [--project <PROJECT_ID>] [--input]
173
+ usage: canon scenario new <SCENARIO_ID> --title <TEXT> [--subject <SUBJECT_ID>] [--lane <NAME>] [--case <NAME>] [--flow <FLOW_ID>] [--change <CHANGE_ID> (with --flow)] [--actor <ACTOR_ID>] [--session <SESSION_ID>] [--feature <FILE>] [--project <PROJECT_ID>] [--input]
174
174
  ```
175
175
  ```bash
176
176
  canon scenario new auth.login.02 --title "Sign out" --feature .canon/specs/kind=feature/area=auth/login.feature --json
177
177
  ```
178
178
  ```text
179
179
  # Describe canon's own commands
180
- canon schema [<PATH>]* [--errors | --error <CODE> | --warning <CODE> | --warnings]
180
+ usage: canon schema [<PATH>]* [--schemas | --error <CODE> | --errors | --warning <CODE> | --warnings]
181
181
  ```
182
182
  ```bash
183
183
  canon schema evidence add --json
184
184
  ```
185
185
  ```text
186
186
  # Search records, brief sections and scenario text, with each hit's neighbors in the record graph
187
- canon search <TEXT> [--kind <change|task|scenario|session|run|event|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|brief>]* [--expand <N>] [--limit <N>]
187
+ usage: canon search <TEXT> [--kind <change|task|scenario|session|run|event|handoff|review|divergence|trajectory|strategy_item|evidence|subject|finding|brief>]* [--expand <N>] [--limit <N>]
188
188
  ```
189
189
  ```bash
190
190
  canon search timeout --kind finding --json
191
191
  ```
192
192
  ```text
193
193
  # Print a guide built into this binary (markdown on stdout); the installed SKILL.md is a stub that points here
194
- canon skills show <NAME> [--full]
194
+ usage: canon skills show [<NAME>] [--full]
195
195
  ```
196
196
  ```bash
197
197
  canon skills show canon --full --json
198
198
  ```
199
199
  ```text
200
200
  # Show where this repo stands: subjects by status, their gaps, and the next commands
201
- canon status [--fields <FIELDS>]
201
+ usage: canon status [--fields <FIELDS>]
202
202
  ```
203
203
  ```bash
204
204
  canon status --json
205
205
  ```
206
206
  ```text
207
207
  # Flip one task checkbox, gated on real evidence (fails closed)
208
- canon task done <TASK_ID> [--input]
208
+ usage: canon task done <TASK_ID> [--input]
209
209
  ```
210
210
  ```bash
211
211
  canon task done add-login#1 --json
212
212
  ```
213
213
  ```text
214
214
  # Follow a finding's review loop in time order: review, finding, fix, re-review, evidence
215
- canon trace <ID>
215
+ usage: canon trace <ID>
216
216
  ```
217
217
  ```bash
218
218
  canon trace add-login_1_1 --json
@@ -224,7 +224,7 @@ After the first `status`, follow `meta.next` of each write; do not call
224
224
  the commit it is about from `--rev` (default `HEAD`, any git revision). You
225
225
  need not commit first: code that is not committed yet is recorded with its
226
226
  `codeTree` and `worktreeDirty: true`, never refused. Outside git, or in a
227
- repo with no commits, a write that needs a commit refuses `NO_COMMIT`.
227
+ repo with no commits, a write that needs a commit refuses `COMMIT_REQUIRED`.
228
228
 
229
229
  The forms you reach for most (the story's ids; swap in yours):
230
230
 
@@ -252,8 +252,8 @@ canon evidence add --input '[{"scenario":"auth.login.01","class":"test-run","ref
252
252
  JSON array: inline, a file or `-` for stdin, one object per scenario whose
253
253
  keys are the option names in camelCase plus `operands` (the scenario id);
254
254
  every element is validated before the first write, so a bad element
255
- writes nothing and `error.field` names it (`/items/1/case`).
256
- `canon schema scenario new --json` shows `input`: the schema of one document and a complete `example`.
255
+ writes nothing and `error.field` names it (`/1/case`).
256
+ `canon schema scenario new --json` shows `input` (its limits and a complete `example`); `canon schema scenario new --schemas --json` gives `Input`, the schema of one document.
257
257
  (`scenario new --from` is gone.) When the gate asks for a missing case
258
258
  (`require_cases`), add a new scenario; never retag an existing one. Every
259
259
  bug fix adds or extends a scenario. Canon indexes added, edited or deleted