@journeykit/canon 0.48.1 → 0.50.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} +23 -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-
|
|
3
|
+
.TH canon-divergences-add 1 "add 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-divergences\-add \- Add a divergence candidate, staged with no run_seq yet (commit it with `canon gate promote \-\-kind divergence`, or in the same run with \-\-promote / `write: { promote: auto }`)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon divergences add\fR [\fB\-\-as\fR] [\fB\-\-project\fR] [\fB\-\-json\fR] [\fB\-\-rev\fR] [\fB\-\-input\fR] [\fB\-\-state\fR] [\fB\-\-reason\fR] [\fB\-\-expiry\fR] [\fB\-\-round\fR] [\fB\-\-actor\fR] [\fB\-\-session\fR] [\fB\-\-detail\fR] [\fB\-\-role\fR] [\fB\-\-promote\fR] [\fB\-\-no\-promote\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fISCENARIO_ID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Add a divergence candidate, staged with no run_seq yet (commit it with `canon gate promote \-\-kind divergence`, or in the same run with \-\-promote / `write: { promote: auto }`)
|
|
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,9 +29,15 @@ orchestrator
|
|
|
29
29
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
30
30
|
Spec corpus id of the scenario. Required only when canon.yaml configures more than one spec root
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-rev\fR \fI<REV>\fR [default: HEAD]
|
|
33
36
|
The commit this record is about: any git revision (`HEAD~1`, a branch, a tag, a short sha); the full sha is recorded with the code tree it saw. The default HEAD records the working tree as it stands (uncommitted code included), and a commit made from it has the same code tree. Outside git, or with no commit, the command refuses (COMMIT_REQUIRED)
|
|
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\-\-state\fR \fI<STATE>\fR [default: open]
|
|
36
42
|
The divergence state to record (deferred needs \-\-reason and \-\-expiry)
|
|
37
43
|
.br
|
|
@@ -79,19 +85,13 @@ Keep this write staged even under canon.yaml `write: { promote: auto }`
|
|
|
79
85
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
80
86
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
81
87
|
.TP
|
|
82
|
-
\fB\-\-json\fR
|
|
83
|
-
Output JSON instead of the human\-readable form
|
|
84
|
-
.TP
|
|
85
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
86
|
-
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
|
|
87
|
-
.TP
|
|
88
88
|
\fB\-h\fR, \fB\-\-help\fR
|
|
89
89
|
Print help
|
|
90
90
|
.TP
|
|
91
91
|
\fB\-V\fR, \fB\-\-version\fR
|
|
92
92
|
Print version
|
|
93
93
|
.TP
|
|
94
|
-
|
|
94
|
+
[\fISCENARIO_ID\fR]
|
|
95
95
|
The scenario (`<area>.<surface>.<nn>`)
|
|
96
96
|
.SH VERSION
|
|
97
|
-
v0.
|
|
97
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-divergences-defer 1 "defer 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-divergences\-defer \- Directly record a deferred divergence (requires \-\-reason/\-\-expiry)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon divergences defer\fR [\fB\-\-as\fR] [\fB\-\-project\fR] [\fB\-\-json\fR] [\fB\-\-rev\fR] [\fB\-\-input\fR] [\fB\-\-round\fR] [\fB\-\-actor\fR] [\fB\-\-session\fR] [\fB\-\-reason\fR] [\fB\-\-expiry\fR] [\fB\-\-role\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fISCENARIO_ID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Directly record a deferred divergence (requires \-\-reason/\-\-expiry)
|
|
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,9 +29,15 @@ orchestrator
|
|
|
29
29
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
30
30
|
Spec corpus id of the scenario. Required only when canon.yaml configures more than one spec root
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-rev\fR \fI<REV>\fR [default: HEAD]
|
|
33
36
|
The commit this record is about: any git revision (`HEAD~1`, a branch, a tag, a short sha); the full sha is recorded with the code tree it saw. The default HEAD records the working tree as it stands (uncommitted code included), and a commit made from it has the same code tree. Outside git, or with no commit, the command refuses (COMMIT_REQUIRED)
|
|
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\-\-round\fR \fI<N>\fR [default: 1]
|
|
36
42
|
The review round this version belongs to (1\-based)
|
|
37
43
|
.TP
|
|
@@ -53,19 +59,13 @@ The role this record is attributed to (default: the role declared with \-\-as /
|
|
|
53
59
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
54
60
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
55
61
|
.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
62
|
\fB\-h\fR, \fB\-\-help\fR
|
|
63
63
|
Print help
|
|
64
64
|
.TP
|
|
65
65
|
\fB\-V\fR, \fB\-\-version\fR
|
|
66
66
|
Print version
|
|
67
67
|
.TP
|
|
68
|
-
|
|
68
|
+
[\fISCENARIO_ID\fR]
|
|
69
69
|
The scenario (`<area>.<surface>.<nn>`)
|
|
70
70
|
.SH VERSION
|
|
71
|
-
v0.
|
|
71
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-divergences-list 1 "list 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-divergences\-list \- List the current divergence burn\-down state
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon divergences list\fR [\fB\-\-as\fR] [\fB\-\-repo\fR] [\fB\-\-as\-of\fR] [\fB\-\-json\fR] [\fB\-\-input\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
|
List the current divergence burn\-down state
|
|
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
|
|
@@ -33,9 +33,12 @@ The repo to act on (default: the nearest ancestor directory holding a canon.yaml
|
|
|
33
33
|
Governs Deferred expiry; an RFC 3339 date (`2030\-01\-01`, UTC midnight) or date\-time (`2030\-01\-01T10:00:00Z`); defaults to now
|
|
34
34
|
.TP
|
|
35
35
|
\fB\-\-json\fR
|
|
36
|
-
|
|
36
|
+
Output JSON instead of the human\-readable form
|
|
37
37
|
.TP
|
|
38
|
-
\fB\-\-
|
|
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\-\-limit\fR \fI<LIMIT>\fR [default: 100]
|
|
39
42
|
Return at most this many records per page
|
|
40
43
|
.TP
|
|
41
44
|
\fB\-\-cursor\fR \fI<CURSOR>\fR
|
|
@@ -53,4 +56,4 @@ Print help
|
|
|
53
56
|
\fB\-V\fR, \fB\-\-version\fR
|
|
54
57
|
Print version
|
|
55
58
|
.SH VERSION
|
|
56
|
-
v0.
|
|
59
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-divergences-resolve 1 "resolve 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-divergences\-resolve \- Directly record a resolved divergence
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon divergences resolve\fR [\fB\-\-as\fR] [\fB\-\-project\fR] [\fB\-\-json\fR] [\fB\-\-rev\fR] [\fB\-\-input\fR] [\fB\-\-round\fR] [\fB\-\-actor\fR] [\fB\-\-session\fR] [\fB\-\-detail\fR] [\fB\-\-role\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fISCENARIO_ID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Directly record a resolved divergence
|
|
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,9 +29,15 @@ orchestrator
|
|
|
29
29
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
30
30
|
Spec corpus id of the scenario. Required only when canon.yaml configures more than one spec root
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-rev\fR \fI<REV>\fR [default: HEAD]
|
|
33
36
|
The commit this record is about: any git revision (`HEAD~1`, a branch, a tag, a short sha); the full sha is recorded with the code tree it saw. The default HEAD records the working tree as it stands (uncommitted code included), and a commit made from it has the same code tree. Outside git, or with no commit, the command refuses (COMMIT_REQUIRED)
|
|
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\-\-round\fR \fI<N>\fR [default: 1]
|
|
36
42
|
The review round this version belongs to (1\-based)
|
|
37
43
|
.TP
|
|
@@ -50,19 +56,13 @@ The role this record is attributed to (default: the role declared with \-\-as /
|
|
|
50
56
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
51
57
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
52
58
|
.TP
|
|
53
|
-
\fB\-\-json\fR
|
|
54
|
-
Output JSON instead of the human\-readable form
|
|
55
|
-
.TP
|
|
56
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
57
|
-
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
|
|
58
|
-
.TP
|
|
59
59
|
\fB\-h\fR, \fB\-\-help\fR
|
|
60
60
|
Print help
|
|
61
61
|
.TP
|
|
62
62
|
\fB\-V\fR, \fB\-\-version\fR
|
|
63
63
|
Print version
|
|
64
64
|
.TP
|
|
65
|
-
|
|
65
|
+
[\fISCENARIO_ID\fR]
|
|
66
66
|
The scenario (`<area>.<surface>.<nn>`)
|
|
67
67
|
.SH VERSION
|
|
68
|
-
v0.
|
|
68
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-
|
|
3
|
+
.TH canon-divergences 1 "divergences 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
|
-
canon\-
|
|
5
|
+
canon\-divergences \- Stage, promote, resolve, and inspect spec divergences
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon
|
|
7
|
+
\fBcanon divergences\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
|
Stage, promote, resolve, and inspect spec divergences
|
|
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
|
|
@@ -33,19 +39,19 @@ Print help
|
|
|
33
39
|
Print version
|
|
34
40
|
.SH SUBCOMMANDS
|
|
35
41
|
.TP
|
|
36
|
-
canon\-
|
|
42
|
+
canon\-divergences\-add(1)
|
|
37
43
|
Add a divergence candidate, staged with no run_seq yet (commit it with `canon gate promote \-\-kind divergence`, or in the same run with \-\-promote / `write: { promote: auto }`)
|
|
38
44
|
.TP
|
|
39
|
-
canon\-
|
|
45
|
+
canon\-divergences\-resolve(1)
|
|
40
46
|
Directly record a resolved divergence
|
|
41
47
|
.TP
|
|
42
|
-
canon\-
|
|
48
|
+
canon\-divergences\-defer(1)
|
|
43
49
|
Directly record a deferred divergence (requires \-\-reason/\-\-expiry)
|
|
44
50
|
.TP
|
|
45
|
-
canon\-
|
|
51
|
+
canon\-divergences\-accept(1)
|
|
46
52
|
Accept a divergent scenario as a tracked known gap (a reviewer step): its latest evidence must be divergent and not the accepting actor\*(Aqs or session\*(Aqs. The acceptance pins that evidence, so new evidence ends it, and lapses at \-\-expiry; until then the ship guard counts the cell as covered while `status` and `gate check` list it as `accepted\-divergence`
|
|
47
53
|
.TP
|
|
48
|
-
canon\-
|
|
54
|
+
canon\-divergences\-list(1)
|
|
49
55
|
List the current divergence burn\-down state
|
|
50
56
|
.SH VERSION
|
|
51
|
-
v0.
|
|
57
|
+
v0.50.0
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.ie \n(.g .ds Aq \(aq
|
|
2
|
+
.el .ds Aq '
|
|
3
|
+
.TH canon-evidence-add-all 1 "add-all 0.50.0"
|
|
4
|
+
.SH NAME
|
|
5
|
+
canon\-evidence\-add\-all \- Record one attributed EvidenceRecord per indexed scenario of \-\-project that owns a case in the \-\-report(s), all or nothing (promoted like `evidence add`)
|
|
6
|
+
.SH SYNOPSIS
|
|
7
|
+
\fBcanon evidence add\-all\fR [\fB\-\-as\fR] [\fB\-\-project\fR] [\fB\-\-class\fR] [\fB\-\-json\fR] [\fB\-\-input\fR] [\fB\-\-ref\fR] [\fB\-\-verdict\fR] [\fB\-\-summary\fR] [\fB\-\-command\-result\fR] [\fB\-\-run\fR] [\fB\-\-surface\-ref\fR] [\fB\-\-actor\fR] [\fB\-\-role\fR] [\fB\-\-session\fR] [\fB\-\-rev\fR] [\fB\-\-artifact\fR] [\fB\-\-report\fR] [\fB\-\-from\-ci\fR] [\fB\-\-max\-artifact\-mib\fR] [\fB\-\-override\-reason\fR] [\fB\-\-promote\fR] [\fB\-\-no\-promote\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
Record one attributed EvidenceRecord per indexed scenario of \-\-project that owns a case in the \-\-report(s), all or nothing (promoted like `evidence add`)
|
|
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\-\-project\fR \fI<PROJECT_ID>\fR
|
|
30
|
+
Spec corpus id whose scenarios the cases belong to. Must name a spec root configured in canon.yaml (SPEC_ROOT_NOT_FOUND)
|
|
31
|
+
.TP
|
|
32
|
+
\fB\-\-class\fR \fI<CLASS>\fR
|
|
33
|
+
What CLASS of evidence is attested to (test\-run, review, ...); default `test\-run`
|
|
34
|
+
.TP
|
|
35
|
+
\fB\-\-json\fR
|
|
36
|
+
Output JSON instead of the human\-readable form
|
|
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\-\-ref\fR \fI<TEXT>\fR
|
|
42
|
+
The reference a reader can resolve: a command line, commit sha, or report path (default: the \-\-report paths, comma\-separated). NEVER run or resolved by canon
|
|
43
|
+
.TP
|
|
44
|
+
\fB\-\-verdict\fR \fI<VERDICT>\fR
|
|
45
|
+
faithful / not\-applicable / divergent for every record; without it each record\*(Aqs verdict is derived from its bound cases (any failed: divergent; a skipped case and none failed: not\-applicable; else faithful). An explicit faithful over a failed or skipped case is refused
|
|
46
|
+
.br
|
|
47
|
+
|
|
48
|
+
.br
|
|
49
|
+
\fIPossible values:\fR
|
|
50
|
+
.RS 14
|
|
51
|
+
.IP \(bu 2
|
|
52
|
+
faithful
|
|
53
|
+
.IP \(bu 2
|
|
54
|
+
not\-applicable
|
|
55
|
+
.IP \(bu 2
|
|
56
|
+
divergent
|
|
57
|
+
.RE
|
|
58
|
+
.TP
|
|
59
|
+
\fB\-\-summary\fR \fI<TEXT>\fR
|
|
60
|
+
One line of text recorded on every record. The white space around it is trimmed; a control character or line break inside it is refused
|
|
61
|
+
.TP
|
|
62
|
+
\fB\-\-command\-result\fR \fI<TEXT>\fR
|
|
63
|
+
The real captured output backing \-\-summary (requires \-\-summary; scanned for fabrication markers)
|
|
64
|
+
.TP
|
|
65
|
+
\fB\-\-run\fR \fI<RUN_ID>\fR
|
|
66
|
+
RunId (ULID) of the run that produced this evidence
|
|
67
|
+
.TP
|
|
68
|
+
\fB\-\-surface\-ref\fR \fI<PATH_OR_EFFECT>\fR
|
|
69
|
+
A path pattern from the repository root (src/, src/**) or effect:<kebab\-slug>; persisted as surface_ref on every record
|
|
70
|
+
.TP
|
|
71
|
+
\fB\-\-actor\fR \fI<ACTOR_ID>\fR [default: canon]
|
|
72
|
+
The attesting actor\*(Aqs id (recorded as the attestation\*(Aqs author). One line of text: the white space around it is trimmed; a control character or line break inside it is refused
|
|
73
|
+
.TP
|
|
74
|
+
\fB\-\-role\fR \fI<ROLE>\fR
|
|
75
|
+
The attesting role; `canon gate promote` derives its run_seq partition key from it. Default: the declared role (\-\-as / CANON_ROLE); required when none is declared
|
|
76
|
+
.TP
|
|
77
|
+
\fB\-\-session\fR \fI<SESSION_ID>\fR
|
|
78
|
+
The attesting session (recorded as actor.session_id)
|
|
79
|
+
.TP
|
|
80
|
+
\fB\-\-rev\fR \fI<REV>\fR [default: HEAD]
|
|
81
|
+
The commit this record is about: any git revision (`HEAD~1`, a branch, a tag, a short sha); the full sha is recorded with the code tree it saw. The default HEAD records the working tree as it stands (uncommitted code included), and a commit made from it has the same code tree. Outside git, or with no commit, the command refuses (COMMIT_REQUIRED)
|
|
82
|
+
.TP
|
|
83
|
+
\fB\-\-artifact\fR \fI<PATH>\fR
|
|
84
|
+
EXPERIMENTAL: bind a file to one record of the batch, as `<scenario\-id>=<path>`; repeatable; must be inside the repo
|
|
85
|
+
.TP
|
|
86
|
+
\fB\-\-report\fR \fI<FORMAT:PATH>\fR
|
|
87
|
+
The test report to split by scenario, `junit:<path>`, `cucumber:<path>` or `swift\-testing:<path>`; repeatable
|
|
88
|
+
.TP
|
|
89
|
+
\fB\-\-from\-ci\fR
|
|
90
|
+
Record the batch as a CI run (the `ci` block of every record, from the GitHub Actions environment; needs \-\-ref). Refused outside CI (CI_ENV_REQUIRED) and on a work tree that differs from HEAD (CI_WORKTREE_CONFLICT)
|
|
91
|
+
.TP
|
|
92
|
+
\fB\-\-max\-artifact\-mib\fR \fI<N>\fR [default: 25]
|
|
93
|
+
Per\-file size limit for the artifact store (.canon/artifacts/sha256/), in MiB; a larger bound file is refused
|
|
94
|
+
.TP
|
|
95
|
+
\fB\-\-override\-reason\fR \fI<TEXT>\fR
|
|
96
|
+
Attest anyway while a subject this record attests for has a brief awaiting the human\*(Aqs answer (one line of text, recorded on the record with \-\-actor)
|
|
97
|
+
.TP
|
|
98
|
+
\fB\-\-promote\fR
|
|
99
|
+
Promote the record this run staged, in the same run; records others staged stay staged (the default under canon.yaml `write: { promote: auto }`)
|
|
100
|
+
.TP
|
|
101
|
+
\fB\-\-no\-promote\fR
|
|
102
|
+
Keep this write staged even under canon.yaml `write: { promote: auto }`
|
|
103
|
+
.TP
|
|
104
|
+
\fB\-\-repo\fR \fI<DIR>\fR
|
|
105
|
+
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
106
|
+
.TP
|
|
107
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
108
|
+
Print help
|
|
109
|
+
.TP
|
|
110
|
+
\fB\-V\fR, \fB\-\-version\fR
|
|
111
|
+
Print version
|
|
112
|
+
.SH EXTRA
|
|
113
|
+
Examples:
|
|
114
|
+
canon evidence add\-all \-\-report junit:target/report.xml \-\-ref \*(Aqcargo test\*(Aq \-\-role implementer
|
|
115
|
+
canon evidence add\-all \-\-report junit:target/report.xml \-\-ref \*(Aqcargo test\*(Aq \-\-role implementer \-\-from\-ci
|
|
116
|
+
.SH VERSION
|
|
117
|
+
v0.50.0
|
package/man/canon-evidence-add.1
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-evidence-add 1 "add 0.
|
|
3
|
+
.TH canon-evidence-add 1 "add 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-evidence\-add \- Record one attributed EvidenceRecord for a task or scenario (promoted in the same run under `write: { promote: auto }` or with \-\-promote; under `write.promote: manual`, commit it with `canon gate promote`)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon evidence add\fR [\fB\-\-as\fR] [\fB\-\-task\fR] [\fB\-\-project\fR] [\fB\-\-class\fR] [\fB\-\-ref\fR] [\fB\-\-verdict\fR] [\fB\-\-summary\fR] [\fB\-\-command\-result\fR] [\fB\-\-scenario\fR] [\fB\-\-run\fR] [\fB\-\-surface\-ref\fR] [\fB\-\-actor\fR] [\fB\-\-role\fR] [\fB\-\-session\fR] [\fB\-\-approver\fR] [\fB\-\-approval\-role\fR] [\fB\-\-signature\-file\fR] [\fB\-\-approval\-at\fR] [\fB\-\-rev\fR] [\fB\-\-artifact\fR] [\fB\-\-report\fR] [\fB\-\-report\-case\fR] [\fB\-\-
|
|
7
|
+
\fBcanon evidence add\fR [\fB\-\-as\fR] [\fB\-\-task\fR] [\fB\-\-json\fR] [\fB\-\-project\fR] [\fB\-\-class\fR] [\fB\-\-input\fR] [\fB\-\-ref\fR] [\fB\-\-verdict\fR] [\fB\-\-summary\fR] [\fB\-\-command\-result\fR] [\fB\-\-scenario\fR] [\fB\-\-run\fR] [\fB\-\-surface\-ref\fR] [\fB\-\-actor\fR] [\fB\-\-role\fR] [\fB\-\-session\fR] [\fB\-\-approver\fR] [\fB\-\-approval\-role\fR] [\fB\-\-signature\-file\fR] [\fB\-\-approval\-at\fR] [\fB\-\-rev\fR] [\fB\-\-artifact\fR] [\fB\-\-report\fR] [\fB\-\-report\-case\fR] [\fB\-\-max\-artifact\-mib\fR] [\fB\-\-override\-reason\fR] [\fB\-\-promote\fR] [\fB\-\-no\-promote\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Record one attributed EvidenceRecord for a task or scenario (promoted in the same run under `write: { promote: auto }` or with \-\-promote; under `write.promote: manual`, commit it with `canon gate promote`)
|
|
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,23 @@ orchestrator
|
|
|
29
29
|
\fB\-\-task\fR \fI<TASK_ID>\fR
|
|
30
30
|
Plan task this evidence attests to (<change_id>#<n>); required unless \-\-scenario is given
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
33
36
|
Spec corpus id for \-\-scenario (canon keys a scenario by the composite (project_id, scenario_id)). Must name a spec root configured in canon.yaml, or the add is refused (SPEC_ROOT_NOT_FOUND) before anything is written
|
|
34
37
|
.TP
|
|
35
38
|
\fB\-\-class\fR \fI<CLASS>\fR
|
|
36
39
|
What CLASS of evidence is attested to (test\-run, review, ...); default `test\-run` when a \-\-report is given. `audit` is refused: an external evaluator\*(Aqs re\-audit is `canon evidence audit`
|
|
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\-\-ref\fR \fI<TEXT>\fR
|
|
39
45
|
The reference a reader can resolve: a command line, commit sha, or report path (default: the \-\-report paths, comma\-separated, when one is given). NEVER run or resolved by canon
|
|
40
46
|
.TP
|
|
41
47
|
\fB\-\-verdict\fR \fI<VERDICT>\fR
|
|
42
|
-
faithful / not\-applicable / divergent. Given a \-\-report and no \-\-verdict, the verdict is derived from the bound cases (any failed: divergent; a skipped case and none failed: not\-applicable; else faithful), one record at a time with
|
|
48
|
+
faithful / not\-applicable / divergent. Given a \-\-report and no \-\-verdict, the verdict is derived from the bound cases (any failed: divergent; a skipped case and none failed: not\-applicable; else faithful), one record at a time with `evidence add\-all`; with no report the default is faithful. An explicit faithful over a failed or skipped case is refused
|
|
43
49
|
.br
|
|
44
50
|
|
|
45
51
|
.br
|
|
@@ -101,7 +107,7 @@ The approval time included in the signed approval payload: an RFC 3339 date\-tim
|
|
|
101
107
|
The commit this record is about: any git revision (`HEAD~1`, a branch, a tag, a short sha); the full sha is recorded with the code tree it saw. The default HEAD records the working tree as it stands (uncommitted code included), and a commit made from it has the same code tree. Outside git, or with no commit, the command refuses (COMMIT_REQUIRED)
|
|
102
108
|
.TP
|
|
103
109
|
\fB\-\-artifact\fR \fI<PATH>\fR
|
|
104
|
-
EXPERIMENTAL: bind any file (trace, screenshots, agent QA log, report) by sha256; repeatable; must be inside the repo; with
|
|
110
|
+
EXPERIMENTAL: bind any file (trace, screenshots, agent QA log, report) by sha256; repeatable; must be inside the repo; with `evidence add\-all` only as <scenario\-id>=<path>, bound to that scenario\*(Aqs record alone
|
|
105
111
|
.TP
|
|
106
112
|
\fB\-\-report\fR \fI<FORMAT:PATH>\fR
|
|
107
113
|
EXPERIMENTAL: bind and parse a test report, `junit:<path>`, `cucumber:<path>` or `swift\-testing:<path>`; repeatable
|
|
@@ -109,12 +115,6 @@ EXPERIMENTAL: bind and parse a test report, `junit:<path>`, `cucumber:<path>` or
|
|
|
109
115
|
\fB\-\-report\-case\fR \fI<NAME>\fR
|
|
110
116
|
EXPERIMENTAL: also bind this report case (a Rust test: its function name); repeatable. Cases whose own scenario id is this one are always bound
|
|
111
117
|
.TP
|
|
112
|
-
\fB\-\-all\-scenarios\fR
|
|
113
|
-
One record per indexed scenario of \-\-project that owns a case in the \-\-report(s), all or nothing (see below)
|
|
114
|
-
.TP
|
|
115
|
-
\fB\-\-from\-ci\fR
|
|
116
|
-
With \-\-all\-scenarios: record the batch as a CI run (the `ci` block of every record, from the GitHub Actions environment; needs \-\-ref). Refused outside CI (CI_ENV_REQUIRED) and on a work tree that differs from HEAD (CI_WORKTREE_CONFLICT)
|
|
117
|
-
.TP
|
|
118
118
|
\fB\-\-max\-artifact\-mib\fR \fI<N>\fR [default: 25]
|
|
119
119
|
Per\-file size limit for the artifact store (.canon/artifacts/sha256/), in MiB; a larger bound file is refused
|
|
120
120
|
.TP
|
|
@@ -130,12 +130,6 @@ Keep this write staged even under canon.yaml `write: { promote: auto }`
|
|
|
130
130
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
131
131
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
132
132
|
.TP
|
|
133
|
-
\fB\-\-json\fR
|
|
134
|
-
Output JSON instead of the human\-readable form
|
|
135
|
-
.TP
|
|
136
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
137
|
-
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
|
|
138
|
-
.TP
|
|
139
133
|
\fB\-h\fR, \fB\-\-help\fR
|
|
140
134
|
Print help
|
|
141
135
|
.TP
|
|
@@ -150,22 +144,22 @@ Detached approvals require an external signature; canon never signs on the user\
|
|
|
150
144
|
EXPERIMENTAL BINDING (\-\-artifact, \-\-report).
|
|
151
145
|
Canon reads files your runner or agent already wrote; it never runs a test. \-\-artifact binds any file by sha256; \-\-report junit:<path>, cucumber:<path> or swift\-testing:<path> (the JSON\-lines event stream of `swift test \-\-experimental\-event\-stream\-output`) also records the matched case and its outcome (a faithful verdict needs every bound case to pass). Every case whose own scenario id (the first id in its classname, then name, a Swift Testing display name, then function name, or a Cucumber tag) is this one is bound; a case that only mentions it is not; \-\-report\-case adds more. With \-\-task and no \-\-scenario, every case in the report is bound. Bound files are copied into .canon/artifacts/sha256/<hex> (commit them with the ledger; per\-file limit \-\-max\-artifact\-mib, default 25), and canon gate check re\-hashes them: a bound file whose bytes are gone is stale\-evidence. Strength requirements are opt\-in via policy experimental.evidence_binding (off by default).
|
|
152
146
|
|
|
153
|
-
ONE REPORT, MANY SCENARIOS (
|
|
147
|
+
ONE REPORT, MANY SCENARIOS (`evidence add\-all`).
|
|
154
148
|
With \-\-report, writes one record per indexed scenario that owns a case in the report, each with its own cases and its own verdict: \-\-verdict when given, else derived (faithful when every case passed, divergent when one failed, not\-applicable when one was skipped). A case whose id is not indexed is named and skipped. A refusal of the whole batch (a claimed faithful verdict over a failed case, a fabrication marker, a dropped binding) writes no record. A scenario whose own brief refuses it (not approved, changed after its approval, or in the 0.30 format) is skipped, named in data.briefSkipped and a BRIEF_SCENARIO_SKIPPED warning, and the others are recorded; when every scenario is skipped the batch is refused as one add is. The records share the stored report file.
|
|
155
149
|
|
|
156
150
|
FILES BELONG TO TESTS (\-\-artifact).
|
|
157
|
-
A record binds the attachments of the cases it owns: JUnit `[[ATTACHMENT|<path>]]` lines in a test\*(Aqs <system\-out> (Playwright\*(Aqs reporter; the path is relative to the report\*(Aqs directory) and Cucumber JSON embeddings, in a batch and with \-\-scenario alike. A missing, out\-of\-repo or oversized attachment is refused naming the case and the path. With
|
|
151
|
+
A record binds the attachments of the cases it owns: JUnit `[[ATTACHMENT|<path>]]` lines in a test\*(Aqs <system\-out> (Playwright\*(Aqs reporter; the path is relative to the report\*(Aqs directory) and Cucumber JSON embeddings, in a batch and with \-\-scenario alike. A missing, out\-of\-repo or oversized attachment is refused naming the case and the path. With `evidence add\-all` a bare \-\-artifact <path> is refused (it would bind to every record); bind a file to one scenario with \-\-artifact <scenario\-id>=<path> (the part before the first `=` counts only when shaped like a scenario id; write ./<path> for a file named otherwise).
|
|
158
152
|
|
|
159
153
|
A WRITE THAT BREAKS A REVIEW PIN SAYS SO.
|
|
160
|
-
When the new record supersedes evidence a current pinned review saw, one line per review now stale names the reviewer, the scenario and the `canon
|
|
154
|
+
When the new record supersedes evidence a current pinned review saw, one line per review now stale names the reviewer, the scenario and the `canon reviews scenario` command that re\-pins it (`\-\-rev` names the commit).
|
|
161
155
|
|
|
162
156
|
RE\-ATTESTING NEVER DROPS A BINDING SILENTLY (\-\-drop\-attachment).
|
|
163
157
|
For a scenario, a record that leaves out a file the scenario\*(Aqs latest record binds is refused (exit 2) until it re\-binds the file (new bytes at the same path are fine) or names it with \-\-drop\-attachment <path> (repeatable) \-\-drop\-reason <text>. The drop is recorded on the record and listed by canon status. Task\-only evidence has no drop guard.
|
|
164
158
|
|
|
165
159
|
NOTHING IS ATTESTED BEFORE THE BRIEF IS APPROVED (\-\-override\-reason).
|
|
166
|
-
While a subject this record attests for (the scenario\*(Aqs @subject owner, or any subject adopting the task\*(Aqs change) has an unapproved brief the record answers to, the add is refused. A scenario tagged @flow:<change>.<F\-id> answers to the changes its tags name; an untagged one to every adopted change whose brief has an `Approved:` line (an edit since refuses it), or, with none, to its subject\*(Aqs newest tagged change or newest adopted change; a task to its own change; an unapproved chore or a pending draft never blocks evidence (exit 2, nothing staged): stop, report the brief and wait for the human\*(Aqs answer. \-\-override\-reason <text> attests anyway; the reason, the waived subjects and \-\-actor are recorded on the record and listed by canon status and canon gate check. A subject with no proposal.md to answer is unaffected;
|
|
160
|
+
While a subject this record attests for (the scenario\*(Aqs @subject owner, or any subject adopting the task\*(Aqs change) has an unapproved brief the record answers to, the add is refused. A scenario tagged @flow:<change>.<F\-id> answers to the changes its tags name; an untagged one to every adopted change whose brief has an `Approved:` line (an edit since refuses it), or, with none, to its subject\*(Aqs newest tagged change or newest adopted change; a task to its own change; an unapproved chore or a pending draft never blocks evidence (exit 2, nothing staged): stop, report the brief and wait for the human\*(Aqs answer. \-\-override\-reason <text> attests anyway; the reason, the waived subjects and \-\-actor are recorded on the record and listed by canon status and canon gate check. A subject with no proposal.md to answer is unaffected; reviews scenario and findings create are never refused.
|
|
167
161
|
|
|
168
162
|
AUDITS.
|
|
169
163
|
An external evaluator\*(Aqs re\-audit is `canon evidence audit <SCENARIO_ID>`, not `\-\-kind audit`.
|
|
170
164
|
.SH VERSION
|
|
171
|
-
v0.
|
|
165
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-evidence-approval-payload 1 "approval-payload 0.
|
|
3
|
+
.TH canon-evidence-approval-payload 1 "approval-payload 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-evidence\-approval\-payload \- Emit exact bytes for external `ssh\-keygen \-Y sign \-n canon\-approval\-v1`
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon evidence approval\-payload\fR [\fB\-\-as\fR] [\fB\-\-task\fR] [\fB\-\-project\fR] [\fB\-\-scenario\fR] [\fB\-\-run\fR] [\fB\-\-rev\fR] [\fB\-\-surface\-ref\fR]
|
|
7
|
+
\fBcanon evidence approval\-payload\fR [\fB\-\-as\fR] [\fB\-\-task\fR] [\fB\-\-json\fR] [\fB\-\-project\fR] [\fB\-\-input\fR] [\fB\-\-scenario\fR] [\fB\-\-run\fR] [\fB\-\-rev\fR] [\fB\-\-surface\-ref\fR] [\fB\-\-approver\fR] [\fB\-\-approval\-at\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Emit exact bytes for external `ssh\-keygen \-Y sign \-n canon\-approval\-v1`
|
|
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,9 +29,15 @@ orchestrator
|
|
|
29
29
|
\fB\-\-task\fR \fI<TASK_ID>\fR
|
|
30
30
|
The plan task the approval is for (<change_id>#<n>); give this or \-\-scenario
|
|
31
31
|
.TP
|
|
32
|
+
\fB\-\-json\fR
|
|
33
|
+
Output JSON instead of the human\-readable form
|
|
34
|
+
.TP
|
|
32
35
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
33
36
|
Spec corpus id for \-\-scenario. Required only when canon.yaml configures more than one spec root
|
|
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\-\-scenario\fR \fI<SCENARIO_ID>\fR
|
|
36
42
|
The scenario the approval is for; give this or \-\-task
|
|
37
43
|
.TP
|
|
@@ -53,13 +59,10 @@ The approval time that is signed into the payload: an RFC 3339 date\-time (`2030
|
|
|
53
59
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
54
60
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
55
61
|
.TP
|
|
56
|
-
\fB\-\-json\fR
|
|
57
|
-
Output JSON instead of the human\-readable form
|
|
58
|
-
.TP
|
|
59
62
|
\fB\-h\fR, \fB\-\-help\fR
|
|
60
63
|
Print help
|
|
61
64
|
.TP
|
|
62
65
|
\fB\-V\fR, \fB\-\-version\fR
|
|
63
66
|
Print version
|
|
64
67
|
.SH VERSION
|
|
65
|
-
v0.
|
|
68
|
+
v0.50.0
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH canon-evidence-audit 1 "audit 0.
|
|
3
|
+
.TH canon-evidence-audit 1 "audit 0.50.0"
|
|
4
4
|
.SH NAME
|
|
5
5
|
canon\-evidence\-audit \- Record an external evaluator\*(Aqs re\-audit of one scenario (class `audit`; the verdict follows \-\-audit\-result; canon never runs the evaluator)
|
|
6
6
|
.SH SYNOPSIS
|
|
7
|
-
\fBcanon evidence audit\fR [\fB\-\-as\fR] [\fB\-\-project\fR]
|
|
7
|
+
\fBcanon evidence audit\fR [\fB\-\-as\fR] [\fB\-\-project\fR] [\fB\-\-json\fR] [\fB\-\-ref\fR] [\fB\-\-input\fR] [\fB\-\-summary\fR] [\fB\-\-command\-result\fR] [\fB\-\-run\fR] [\fB\-\-actor\fR] [\fB\-\-role\fR] [\fB\-\-session\fR] [\fB\-\-rev\fR] [\fB\-\-artifact\fR] [\fB\-\-report\fR] [\fB\-\-report\-case\fR] [\fB\-\-max\-artifact\-mib\fR] [\fB\-\-evaluator\fR] [\fB\-\-evaluator\-version\fR] [\fB\-\-evaluator\-digest\fR] [\fB\-\-audit\-result\fR] [\fB\-\-override\-reason\fR] [\fB\-\-promote\fR] [\fB\-\-no\-promote\fR] [\fB\-\-repo\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fISCENARIO_ID\fR]
|
|
8
8
|
.SH DESCRIPTION
|
|
9
9
|
Record an external evaluator\*(Aqs re\-audit of one scenario (class `audit`; the verdict follows \-\-audit\-result; canon never runs the evaluator)
|
|
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,9 +29,15 @@ orchestrator
|
|
|
29
29
|
\fB\-\-project\fR \fI<PROJECT_ID>\fR
|
|
30
30
|
Spec corpus id of the scenario. Required only when canon.yaml configures more than one spec root; refused (SPEC_ROOT_NOT_FOUND) when it names none
|
|
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
|
The reference a reader can resolve: a command line, commit sha, or report path. NEVER run or resolved by canon
|
|
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\-\-summary\fR \fI<TEXT>\fR
|
|
36
42
|
One line of text (scanned for fabrication markers). The white space around it is trimmed; a control character or line break inside it is refused
|
|
37
43
|
.TP
|
|
@@ -101,21 +107,15 @@ Keep this write staged even under canon.yaml `write: { promote: auto }`
|
|
|
101
107
|
\fB\-\-repo\fR \fI<DIR>\fR
|
|
102
108
|
The repo to act on (default: the nearest ancestor directory holding a canon.yaml)
|
|
103
109
|
.TP
|
|
104
|
-
\fB\-\-json\fR
|
|
105
|
-
Output JSON instead of the human\-readable form
|
|
106
|
-
.TP
|
|
107
|
-
\fB\-\-input\fR \fI<JSON|FILE|\->\fR
|
|
108
|
-
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
|
|
109
|
-
.TP
|
|
110
110
|
\fB\-h\fR, \fB\-\-help\fR
|
|
111
111
|
Print help
|
|
112
112
|
.TP
|
|
113
113
|
\fB\-V\fR, \fB\-\-version\fR
|
|
114
114
|
Print version
|
|
115
115
|
.TP
|
|
116
|
-
|
|
116
|
+
[\fISCENARIO_ID\fR]
|
|
117
117
|
The re\-audited scenario (`<area>.<surface>.<nn>`)
|
|
118
118
|
.SH EXTRA
|
|
119
119
|
Records an external evaluator\*(Aqs re\-audit of one scenario: \-\-evaluator, \-\-evaluator\-version, \-\-evaluator\-digest <sha256>, \-\-audit\-result confirmed|refuted|indeterminate, and optional \-\-report/\-\-artifact counterexamples, bound and stored like any report. canon never generates or runs the audit. An audit never becomes the scenario\*(Aqs declared verdict; a refuted latest audit is false\-success in canon gate check, whatever the declared verdict says.
|
|
120
120
|
.SH VERSION
|
|
121
|
-
v0.
|
|
121
|
+
v0.50.0
|