@journeykit/canon 0.48.1 → 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-migrate 1 "migrate 0.48.1"
3
+ .TH canon-migrate 1 "migrate 0.49.0"
4
4
  .SH NAME
5
5
  canon\-migrate \- 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
6
6
  .SH SYNOPSIS
7
- \fBcanon migrate\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-commit\fR] [\fB\-\-plan\-digest\fR] [\fB\-\-revert\fR] [\fB\-\-backup\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-approver\fR] [\fB\-\-note\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
7
+ \fBcanon migrate\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-commit\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-\-plan\-digest\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-approver\fR] [\fB\-\-note\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
8
8
  .SH DESCRIPTION
9
9
  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
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,20 +32,23 @@ The repo to act on (default: the nearest ancestor directory holding a canon.yaml
32
32
  \fB\-\-commit\fR
33
33
  Make the change; without it the command only previews.
34
34
  .TP
35
- \fB\-\-plan\-digest\fR \fI<PLAN_DIGEST>\fR
36
- The digest of the preview this commit carries out.
35
+ \fB\-\-json\fR
36
+ Output JSON instead of the human\-readable form
37
37
  .TP
38
- \fB\-\-revert\fR
39
- Undo the last committed migrate (restores what it backed up, undoes its moves); previews first, `\-\-commit \-\-plan\-digest` acts
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
40
  .TP
41
- \fB\-\-backup\fR \fI<DIR>\fR
42
- With \-\-revert, the backup directory to restore (default: the newest under .canon/migrate\-backup/)
41
+ \fB\-\-plan\-digest\fR \fI<PLAN_DIGEST>\fR
42
+ The digest of the preview this commit carries out.
43
43
  .TP
44
44
  \fB\-\-relayed\-via\fR \fI<NAME>\fR
45
45
  With \-\-commit, record the human\*(Aqs answer to a plan that re\-binds `Approved:` lines on their behalf: the tool they were asked with (`ask`, `AskUserQuestion`, `chat`); an agent role may commit such a plan only with it
46
46
  .TP
47
47
  \fB\-\-actor\fR \fI<ACTOR_ID>\fR
48
48
  With \-\-relayed\-via, the agent\*(Aqs actor id (default: the CANON_ACTOR environment variable)
49
+ .RS
50
+ May also be specified with the \fBCANON_ACTOR\fR environment variable.
51
+ .RE
49
52
  .TP
50
53
  \fB\-\-approver\fR \fI<NAME>\fR
51
54
  With \-\-relayed\-via, who the human is
@@ -53,12 +56,6 @@ With \-\-relayed\-via, who the human is
53
56
  \fB\-\-note\fR \fI<TEXT>\fR
54
57
  With \-\-relayed\-via, the human\*(Aqs answer as they gave it
55
58
  .TP
56
- \fB\-\-json\fR
57
- Output JSON instead of the human\-readable form
58
- .TP
59
- \fB\-\-input\fR \fI<JSON|FILE|\->\fR
60
- 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
61
- .TP
62
59
  \fB\-h\fR, \fB\-\-help\fR
63
60
  Print help
64
61
  .TP
@@ -68,8 +65,8 @@ Print version
68
65
  Examples:
69
66
  canon migrate
70
67
  canon migrate \-\-commit \-\-plan\-digest <PLAN_DIGEST>
71
- canon migrate \-\-revert
72
- canon migrate \-\-revert \-\-commit \-\-plan\-digest <PLAN_DIGEST>
68
+ canon migrate\-revert
69
+ canon migrate\-revert \-\-commit \-\-plan\-digest <PLAN_DIGEST>
73
70
 
74
71
  The bare run prints the plan and its planDigest and writes nothing; \-\-commit \-\-plan\-digest applies exactly that plan. Idempotent:
75
72
  a second run finds nothing to move, and a run that stopped partway is finished
@@ -79,7 +76,7 @@ by the next one.
79
76
  git work tree). A root at the repo\-level `specs` moves to .canon/specs, and
80
77
  canon.yaml records `former_roots: [specs]` so reviews pinned before the move
81
78
  still find their scenarios.
82
- \- Changes `canon change new` wrote under openspec/changes move to
79
+ \- Changes `canon changes create` wrote under openspec/changes move to
83
80
  .canon/changes/<slug>/ (proposal.md \-> brief.md, tasks.md alongside); every
84
81
  other change stays and is named. A change counts as canon\*(Aqs when its files are
85
82
  still that command\*(Aqs scaffold and its first stored version was already adopted:
@@ -91,10 +88,10 @@ by the next one.
91
88
  brief, .canon/changes/<change>/brief.md, with a Source: line.
92
89
  \- skills.providers is written from the install lock; missing canon .gitignore
93
90
  lines are added; the scenario index is rebuilt (full sync).
94
- \- 0.27 hooks, scripts and skill (0.28 D9): a hook command `canon gate task` (any removed
95
- command spelling) becomes `canon task done`; a canon\-owned script that calls a removed
91
+ \- 0.27 hooks, scripts and skill (0.28 D9): a hook command `canon tasks done` (any removed
92
+ command spelling) becomes `canon tasks done`; a canon\-owned script that calls a removed
96
93
  spelling is regenerated; a full skill projection is replaced by the stub that points to
97
- `canon skills show canon`. Every file it rewrites is first copied under
94
+ `canon skills get canon`. Every file it rewrites is first copied under
98
95
  .canon/migrate\-backup/<timestamp>/.
99
96
  \- Superseded ledger versions move to .canon/archive (`canon ledger compact`);
100
97
  `canon query \-\-history` still reads them.
@@ -120,4 +117,4 @@ kept. canon.yaml is written atomically.
120
117
  every agent role). `\-\-revert` restores them byte for byte and refuses, naming the file, when one changed
121
118
  since the migrate.
122
119
  .SH VERSION
123
- v0.48.1
120
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-plugin-sync 1 "sync 0.48.1"
3
+ .TH canon-plugins-sync 1 "sync 0.49.0"
4
4
  .SH NAME
5
- canon\-plugin\-sync \- Validate and write a plugin\*(Aqs overlay records
5
+ canon\-plugins\-sync \- Validate and write a plugin\*(Aqs overlay records
6
6
  .SH SYNOPSIS
7
- \fBcanon plugin sync\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-spec\-root\fR] [\fB\-\-dry\-run\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIPLUGIN_ID\fR>
7
+ \fBcanon plugins sync\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-spec\-root\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
  Validate and write a plugin\*(Aqs overlay records
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\-\-repo\fR \fI<DIR>\fR
30
30
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
31
31
  .TP
32
+ \fB\-\-json\fR
33
+ Output JSON instead of the human\-readable form
34
+ .TP
32
35
  \fB\-\-spec\-root\fR \fI<DIR>\fR
33
36
  Sync exactly one ad hoc root, overriding canon.yaml\*(Aqs specs.roots[]
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,7 +47,7 @@ Print help
47
47
  \fB\-V\fR, \fB\-\-version\fR
48
48
  Print version
49
49
  .TP
50
- <\fIPLUGIN_ID\fR>
50
+ [\fIID\fR]
51
51
  A .canon/plugins/<id>/plugin.yaml manifest id (e.g. porting)
52
52
  .SH VERSION
53
- v0.48.1
53
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-plugin 1 "plugin 0.48.1"
3
+ .TH canon-plugins 1 "plugins 0.49.0"
4
4
  .SH NAME
5
- canon\-plugin \- Sync plugin overlay records onto the ledger
5
+ canon\-plugins \- Sync plugin overlay records onto the ledger
6
6
  .SH SYNOPSIS
7
- \fBcanon plugin\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
7
+ \fBcanon plugins\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
  Sync plugin overlay records onto the ledger
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,7 +39,7 @@ Print help
33
39
  Print version
34
40
  .SH SUBCOMMANDS
35
41
  .TP
36
- canon\-plugin\-sync(1)
42
+ canon\-plugins\-sync(1)
37
43
  Validate and write a plugin\*(Aqs overlay records
38
44
  .SH VERSION
39
- v0.48.1
45
+ v0.49.0
@@ -1,10 +1,10 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-policy-approve 1 "approve 0.48.1"
3
+ .TH canon-policy-approve 1 "approve 0.49.0"
4
4
  .SH NAME
5
5
  canon\-policy\-approve \- Approve the current .canon/policy.yaml (written directly; nothing to promote)
6
6
  .SH SYNOPSIS
7
- \fBcanon policy approve\fR <\fB\-\-approver\fR> [\fB\-\-as\fR] [\fB\-\-note\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
7
+ \fBcanon policy approve\fR [\fB\-\-approver\fR] [\fB\-\-as\fR] [\fB\-\-json\fR] [\fB\-\-note\fR] [\fB\-\-input\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
8
8
  .SH DESCRIPTION
9
9
  Approve the current .canon/policy.yaml (written directly; nothing to promote)
10
10
  .SH OPTIONS
@@ -13,7 +13,7 @@ Approve the current .canon/policy.yaml (written directly; nothing to promote)
13
13
  Who approved it (a human\*(Aqs name or id)
14
14
  .TP
15
15
  \fB\-\-as\fR \fI<ROLE>\fR
16
- 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
16
+ 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
17
17
  .br
18
18
 
19
19
  .br
@@ -29,28 +29,31 @@ reviewer
29
29
  orchestrator
30
30
  .RE
31
31
  .TP
32
+ \fB\-\-json\fR
33
+ Output JSON instead of the human\-readable form
34
+ .TP
32
35
  \fB\-\-note\fR \fI<TEXT>\fR
33
36
  Why, or what was reviewed
34
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
35
41
  \fB\-\-relayed\-via\fR \fI<NAME>\fR
36
42
  Record the human\*(Aqs answer on their behalf: the tool they were asked with (`ask`, `AskUserQuestion`, `chat`); an agent role may run the call only with it, and then \-\-note carries the human\*(Aqs answer
37
43
  .TP
38
44
  \fB\-\-actor\fR \fI<ACTOR_ID>\fR
39
45
  With \-\-relayed\-via, the agent\*(Aqs actor id (default: the CANON_ACTOR environment variable)
46
+ .RS
47
+ May also be specified with the \fBCANON_ACTOR\fR environment variable.
48
+ .RE
40
49
  .TP
41
50
  \fB\-\-repo\fR \fI<DIR>\fR
42
51
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
43
52
  .TP
44
- \fB\-\-json\fR
45
- Output JSON instead of the human\-readable form
46
- .TP
47
- \fB\-\-input\fR \fI<JSON|FILE|\->\fR
48
- 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
49
- .TP
50
53
  \fB\-h\fR, \fB\-\-help\fR
51
54
  Print help
52
55
  .TP
53
56
  \fB\-V\fR, \fB\-\-version\fR
54
57
  Print version
55
58
  .SH VERSION
56
- v0.48.1
59
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-policy-show 1 "show 0.48.1"
3
+ .TH canon-policy-get 1 "get 0.49.0"
4
4
  .SH NAME
5
- canon\-policy\-show \- Show the policy\*(Aqs digest and its approval (who, when, which bytes)
5
+ canon\-policy\-get \- Show the policy\*(Aqs digest and its approval (who, when, which bytes)
6
6
  .SH SYNOPSIS
7
- \fBcanon policy show\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
7
+ \fBcanon policy get\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]
8
8
  .SH DESCRIPTION
9
9
  Show the policy\*(Aqs digest and its approval (who, when, which bytes)
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,10 +32,13 @@ 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
  .SH VERSION
41
- v0.48.1
44
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-policy 1 "policy 0.48.1"
3
+ .TH canon-policy 1 "policy 0.49.0"
4
4
  .SH NAME
5
5
  canon\-policy \- Record who approved the gate\*(Aqs policy (.canon/policy.yaml) and which bytes
6
6
  .SH SYNOPSIS
7
- \fBcanon policy\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
7
+ \fBcanon policy\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
  Record who approved the gate\*(Aqs policy (.canon/policy.yaml) and which bytes
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
@@ -36,7 +42,7 @@ Print version
36
42
  canon\-policy\-approve(1)
37
43
  Approve the current .canon/policy.yaml (written directly; nothing to promote)
38
44
  .TP
39
- canon\-policy\-show(1)
45
+ canon\-policy\-get(1)
40
46
  Show the policy\*(Aqs digest and its approval (who, when, which bytes)
41
47
  .SH EXTRA
42
48
  Examples:
@@ -46,7 +52,7 @@ Writes .canon/policy.approval.json (commit it): the policy\*(Aqs sha256, who
46
52
  approved it, when, and the note. `canon gate check` and `canon status` print an
47
53
  advisory while the policy was never approved. A policy that changed since its
48
54
  approval (or whose approval cannot be read) fails closed: `gate check` exits 1
49
- and `subject move` refuses to ship or reopen; `\-\-override\-reason` does not
50
- waive it. `canon policy show` reads the approval back.
55
+ and `subjects move` refuses to ship or reopen; `\-\-override\-reason` does not
56
+ waive it. `canon policy get` reads the approval back.
51
57
  .SH VERSION
52
- v0.48.1
58
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-prompt-add 1 "add 0.48.1"
3
+ .TH canon-prompts-create 1 "create 0.49.0"
4
4
  .SH NAME
5
- canon\-prompt\-add \- Add a prompt bundle from a repository\-local JSON manifest
5
+ canon\-prompts\-create \- Add a prompt bundle from a repository\-local JSON manifest
6
6
  .SH SYNOPSIS
7
- \fBcanon prompt add\fR [\fB\-\-as\fR] <\fB\-\-manifest\fR> [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fINAME@VERSION\fR>
7
+ \fBcanon prompts create\fR [\fB\-\-as\fR] [\fB\-\-id\fR] [\fB\-\-json\fR] [\fB\-\-manifest\fR] [\fB\-\-input\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR]
8
8
  .SH DESCRIPTION
9
9
  Add a prompt bundle from a repository\-local JSON manifest
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,22 +26,22 @@ reviewer
26
26
  orchestrator
27
27
  .RE
28
28
  .TP
29
+ \fB\-\-id\fR \fI<ID>\fR
30
+ The bundle to register, `NAME@VERSION`
31
+ .TP
32
+ \fB\-\-json\fR
33
+ Output JSON instead of the human\-readable form
34
+ .TP
29
35
  \fB\-\-manifest\fR \fI<FILE>\fR
30
36
  Repository\-relative input manifest
31
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
32
41
  \fB\-\-repo\fR \fI<DIR>\fR
33
42
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
34
43
  .TP
35
- \fB\-\-json\fR
36
- Output the complete bundle manifest as JSON
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 option names in camelCase, `operands` an array
40
- .TP
41
44
  \fB\-h\fR, \fB\-\-help\fR
42
45
  Print help
43
- .TP
44
- <\fINAME@VERSION\fR>
45
- The bundle to register, `NAME@VERSION`
46
46
  .SH VERSION
47
- v0.48.1
47
+ v0.49.0
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-prompt-show 1 "show 0.48.1"
3
+ .TH canon-prompts-get 1 "get 0.49.0"
4
4
  .SH NAME
5
- canon\-prompt\-show \- Select a registered prompt bundle version
5
+ canon\-prompts\-get \- Select a registered prompt bundle version
6
6
  .SH SYNOPSIS
7
- \fBcanon prompt show\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fINAME@VERSION\fR>
7
+ \fBcanon prompts get\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIID\fR]
8
8
  .SH DESCRIPTION
9
9
  Select a registered prompt bundle version
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
@@ -30,12 +30,15 @@ orchestrator
30
30
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
31
31
  .TP
32
32
  \fB\-\-json\fR
33
- Output the complete bundle manifest as JSON
33
+ Output JSON instead of the human\-readable form
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
34
37
  .TP
35
38
  \fB\-h\fR, \fB\-\-help\fR
36
39
  Print help
37
40
  .TP
38
- <\fINAME@VERSION\fR>
41
+ [\fIID\fR]
39
42
  The bundle to show, `NAME@VERSION`
40
43
  .SH VERSION
41
- v0.48.1
44
+ v0.49.0
@@ -0,0 +1,49 @@
1
+ .ie \n(.g .ds Aq \(aq
2
+ .el .ds Aq '
3
+ .TH canon-prompts 1 "prompts 0.49.0"
4
+ .SH NAME
5
+ canon\-prompts \- Register and select versioned prompt bundles
6
+ .SH SYNOPSIS
7
+ \fBcanon prompts\fR [\fB\-\-as\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIsubcommands\fR>
8
+ .SH DESCRIPTION
9
+ Register and select versioned prompt bundles
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\-\-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
35
+ \fB\-h\fR, \fB\-\-help\fR
36
+ Print help
37
+ .SH SUBCOMMANDS
38
+ .TP
39
+ canon\-prompts\-create(1)
40
+ Add a prompt bundle from a repository\-local JSON manifest
41
+ .TP
42
+ canon\-prompts\-get(1)
43
+ Select a registered prompt bundle version
44
+ .SH EXTRA
45
+ Examples:
46
+ canon prompts create \-\-id reviewer@v1 \-\-manifest .canon/reviewer.json
47
+ canon prompts get reviewer@v1 \-\-json
48
+ .SH VERSION
49
+ v0.49.0
package/man/canon-purge.1 CHANGED
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-purge 1 "purge 0.48.1"
3
+ .TH canon-purge 1 "purge 0.49.0"
4
4
  .SH NAME
5
5
  canon\-purge \- Remove allowlisted records older than a cutoff: the bare run previews the removal set and its planDigest, `\-\-commit \-\-plan\-digest <PLAN_DIGEST>` deletes it
6
6
  .SH SYNOPSIS
7
- \fBcanon purge\fR [\fB\-\-as\fR] <\fB\-\-kind\fR> <\fB\-\-before\fR> [\fB\-\-commit\fR] [\fB\-\-plan\-digest\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
7
+ \fBcanon purge\fR [\fB\-\-as\fR] [\fB\-\-kind\fR] [\fB\-\-before\fR] [\fB\-\-json\fR] [\fB\-\-commit\fR] [\fB\-\-input\fR] [\fB\-\-plan\-digest\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
8
8
  .SH DESCRIPTION
9
9
  Remove allowlisted records older than a cutoff: the bare run previews the removal set and its planDigest, `\-\-commit \-\-plan\-digest <PLAN_DIGEST>` deletes 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
@@ -27,7 +27,7 @@ orchestrator
27
27
  .RE
28
28
  .TP
29
29
  \fB\-\-kind\fR \fI<KIND>\fR
30
- The record kind to purge: run or trajectory. `session` and `event` are retired in 0.39 and leave the next release; they delete rows an older canon stored
30
+ The record kind to purge: run or trajectory
31
31
  .br
32
32
 
33
33
  .br
@@ -37,34 +37,30 @@ The record kind to purge: run or trajectory. `session` and `event` are retired i
37
37
  run
38
38
  .IP \(bu 2
39
39
  trajectory
40
- .IP \(bu 2
41
- session: retired in 0.39, leaves next release: deletes rows an older canon stored
42
- .IP \(bu 2
43
- event: retired in 0.39, leaves next release: deletes rows an older canon stored
44
40
  .RE
45
41
  .TP
46
42
  \fB\-\-before\fR \fI<TIMESTAMP>\fR
47
43
  Remove records strictly before this time: an RFC 3339 date (`2030\-01\-01`, UTC midnight) or date\-time (`2030\-01\-01T10:00:00Z`)
48
44
  .TP
45
+ \fB\-\-json\fR
46
+ Output JSON instead of the human\-readable form
47
+ .TP
49
48
  \fB\-\-commit\fR
50
49
  Make the change; without it the command only previews.
51
50
  .TP
51
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
52
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
53
+ .TP
52
54
  \fB\-\-plan\-digest\fR \fI<PLAN_DIGEST>\fR
53
55
  The digest of the preview this commit carries out.
54
56
  .TP
55
57
  \fB\-\-repo\fR \fI<DIR>\fR
56
58
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
57
59
  .TP
58
- \fB\-\-json\fR
59
- Output JSON instead of the human\-readable form
60
- .TP
61
- \fB\-\-input\fR \fI<JSON|FILE|\->\fR
62
- 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
63
- .TP
64
60
  \fB\-h\fR, \fB\-\-help\fR
65
- Print help (see a summary with \*(Aq\-h\*(Aq)
61
+ Print help
66
62
  .TP
67
63
  \fB\-V\fR, \fB\-\-version\fR
68
64
  Print version
69
65
  .SH VERSION
70
- v0.48.1
66
+ v0.49.0
package/man/canon-query.1 CHANGED
@@ -1,16 +1,16 @@
1
1
  .ie \n(.g .ds Aq \(aq
2
2
  .el .ds Aq '
3
- .TH canon-query 1 "query 0.48.1"
3
+ .TH canon-query 1 "query 0.49.0"
4
4
  .SH NAME
5
5
  canon\-query \- Read stored records
6
6
  .SH SYNOPSIS
7
- \fBcanon query\fR [\fB\-\-as\fR] <\fB\-\-kind\fR> [\fB\-\-since\fR] [\fB\-\-repo\fR] [\fB\-\-json\fR] [\fB\-\-plugin\fR] [\fB\-\-history\fR] [\fB\-\-change\fR] [\fB\-\-status\fR] [\fB\-\-domain\fR] [\fB\-\-include\-sensitive\fR] [\fB\-\-limit\fR] [\fB\-\-cursor\fR] [\fB\-\-all\fR] [\fB\-\-fields\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
7
+ \fBcanon query\fR [\fB\-\-as\fR] [\fB\-\-kind\fR] [\fB\-\-json\fR] [\fB\-\-since\fR] [\fB\-\-input\fR] [\fB\-\-repo\fR] [\fB\-\-plugin\fR] [\fB\-\-history\fR] [\fB\-\-change\fR] [\fB\-\-status\fR] [\fB\-\-domain\fR] [\fB\-\-include\-sensitive\fR] [\fB\-\-limit\fR] [\fB\-\-cursor\fR] [\fB\-\-all\fR] [\fB\-\-fields\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
8
8
  .SH DESCRIPTION
9
9
  Read stored records
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
@@ -61,15 +61,18 @@ finding
61
61
  change_state
62
62
  .RE
63
63
  .TP
64
+ \fB\-\-json\fR
65
+ Output JSON instead of the human\-readable form
66
+ .TP
64
67
  \fB\-\-since\fR \fI<TIMESTAMP>\fR
65
68
  Only records with at >= <since>: an RFC 3339 date (`2030\-01\-01`, UTC midnight) or date\-time (`2030\-01\-01T10:00:00Z`)
66
69
  .TP
70
+ \fB\-\-input\fR \fI<JSON|FILE|\->\fR
71
+ The arguments as JSON: an object (one run) or an array / NDJSON file or `\-` (a batch); keys are the argument names in camelCase
72
+ .TP
67
73
  \fB\-\-repo\fR \fI<DIR>\fR
68
74
  The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
69
75
  .TP
70
- \fB\-\-json\fR
71
- Output JSON instead of the human\-readable form
72
- .TP
73
76
  \fB\-\-plugin\fR \fI<PLUGIN_ID>\fR
74
77
  Project a plugin\*(Aqs overlay fields onto each record (fail\-soft)
75
78
  .TP
@@ -88,7 +91,7 @@ Scope \-\-kind subject by domain (other kinds exit 2)
88
91
  \fB\-\-include\-sensitive\fR
89
92
  Permit sensitive query output only when policy explicitly allows it
90
93
  .TP
91
- \fB\-\-limit\fR \fI<N>\fR [default: 100]
94
+ \fB\-\-limit\fR \fI<LIMIT>\fR [default: 100]
92
95
  Return at most this many records per page
93
96
  .TP
94
97
  \fB\-\-cursor\fR \fI<CURSOR>\fR
@@ -106,4 +109,4 @@ Print help
106
109
  \fB\-V\fR, \fB\-\-version\fR
107
110
  Print version
108
111
  .SH VERSION
109
- v0.48.1
112
+ v0.49.0