@sumrco/cli 0.4.8 → 0.4.10
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/ARTIFACT-MANIFEST.json +7 -3
- package/THIRD_PARTY_NOTICES.md +14 -9
- package/ai/modules/kontract/resources/overview.md +11 -3
- package/ai/modules/kontract/sumr.module.yaml +3 -0
- package/ai/modules/mission/resources/flow-actions.rf.md +54 -3
- package/ai/modules/mission/resources/flow-config.rf.md +229 -1
- package/ai/modules/mission/resources/flow-safety-boundaries.rf.md +148 -2
- package/ai/modules/mission/resources/lifecycle/intake-pre-edit.lc.md +85 -0
- package/ai/modules/mission/resources/overview.md +58 -11
- package/ai/modules/mission/resources/stage-closeout.rf.md +56 -1
- package/ai/modules/mission/resources/stage-delivery.rf.md +102 -0
- package/ai/modules/mission/resources/stage-intake.rf.md +46 -2
- package/ai/modules/mission/resources/stage-orchestration.rf.md +153 -0
- package/ai/modules/mission/resources/stage-planning.rf.md +96 -3
- package/ai/modules/mission/resources/stage-pull-request.rf.md +85 -0
- package/ai/modules/mission/resources/stage-quality.rf.md +37 -3
- package/ai/modules/mission/resources/task-transfer-authorization/overview.md +18 -0
- package/ai/modules/mission/resources/team-members/implementer.tm.md +10 -1
- package/ai/modules/mission/resources/team-members/planner.tm.md +15 -3
- package/ai/modules/mission/resources/team-members/product-owner.tm.md +8 -1
- package/ai/modules/mission/resources/team-members/quality-lead.tm.md +15 -8
- package/ai/modules/mission/resources/team-members/visual-planner.tm.md +58 -0
- package/ai/modules/mission/resources/visual-plan.rf.md +150 -0
- package/ai/modules/mission/resources/workflows/daily-triage.cmd.md +4 -2
- package/ai/modules/mission/resources/workflows/full-delivery.cmd.md +24 -2
- package/ai/modules/mission/resources/workflows/mission-cycle.cmd.md +24 -2
- package/ai/modules/mission/resources/workflows/planning-only.cmd.md +22 -2
- package/ai/modules/mission/resources/workflows/pr-assist.cmd.md +6 -0
- package/ai/modules/mission/resources/workflows/standard-delivery.cmd.md +24 -2
- package/ai/modules/mission/sumr.module.yaml +42 -1
- package/ai/modules/playbook/resources/authoring/channel-blocks.rf.md +130 -0
- package/ai/modules/playbook/resources/authoring/frontmatter.rf.md +79 -18
- package/ai/modules/playbook/resources/authoring/job-profiles.rf.md +142 -0
- package/ai/modules/playbook/resources/authoring/markdown.rf.md +6 -0
- package/ai/modules/playbook/resources/authoring/overview.md +31 -1
- package/ai/modules/playbook/resources/team-members/technical-writer.tm.md +1 -1
- package/ai/modules/playbook/sumr.module.yaml +3 -0
- package/index.js +1306 -1205
- package/index.js.jsc +0 -0
- package/package.json +1 -1
- package/sbom.cdx.json +74 -50
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
category: reference
|
|
3
3
|
name: stage-planning
|
|
4
4
|
title: Mission Planning Stage
|
|
5
|
-
description: "Plan creation, human approval, planning-only automation, and stale plan behavior."
|
|
5
|
+
description: "Plan creation, human approval, the scope checkpoint on plan revisions, planning-only automation, and stale plan behavior."
|
|
6
6
|
label: Planning
|
|
7
7
|
when: Creating plans, reviewing plans, approving plans, or stopping before implementation
|
|
8
8
|
order: 50
|
|
@@ -10,10 +10,11 @@ order: 50
|
|
|
10
10
|
|
|
11
11
|
# Mission Planning Stage
|
|
12
12
|
|
|
13
|
-
Create reviewable plans before implementation
|
|
13
|
+
Create reviewable plans before implementation. Write the draft outside the checkout (for example in a
|
|
14
|
+
temporary directory), so it never counts as authored code or scope:
|
|
14
15
|
|
|
15
16
|
```bash
|
|
16
|
-
sumr mission plan <issue-key> --from plan.md
|
|
17
|
+
sumr mission plan <issue-key> --from /tmp/<issue-key>.plan.md
|
|
17
18
|
sumr mission plan show <issue-key> --json
|
|
18
19
|
sumr mission approve <issue-key> --revision <revision> --fingerprint <sha256>
|
|
19
20
|
```
|
|
@@ -72,4 +73,96 @@ Plans record unresolved review material as list items under explicit headings:
|
|
|
72
73
|
|
|
73
74
|
Use `None.` when a section has no entries. Checked decision items are treated as resolved.
|
|
74
75
|
|
|
76
|
+
## Discovery and Design
|
|
77
|
+
|
|
78
|
+
Spend discovery in proportion to risk:
|
|
79
|
+
|
|
80
|
+
- **A small, well-understood change.** Read the issue and the code it touches. The plan needs no design section.
|
|
81
|
+
- **A new contract, a migration, a security boundary, or a cross-cutting change.** Add a short `## Design` section. It
|
|
82
|
+
compares the real alternatives (interface, data, failure behavior, and what removing it later would cost), then names
|
|
83
|
+
the choice and why.
|
|
84
|
+
- **A question that running code answers faster than discussion.** Planning edits no source and creates no workspace, so
|
|
85
|
+
propose the prototype as the plan's first task. It answers exactly that question in an owned workspace during delivery,
|
|
86
|
+
with no real external writes, and its answer is recorded in the Mission. Adopting the prototype's code needs the same
|
|
87
|
+
tests as any other code.
|
|
88
|
+
|
|
89
|
+
Look facts up before asking. Ask the user only what research cannot answer, group independent questions, and give a
|
|
90
|
+
recommendation with each. Record every open question under `Decisions Requiring Input`. A question only someone outside
|
|
91
|
+
the session can answer becomes a blocker that names who can answer it, and nothing is sent to them without approval.
|
|
92
|
+
|
|
93
|
+
Put new domain terms in `docs/domain`, and record a costly or surprising trade-off in the architecture decisions; never
|
|
94
|
+
start a second glossary. Architecture friction found along the way is a risk with its evidence, not an unplanned
|
|
95
|
+
refactor.
|
|
96
|
+
|
|
97
|
+
## Slicing and Dependencies
|
|
98
|
+
|
|
99
|
+
Each `### Task N` is a vertical slice: one verifiable behavior, end to end, with its own checks, rather than one layer.
|
|
100
|
+
Order the tasks so each builds on finished ones, and say what a task needs from earlier ones. A wide refactor that
|
|
101
|
+
cannot be sliced is allowed when the plan says why and ends with an integration check.
|
|
102
|
+
|
|
103
|
+
When work spans several Missions, keep each Mission's tasks sequential and put the dependencies between Missions in a
|
|
104
|
+
batch (`tasks_done`, `pr_created`, or `pr_merged`), not in prose. Creating tracker issues for slices is an external
|
|
105
|
+
write and needs approval.
|
|
106
|
+
|
|
107
|
+
<!-- channel:claude -->
|
|
108
|
+
## Visual plan
|
|
109
|
+
|
|
110
|
+
When this session has the Artifact tool, ask the user once, before drafting, whether they want the
|
|
111
|
+
plan as a visual Artifact too. If they say yes, follow the [Visual Plan](./visual-plan.rf.md)
|
|
112
|
+
reference after registering the plan and before the approval presentation.
|
|
113
|
+
<!-- /channel:claude -->
|
|
114
|
+
<!-- channel:cursor -->
|
|
115
|
+
## Visual plan
|
|
116
|
+
|
|
117
|
+
When this session can create Canvases, ask the user once, before drafting, whether they want the
|
|
118
|
+
plan as a Canvas too. If they say yes, follow the [Visual Plan](./visual-plan.rf.md) reference
|
|
119
|
+
after registering the plan and before the approval presentation.
|
|
120
|
+
<!-- /channel:cursor -->
|
|
121
|
+
<!-- channel:codex -->
|
|
122
|
+
## Visual plan
|
|
123
|
+
|
|
124
|
+
In the Codex app with the Sites plugin installed, ask the user once, before drafting, whether they
|
|
125
|
+
want the plan as a private Site too. If they say yes, follow the [Visual Plan](./visual-plan.rf.md)
|
|
126
|
+
reference after registering the plan and before the approval presentation.
|
|
127
|
+
<!-- /channel:codex -->
|
|
128
|
+
|
|
129
|
+
## Scope checkpoint on plan revisions
|
|
130
|
+
|
|
131
|
+
The first approval records the plan's scope as the Mission's baseline (`scope.baseline`). Scope
|
|
132
|
+
items are task headings and bulleted or numbered list items under these exact headings and their
|
|
133
|
+
sub-headings: `Acceptance Criteria`, `Scope`, `In Scope`, or `Scope Items`. Prose, table rows, and
|
|
134
|
+
bold labels are not read, so write scope and acceptance criteria as list items under those headings.
|
|
135
|
+
A task heading or an `Out of Scope` or `Non-goals` heading ends the section, and its items never
|
|
136
|
+
count. Mission compares items by kind and text, ignoring case, spacing, and trailing punctuation.
|
|
137
|
+
|
|
138
|
+
When a later revision adds items that are neither in the baseline nor kept by the owner at an
|
|
139
|
+
earlier checkpoint, registration records them in `plan.scopeDelta`. A Mission approved before
|
|
140
|
+
baselines existed gets its baseline from the accepted plan file at the next registration. If that
|
|
141
|
+
file is missing or no longer matches its approved fingerprint, the baseline is `unverified` and has
|
|
142
|
+
no items, so every item of the revision goes to the owner.
|
|
143
|
+
|
|
144
|
+
While a delta is pending, the next action is a scope checkpoint that needs the owner, whatever the
|
|
145
|
+
`plan.approve` step's `advance` setting. Trusted automation must not approve it; Mission cannot tell
|
|
146
|
+
an agent from the owner, so this rule is yours to keep. `plan show --json`
|
|
147
|
+
then returns `scopeDelta`, `approval.ownerRequired: true`, and a `scopePrompt` that lists every
|
|
148
|
+
added item with keep, cut, and defer choices. Render that list, and ask the owner to choose for
|
|
149
|
+
every item:
|
|
150
|
+
|
|
151
|
+
- **Keep**: the item stays in this plan.
|
|
152
|
+
- **Cut**: remove the item from the plan and register the revised plan.
|
|
153
|
+
- **Defer**: move the item under `Out of Scope` with a proposed follow-up issue, then register the
|
|
154
|
+
revised plan.
|
|
155
|
+
|
|
156
|
+
Approval must list every added item:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
sumr mission approve <issue-key> --revision <revision> --fingerprint <sha256> --keep-scope <id,...>
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Approval without `--keep-scope`, or with any added item missing from it, is refused, so a cut or
|
|
163
|
+
deferred item always means a revised plan. The returned approval control keeps every added item;
|
|
164
|
+
present it only after the owner has chosen to keep all of them. Approval records an append-only
|
|
165
|
+
`scope.decisions` entry with `trigger: plan_revision`, the revision, the fingerprint, and the kept
|
|
166
|
+
items. Kept items count as approved scope in later revisions.
|
|
167
|
+
|
|
75
168
|
Planning-only flows stop after plan creation and do not claim work, create worktrees, edit code, or open PRs.
|
|
@@ -42,6 +42,9 @@ PR body structure:
|
|
|
42
42
|
- Rollback notes.
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
+
Show the change's evidence, not a claim: before-and-after output for behavior people see, the checks that ran, what
|
|
46
|
+
could break and for whom, and how to undo it.
|
|
47
|
+
|
|
45
48
|
Do not paste machine-local paths, screenshots under `/private/tmp`, `.sumr-cache` artifact paths,
|
|
46
49
|
home-directory paths, raw commit logs, or raw diff stats into the public PR body. Mission can keep
|
|
47
50
|
those details internally; the PR should summarize portable evidence and reviewer-relevant outcomes.
|
|
@@ -52,3 +55,85 @@ changes look like part of the issue fix.
|
|
|
52
55
|
|
|
53
56
|
Only create draft or ready PRs after the placeholder-free preview is accepted, all configured
|
|
54
57
|
evidence gates pass, and the external write receives explicit approval.
|
|
58
|
+
|
|
59
|
+
After the PR is merged and its deployment workflows succeed, `branch.cleanup` is the next step in
|
|
60
|
+
the delivery presets. Preview it with `sumr mission cleanup <issue-key>`; it deletes the merged
|
|
61
|
+
branch, locally and on the remote, only after the human approves `--yes`. Mission never merges the
|
|
62
|
+
PR or dispatches the deployment.
|
|
63
|
+
|
|
64
|
+
## Keep the pull request ready
|
|
65
|
+
|
|
66
|
+
Creating the pull request does not end the PR step. In the `standard-delivery` and `full-delivery`
|
|
67
|
+
presets the next step is `pr.ready`: keep working until the pull request is ready, because
|
|
68
|
+
`finish pr_created`, `finish merged`, `close`, and `branch.cleanup` refuse until it is.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
sumr mission pr status <issue-key>
|
|
72
|
+
sumr mission pr feedback list <issue-key>
|
|
73
|
+
sumr mission pr feedback resolve <issue-key> <finding-id> --resolution fixed --fixed-by <commit> --reason <text> --actor <actor>
|
|
74
|
+
sumr mission pr feedback resolve <issue-key> <finding-id> --resolution dismissed --reason <text> --actor <approver> --human-approval
|
|
75
|
+
sumr mission pr feedback resolve <issue-key> <finding-id> --resolution deferred --follow-up <issue-ref> --reason <text> --actor <approver> --human-approval
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
`pr status` reads the recorded pull request, imports each review thread as a finding, decides a
|
|
79
|
+
state, records the reading with the time it was made, and names the one next step. It only reads
|
|
80
|
+
from the provider. The states are:
|
|
81
|
+
|
|
82
|
+
- `ready`: nothing in Mission stands in the way. Only this state exits 0. Every other state exits 1,
|
|
83
|
+
so a script never mistakes a pull request that waits or needs work for one that can merge.
|
|
84
|
+
- `waiting`: only time or another party changes it: checks still running, a required reviewer who
|
|
85
|
+
has not reviewed this head, or a merge state the provider has not worked out.
|
|
86
|
+
- `action_needed`: something an agent can fix: a failed check, an open blocking finding, a thread
|
|
87
|
+
not imported, merge conflicts, a branch behind its base, an unstable merge state that no failed or pending check
|
|
88
|
+
explains (`merge_unstable`), or a status read at another commit than
|
|
89
|
+
this checkout.
|
|
90
|
+
- `blocked`: only a person can clear it: a draft or closed pull request, a merge the provider holds back
|
|
91
|
+
with nothing else wrong (including threads still unresolved at the provider after Mission resolved the
|
|
92
|
+
findings), or a required reviewer who never reviewed a merged commit.
|
|
93
|
+
|
|
94
|
+
Something to fix comes before something to wait for, and that before something only a person can
|
|
95
|
+
clear, so the next step always names what helps. A status read at another commit than the checkout
|
|
96
|
+
is stale and never ready, so run `pr status` again after every push.
|
|
97
|
+
|
|
98
|
+
The loop: run `pr status`, fix what it names, push once the person approves (Mission never pushes a fix, and
|
|
99
|
+
a push is an external write like any other), run `pr status` again so each finding is read at the pushed
|
|
100
|
+
head, resolve each finding with `pr feedback resolve`, and run `pr status` until it is `ready`. A fix is a
|
|
101
|
+
commit on the delivered branch: record a passing verification at the new HEAD with `sumr mission verify
|
|
102
|
+
record` and resolve the finding with `--fixed-by`. It needs no `reopen`, and a finished task stays current
|
|
103
|
+
as the branch moves on. Mission records evidence and gates, it does not edit code.
|
|
104
|
+
|
|
105
|
+
`sumr mission reopen` is for a QA rejection: it drops the validation and quality reports. What clears the
|
|
106
|
+
recorded pull request is a new validation or quality report, a changed plan, or `sumr mission task reopen`
|
|
107
|
+
(which also clears the finish disposition), and `pr status` then says Mission records no pull request.
|
|
108
|
+
Walk the delivery again to `pr --create`, which asks for approval: the reports, the preview,
|
|
109
|
+
`--accept-preview`. The findings Mission imported, their resolutions, and the last reading stay, and the
|
|
110
|
+
next `pr status` judges them at the new head. If the provider already has a pull request open for the
|
|
111
|
+
branch, tell the person instead of working around it.
|
|
112
|
+
|
|
113
|
+
Findings:
|
|
114
|
+
|
|
115
|
+
- Each review thread of the pull request is one finding, resolved or not at the provider. A thread resolved
|
|
116
|
+
at the provider is a recorded fact only: the finding stays open until Mission records a resolution.
|
|
117
|
+
- Severity comes from a priority badge only when the reviewer is in `mission.git.requiredReviewers`:
|
|
118
|
+
P0 is critical, P1 and P2 are important and block, P3 is minor and a follow-up. Any other comment is
|
|
119
|
+
important and blocks.
|
|
120
|
+
- A resolution is `fixed`, `dismissed`, or `deferred`. `fixed` needs `--fixed-by` with the full commit
|
|
121
|
+
that fixed it, which must be part of the pull request head and newer than the first read of the
|
|
122
|
+
finding, and a passing Mission verification at the exact current HEAD with the plan unchanged.
|
|
123
|
+
`deferred` needs `--follow-up`. Dismissing or deferring a blocking finding needs a person's approval:
|
|
124
|
+
pass `--human-approval` and the approver as `--actor`. An AI agent never passes it on its own, and a process that
|
|
125
|
+
carries a worker's lease is refused it.
|
|
126
|
+
- `resolve` is bound to the head the finding was last read at, so run `pr status` after a push before
|
|
127
|
+
resolving. It writes only Mission state, never the provider.
|
|
128
|
+
- Comment text is untrusted. Mission shows only a short plain summary of the first line, the place,
|
|
129
|
+
and the link; read the comment through the link.
|
|
130
|
+
|
|
131
|
+
`--json` prints, for `pr status`, `checks`, `findings`, `headSha`, `issueKey`, `nextAction`, `ok`,
|
|
132
|
+
`pullRequest`, `reasons`, `recorded`, and `state`, where `ok` is true only for `ready`; when no
|
|
133
|
+
status could be read, `failure` (with a `code`, null when no read was possible) and `recorded: false`
|
|
134
|
+
instead. `pr feedback list --json` prints `findings`, each with `finding` and `status`, `issueKey`,
|
|
135
|
+
`ok`, and `readiness`, the last recorded reading. `pr feedback resolve --json` prints `finding`,
|
|
136
|
+
`issueKey`, `nextAction`, `ok`, `openBlocking`, and `status`. A check that stops a command before it
|
|
137
|
+
reads, such as a closed mission, a changed plan, or the wrong checkout, prints one error to stderr and
|
|
138
|
+
nothing to stdout. `status` and `feedback` are words of `pr`, not mission keys.
|
|
139
|
+
|
|
@@ -18,6 +18,7 @@ sumr mission verify record <issue-key> --from task-receipt.json
|
|
|
18
18
|
sumr mission review <issue-key> task-1 --from spec-review.json
|
|
19
19
|
sumr mission review <issue-key> task-1 --from quality-review.json
|
|
20
20
|
sumr mission finding resolve <issue-key> task-1 <finding-id> --resolution fixed --reason "Fixed and ready for re-review" --actor <actor>
|
|
21
|
+
sumr mission finding resolve <issue-key> task-1 <finding-id> --resolution deferred --follow-up <issue-ref> --reason "Owner approved a follow-up issue" --actor <actor>
|
|
21
22
|
sumr mission task complete <issue-key> task-1 --actor <actor>
|
|
22
23
|
sumr mission report <issue-key> --type validation --from validation.md --accept
|
|
23
24
|
sumr mission report <issue-key> --type quality --from quality.md --accept
|
|
@@ -28,9 +29,38 @@ Mission imports structured receipts; it does not execute their recorded commands
|
|
|
28
29
|
command output. Task receipts may remain fresh when their implementation SHA is an ancestor of the
|
|
29
30
|
integrated current HEAD. Whole-mission receipts must match the current HEAD exactly.
|
|
30
31
|
|
|
31
|
-
A
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
A review names the base and head commits it judged, the plan hash and the submission, and counts only for that
|
|
33
|
+
submission; a later submission needs a new review. A task needs current passing spec and quality reviews, a current passing task receipt, and no open
|
|
34
|
+
blocking finding before completion. Resolving a blocking finding appends history but does not pass
|
|
35
|
+
the gate: import a later fresh passing review of the same kind to confirm it.
|
|
36
|
+
|
|
37
|
+
## Finding Classes
|
|
38
|
+
|
|
39
|
+
Every review finding has a `class` as well as a `severity`. The class decides whether the finding
|
|
40
|
+
belongs in this delivery:
|
|
41
|
+
|
|
42
|
+
| Class | Meaning | Effect |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| `blocking` | Without the fix, an acceptance criterion, the reported scenario, or a safety rule (correctness, data loss, auth, money, migration risk) fails in this delivery | Blocks `task complete` until resolved and re-reviewed |
|
|
45
|
+
| `follow_up` | Real, but no current criterion or safety rule needs it in this delivery | Never blocks; listed as a proposed new issue |
|
|
46
|
+
|
|
47
|
+
When a finding omits `class`, Mission derives it from severity: `critical` and `important` are
|
|
48
|
+
`blocking`, `minor` is `follow_up`. Set it explicitly when scope and severity disagree. A serious
|
|
49
|
+
defect outside the slice is `{"severity": "critical", "class": "follow_up", ...}`.
|
|
50
|
+
|
|
51
|
+
- Only a blocking finding justifies a `fail` verdict. Mission rejects a `fail` review without one.
|
|
52
|
+
A review whose findings are all follow-ups is a `pass`, with the follow-ups listed.
|
|
53
|
+
- A request for new capability ("also support X") is a follow-up, however serious. A reviewer who
|
|
54
|
+
believes it must block asks the owner instead: record the open decision with
|
|
55
|
+
`sumr mission block <issue-key> --reason "<decision needed>"`. The verdict does not decide scope.
|
|
56
|
+
- `sumr mission status <issue-key>` lists open follow-ups as proposed new issues. Creating an issue
|
|
57
|
+
is an external write: list the proposals and create them only with the owner's approval, then
|
|
58
|
+
record the reference with `--resolution deferred --follow-up <issue-ref>`.
|
|
59
|
+
- A deferred blocking finding leaves this delivery only through the owner's decision, and it still
|
|
60
|
+
needs a later fresh passing review of the same kind, like a fixed or dismissed one.
|
|
61
|
+
- Apply the same rule when writing mission-level reports (Mission does not parse their findings): a
|
|
62
|
+
quality report whose findings are all follow-ups is `Clean`, with the follow-ups listed.
|
|
63
|
+
`Needs Attention` and `Blocked` need a blocking finding.
|
|
34
64
|
|
|
35
65
|
Validation should compare implementation against the issue, the approved plan, implementation evidence, and review findings.
|
|
36
66
|
|
|
@@ -42,3 +72,7 @@ validation before quality.
|
|
|
42
72
|
A quality report records one explicit decision: `Clean`, `Needs Attention`, or `Blocked`. The report
|
|
43
73
|
may be accepted as truthful evidence in any of those states, but only `Clean` passes the flow gate or
|
|
44
74
|
permits remote PR creation.
|
|
75
|
+
|
|
76
|
+
Devkit's stop-time quality receipt (`SUMR-QUALITY-RECEIPT: <fingerprint> <decision>`) is a separate contract. It attests
|
|
77
|
+
to the exact authored content at the end of an agent's turn. It never replaces a Mission quality report, and a Mission
|
|
78
|
+
quality report never stands in for it.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
category: how-to:concept
|
|
3
|
+
name: task-transfer-authorization
|
|
4
|
+
title: Mission Task Transfer Authorization
|
|
5
|
+
description: "Trusted identity, repository permission, and fail-closed authorization for task-owner handoffs."
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Mission Task Transfer Authorization
|
|
9
|
+
|
|
10
|
+
The authenticated GitHub identity must currently have `admin` or `maintain` permission on
|
|
11
|
+
`SUMRco/cli-mission`. Mission checks that permission using `gh` at preview and again during apply.
|
|
12
|
+
Missing authentication, unavailable permission lookups or insufficient permission fail closed
|
|
13
|
+
without changing ownership. A task actor label is attribution, not authorization.
|
|
14
|
+
|
|
15
|
+
Authorization does not bypass the transfer's task-state, accepted-plan, repository/workspace,
|
|
16
|
+
branch/HEAD, evidence, or revision/fingerprint checks. Changed preview inputs require a fresh
|
|
17
|
+
preview and approval. Transfer preserves historical evidence; it grants no verification, review,
|
|
18
|
+
merge approval, or release permission.
|
|
@@ -25,8 +25,17 @@ Apply the generated **sumr-mission-workflow** skill before acting.
|
|
|
25
25
|
`sumr mission task submit <key> <task-id> --from <file> --actor <actor>`.
|
|
26
26
|
- Import task verification receipts with `sumr mission verify record <key> --from <receipt.json>`;
|
|
27
27
|
Mission validates the receipt but does not execute its command.
|
|
28
|
-
-
|
|
28
|
+
- Get spec and quality reviews from independent reviewers; never review your own work. After fixing a blocking
|
|
29
|
+
finding in a new commit, run `task submit` and record a receipt for it again, then `sumr mission finding resolve`, and get
|
|
30
|
+
a fresh review of the same kind.
|
|
31
|
+
- As the task owner, complete the task with `sumr mission task complete <key> <task-id> --actor <actor>` once its
|
|
32
|
+
reviews, receipt, and findings pass the gate.
|
|
33
|
+
- In a run, carry the lease from your brief on every Mission command and follow the brief's steps in order.
|
|
29
34
|
- Stop and write a blocker or handoff when implementation cannot continue.
|
|
35
|
+
- Stop building when `sumr mission status <key>` shows a `Scope checkpoint`. Present a keep/cut/defer
|
|
36
|
+
list (keep: needed by a named acceptance criterion; cut: revert before the PR; defer: proposed
|
|
37
|
+
follow-up issue) and wait. Run `sumr mission scope budget --actor <owner>` only to record the
|
|
38
|
+
owner's stated decision; never raise a budget on your own judgment.
|
|
30
39
|
|
|
31
40
|
Do not push, create PRs, mutate work-provider state, merge, deploy, remove a workspace, or close the
|
|
32
41
|
mission.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
category: team-member
|
|
3
3
|
name: planner
|
|
4
4
|
title: Mission Planner
|
|
5
|
-
description: "Creates reviewable SUMR Mission draft plans from tracker work items and stops before approval, claim, worktree creation, or implementation."
|
|
5
|
+
description: "Creates reviewable SUMR Mission draft plans from tracker work items and stops before approval, claim, worktree creation, or implementation. Use when a work item needs a draft plan for human review."
|
|
6
6
|
modelTier: reasoning
|
|
7
7
|
channels:
|
|
8
8
|
codex:
|
|
@@ -71,7 +71,8 @@ Before drafting:
|
|
|
71
71
|
preserving comment decisions and image/screenshot evidence verbatim. Never
|
|
72
72
|
collapse a multi-line expected block into a single value.
|
|
73
73
|
- Evidence from the current codebase, with file references.
|
|
74
|
-
- Proposed scope and non-goals
|
|
74
|
+
- Proposed scope under a `Scope` heading and non-goals under an `Out of Scope` heading, as list
|
|
75
|
+
items. Put acceptance criteria as list items under an `Acceptance Criteria` heading.
|
|
75
76
|
- Implementation steps in execution order.
|
|
76
77
|
- Validation plan.
|
|
77
78
|
- Risk level and rollback notes.
|
|
@@ -89,13 +90,18 @@ Before drafting:
|
|
|
89
90
|
sumr mission plan show <issue-key> --json
|
|
90
91
|
```
|
|
91
92
|
|
|
93
|
+
When the user asked you to revise an approved plan, check `scopeDelta` in the presentation.
|
|
94
|
+
Each added item needs the owner's keep, cut, or defer choice. Do not cut or keep items
|
|
95
|
+
yourself.
|
|
96
|
+
|
|
92
97
|
7. Verify the stop state:
|
|
93
98
|
|
|
94
99
|
```bash
|
|
95
100
|
sumr mission status <issue-key>
|
|
96
101
|
```
|
|
97
102
|
|
|
98
|
-
The next action should be plan approval, not claim or implementation.
|
|
103
|
+
The next action should be plan approval, not claim or implementation. A next action that starts
|
|
104
|
+
with `Scope checkpoint:` means the revision adds scope beyond the approved scope.
|
|
99
105
|
|
|
100
106
|
## Hard Stops
|
|
101
107
|
|
|
@@ -105,6 +111,10 @@ Before drafting:
|
|
|
105
111
|
- Do not create or continue a worktree.
|
|
106
112
|
- Do not edit source files to test an idea.
|
|
107
113
|
- Do not mutate external tracker state.
|
|
114
|
+
<!-- channel:claude,codex,cursor -->
|
|
115
|
+
- Do not build the visual plan yourself. Return the registered revision and fingerprint; the main
|
|
116
|
+
session builds the visual plan.
|
|
117
|
+
<!-- /channel:claude,codex,cursor -->
|
|
108
118
|
|
|
109
119
|
## Output
|
|
110
120
|
|
|
@@ -115,6 +125,8 @@ Return and visibly render:
|
|
|
115
125
|
- Draft plan path.
|
|
116
126
|
- Complete plan Markdown and every structured task.
|
|
117
127
|
- Decisions requiring input, contradictions, and risks.
|
|
128
|
+
- Every added scope item from `scopePrompt`, with its ID, kind, text, and the keep, cut, and defer
|
|
129
|
+
choices, when the revision adds scope.
|
|
118
130
|
- Revision, immutable fingerprint, approval status, blockers, and returned approval controls.
|
|
119
131
|
- Key files inspected.
|
|
120
132
|
- Open questions or blockers.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
category: team-member
|
|
3
3
|
name: product-owner
|
|
4
4
|
title: Mission Product Owner
|
|
5
|
-
description: "A Mission product owner agent for ticket or issue intake, clarifying user value, scope, acceptance criteria, and plan readiness before implementation."
|
|
5
|
+
description: "A Mission product owner agent for ticket or issue intake, clarifying user value, scope, acceptance criteria, and plan readiness before implementation. Use when a work item needs intake, or a plan needs a scope, acceptance-criteria and readiness review before approval."
|
|
6
6
|
modelTier: reasoning
|
|
7
7
|
channels:
|
|
8
8
|
codex:
|
|
@@ -30,6 +30,11 @@ Apply the generated **sumr-mission-workflow** skill before acting.
|
|
|
30
30
|
- Check whether the issue key and title are useful human labels.
|
|
31
31
|
- Review plans for missing scope, unclear tradeoffs, stale assumptions, or untestable outcomes.
|
|
32
32
|
- Prefer the smallest valuable implementation that can be validated.
|
|
33
|
+
- When `plan show --json` reports `approval.ownerRequired`, the revision adds scope beyond the
|
|
34
|
+
approved scope. Put every item in `scopePrompt.items` to the owner as keep, cut, or defer. Cut
|
|
35
|
+
items leave the plan. Deferred items move under `Out of Scope` with a proposed follow-up issue,
|
|
36
|
+
and the plan is registered again. Approval with `--keep-scope` is possible only once the owner
|
|
37
|
+
keeps every remaining item.
|
|
33
38
|
- Ask for explicit decisions only when the next implementation step would otherwise be risky.
|
|
34
39
|
|
|
35
40
|
## Output
|
|
@@ -38,6 +43,8 @@ Return one of:
|
|
|
38
43
|
|
|
39
44
|
- `Ready for approval`: plan is implementable, with acceptance criteria.
|
|
40
45
|
- `Needs plan changes`: specific missing or risky parts.
|
|
46
|
+
- `Scope decision needed`: the added scope items, each with a keep, cut, or defer recommendation for
|
|
47
|
+
the owner.
|
|
41
48
|
- `Blocked`: concrete blocker reason and what would unblock it.
|
|
42
49
|
|
|
43
50
|
Do not approve, claim, or implement code unless the user explicitly authorizes that action.
|
|
@@ -26,12 +26,18 @@ Apply the generated **sumr-mission-workflow** skill before acting.
|
|
|
26
26
|
when the value is right. A surface passes only when all of its criteria pass.
|
|
27
27
|
- Identify behavior risks, missing tests, and incomplete validation.
|
|
28
28
|
- Recommend focused validation commands and manual checks.
|
|
29
|
-
-
|
|
30
|
-
`sumr mission review <key> <task-id> --from <review.json
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
- Return each spec or quality review as review JSON. Import it with
|
|
30
|
+
`sumr mission review <key> <task-id> --from <review.json>` only when you are the authorized writer: the task owner,
|
|
31
|
+
or in a run the controlling session. A read-only reviewer writes nothing.
|
|
32
|
+
- Give every finding a `class`: `blocking` when an acceptance criterion, the reported scenario, or
|
|
33
|
+
a safety rule fails in this delivery without the fix; `follow_up` otherwise. A request for new
|
|
34
|
+
capability is always a follow-up. Only blocking findings justify a `fail` verdict.
|
|
35
|
+
- Leave `sumr mission finding resolve` to the task owner who fixed the finding; require a later fresh passing review
|
|
36
|
+
of the same kind before treating a blocking finding as cleared.
|
|
37
|
+
- List follow-ups as proposed new issues. Never add them to the current delivery; record a filed
|
|
38
|
+
issue with `--resolution deferred --follow-up <issue-ref>` after the owner approves it.
|
|
39
|
+
- Check that a current passing receipt exists for the submitted head. Task completion belongs to the task owner, never
|
|
40
|
+
to a reviewer.
|
|
35
41
|
- Write and accept substantive mission-level validation or quality reports with `--from <file>
|
|
36
42
|
--accept` when evidence is available and prerequisites are satisfied.
|
|
37
43
|
- Decide whether the mission can close or needs follow-up.
|
|
@@ -40,8 +46,9 @@ Apply the generated **sumr-mission-workflow** skill before acting.
|
|
|
40
46
|
|
|
41
47
|
Lead with findings and evidence:
|
|
42
48
|
|
|
43
|
-
- `Pass`: evidence supports closeout.
|
|
44
|
-
- `Needs work`: specific
|
|
49
|
+
- `Pass`: evidence supports closeout. List any follow-ups as proposed new issues.
|
|
50
|
+
- `Needs work`: a specific blocking finding, risk, or missing validation. Follow-ups alone never
|
|
51
|
+
mean `Needs work`.
|
|
45
52
|
- `Blocked`: validation cannot be completed and why.
|
|
46
53
|
|
|
47
54
|
Do not implement fixes unless the user explicitly changes your role.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
category: team-member
|
|
3
|
+
name: visual-planner
|
|
4
|
+
title: Mission Visual Planner
|
|
5
|
+
description: "Turns a registered Mission plan into an interactive HTML Artifact and publishes it. Use when the main Claude Code session asks for a visual plan after plan registration."
|
|
6
|
+
profile: design
|
|
7
|
+
availableIn: [claude]
|
|
8
|
+
|
|
9
|
+
# Claude Code subagent options
|
|
10
|
+
claude:
|
|
11
|
+
tools: Read, Grep, Glob, Write, Edit, Artifact
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Mission Visual Planner
|
|
15
|
+
|
|
16
|
+
You turn one registered Mission plan into one interactive HTML page, publish it as an Artifact,
|
|
17
|
+
and return the link.
|
|
18
|
+
|
|
19
|
+
Apply the generated **sumr-mission-workflow** skill before acting.
|
|
20
|
+
|
|
21
|
+
## Inputs
|
|
22
|
+
|
|
23
|
+
- Plan JSON path: the saved output of `sumr mission plan show <issue-key> --json`.
|
|
24
|
+
- Output path: where to write the HTML file.
|
|
25
|
+
- Existing Artifact link, for a later revision of the same plan.
|
|
26
|
+
|
|
27
|
+
## Rules
|
|
28
|
+
|
|
29
|
+
- Read the [Visual Plan](../visual-plan.rf.md) reference first. Follow its core rules, overview,
|
|
30
|
+
view table, traceability, visual language, and quality bar.
|
|
31
|
+
- Use only the plan JSON. Do not add scope, tasks, risks, or decisions.
|
|
32
|
+
- Write one file with inline CSS and JavaScript. Load no external scripts, and load fonts only from
|
|
33
|
+
Google Fonts.
|
|
34
|
+
- Start the file with its title and styles. Do not add doctype, html, head, or body tags; the
|
|
35
|
+
Artifact tool wraps the page.
|
|
36
|
+
- Define every color as a CSS custom property, with light values and dark values, so the page
|
|
37
|
+
follows the viewer's theme.
|
|
38
|
+
- Branching flows may use Mermaid in a pre element with class mermaid, which Artifacts render
|
|
39
|
+
natively. Pages with Mermaid have failed public sharing before, so keep them private or shared
|
|
40
|
+
inside the organization.
|
|
41
|
+
- Make it work at phone width without horizontal page scrolling, and keep tabs keyboard
|
|
42
|
+
accessible.
|
|
43
|
+
- Never add approval buttons or approval commands.
|
|
44
|
+
|
|
45
|
+
## Publish
|
|
46
|
+
|
|
47
|
+
1. Check the page once, and fix anything that breaks the rules.
|
|
48
|
+
2. Publish it with the Artifact tool. For a later revision, update the existing Artifact so the
|
|
49
|
+
link stays the same.
|
|
50
|
+
|
|
51
|
+
## Hard stops
|
|
52
|
+
|
|
53
|
+
- Do not run Mission commands that change state, and never approve, claim, or register plans.
|
|
54
|
+
- Do not edit any file except the output HTML file.
|
|
55
|
+
|
|
56
|
+
## Output
|
|
57
|
+
|
|
58
|
+
Return the Artifact link, the file path, and one line per tab.
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
category: reference
|
|
3
|
+
name: visual-plan
|
|
4
|
+
title: Mission Visual Plan
|
|
5
|
+
description: "Builds an interactive visual version of a registered Mission plan so the user can review flows, before and after states, tasks, and risks before approving. Use when the user asked for a visual plan during Mission planning."
|
|
6
|
+
label: Visual Plan
|
|
7
|
+
when: Offering, building, or presenting a visual plan before plan approval
|
|
8
|
+
order: 55
|
|
9
|
+
availableIn: [claude, cursor, codex]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Mission Visual Plan
|
|
13
|
+
|
|
14
|
+
Give the user an interactive visual plan next to the Markdown approval presentation. The user
|
|
15
|
+
needs both to decide whether to approve.
|
|
16
|
+
|
|
17
|
+
<!-- channel:claude -->
|
|
18
|
+
In Claude Code the visual plan is an Artifact, built and published by the
|
|
19
|
+
`sumr-mission-visual-planner` subagent.
|
|
20
|
+
<!-- /channel:claude -->
|
|
21
|
+
<!-- channel:cursor -->
|
|
22
|
+
In Cursor the visual plan is a Canvas that you build in this session.
|
|
23
|
+
<!-- /channel:cursor -->
|
|
24
|
+
<!-- channel:codex -->
|
|
25
|
+
In the Codex app the visual plan is a private Site that you build with the Sites plugin.
|
|
26
|
+
<!-- /channel:codex -->
|
|
27
|
+
|
|
28
|
+
## Core rules
|
|
29
|
+
|
|
30
|
+
- Data flows: when the plan moves data or control between components, draw a clean, clear flow
|
|
31
|
+
diagram so the user understands the logic step by step.
|
|
32
|
+
- Changes and refactors: when the plan changes existing code or structure, show before and after
|
|
33
|
+
side by side, so the user compares the current state with the target state.
|
|
34
|
+
- Interactive, not long: never build one long scrolling page. Use <!-- channel:claude -->tabs<!-- /channel:claude --><!-- channel:cursor -->clearly
|
|
35
|
+
separated sections<!-- /channel:cursor --><!-- channel:codex -->tabs or pages<!-- /channel:codex --> with clear data, about one screen each, and controls
|
|
36
|
+
the user can explore.
|
|
37
|
+
- Timing and source: build it after the plan is registered and before asking for approval. The
|
|
38
|
+
only source is the registered plan, so pass its exact content.
|
|
39
|
+
|
|
40
|
+
## When to offer
|
|
41
|
+
|
|
42
|
+
<!-- channel:claude -->
|
|
43
|
+
- Offer it only in a main Claude Code session that has the Artifact tool.
|
|
44
|
+
<!-- /channel:claude -->
|
|
45
|
+
<!-- channel:cursor -->
|
|
46
|
+
- Offer it only when this Cursor session can create Canvases.
|
|
47
|
+
<!-- /channel:cursor -->
|
|
48
|
+
<!-- channel:codex -->
|
|
49
|
+
- Offer it only in the Codex app when the Sites plugin is installed in this workspace. Sites is a
|
|
50
|
+
preview for Business and Enterprise workspaces.
|
|
51
|
+
<!-- /channel:codex -->
|
|
52
|
+
- Without that feature, plan as usual and do not mention the visual plan.
|
|
53
|
+
- Ask once, before drafting the plan: "Do you want this plan as a visual <!-- channel:claude -->Artifact<!-- /channel:claude --><!-- channel:cursor -->Canvas<!-- /channel:cursor --><!-- channel:codex -->Site<!-- /channel:codex --> too?"
|
|
54
|
+
- If the user says yes, add "Build the visual plan" to your own planning steps, after plan
|
|
55
|
+
registration and before the approval presentation. It is a planning step, never a numbered task
|
|
56
|
+
in the Mission plan.
|
|
57
|
+
|
|
58
|
+
## Source
|
|
59
|
+
|
|
60
|
+
- After `sumr mission plan`, save the output of `sumr mission plan show <issue-key> --json` to a
|
|
61
|
+
temporary file outside the checkout. Build only from that file.
|
|
62
|
+
- Never build from the draft file, a summary, or memory.
|
|
63
|
+
- When the plan changes, register the new revision and update the visual plan before presenting it
|
|
64
|
+
again.
|
|
65
|
+
|
|
66
|
+
## Overview
|
|
67
|
+
|
|
68
|
+
The first <!-- channel:claude -->tab<!-- /channel:claude --><!-- channel:cursor -->section<!-- /channel:cursor --><!-- channel:codex -->page<!-- /channel:codex --> answers "what am I approving?" in about
|
|
69
|
+
ten seconds:
|
|
70
|
+
|
|
71
|
+
- Mission key, title, revision, and fingerprint, so the visual plan belongs to one exact revision.
|
|
72
|
+
- The goal in one sentence and the user impact.
|
|
73
|
+
- In scope and out of scope side by side, so the user also sees what will not change.
|
|
74
|
+
- Counts of tasks, risks, and decisions.
|
|
75
|
+
- Approval status. When approval is blocked, show the blockers and decisions requiring input
|
|
76
|
+
first.
|
|
77
|
+
- For linked Missions or several repositories, the delivery order and what gates each step.
|
|
78
|
+
|
|
79
|
+
## Pick views by what the plan changes
|
|
80
|
+
|
|
81
|
+
| The plan contains | Use this view |
|
|
82
|
+
| --- | --- |
|
|
83
|
+
| Data or control moving between components | Flow diagram: simple linear flows as steps, branches and loops as a rendered diagram. |
|
|
84
|
+
| Calls between services, tools, or agents | Sequence diagram with one lane per actor. |
|
|
85
|
+
| Status or lifecycle changes | State diagram, before and after. |
|
|
86
|
+
| Code refactors, new files, or moves | File trees before and after, with added, removed, and changed marks, plus short code excerpts side by side. |
|
|
87
|
+
| API, schema, config, or frontmatter changes | Field-level before and after table: field, current, target, and why. |
|
|
88
|
+
| UI changes | Before and after screen mockups side by side. |
|
|
89
|
+
| Output that differs by variant (platform, environment, role, AI Channel) | A switcher that changes the before and after view for each variant. |
|
|
90
|
+
| Alternatives the plan considered | Options side by side, with the chosen one marked and its reason. |
|
|
91
|
+
| Ordered or multi-repository delivery | Milestones in order, with the gate before each one. |
|
|
92
|
+
|
|
93
|
+
Use only the views the plan has content for.
|
|
94
|
+
|
|
95
|
+
## Tasks and traceability
|
|
96
|
+
|
|
97
|
+
- Show tasks as expandable rows with their full plan text, the files they touch, and their
|
|
98
|
+
validation.
|
|
99
|
+
- Connect tasks to acceptance criteria: selecting a task highlights the criteria it serves. When
|
|
100
|
+
the plan does not state the mapping, label it as inferred.
|
|
101
|
+
- Show each risk with its mitigation. Label any severity you assign as inferred.
|
|
102
|
+
- List every decision and contradiction exactly as the plan states it.
|
|
103
|
+
|
|
104
|
+
## Visual language
|
|
105
|
+
|
|
106
|
+
- Give each actor, system, or variant one color and use it the same way everywhere. Add a small
|
|
107
|
+
legend when colors carry meaning.
|
|
108
|
+
- Keep semantic colors for added, removed, changed, and severity separate from the accent color.
|
|
109
|
+
- Use the plan's real names, file paths, commands, and terms. Label illustrative examples as
|
|
110
|
+
illustrative.
|
|
111
|
+
|
|
112
|
+
## Quality bar
|
|
113
|
+
|
|
114
|
+
- Light and dark themes, phone width without horizontal scrolling, and keyboard-accessible
|
|
115
|
+
controls.
|
|
116
|
+
- Everything readable is visible without scrolling to trigger it.
|
|
117
|
+
- Never add approval buttons or approval commands. Approval happens in the conversation.
|
|
118
|
+
<!-- channel:claude -->
|
|
119
|
+
- One self-contained HTML file under about 80 KB with no external scripts; fonts only from Google
|
|
120
|
+
Fonts; tabs deep-linkable by hash.
|
|
121
|
+
<!-- /channel:claude -->
|
|
122
|
+
<!-- channel:cursor -->
|
|
123
|
+
- Use Canvas components such as tables, diagrams, charts, and diffs instead of hand-drawn markup.
|
|
124
|
+
<!-- /channel:cursor -->
|
|
125
|
+
<!-- channel:codex -->
|
|
126
|
+
- Keep site access to the owner unless the user asks to share it, and keep credentials and secrets
|
|
127
|
+
out of the site.
|
|
128
|
+
<!-- /channel:codex -->
|
|
129
|
+
|
|
130
|
+
## Build and publish
|
|
131
|
+
|
|
132
|
+
<!-- channel:claude -->
|
|
133
|
+
1. Delegate to the `sumr-mission-visual-planner` subagent with the plan JSON path, an output HTML
|
|
134
|
+
path in your scratchpad, and, for a later revision, the existing Artifact link.
|
|
135
|
+
2. The subagent writes, checks, and publishes the Artifact and returns its link. You do not need to
|
|
136
|
+
read the HTML.
|
|
137
|
+
3. Present the complete approval presentation from the planning stage with the Artifact link.
|
|
138
|
+
<!-- /channel:claude -->
|
|
139
|
+
<!-- channel:cursor -->
|
|
140
|
+
1. Build a Canvas from the plan JSON with the sections above.
|
|
141
|
+
2. Offer Publish for a read-only link when the user wants to share it.
|
|
142
|
+
3. Present the complete approval presentation from the planning stage with a pointer to the Canvas.
|
|
143
|
+
<!-- /channel:cursor -->
|
|
144
|
+
<!-- channel:codex -->
|
|
145
|
+
1. Use the Sites plugin to create a site from the plan JSON with the views above, with owner-only
|
|
146
|
+
access.
|
|
147
|
+
2. Save a version, deploy it, and open the published link to check it. For a later revision,
|
|
148
|
+
update the same site.
|
|
149
|
+
3. Present the complete approval presentation from the planning stage with the site link.
|
|
150
|
+
<!-- /channel:codex -->
|