@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.
- package/dist/skills/SKILL.src.md +142 -130
- package/dist/skills/reference/brief-align.md +8 -8
- package/dist/skills/reference/brief-clarify.md +6 -6
- package/dist/skills/reference/brief-harden.md +5 -5
- package/dist/skills/reference/brief-polish.md +13 -13
- package/dist/skills/reference/brief-shape.md +9 -9
- package/dist/skills/reference/canon-artifact-ingest.md +7 -7
- package/dist/skills/reference/canon-authoring.md +11 -11
- package/dist/skills/reference/canon-context.md +13 -13
- package/dist/skills/reference/canon-fmt.md +1 -1
- package/dist/skills/reference/canon-gate.md +52 -53
- package/dist/skills/reference/canon-inventory.md +10 -11
- package/dist/skills/reference/canon-learn.md +13 -14
- package/dist/skills/reference/canon-plan-import.md +15 -15
- package/dist/skills/reference/canon-plugins.md +8 -8
- package/dist/skills/reference/canon-policy.md +11 -11
- package/dist/skills/reference/canon-report-dashboard.md +6 -7
- package/dist/skills/reference/canon-retrieve.md +6 -6
- package/dist/skills/reference/canon-review.md +52 -53
- package/dist/skills/reference/canon-storage.md +16 -19
- package/dist/skills/reference/canon-subject.md +120 -127
- package/dist/skills/reference/role-implementer.md +90 -76
- package/dist/skills/reference/role-orchestrator.md +196 -172
- package/dist/skills/reference/role-planner.md +101 -97
- package/dist/skills/reference/role-reviewer.md +91 -85
- package/dist/skills/scripts/canon-retrieve-pre-dispatch.sh +5 -5
- package/man/canon-adapter-authorize.1 +11 -8
- package/man/canon-adapter-validate.1 +15 -8
- package/man/canon-artifacts-prune.1 +11 -11
- package/man/canon-artifacts-store.1 +8 -8
- package/man/canon-artifacts-verify.1 +7 -7
- package/man/canon-artifacts.1 +10 -4
- package/man/{canon-brief-approve.1 → canon-briefs-approve.1} +20 -17
- package/man/{canon-brief-check.1 → canon-briefs-check.1} +9 -6
- package/man/{canon-brief-show.1 → canon-briefs-get.1} +14 -11
- package/man/canon-briefs.1 +59 -0
- package/man/{canon-change-new.1 → canon-changes-create.1} +14 -14
- package/man/{canon-change-defer.1 → canon-changes-defer.1} +19 -16
- package/man/{canon-change-drop.1 → canon-changes-drop.1} +19 -16
- package/man/{canon-change-reopen.1 → canon-changes-reopen.1} +20 -17
- package/man/canon-changes.1 +65 -0
- package/man/canon-completion.1 +8 -5
- package/man/{canon-context-pack-add.1 → canon-context-packs-create.1} +9 -9
- package/man/{canon-context-pack-show.1 → canon-context-packs-get.1} +10 -7
- package/man/{canon-context-pack-verify.1 → canon-context-packs-verify.1} +10 -7
- package/man/canon-context-packs.1 +56 -0
- package/man/canon-context.1 +9 -6
- package/man/canon-dashboard.1 +10 -10
- package/man/canon-demo-init.1 +12 -7
- package/man/canon-demo-review.1 +7 -7
- package/man/{canon-divergence-accept.1 → canon-divergences-accept.1} +12 -12
- package/man/{canon-divergence-add.1 → canon-divergences-add.1} +12 -12
- package/man/{canon-divergence-defer.1 → canon-divergences-defer.1} +12 -12
- package/man/{canon-divergence-list.1 → canon-divergences-list.1} +10 -7
- package/man/{canon-divergence-resolve.1 → canon-divergences-resolve.1} +12 -12
- package/man/{canon-divergence.1 → canon-divergences.1} +16 -10
- package/man/canon-evidence-add-all.1 +117 -0
- package/man/canon-evidence-add.1 +16 -22
- package/man/canon-evidence-approval-payload.1 +10 -7
- package/man/canon-evidence-audit.1 +11 -11
- package/man/canon-evidence.1 +15 -5
- package/man/canon-export.1 +11 -11
- package/man/{canon-feature-new.1 → canon-features-create.1} +14 -14
- package/man/{canon-feature.1 → canon-features.1} +12 -6
- package/man/{canon-finding-close.1 → canon-findings-close.1} +17 -23
- package/man/{canon-finding-add.1 → canon-findings-create.1} +13 -13
- package/man/{canon-finding-list.1 → canon-findings-list.1} +11 -8
- package/man/{canon-finding.1 → canon-findings.1} +18 -20
- package/man/canon-format.1 +7 -4
- package/man/canon-gate-check.1 +9 -6
- package/man/canon-gate-install-hooks.1 +12 -12
- package/man/canon-gate-promote.1 +8 -8
- package/man/canon-gate.1 +11 -5
- package/man/canon-ingest-plans.1 +10 -10
- package/man/canon-ingest-records.1 +13 -13
- package/man/canon-init-check.1 +48 -0
- package/man/canon-init.1 +10 -13
- package/man/canon-inventory-sync.1 +8 -8
- package/man/canon-inventory.1 +10 -4
- package/man/canon-ledger-compact.1 +10 -10
- package/man/canon-ledger.1 +10 -4
- package/man/canon-migrate-revert.1 +58 -0
- package/man/canon-migrate.1 +19 -22
- package/man/{canon-plugin-sync.1 → canon-plugins-sync.1} +10 -10
- package/man/{canon-plugin.1 → canon-plugins.1} +12 -6
- package/man/canon-policy-approve.1 +13 -10
- package/man/{canon-policy-show.1 → canon-policy-get.1} +8 -5
- package/man/canon-policy.1 +13 -7
- package/man/{canon-prompt-add.1 → canon-prompts-create.1} +14 -14
- package/man/{canon-prompt-show.1 → canon-prompts-get.1} +10 -7
- package/man/canon-prompts.1 +49 -0
- package/man/canon-purge.1 +12 -16
- package/man/canon-query.1 +11 -8
- package/man/canon-regime-show.1 +10 -7
- package/man/canon-report-build.1 +4 -4
- package/man/canon-report-check.1 +7 -4
- package/man/canon-report-snapshot.1 +6 -6
- package/man/canon-report.1 +10 -4
- package/man/canon-retrieve.1 +11 -8
- package/man/{canon-review-brief.1 → canon-reviews-brief.1} +14 -14
- package/man/{canon-review-change.1 → canon-reviews-change.1} +13 -13
- package/man/{canon-review-scenario.1 → canon-reviews-scenario.1} +12 -12
- package/man/{canon-review.1 → canon-reviews.1} +16 -10
- package/man/{canon-dispatch-begin.1 → canon-runs-create.1} +11 -11
- package/man/{canon-task-done.1 → canon-runs-diff.1} +7 -10
- package/man/{canon-dispatch-end.1 → canon-runs-end.1} +11 -11
- package/man/{canon-dispatch.1 → canon-runs.1} +15 -9
- package/man/{canon-scenario-new.1 → canon-scenarios-create.1} +14 -14
- package/man/{canon-scenario.1 → canon-scenarios.1} +12 -6
- package/man/canon-schema.1 +22 -34
- package/man/canon-search.1 +15 -12
- package/man/canon-selftest.1 +7 -4
- package/man/canon-skills-check.1 +10 -7
- package/man/canon-skills-doctor.1 +10 -7
- package/man/canon-skills-get.1 +47 -0
- package/man/canon-skills-install.1 +10 -10
- package/man/canon-skills-list.1 +53 -0
- package/man/canon-skills.1 +16 -16
- package/man/canon-status.1 +10 -7
- package/man/{canon-strategy-approval-payload.1 → canon-strategies-approval-payload.1} +13 -10
- package/man/{canon-strategy-promote.1 → canon-strategies-promote.1} +12 -12
- package/man/{canon-strategy-rollback.1 → canon-strategies-rollback.1} +12 -12
- package/man/{canon-strategy.1 → canon-strategies.1} +14 -8
- package/man/{canon-subject-adopt.1 → canon-subjects-adopt.1} +10 -10
- package/man/{canon-subject-new.1 → canon-subjects-create.1} +14 -14
- package/man/{canon-subject-show.1 → canon-subjects-get.1} +9 -6
- package/man/{canon-subject-move.1 → canon-subjects-move.1} +12 -12
- package/man/{canon-subject-unadopt.1 → canon-subjects-unadopt.1} +12 -12
- package/man/{canon-subject.1 → canon-subjects.1} +16 -10
- package/man/canon-tasks-done.1 +50 -0
- package/man/{canon-task.1 → canon-tasks.1} +13 -7
- package/man/canon-trace.1 +8 -5
- package/man/canon.1 +66 -36
- package/package.json +5 -5
- package/man/canon-adapter.1 +0 -46
- package/man/canon-brief.1 +0 -64
- package/man/canon-change.1 +0 -59
- package/man/canon-context-pack.1 +0 -50
- package/man/canon-demo.1 +0 -47
- package/man/canon-dispatch-diff.1 +0 -41
- package/man/canon-ingest.1 +0 -46
- package/man/canon-prompt.1 +0 -43
- package/man/canon-regime.1 +0 -39
- package/man/canon-skills-show.1 +0 -102
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-artifacts-store 1 "store 0.
|
|
3
|
+
.TH canon-artifacts-store 1 "store 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-artifacts\-store \- Store the bound files of existing evidence records and current reviews in the artifact store (.canon/artifacts/sha256/)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon artifacts store\fR [\fB\-\-as\fR] [\fB\-\-max\-artifact\-mib\fR] [\fB\-\-dry\-run\fR] [\fB\-\-
|
|
7
|
+
\fBcanon artifacts store\fR [\fB\-\-as\fR] [\fB\-\-max\-artifact\-mib\fR] [\fB\-\-dry\-run\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Store the bound files of existing evidence records and current reviews in the artifact store (.canon/artifacts/sha256/)
|
|
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` / `
|
|
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,14 +32,14 @@ Per\-file size limit for the artifact store, in MiB
|
|
|
32
32
|
\fB\-\-dry\-run\fR
|
|
33
33
|
Validate fully and report what would be written, without writing anything
|
|
34
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
35
|
\fB\-\-json\fR
|
|
39
36
|
Output JSON instead of the human\-readable form
|
|
40
37
|
.TP
|
|
41
38
|
\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
|
|
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\-\-repo\fR \fI<DIR>\fR
|
|
42
|
+
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
43
43
|
.TP
|
|
44
44
|
\fB\-h\fR, \fB\-\-help\fR
|
|
45
45
|
Print help
|
|
@@ -53,4 +53,4 @@ With `storage.attachments: lfs` in canon.yaml it first checks that git\-lfs is i
|
|
|
53
53
|
|
|
54
54
|
Exit 0 when the pass ran (the gate decides whether an unstored file matters), 2 when the ledger cannot be read, git\-lfs is missing for attachments: lfs, or a write fails.
|
|
55
55
|
.SH VERSION
|
|
56
|
-
v0.
|
|
56
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-artifacts-verify 1 "verify 0.
|
|
3
|
+
.TH canon-artifacts-verify 1 "verify 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-artifacts\-verify \- Check that the artifact store holds every file the latest evidence and current reviews bind
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon artifacts verify\fR [\fB\-\-as\fR] [\fB\-\-
|
|
7
|
+
\fBcanon artifacts verify\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
|
Check that the artifact store holds every file the latest evidence and current reviews bind
|
|
10
10
|
.SH OPTIONS
|
|
11
11
|
.TP
|
|
12
12
|
\fB\-\-as\fR \fI<ROLE>\fR
|
|
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` / `
|
|
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,15 +26,15 @@ reviewer
|
|
|
26
26
|
orchestrator
|
|
27
27
|
.RE
|
|
28
28
|
.TP
|
|
29
|
-
\fB\-\-full\fR
|
|
30
|
-
Re\-hash every stored blob (a blob is always hashed when it is read, so the answer is the same without the flag)
|
|
31
|
-
.TP
|
|
32
29
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
33
30
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
34
31
|
.TP
|
|
35
32
|
\fB\-\-json\fR
|
|
36
33
|
Output JSON instead of the human\-readable form
|
|
37
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
|
|
38
38
|
\fB\-h\fR, \fB\-\-help\fR
|
|
39
39
|
Print help
|
|
40
40
|
.TP
|
|
@@ -47,4 +47,4 @@ Exit 0 when every file is stored, 1 when one is missing, altered or only an lfs_
|
|
|
47
47
|
|
|
48
48
|
It also counts the stale temp files a killed blob write left in .canon/artifacts/sha256 (`.tmp\-<sha256>\-<pid>\-<nanos>`, modified over five minutes ago): data.staleTemps has their files and bytes (unreadable, never 0, when the directory cannot be read) and a line names `canon artifacts prune`, which deletes them. verify deletes nothing, and a temp file never changes the exit.
|
|
49
49
|
.SH VERSION
|
|
50
|
-
v0.
|
|
50
|
+
v0.49.0
|
package/man/canon-artifacts.1
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-artifacts 1 "artifacts 0.
|
|
3
|
+
.TH canon-artifacts 1 "artifacts 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-artifacts \- Check the evidence artifact store
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon artifacts\fR [\fB\-\-as\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] <\fIsubcommands\fR>
|
|
7
|
+
\fBcanon artifacts\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
|
Check the evidence artifact store
|
|
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` / `
|
|
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
|
|
@@ -42,4 +48,4 @@ Store the bound files of existing evidence records and current reviews in the ar
|
|
|
42
48
|
canon\-artifacts\-prune(1)
|
|
43
49
|
Delete the artifact blobs no record binds any more (the bare run previews; \-\-commit \-\-plan\-digest deletes)
|
|
44
50
|
.SH VERSION
|
|
45
|
-
v0.
|
|
51
|
+
v0.49.0
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-briefs-approve 1 "approve 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-briefs\-approve \- Record the human\*(Aqs approval of the brief, bound to its text; refused while `briefs check` has blockers. With \-\-delegated, the approval the owner delegated in the policy
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon briefs 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\-\-digest\fR] [\fB\-\-delegated\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fICHANGE_ID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
|
-
Record the human\*(Aqs approval of the brief, bound to its text; refused while `
|
|
9
|
+
Record the human\*(Aqs approval of the brief, bound to its text; refused while `briefs check` has blockers. With \-\-delegated, the approval the owner delegated in the policy
|
|
10
10
|
.SH OPTIONS
|
|
11
11
|
.TP
|
|
12
12
|
\fB\-\-approver\fR \fI<NAME>\fR
|
|
13
13
|
Who approved (the human, not the agent). Required unless \-\-delegated
|
|
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` / `
|
|
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,30 +29,33 @@ 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
|
The human\*(Aqs own words. Required unless \-\-delegated
|
|
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
|
|
37
43
|
.TP
|
|
38
44
|
\fB\-\-actor\fR \fI<ACTOR_ID>\fR
|
|
39
45
|
With \-\-relayed\-via or \-\-delegated, 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\-\-digest\fR \fI<DIGEST>\fR
|
|
42
|
-
With \-\-relayed\-via, the digest `canon
|
|
51
|
+
With \-\-relayed\-via, the digest `canon briefs get \-\-body` showed the human, as `<change>=<sha256:digest>`, once per change; a brief whose digest differs is refused
|
|
43
52
|
.TP
|
|
44
53
|
\fB\-\-delegated\fR
|
|
45
|
-
Approve under a delegation (`delegation:` in `.canon/policy.yaml`, approved with the policy) instead of a human\*(Aqs answer: the declared role (\-\-as or CANON_ROLE) must hold a `brief\-approve` entry, and the latest plan review of each brief (`canon
|
|
54
|
+
Approve under a delegation (`delegation:` in `.canon/policy.yaml`, approved with the policy) instead of a human\*(Aqs answer: the declared role (\-\-as or CANON_ROLE) must hold a `brief\-approve` entry, and the latest plan review of each brief (`canon reviews brief`) must be an `approve` by another actor with no open blocker finding. Takes no \-\-approver, \-\-note, \-\-relayed\-via or \-\-digest; an unmet condition is DELEGATION_REQUIRED with the condition as its reason, and nothing is written
|
|
46
55
|
.TP
|
|
47
56
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
48
57
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
49
58
|
.TP
|
|
50
|
-
\fB\-\-json\fR
|
|
51
|
-
Output JSON instead of the human\-readable form
|
|
52
|
-
.TP
|
|
53
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
54
|
-
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
|
|
55
|
-
.TP
|
|
56
59
|
\fB\-h\fR, \fB\-\-help\fR
|
|
57
60
|
Print help
|
|
58
61
|
.TP
|
|
@@ -63,9 +66,9 @@ Print version
|
|
|
63
66
|
The changes to approve, one answer for all, none written unless every one is approvable (default: the repo\*(Aqs only live change)
|
|
64
67
|
.SH EXTRA
|
|
65
68
|
Examples:
|
|
66
|
-
canon
|
|
67
|
-
canon
|
|
68
|
-
canon
|
|
69
|
+
canon briefs approve add\-login \-\-approver Ana \-\-note \*(AqGo. Ship the failure flow too.\*(Aq
|
|
70
|
+
canon briefs approve add\-login add\-search fix\-sync \-\-approver Ana \-\-note \*(AqAll three, go.\*(Aq
|
|
71
|
+
canon briefs approve add\-login \-\-as orchestrator \-\-actor impl\-1 \-\-delegated
|
|
69
72
|
|
|
70
73
|
Several ids take one name, one answer and one timestamp. Every id is checked
|
|
71
74
|
first; one refused id refuses the call (the first refused id\*(Aqs code, with a
|
|
@@ -84,4 +87,4 @@ the brief\*(Aqs latest plan review is an approve by another actor with no open b
|
|
|
84
87
|
`Approved: <owner> <when> — "<canon\*(Aqs words>" (delegated to <role> <actor> under policy <digest> after review <id>) …`.
|
|
85
88
|
It records no policy approval.
|
|
86
89
|
.SH VERSION
|
|
87
|
-
v0.
|
|
90
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-briefs-check 1 "check 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-briefs\-check \- Read the brief against the rules: blocker and advisory findings (exit 0 clean, 1 blockers, 2 refused)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon briefs check\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] [\fIID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Read the brief against the rules: blocker and advisory findings (exit 0 clean, 1 blockers, 2 refused)
|
|
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` / `
|
|
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
|
-
[\
|
|
44
|
+
[\fIID\fR]
|
|
42
45
|
The change to read (default: the repo\*(Aqs only live change)
|
|
43
46
|
.SH VERSION
|
|
44
|
-
v0.
|
|
47
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-briefs-get 1 "get 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-briefs\-get \- Show where the change stands and the next one to three steps; never edits
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon briefs get\fR [\fB\-\-as\fR] [\fB\-\-body\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
8
|
.SH DESCRIPTION
|
|
9
9
|
Show where the change stands and the next one to three steps; never edits
|
|
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` / `
|
|
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,13 +27,16 @@ orchestrator
|
|
|
27
27
|
.RE
|
|
28
28
|
.TP
|
|
29
29
|
\fB\-\-body\fR
|
|
30
|
-
Print the brief file\*(Aqs bytes as they are, then a last line with the approval digest `
|
|
30
|
+
Print the brief file\*(Aqs bytes as they are, then a last line with the approval digest `briefs approve` would record (with \-\-json: `body` and `digest` fields); what a human is shown before they answer
|
|
31
|
+
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
31
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
|
-
\fB\-\-
|
|
36
|
-
|
|
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
|
|
37
40
|
.TP
|
|
38
41
|
\fB\-h\fR, \fB\-\-help\fR
|
|
39
42
|
Print help
|
|
@@ -41,13 +44,13 @@ Print help
|
|
|
41
44
|
\fB\-V\fR, \fB\-\-version\fR
|
|
42
45
|
Print version
|
|
43
46
|
.TP
|
|
44
|
-
[\
|
|
47
|
+
[\fIID\fR]
|
|
45
48
|
The change to read (default: the repo\*(Aqs only live change)
|
|
46
49
|
.SH EXTRA
|
|
47
50
|
Examples:
|
|
48
|
-
canon
|
|
49
|
-
canon
|
|
51
|
+
canon briefs get
|
|
52
|
+
canon briefs get add\-login \-\-json
|
|
50
53
|
|
|
51
54
|
The operand names the change; without it the repo\*(Aqs only live change is read.
|
|
52
55
|
.SH VERSION
|
|
53
|
-
v0.
|
|
56
|
+
v0.49.0
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.ie \n(.g .ds Aq \(aq
|
|
2
|
+
.el .ds Aq '
|
|
3
|
+
.TH canon-briefs 1 "briefs 0.49.0"
|
|
4
|
+
.SH NAME
|
|
5
|
+
canon\-briefs \- Check a change\*(Aqs brief (PRD format) and see the next steps; never edits
|
|
6
|
+
.SH SYNOPSIS
|
|
7
|
+
\fBcanon briefs\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
|
+
.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` / `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
|
+
.TP
|
|
38
|
+
\fB\-V\fR, \fB\-\-version\fR
|
|
39
|
+
Print version
|
|
40
|
+
.SH SUBCOMMANDS
|
|
41
|
+
.TP
|
|
42
|
+
canon\-briefs\-get(1)
|
|
43
|
+
Show where the change stands and the next one to three steps; never edits
|
|
44
|
+
.TP
|
|
45
|
+
canon\-briefs\-check(1)
|
|
46
|
+
Read the brief against the rules: blocker and advisory findings (exit 0 clean, 1 blockers, 2 refused)
|
|
47
|
+
.TP
|
|
48
|
+
canon\-briefs\-approve(1)
|
|
49
|
+
Record the human\*(Aqs approval of the brief, bound to its text; refused while `briefs check` has blockers. With \-\-delegated, the approval the owner delegated in the policy
|
|
50
|
+
.SH EXTRA
|
|
51
|
+
Examples:
|
|
52
|
+
canon briefs get add\-login State and the next one to three steps
|
|
53
|
+
canon briefs check add\-login Findings; exit 0 clean, 1 blockers, 2 refused
|
|
54
|
+
canon briefs check add\-login \-\-json
|
|
55
|
+
|
|
56
|
+
The brief is the PRD `canon changes create` writes: sections are found by their
|
|
57
|
+
English `##` heading (Intent, Desired outcome, …), never by a comment.
|
|
58
|
+
.SH VERSION
|
|
59
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-changes-create 1 "create 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-changes\-create \- Write .canon/changes/<slug>/brief.md, import it, and adopt it into a subject
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon changes create\fR [\fB\-\-as\fR] [\fB\-\-id\fR] [\fB\-\-json\fR] [\fB\-\-subject\fR] [\fB\-\-change\-kind\fR] [\fB\-\-input\fR] [\fB\-\-title\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Write .canon/changes/<slug>/brief.md, import it, and adopt it into a subject
|
|
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` / `
|
|
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\-\-id\fR \fI<ID>\fR
|
|
30
|
+
The change\*(Aqs slug (its change_id)
|
|
31
|
+
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
29
35
|
\fB\-\-subject\fR \fI<SUBJECT_ID>\fR
|
|
30
36
|
The existing subject to adopt the change under
|
|
31
37
|
.TP
|
|
@@ -42,25 +48,19 @@ feature
|
|
|
42
48
|
chore
|
|
43
49
|
.RE
|
|
44
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
|
|
45
54
|
\fB\-\-title\fR \fI<TEXT>\fR
|
|
46
55
|
The change\*(Aqs title (also its brief\*(Aqs summary)
|
|
47
56
|
.TP
|
|
48
57
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
49
58
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
50
59
|
.TP
|
|
51
|
-
\fB\-\-json\fR
|
|
52
|
-
Output JSON instead of the human\-readable form
|
|
53
|
-
.TP
|
|
54
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
55
|
-
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
|
|
56
|
-
.TP
|
|
57
60
|
\fB\-h\fR, \fB\-\-help\fR
|
|
58
61
|
Print help
|
|
59
62
|
.TP
|
|
60
63
|
\fB\-V\fR, \fB\-\-version\fR
|
|
61
64
|
Print version
|
|
62
|
-
.TP
|
|
63
|
-
<\fICHANGE_ID\fR>
|
|
64
|
-
The change\*(Aqs slug (its change_id)
|
|
65
65
|
.SH VERSION
|
|
66
|
-
v0.
|
|
66
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-changes-defer 1 "defer 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-changes\-defer \- Set an approved change aside for now (a human\*(Aqs decision: needs a reason, a reference and the approver); `canon changes reopen` brings it back
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon changes defer\fR [\fB\-\-as\fR] [\fB\-\-reason\fR] [\fB\-\-json\fR] [\fB\-\-ref\fR] [\fB\-\-approver\fR] [\fB\-\-input\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-repo\fR] [\fB\-\-dry\-run\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
|
-
Set an approved change aside for now (a human\*(Aqs decision: needs a reason, a reference and the approver); `canon
|
|
9
|
+
Set an approved change aside for now (a human\*(Aqs decision: needs a reason, a reference and the approver); `canon changes reopen` brings it back
|
|
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` / `
|
|
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,26 @@ orchestrator
|
|
|
29
29
|
\fB\-\-reason\fR \fI<TEXT>\fR
|
|
30
30
|
Why, in the human\*(Aqs words (one line)
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-ref\fR \fI<TEXT>\fR
|
|
33
36
|
What a reader can open to see why: a link, a commit, a file, the date of a conversation (one line; once per reference, at least one)
|
|
34
37
|
.TP
|
|
35
38
|
\fB\-\-approver\fR \fI<NAME>\fR
|
|
36
39
|
Who decided (the human, not the agent)
|
|
37
40
|
.TP
|
|
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 argument names in camelCase
|
|
43
|
+
.TP
|
|
38
44
|
\fB\-\-relayed\-via\fR \fI<NAME>\fR
|
|
39
45
|
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
|
|
40
46
|
.TP
|
|
41
47
|
\fB\-\-actor\fR \fI<ACTOR_ID>\fR
|
|
42
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
|
|
43
52
|
.TP
|
|
44
53
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
45
54
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
@@ -47,25 +56,19 @@ The repo to act on (default: the nearest ancestor directory holding a canon.yaml
|
|
|
47
56
|
\fB\-\-dry\-run\fR
|
|
48
57
|
Validate fully and report what would be written, without writing anything
|
|
49
58
|
.TP
|
|
50
|
-
\fB\-\-json\fR
|
|
51
|
-
Output JSON instead of the human\-readable form
|
|
52
|
-
.TP
|
|
53
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
54
|
-
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
|
|
55
|
-
.TP
|
|
56
59
|
\fB\-h\fR, \fB\-\-help\fR
|
|
57
60
|
Print help
|
|
58
61
|
.TP
|
|
59
62
|
\fB\-V\fR, \fB\-\-version\fR
|
|
60
63
|
Print version
|
|
61
64
|
.TP
|
|
62
|
-
|
|
65
|
+
[\fIID\fR]
|
|
63
66
|
The change to close (it must have a record)
|
|
64
67
|
.SH EXTRA
|
|
65
68
|
Examples:
|
|
66
|
-
canon
|
|
69
|
+
canon changes defer canon\-0\-41\-ci\-nextest \-\-reason \*(Aqthe offline job is over budget\*(Aq \\
|
|
67
70
|
\-\-ref https://example.com/pull/147 \-\-approver Ana
|
|
68
|
-
canon
|
|
71
|
+
canon changes defer add\-login \-\-reason \*(Aqwaiting on the vendor\*(Aq \-\-ref \*(Aqchat 2026\-11\-16\*(Aq \\
|
|
69
72
|
\-\-approver Ana \-\-relayed\-via ask \-\-actor impl\-1 \-\-as orchestrator
|
|
70
73
|
|
|
71
74
|
Records the decision as a `change_state` record (read it with `canon query \-\-kind
|
|
@@ -76,7 +79,7 @@ its brief was first committed) are set aside. The change\*(Aqs brief, evidence,
|
|
|
76
79
|
findings stay; a warning (CHANGE_RECORDS_KEPT) counts the records kept. Deferral does not
|
|
77
80
|
expire.
|
|
78
81
|
|
|
79
|
-
Human only, like `
|
|
82
|
+
Human only, like `briefs approve`: an agent role is refused (ACTOR_DENIED) unless it relays
|
|
80
83
|
the human\*(Aqs explicit answer with \-\-relayed\-via (and \-\-actor, or CANON_ACTOR), which the record
|
|
81
84
|
keeps; `approval: { relay: deny }` in canon.yaml refuses that too. \-\-reason is the human\*(Aqs
|
|
82
85
|
words, one line; give \-\-ref once per reference a reader can open (a link, a commit, a file,
|
|
@@ -87,4 +90,4 @@ a new change that removes the behavior), `CLOSED` for a change already deferred
|
|
|
87
90
|
other values (the same call again is `unchanged`). CHANGE_NOT_FOUND for a change with no
|
|
88
91
|
record. Not destructive: nothing is deleted, so there is no \-\-commit.
|
|
89
92
|
.SH VERSION
|
|
90
|
-
v0.
|
|
93
|
+
v0.49.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-changes-drop 1 "drop 0.49.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-changes\-drop \- Give up an approved change for good (a human\*(Aqs decision: needs a reason, a reference and the approver); it is never brought back
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon changes drop\fR [\fB\-\-as\fR] [\fB\-\-reason\fR] [\fB\-\-json\fR] [\fB\-\-ref\fR] [\fB\-\-approver\fR] [\fB\-\-input\fR] [\fB\-\-relayed\-via\fR] [\fB\-\-actor\fR] [\fB\-\-repo\fR] [\fB\-\-dry\-run\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Give up an approved change for good (a human\*(Aqs decision: needs a reason, a reference and the approver); it is never brought back
|
|
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` / `
|
|
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,26 @@ orchestrator
|
|
|
29
29
|
\fB\-\-reason\fR \fI<TEXT>\fR
|
|
30
30
|
Why, in the human\*(Aqs words (one line)
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-ref\fR \fI<TEXT>\fR
|
|
33
36
|
What a reader can open to see why: a link, a commit, a file, the date of a conversation (one line; once per reference, at least one)
|
|
34
37
|
.TP
|
|
35
38
|
\fB\-\-approver\fR \fI<NAME>\fR
|
|
36
39
|
Who decided (the human, not the agent)
|
|
37
40
|
.TP
|
|
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 argument names in camelCase
|
|
43
|
+
.TP
|
|
38
44
|
\fB\-\-relayed\-via\fR \fI<NAME>\fR
|
|
39
45
|
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
|
|
40
46
|
.TP
|
|
41
47
|
\fB\-\-actor\fR \fI<ACTOR_ID>\fR
|
|
42
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
|
|
43
52
|
.TP
|
|
44
53
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
45
54
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
@@ -47,31 +56,25 @@ The repo to act on (default: the nearest ancestor directory holding a canon.yaml
|
|
|
47
56
|
\fB\-\-dry\-run\fR
|
|
48
57
|
Validate fully and report what would be written, without writing anything
|
|
49
58
|
.TP
|
|
50
|
-
\fB\-\-json\fR
|
|
51
|
-
Output JSON instead of the human\-readable form
|
|
52
|
-
.TP
|
|
53
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
54
|
-
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
|
|
55
|
-
.TP
|
|
56
59
|
\fB\-h\fR, \fB\-\-help\fR
|
|
57
60
|
Print help
|
|
58
61
|
.TP
|
|
59
62
|
\fB\-V\fR, \fB\-\-version\fR
|
|
60
63
|
Print version
|
|
61
64
|
.TP
|
|
62
|
-
|
|
65
|
+
[\fIID\fR]
|
|
63
66
|
The change to close (it must have a record)
|
|
64
67
|
.SH EXTRA
|
|
65
68
|
Examples:
|
|
66
|
-
canon
|
|
69
|
+
canon changes drop add\-cart \-\-reason \*(Aqthe owner chose another design\*(Aq \\
|
|
67
70
|
\-\-ref https://example.com/issues/42 \-\-approver Ana
|
|
68
|
-
canon
|
|
71
|
+
canon changes drop add\-cart \-\-reason \*(Aqthe owner chose another design\*(Aq \-\-ref \*(Aqchat 2026\-11\-16\*(Aq \\
|
|
69
72
|
\-\-approver Ana \-\-relayed\-via ask \-\-actor impl\-1 \-\-as orchestrator
|
|
70
73
|
|
|
71
|
-
The same as `canon
|
|
74
|
+
The same as `canon changes defer`, with state `dropped`: options, human\-only rule, refusals,
|
|
72
75
|
warning and report. A deferred change can be dropped. A dropped change takes no other state
|
|
73
76
|
and the same call again is `unchanged`; any other call is CHANGE_CONFLICT (CLOSED). To bring
|
|
74
|
-
the work back, write a new change (`canon
|
|
77
|
+
the work back, write a new change (`canon changes create`) and name the dropped one in its
|
|
75
78
|
`Source:`.
|
|
76
79
|
.SH VERSION
|
|
77
|
-
v0.
|
|
80
|
+
v0.49.0
|