@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.
Files changed (144) hide show
  1. package/dist/skills/SKILL.src.md +142 -130
  2. package/dist/skills/reference/brief-align.md +8 -8
  3. package/dist/skills/reference/brief-clarify.md +6 -6
  4. package/dist/skills/reference/brief-harden.md +5 -5
  5. package/dist/skills/reference/brief-polish.md +13 -13
  6. package/dist/skills/reference/brief-shape.md +9 -9
  7. package/dist/skills/reference/canon-artifact-ingest.md +7 -7
  8. package/dist/skills/reference/canon-authoring.md +11 -11
  9. package/dist/skills/reference/canon-context.md +13 -13
  10. package/dist/skills/reference/canon-fmt.md +1 -1
  11. package/dist/skills/reference/canon-gate.md +52 -53
  12. package/dist/skills/reference/canon-inventory.md +10 -11
  13. package/dist/skills/reference/canon-learn.md +13 -14
  14. package/dist/skills/reference/canon-plan-import.md +15 -15
  15. package/dist/skills/reference/canon-plugins.md +8 -8
  16. package/dist/skills/reference/canon-policy.md +11 -11
  17. package/dist/skills/reference/canon-report-dashboard.md +6 -7
  18. package/dist/skills/reference/canon-retrieve.md +6 -6
  19. package/dist/skills/reference/canon-review.md +52 -53
  20. package/dist/skills/reference/canon-storage.md +16 -19
  21. package/dist/skills/reference/canon-subject.md +120 -127
  22. package/dist/skills/reference/role-implementer.md +90 -76
  23. package/dist/skills/reference/role-orchestrator.md +196 -172
  24. package/dist/skills/reference/role-planner.md +101 -97
  25. package/dist/skills/reference/role-reviewer.md +91 -85
  26. package/dist/skills/scripts/canon-retrieve-pre-dispatch.sh +5 -5
  27. package/man/canon-adapter-authorize.1 +11 -8
  28. package/man/canon-adapter-validate.1 +15 -8
  29. package/man/canon-artifacts-prune.1 +11 -11
  30. package/man/canon-artifacts-store.1 +8 -8
  31. package/man/canon-artifacts-verify.1 +7 -7
  32. package/man/canon-artifacts.1 +10 -4
  33. package/man/{canon-brief-approve.1 → canon-briefs-approve.1} +20 -17
  34. package/man/{canon-brief-check.1 → canon-briefs-check.1} +9 -6
  35. package/man/{canon-brief-show.1 → canon-briefs-get.1} +14 -11
  36. package/man/canon-briefs.1 +59 -0
  37. package/man/{canon-change-new.1 → canon-changes-create.1} +14 -14
  38. package/man/{canon-change-defer.1 → canon-changes-defer.1} +19 -16
  39. package/man/{canon-change-drop.1 → canon-changes-drop.1} +19 -16
  40. package/man/{canon-change-reopen.1 → canon-changes-reopen.1} +20 -17
  41. package/man/canon-changes.1 +65 -0
  42. package/man/canon-completion.1 +8 -5
  43. package/man/{canon-context-pack-add.1 → canon-context-packs-create.1} +9 -9
  44. package/man/{canon-context-pack-show.1 → canon-context-packs-get.1} +10 -7
  45. package/man/{canon-context-pack-verify.1 → canon-context-packs-verify.1} +10 -7
  46. package/man/canon-context-packs.1 +56 -0
  47. package/man/canon-context.1 +9 -6
  48. package/man/canon-dashboard.1 +10 -10
  49. package/man/canon-demo-init.1 +12 -7
  50. package/man/canon-demo-review.1 +7 -7
  51. package/man/{canon-divergence-accept.1 → canon-divergences-accept.1} +12 -12
  52. package/man/{canon-divergence-add.1 → canon-divergences-add.1} +12 -12
  53. package/man/{canon-divergence-defer.1 → canon-divergences-defer.1} +12 -12
  54. package/man/{canon-divergence-list.1 → canon-divergences-list.1} +10 -7
  55. package/man/{canon-divergence-resolve.1 → canon-divergences-resolve.1} +12 -12
  56. package/man/{canon-divergence.1 → canon-divergences.1} +16 -10
  57. package/man/canon-evidence-add-all.1 +117 -0
  58. package/man/canon-evidence-add.1 +16 -22
  59. package/man/canon-evidence-approval-payload.1 +10 -7
  60. package/man/canon-evidence-audit.1 +11 -11
  61. package/man/canon-evidence.1 +15 -5
  62. package/man/canon-export.1 +11 -11
  63. package/man/{canon-feature-new.1 → canon-features-create.1} +14 -14
  64. package/man/{canon-feature.1 → canon-features.1} +12 -6
  65. package/man/{canon-finding-close.1 → canon-findings-close.1} +17 -23
  66. package/man/{canon-finding-add.1 → canon-findings-create.1} +13 -13
  67. package/man/{canon-finding-list.1 → canon-findings-list.1} +11 -8
  68. package/man/{canon-finding.1 → canon-findings.1} +18 -20
  69. package/man/canon-format.1 +7 -4
  70. package/man/canon-gate-check.1 +9 -6
  71. package/man/canon-gate-install-hooks.1 +12 -12
  72. package/man/canon-gate-promote.1 +8 -8
  73. package/man/canon-gate.1 +11 -5
  74. package/man/canon-ingest-plans.1 +10 -10
  75. package/man/canon-ingest-records.1 +13 -13
  76. package/man/canon-init-check.1 +48 -0
  77. package/man/canon-init.1 +10 -13
  78. package/man/canon-inventory-sync.1 +8 -8
  79. package/man/canon-inventory.1 +10 -4
  80. package/man/canon-ledger-compact.1 +10 -10
  81. package/man/canon-ledger.1 +10 -4
  82. package/man/canon-migrate-revert.1 +58 -0
  83. package/man/canon-migrate.1 +19 -22
  84. package/man/{canon-plugin-sync.1 → canon-plugins-sync.1} +10 -10
  85. package/man/{canon-plugin.1 → canon-plugins.1} +12 -6
  86. package/man/canon-policy-approve.1 +13 -10
  87. package/man/{canon-policy-show.1 → canon-policy-get.1} +8 -5
  88. package/man/canon-policy.1 +13 -7
  89. package/man/{canon-prompt-add.1 → canon-prompts-create.1} +14 -14
  90. package/man/{canon-prompt-show.1 → canon-prompts-get.1} +10 -7
  91. package/man/canon-prompts.1 +49 -0
  92. package/man/canon-purge.1 +12 -16
  93. package/man/canon-query.1 +11 -8
  94. package/man/canon-regime-show.1 +10 -7
  95. package/man/canon-report-build.1 +4 -4
  96. package/man/canon-report-check.1 +7 -4
  97. package/man/canon-report-snapshot.1 +6 -6
  98. package/man/canon-report.1 +10 -4
  99. package/man/canon-retrieve.1 +11 -8
  100. package/man/{canon-review-brief.1 → canon-reviews-brief.1} +14 -14
  101. package/man/{canon-review-change.1 → canon-reviews-change.1} +13 -13
  102. package/man/{canon-review-scenario.1 → canon-reviews-scenario.1} +12 -12
  103. package/man/{canon-review.1 → canon-reviews.1} +16 -10
  104. package/man/{canon-dispatch-begin.1 → canon-runs-create.1} +11 -11
  105. package/man/{canon-task-done.1 → canon-runs-diff.1} +7 -10
  106. package/man/{canon-dispatch-end.1 → canon-runs-end.1} +11 -11
  107. package/man/{canon-dispatch.1 → canon-runs.1} +15 -9
  108. package/man/{canon-scenario-new.1 → canon-scenarios-create.1} +14 -14
  109. package/man/{canon-scenario.1 → canon-scenarios.1} +12 -6
  110. package/man/canon-schema.1 +22 -34
  111. package/man/canon-search.1 +15 -12
  112. package/man/canon-selftest.1 +7 -4
  113. package/man/canon-skills-check.1 +10 -7
  114. package/man/canon-skills-doctor.1 +10 -7
  115. package/man/canon-skills-get.1 +47 -0
  116. package/man/canon-skills-install.1 +10 -10
  117. package/man/canon-skills-list.1 +53 -0
  118. package/man/canon-skills.1 +16 -16
  119. package/man/canon-status.1 +10 -7
  120. package/man/{canon-strategy-approval-payload.1 → canon-strategies-approval-payload.1} +13 -10
  121. package/man/{canon-strategy-promote.1 → canon-strategies-promote.1} +12 -12
  122. package/man/{canon-strategy-rollback.1 → canon-strategies-rollback.1} +12 -12
  123. package/man/{canon-strategy.1 → canon-strategies.1} +14 -8
  124. package/man/{canon-subject-adopt.1 → canon-subjects-adopt.1} +10 -10
  125. package/man/{canon-subject-new.1 → canon-subjects-create.1} +14 -14
  126. package/man/{canon-subject-show.1 → canon-subjects-get.1} +9 -6
  127. package/man/{canon-subject-move.1 → canon-subjects-move.1} +12 -12
  128. package/man/{canon-subject-unadopt.1 → canon-subjects-unadopt.1} +12 -12
  129. package/man/{canon-subject.1 → canon-subjects.1} +16 -10
  130. package/man/canon-tasks-done.1 +50 -0
  131. package/man/{canon-task.1 → canon-tasks.1} +13 -7
  132. package/man/canon-trace.1 +8 -5
  133. package/man/canon.1 +66 -36
  134. package/package.json +5 -5
  135. package/man/canon-adapter.1 +0 -46
  136. package/man/canon-brief.1 +0 -64
  137. package/man/canon-change.1 +0 -59
  138. package/man/canon-context-pack.1 +0 -50
  139. package/man/canon-demo.1 +0 -47
  140. package/man/canon-dispatch-diff.1 +0 -41
  141. package/man/canon-ingest.1 +0 -46
  142. package/man/canon-prompt.1 +0 -43
  143. package/man/canon-regime.1 +0 -39
  144. package/man/canon-skills-show.1 +0 -102
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-subject-unadopt 1 "unadopt 0.48.0"
3
+ .TH canon-subjects-unadopt 1 "unadopt 0.49.0"
4
4
  .SH NAME
5
- canon\-subject\-unadopt \- Take a change back out of a subject (the mirror of adopt; refused for a change whose brief is approved)
5
+ canon\-subjects\-unadopt \- Take a change back out of a subject (the mirror of adopt; refused for a change whose brief is approved)
6
6
  .SH SYNOPSIS
7
- \fBcanon subject unadopt\fR [\fB\-\-as\fR] <\fB\-\-change\fR> [\fB\-\-repo\fR] [\fB\-\-dry\-run\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fISUBJECT_ID\fR>
7
+ \fBcanon subjects unadopt\fR [\fB\-\-as\fR] [\fB\-\-change\fR] [\fB\-\-json\fR] [\fB\-\-repo\fR] [\fB\-\-dry\-run\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIID\fR]
8
8
  .SH DESCRIPTION
9
9
  Take a change back out of a subject (the mirror of adopt; refused for a change whose brief is approved)
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
14
  .br
15
15
 
16
16
  .br
@@ -29,17 +29,17 @@ orchestrator
29
29
  \fB\-\-change\fR \fI<CHANGE_ID>\fR
30
30
  The change to take out of the subject
31
31
  .TP
32
+ \fB\-\-json\fR
33
+ Output JSON instead of the human\-readable form
34
+ .TP
32
35
  \fB\-\-repo\fR \fI<DIR>\fR
33
36
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
34
37
  .TP
35
38
  \fB\-\-dry\-run\fR
36
39
  Validate fully and report what would be written, without writing anything
37
40
  .TP
38
- \fB\-\-json\fR
39
- Output JSON instead of the human\-readable form
40
- .TP
41
41
  \fB\-\-input\fR \fI<JSON|FILE|\->\fR
42
- The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the option names in camelCase, `operands` an array
42
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
43
43
  .TP
44
44
  \fB\-h\fR, \fB\-\-help\fR
45
45
  Print help
@@ -47,11 +47,11 @@ Print help
47
47
  \fB\-V\fR, \fB\-\-version\fR
48
48
  Print version
49
49
  .TP
50
- <\fISUBJECT_ID\fR>
50
+ [\fIID\fR]
51
51
  The subject to take the change out of
52
52
  .SH EXTRA
53
53
  Examples:
54
- canon subject unadopt demo \-\-change add\-login
54
+ canon subjects unadopt demo \-\-change add\-login
55
55
 
56
56
  Removes the link on both sides (the subject\*(Aqs change list and the change\*(Aqs
57
57
  subject list). The change and its brief stay and can be adopted elsewhere, for
@@ -59,7 +59,7 @@ example by a proposed holding subject. Refused (SUBJECT_CONFLICT) for a
59
59
  change whose brief carries an `Approved:` line: it is the subject\*(Aqs approved
60
60
  scope, and for a change a scenario the subject owns is tagged
61
61
  `@flow:<change>.*` for (remove or retag it first). To take an approved change out
62
- of the plan, a human decides with `canon change defer` or `canon change drop`.
62
+ of the plan, a human decides with `canon changes defer` or `canon changes drop`.
63
63
  A pair that is not linked writes nothing and exits 0.
64
64
  .SH VERSION
65
- v0.48.0
65
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-subject 1 "subject 0.48.0"
3
+ .TH canon-subjects 1 "subjects 0.49.0"
4
4
  .SH NAME
5
- canon\-subject \- Create and manage subjects (durable product units)
5
+ canon\-subjects \- Create and manage subjects (durable product units)
6
6
  .SH SYNOPSIS
7
- \fBcanon subject\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
7
+ \fBcanon subjects\fR [\fB\-\-as\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
8
  .SH DESCRIPTION
9
9
  Create and manage subjects (durable product units)
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
14
  .br
15
15
 
16
16
  .br
@@ -26,6 +26,12 @@ reviewer
26
26
  orchestrator
27
27
  .RE
28
28
  .TP
29
+ \fB\-\-json\fR
30
+ Output JSON instead of the human\-readable form
31
+ .TP
32
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
33
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
34
+ .TP
29
35
  \fB\-h\fR, \fB\-\-help\fR
30
36
  Print help
31
37
  .TP
@@ -33,19 +39,19 @@ Print help
33
39
  Print version
34
40
  .SH SUBCOMMANDS
35
41
  .TP
36
- canon\-subject\-new(1)
42
+ canon\-subjects\-create(1)
37
43
  Author a new subject at status `proposed`
38
44
  .TP
39
- canon\-subject\-adopt(1)
45
+ canon\-subjects\-adopt(1)
40
46
  Link an imported plan change to a subject (adopting it under another subject adds that subject; a change may belong to several)
41
47
  .TP
42
- canon\-subject\-unadopt(1)
48
+ canon\-subjects\-unadopt(1)
43
49
  Take a change back out of a subject (the mirror of adopt; refused for a change whose brief is approved)
44
50
  .TP
45
- canon\-subject\-show(1)
51
+ canon\-subjects\-get(1)
46
52
  Show a subject (read\-only)
47
53
  .TP
48
- canon\-subject\-move(1)
54
+ canon\-subjects\-move(1)
49
55
  Move a subject to another lifecycle state (shipping is evidence\-gated; with spec_coverage.require_review, entering its scope is review\-gated; shipped → verifying reopens with \-\-reason)
50
56
  .SH VERSION
51
- v0.48.0
57
+ v0.49.0
@@ -0,0 +1,50 @@
1
+ .ie \n(.g .ds Aq \(aq
2
+ .el .ds Aq '
3
+ .TH canon-tasks-done 1 "done 0.49.0"
4
+ .SH NAME
5
+ canon\-tasks\-done \- Flip one task checkbox, gated on real evidence (fails closed)
6
+ .SH SYNOPSIS
7
+ \fBcanon tasks done\fR [\fB\-\-as\fR] [\fB\-\-parent\fR] [\fB\-\-json\fR] [\fB\-\-repo\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIID\fR]
8
+ .SH DESCRIPTION
9
+ Flip one task checkbox, gated on real evidence (fails closed)
10
+ .SH OPTIONS
11
+ .TP
12
+ \fB\-\-as\fR \fI<ROLE>\fR
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
+ .br
15
+
16
+ .br
17
+ \fIPossible values:\fR
18
+ .RS 14
19
+ .IP \(bu 2
20
+ planner
21
+ .IP \(bu 2
22
+ implementer
23
+ .IP \(bu 2
24
+ reviewer
25
+ .IP \(bu 2
26
+ orchestrator
27
+ .RE
28
+ .TP
29
+ \fB\-\-parent\fR \fI<ID>\fR
30
+ The change whose plan holds the task
31
+ .TP
32
+ \fB\-\-json\fR
33
+ Output JSON instead of the human\-readable form
34
+ .TP
35
+ \fB\-\-repo\fR \fI<DIR>\fR
36
+ The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
37
+ .TP
38
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
39
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
40
+ .TP
41
+ \fB\-h\fR, \fB\-\-help\fR
42
+ Print help
43
+ .TP
44
+ \fB\-V\fR, \fB\-\-version\fR
45
+ Print version
46
+ .TP
47
+ [\fIID\fR]
48
+ The task\*(Aqs number in its change\*(Aqs plan (`<n>` of `<change>#<n>`)
49
+ .SH VERSION
50
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-task 1 "task 0.48.0"
3
+ .TH canon-tasks 1 "tasks 0.49.0"
4
4
  .SH NAME
5
- canon\-task \- Flip a plan task\*(Aqs checkbox once committed evidence supports it
5
+ canon\-tasks \- Flip a plan task\*(Aqs checkbox once committed evidence supports it
6
6
  .SH SYNOPSIS
7
- \fBcanon task\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
7
+ \fBcanon tasks\fR [\fB\-\-as\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
8
  .SH DESCRIPTION
9
9
  Flip a plan task\*(Aqs checkbox once committed evidence supports it
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
14
  .br
15
15
 
16
16
  .br
@@ -26,6 +26,12 @@ reviewer
26
26
  orchestrator
27
27
  .RE
28
28
  .TP
29
+ \fB\-\-json\fR
30
+ Output JSON instead of the human\-readable form
31
+ .TP
32
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
33
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
34
+ .TP
29
35
  \fB\-h\fR, \fB\-\-help\fR
30
36
  Print help
31
37
  .TP
@@ -33,10 +39,10 @@ Print help
33
39
  Print version
34
40
  .SH SUBCOMMANDS
35
41
  .TP
36
- canon\-task\-done(1)
42
+ canon\-tasks\-done(1)
37
43
  Flip one task checkbox, gated on real evidence (fails closed)
38
44
  .SH EXTRA
39
45
  Examples:
40
- canon task done my\-change#3
46
+ canon tasks done 3 \-\-parent my\-change
41
47
  .SH VERSION
42
- v0.48.0
48
+ v0.49.0
package/man/canon-trace.1 CHANGED
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-trace 1 "trace 0.48.0"
3
+ .TH canon-trace 1 "trace 0.49.0"
4
4
  .SH NAME
5
5
  canon\-trace \- Follow a finding\*(Aqs review loop in time order: review, finding, fix, re\-review, evidence
6
6
  .SH SYNOPSIS
7
- \fBcanon trace\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fITRACE_ID\fR>
7
+ \fBcanon trace\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fITRACE_ID\fR]
8
8
  .SH DESCRIPTION
9
9
  Follow a finding\*(Aqs review loop in time order: review, finding, fix, re\-review, evidence
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
14
  .br
15
15
 
16
16
  .br
@@ -32,13 +32,16 @@ The repo to act on (default: the nearest ancestor directory holding a canon.yaml
32
32
  \fB\-\-json\fR
33
33
  Output JSON instead of the human\-readable form
34
34
  .TP
35
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
36
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
37
+ .TP
35
38
  \fB\-h\fR, \fB\-\-help\fR
36
39
  Print help
37
40
  .TP
38
41
  \fB\-V\fR, \fB\-\-version\fR
39
42
  Print version
40
43
  .TP
41
- <\fITRACE_ID\fR>
44
+ [\fITRACE_ID\fR]
42
45
  A review id (26 characters), a commit sha (7 to 40 hex digits, the first characters are enough) or a finding key (`<change>_<round>_<seq>`, as `canon query \-\-kind finding` shows it)
43
46
  .SH EXTRA
44
47
  Examples:
@@ -53,4 +56,4 @@ the ledger archive\*(Aqs old versions included, oldest first. Reads the same der
53
56
  `canon search`. Exit 2 for an id no record says, an ambiguous sha prefix or an operand of none
54
57
  of the three shapes.
55
58
  .SH VERSION
56
- v0.48.0
59
+ v0.49.0
package/man/canon.1 CHANGED
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon 1 "canon 0.48.0"
3
+ .TH canon 1 "canon 0.49.0"
4
4
  .SH NAME
5
5
  canon \- Specs, evidence gates, and agent memory for your repo
6
6
  .SH SYNOPSIS
7
- \fBcanon\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
7
+ \fBcanon\fR [\fB\-\-as\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
8
  .SH DESCRIPTION
9
- canon keeps a repo\*(Aqs specs, review evidence, and agent strategy memory in one place: author .feature specs, task done completion on real evidence, ingest plans and records, and retrieve role\-scoped guidance.
9
+ canon keeps a repo\*(Aqs specs, review evidence, and agent strategy memory in one place: author .feature specs, tasks done completion on real evidence, ingest\-plans and records, and retrieve role\-scoped guidance.
10
10
  .SH OPTIONS
11
11
  .TP
12
12
  \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
13
+ The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `reviews scenario` / `reviews change` is this role unless given
14
14
  .br
15
15
 
16
16
  .br
@@ -26,6 +26,12 @@ reviewer
26
26
  orchestrator
27
27
  .RE
28
28
  .TP
29
+ \fB\-\-json\fR
30
+ Output JSON instead of the human\-readable form
31
+ .TP
32
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
33
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
34
+ .TP
29
35
  \fB\-h\fR, \fB\-\-help\fR
30
36
  Print help (see a summary with \*(Aq\-h\*(Aq)
31
37
  .TP
@@ -36,14 +42,23 @@ Print version
36
42
  canon\-init(1)
37
43
  Set up canon in a repo (canon.yaml, a starter policy, the AGENTS.md block, a plans home)
38
44
  .TP
45
+ canon\-init\-check(1)
46
+ Validate an existing canon.yaml instead of writing one: what `canon init` would refuse, and nothing written
47
+ .TP
39
48
  canon\-migrate(1)
40
49
  Bring a repo from an earlier canon up to date: the 0.17 layout (specs, changes, approvals, skills, .gitignore), the 0.28 hooks, scripts and skill stub (backed up under .canon/migrate\-backup/), the 0.23 latest\-only ledger (superseded versions to .canon/archive) and 0.23 review pins
41
50
  .TP
51
+ canon\-migrate\-revert(1)
52
+ Undo the last committed migrate (restores what it backed up, undoes its moves): the bare run previews and prints its planDigest, `\-\-commit \-\-plan\-digest <PLAN_DIGEST>` acts
53
+ .TP
42
54
  canon\-policy(1)
43
55
  Record who approved the gate\*(Aqs policy (.canon/policy.yaml) and which bytes
44
56
  .TP
45
- canon\-demo(1)
46
- Try the evidence loop end\-to\-end in a throwaway demo repo
57
+ canon\-demo\-init(1)
58
+ Try the evidence loop end\-to\-end: scaffold the demo repo (gate starts RED)
59
+ .TP
60
+ canon\-demo\-review(1)
61
+ Record the demo repo\*(Aqs missing reviewer evidence (gate turns GREEN)
47
62
  .TP
48
63
  canon\-status(1)
49
64
  Show where this repo stands: subjects by status, their gaps, and the next commands
@@ -51,31 +66,34 @@ Show where this repo stands: subjects by status, their gaps, and the next comman
51
66
  canon\-context(1)
52
67
  Show what you can author here: record kinds, fields, enums, policies
53
68
  .TP
54
- canon\-context\-pack(1)
69
+ canon\-context\-packs(1)
55
70
  Create, inspect, and verify reproducible context packs
56
71
  .TP
57
- canon\-adapter(1)
58
- Validate a provider\-neutral adapter response without executing a provider
72
+ canon\-adapter\-validate(1)
73
+ Read and validate one provider\-neutral adapter response envelope without executing a provider
74
+ .TP
75
+ canon\-adapter\-authorize(1)
76
+ Authorize an adapter response\*(Aqs declared capabilities against repository policy (preflight only)
59
77
  .TP
60
- canon\-prompt(1)
78
+ canon\-prompts(1)
61
79
  Register and select versioned prompt bundles
62
80
  .TP
63
81
  canon\-format(1)
64
82
  Validate a spec/artifact corpus against canon\*(Aqs format
65
83
  .TP
66
- canon\-feature(1)
84
+ canon\-features(1)
67
85
  Scaffold a new .feature spec file
68
86
  .TP
69
- canon\-scenario(1)
87
+ canon\-scenarios(1)
70
88
  Add a tagged scenario to a .feature spec file
71
89
  .TP
72
- canon\-subject(1)
90
+ canon\-subjects(1)
73
91
  Create and manage subjects (durable product units)
74
92
  .TP
75
- canon\-change(1)
93
+ canon\-changes(1)
76
94
  Write a plan change (.canon/changes/<slug>/brief.md) and adopt it into a subject; a human can defer, drop or reopen it
77
95
  .TP
78
- canon\-brief(1)
96
+ canon\-briefs(1)
79
97
  Check a change\*(Aqs brief (PRD format) and see the next steps; never edits
80
98
  .TP
81
99
  canon\-inventory(1)
@@ -84,7 +102,7 @@ Index a validated .feature corpus into the scenario ledger
84
102
  canon\-gate(1)
85
103
  Run evidence gates, promote staged records, install hooks
86
104
  .TP
87
- canon\-task(1)
105
+ canon\-tasks(1)
88
106
  Flip a plan task\*(Aqs checkbox once committed evidence supports it
89
107
  .TP
90
108
  canon\-evidence(1)
@@ -93,28 +111,31 @@ Author a staged, attributed evidence attestation for a plan task
93
111
  canon\-artifacts(1)
94
112
  Check the evidence artifact store
95
113
  .TP
96
- canon\-finding(1)
114
+ canon\-findings(1)
97
115
  Record one code\-review finding as a durable record
98
116
  .TP
99
- canon\-review(1)
117
+ canon\-reviews(1)
100
118
  Record an attributed review verdict
101
119
  .TP
102
- canon\-divergence(1)
120
+ canon\-divergences(1)
103
121
  Stage, promote, resolve, and inspect spec divergences
104
122
  .TP
105
- canon\-ingest(1)
106
- Import records and plans into canon\*(Aqs store
123
+ canon\-ingest\-records(1)
124
+ Import review/divergence/task/handoff records into canon\*(Aqs store and derive verdicts
125
+ .TP
126
+ canon\-ingest\-plans(1)
127
+ Import plans as Change/Task records: canon\*(Aqs own .canon/changes, then the configured external sources (openspec, superpowers)
107
128
  .TP
108
129
  canon\-retrieve(1)
109
130
  Fetch role\-scoped strategy guidance
110
131
  .TP
111
- canon\-strategy(1)
132
+ canon\-strategies(1)
112
133
  Promote a proven strategy into the git\-tracked tier
113
134
  .TP
114
- canon\-dispatch(1)
115
- Begin an agent run with retrieved guidance recorded
135
+ canon\-runs(1)
136
+ Begin, diff and end agent runs with retrieved guidance recorded
116
137
  .TP
117
- canon\-regime(1)
138
+ canon\-regime\-show(1)
118
139
  Build a canonical regime key for hook scripts
119
140
  .TP
120
141
  canon\-query(1)
@@ -138,11 +159,17 @@ Build, check, or snapshot the status report
138
159
  canon\-dashboard(1)
139
160
  Serve the local status dashboard
140
161
  .TP
141
- canon\-plugin(1)
162
+ canon\-plugins(1)
142
163
  Sync plugin overlay records onto the ledger
143
164
  .TP
144
- canon\-skills(1)
145
- Install canon\*(Aqs agent guides into a repo
165
+ canon\-skills\-install(1)
166
+ Install the canonical `canon` bundle or legacy developer skills
167
+ .TP
168
+ canon\-skills\-check(1)
169
+ Check canonical projections without writing; exit 1 on drift, a legacy remnant, or a lock another canon version wrote
170
+ .TP
171
+ canon\-skills\-doctor(1)
172
+ Print diagnostics for canonical projections, the install lock\*(Aqs canon version, legacy remnants, canon projections for a harness that is not selected, and other skills whose description claims build work; reports only, never edits
146
173
  .TP
147
174
  canon\-ledger(1)
148
175
  Keep the ledger to the current version of each record
@@ -150,23 +177,26 @@ Keep the ledger to the current version of each record
150
177
  canon\-selftest(1)
151
178
  Run canon\*(Aqs built\-in fixture self\-tests
152
179
  .TP
153
- canon\-schema(1)
154
- Describe canon\*(Aqs own commands: list them, or show one command\*(Aqs arguments, options, effect and exit codes
155
- .TP
156
180
  canon\-completion(1)
157
181
  Write the shell completion script for canon (bash, zsh or fish)
182
+ .TP
183
+ canon\-schema(1)
184
+ Describe the tool: its collections, operations, arguments, schemas and errors
185
+ .TP
186
+ canon\-skills(1)
187
+ Guides for agents: get, list
158
188
  .SH EXTRA
159
189
  Examples:
160
190
  canon init Set up canon in the current repo
161
- canon demo init Scaffold a throwaway demo repo to try the evidence loop
191
+ canon demo\-init Scaffold a throwaway demo repo to try the evidence loop
162
192
  canon format spec Validate a spec corpus
163
193
  canon gate check Run the evidence gate
164
194
 
165
195
  Learn more:
166
196
  Use `canon <command> \-\-help` for details on any command.
167
- `canon skills show canon` prints the guide built into this binary;
168
- `canon skills install` writes a short stub of it per selected harness,
169
- plus the script sidecar; `skills check` and `skills doctor` inspect the
197
+ `canon skills get canon` prints the guide built into this binary;
198
+ `canon skills\-install` writes a short stub of it per selected harness,
199
+ plus the script sidecar; `skills\-check` and `skills\-doctor` inspect the
170
200
  target without deleting user files.
171
201
  .SH VERSION
172
- v0.48.0
202
+ v0.49.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@journeykit/canon",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "canon — harness knowledge substrate. JS launcher: platform detection + native binary resolution.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {},
36
36
  "optionalDependencies": {
37
- "@journeykit/canon-core-darwin-arm64": "0.48.0",
38
- "@journeykit/canon-core-linux-arm64": "0.48.0",
39
- "@journeykit/canon-core-linux-x64": "0.48.0",
40
- "@journeykit/canon-core-win32-x64": "0.48.0"
37
+ "@journeykit/canon-core-darwin-arm64": "0.49.0",
38
+ "@journeykit/canon-core-linux-arm64": "0.49.0",
39
+ "@journeykit/canon-core-linux-x64": "0.49.0",
40
+ "@journeykit/canon-core-win32-x64": "0.49.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^20.0.0",
@@ -1,46 +0,0 @@
1
- .ie \n(.g .ds Aq \(aq
2
- .el .ds Aq '
3
- .TH canon-adapter 1 "adapter 0.48.0"
4
- .SH NAME
5
- canon\-adapter \- Validate a provider\-neutral adapter response without executing a provider
6
- .SH SYNOPSIS
7
- \fBcanon adapter\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
- .SH DESCRIPTION
9
- Validate a provider\-neutral adapter response without executing a provider
10
- .SH OPTIONS
11
- .TP
12
- \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
14
- .br
15
-
16
- .br
17
- \fIPossible values:\fR
18
- .RS 14
19
- .IP \(bu 2
20
- planner
21
- .IP \(bu 2
22
- implementer
23
- .IP \(bu 2
24
- reviewer
25
- .IP \(bu 2
26
- orchestrator
27
- .RE
28
- .TP
29
- \fB\-h\fR, \fB\-\-help\fR
30
- Print help
31
- .TP
32
- \fB\-V\fR, \fB\-\-version\fR
33
- Print version
34
- .SH SUBCOMMANDS
35
- .TP
36
- canon\-adapter\-validate(1)
37
- Read and validate one provider\-neutral response envelope
38
- .TP
39
- canon\-adapter\-authorize(1)
40
- Authorize declared capabilities against repository policy (preflight only)
41
- .SH EXTRA
42
- Examples:
43
- canon adapter validate \-\-response response.json
44
- canon adapter validate \-\-response response.json \-\-repo . \-\-json
45
- .SH VERSION
46
- v0.48.0
package/man/canon-brief.1 DELETED
@@ -1,64 +0,0 @@
1
- .ie \n(.g .ds Aq \(aq
2
- .el .ds Aq '
3
- .TH canon-brief 1 "brief 0.48.0"
4
- .SH NAME
5
- canon\-brief \- Check a change\*(Aqs brief (PRD format) and see the next steps; never edits
6
- .SH SYNOPSIS
7
- \fBcanon brief\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
- .SH DESCRIPTION
9
- Check a change\*(Aqs brief (PRD format) and see the next steps; never edits
10
- .SH OPTIONS
11
- .TP
12
- \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
14
- .br
15
-
16
- .br
17
- \fIPossible values:\fR
18
- .RS 14
19
- .IP \(bu 2
20
- planner
21
- .IP \(bu 2
22
- implementer
23
- .IP \(bu 2
24
- reviewer
25
- .IP \(bu 2
26
- orchestrator
27
- .RE
28
- .TP
29
- \fB\-h\fR, \fB\-\-help\fR
30
- Print help
31
- .TP
32
- \fB\-V\fR, \fB\-\-version\fR
33
- Print version
34
- .SH SUBCOMMANDS
35
- .TP
36
- canon\-brief\-show(1)
37
- Show where the change stands and the next one to three steps; never edits
38
- .TP
39
- canon\-brief\-check(1)
40
- Read the brief against the rules: blocker and advisory findings (exit 0 clean, 1 blockers, 2 refused)
41
- .TP
42
- canon\-brief\-approve(1)
43
- 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
44
- .SH EXTRA
45
- Examples:
46
- canon brief show State and the next one to three steps
47
- canon brief check Findings; exit 0 clean, 1 blockers, 2 refused
48
- canon brief check add\-login \-\-json
49
-
50
- The brief is the PRD `canon change new` writes: sections are found by their
51
- English `##` heading (Intent, Desired outcome, …), never by a comment. Blockers
52
- (structure) are a missing or out\-of\-order section, a duplicate flow id, step
53
- detail that does not match the flow ids, leftover placeholders, and, once the
54
- subject is building, a flow step with no scenario or no failure scenario.
55
- Advisories (prose) apply to normative sections, Intent and Questions, in the
56
- language each is written in (`language:` in canon.yaml overrides); only en and
57
- ko have rule lists.
58
- Waive one rule in one section with an entry of the frontmatter `waive` list
59
- (`rule`, `section`, `reason`, optional `match`). A brief in the 0.30 format
60
- gets one blocker, `brief.old\-format`: `canon migrate` rewrites it. A brief
61
- with fewer than two known headings (written before 0.19) checks as `brief.legacy`, an
62
- advisory. Without \-\-change, the repo\*(Aqs only live change is checked.
63
- .SH VERSION
64
- v0.48.0
@@ -1,59 +0,0 @@
1
- .ie \n(.g .ds Aq \(aq
2
- .el .ds Aq '
3
- .TH canon-change 1 "change 0.48.0"
4
- .SH NAME
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
- .SH SYNOPSIS
7
- \fBcanon change\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
8
- .SH DESCRIPTION
9
- Write a plan change (.canon/changes/<slug>/brief.md) and adopt it into a subject; a human can defer, drop or reopen it
10
- .SH OPTIONS
11
- .TP
12
- \fB\-\-as\fR \fI<ROLE>\fR
13
- The role you act as: planner, implementer, reviewer or orchestrator. Overrides `CANON_ROLE`. `schema` and `context` list only the role\*(Aqs commands, `status` keeps its steps, and `\-\-role` on `evidence add` / `evidence audit` / `review scenario` / `review change` is this role unless given
14
- .br
15
-
16
- .br
17
- \fIPossible values:\fR
18
- .RS 14
19
- .IP \(bu 2
20
- planner
21
- .IP \(bu 2
22
- implementer
23
- .IP \(bu 2
24
- reviewer
25
- .IP \(bu 2
26
- orchestrator
27
- .RE
28
- .TP
29
- \fB\-h\fR, \fB\-\-help\fR
30
- Print help
31
- .TP
32
- \fB\-V\fR, \fB\-\-version\fR
33
- Print version
34
- .SH SUBCOMMANDS
35
- .TP
36
- canon\-change\-new(1)
37
- Write .canon/changes/<slug>/brief.md, import it, and adopt it into a subject
38
- .TP
39
- canon\-change\-defer(1)
40
- 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
41
- .TP
42
- canon\-change\-drop(1)
43
- Give up an approved change for good (a human\*(Aqs decision: needs a reason, a reference and the approver); it is never brought back
44
- .TP
45
- canon\-change\-reopen(1)
46
- Bring a deferred change back (a human\*(Aqs decision); the old approval is void and the brief needs a new one
47
- .SH EXTRA
48
- Examples:
49
- canon change new add\-login \-\-subject auth \-\-title \*(AqAdd login\*(Aq
50
- canon change defer add\-login \-\-reason \*(Aqwaiting on the vendor\*(Aq \-\-ref \*(Aqchat 2026\-11\-16\*(Aq \-\-approver Ana
51
- canon change drop add\-login \-\-reason \*(Aqnot building it\*(Aq \-\-ref \*(Aqchat 2026\-11\-16\*(Aq \-\-approver Ana
52
- canon change reopen add\-login \-\-reason \*(Aqthe vendor answered\*(Aq \-\-approver Ana
53
-
54
- `defer`, `drop` and `reopen` record a human\*(Aqs decision (`change_state`), like `brief approve`: an agent
55
- role is refused (ACTOR_DENIED) unless it relays the human\*(Aqs explicit answer with \-\-relayed\-via. A closed
56
- (deferred or dropped) change is no longer required by `gate check`, `status` or the ship guard, and the
57
- scenarios only it made are set aside; nothing is deleted. A shipped change cannot be closed.
58
- .SH VERSION
59
- v0.48.0