@creator-notes/cnotes 0.57.2 → 0.58.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/README.md +3 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/skills.js +6 -1
- package/dist/commands/skills.js.map +1 -1
- package/dist/lib/install-skill.d.ts.map +1 -1
- package/dist/lib/install-skill.js +7 -0
- package/dist/lib/install-skill.js.map +1 -1
- package/package.json +2 -2
- package/skills/attention-planner/SKILL.md +211 -0
- package/skills/attention-planner/references/attention-type.md +53 -0
- package/skills/attention-planner/references/card-shapes.md +255 -0
- package/skills/attention-planner/references/evidence-ledger.md +53 -0
package/README.md
CHANGED
|
@@ -226,12 +226,14 @@ The simplest path: run `npx @creator-notes/cnotes@latest init` and accept the "I
|
|
|
226
226
|
|
|
227
227
|
After that, Claude will use `cnotes` whenever you ask about notes, canvases, or workspace tasks — no further setup.
|
|
228
228
|
|
|
229
|
-
Optional
|
|
229
|
+
Optional skills (not auto-installed):
|
|
230
230
|
|
|
231
231
|
```bash
|
|
232
232
|
cnotes skills list
|
|
233
233
|
cnotes skills install fat-marker-flows # Shape Up sketch journeys
|
|
234
234
|
cnotes skills install howto-filmstrips # live UI screenshot how-tos
|
|
235
|
+
cnotes skills install wayfind # decision maps for multi-session work
|
|
236
|
+
cnotes skills install attention-planner # one answerable card a day, loop closed by the agent
|
|
235
237
|
```
|
|
236
238
|
|
|
237
239
|
### Claude Desktop (MCP Server)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/commands/skills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkCpC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/commands/skills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkCpC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsG7D"}
|
package/dist/commands/skills.js
CHANGED
|
@@ -24,7 +24,7 @@ function resolveTargets(agentOpt) {
|
|
|
24
24
|
export function registerSkillsCommands(program) {
|
|
25
25
|
const skills = program
|
|
26
26
|
.command("skills")
|
|
27
|
-
.description("Install bundled agent skills (e.g. fat-marker flows, how-to filmstrips, wayfind) into Claude Code, Codex, or Cursor");
|
|
27
|
+
.description("Install bundled agent skills (e.g. fat-marker flows, how-to filmstrips, wayfind, attention planner) into Claude Code, Codex, or Cursor");
|
|
28
28
|
skills
|
|
29
29
|
.command("list")
|
|
30
30
|
.description("List the skills this CLI can install")
|
|
@@ -60,6 +60,7 @@ Examples:
|
|
|
60
60
|
$ cnotes skills install fat-marker
|
|
61
61
|
$ cnotes skills install howto-filmstrips
|
|
62
62
|
$ cnotes skills install wayfind --agent cursor
|
|
63
|
+
$ cnotes skills install attention-planner
|
|
63
64
|
$ cnotes skills install fat-marker --agent codex
|
|
64
65
|
$ cnotes skills install fat-marker --agent all`)
|
|
65
66
|
.action((name, options) => {
|
|
@@ -94,6 +95,10 @@ Examples:
|
|
|
94
95
|
console.log("");
|
|
95
96
|
console.log('Next: cnotes auth login then ask your agent to "capture a how-to filmstrip of …".');
|
|
96
97
|
}
|
|
98
|
+
if (skill.name === "attention-planner") {
|
|
99
|
+
console.log("");
|
|
100
|
+
console.log('Next: cnotes auth login then ask your agent "what needs me today?" (it runs intake) or "close the day".');
|
|
101
|
+
}
|
|
97
102
|
}
|
|
98
103
|
catch (error) {
|
|
99
104
|
handleError(error, cfg.json);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/commands/skills.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,WAAW,EA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CAAC,MAAM,GAAE,WAAsB,GAAG,OAAO,CAE7E;AAOD,+DAA+D;AAC/D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAEjE;AAkDD;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,IAAI,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,YAAY,EA+CvC,CAAC;AAEF,+EAA+E;AAC/E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAK3E;AAcD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,kBAAkB,CAexF;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,IAAI,kBAAkB,EAAE,CAc7D;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,MAAM,GAAE,WAAsB,GAAG,kBAAkB,CAkB/E"}
|
|
@@ -163,6 +163,13 @@ export const SKILL_CATALOG = [
|
|
|
163
163
|
description: "Plan work too big for one agent session as a decision map on a canvas: chart Question tickets, then resolve one per session until the way is clear.",
|
|
164
164
|
auto: false,
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
name: "attention-planner",
|
|
168
|
+
aliases: ["attention", "attention-plan", "plan-attention", "planner"],
|
|
169
|
+
label: "Attention planner",
|
|
170
|
+
description: "Turn what arrived into finished agent work plus at most one answerable Attention card, scheduled as a focus block, then close the loop when the human answers.",
|
|
171
|
+
auto: false,
|
|
172
|
+
},
|
|
166
173
|
];
|
|
167
174
|
/** Resolve a CLI-provided name/alias to a catalog skill (case-insensitive). */
|
|
168
175
|
export function resolveCatalogSkill(query) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-skill.js","sourceRoot":"","sources":["../../src/lib/install-skill.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD;;;;;;;;;GASG;AACH,SAAS,aAAa;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;IACpF,IAAI,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAClC,OAAO,sBAAsB,EAAE,CAAC;AAClC,CAAC;AAKD;;;;;;;;GAQG;AACH,MAAM,MAAM,GAAwD;IAClE,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE;IAChD,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IACxC,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAkB,CAAC;AAElE,sEAAsE;AACtE,MAAM,UAAU,gBAAgB,CAAC,MAAmB;IAClD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,CA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,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,CAAC;QAC9D,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;IAC7E,CAAC;IAED,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,yBAAyB;IAC1E,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,uDAAuD;IAClF,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACrD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creator-notes/cnotes",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "CLI for CreatorNotes
|
|
3
|
+
"version": "0.58.0",
|
|
4
|
+
"description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cnotes": "./cnotes.cjs",
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: attention-planner
|
|
3
|
+
description: Turn everything that arrived into either finished agent work or one answerable Attention card scheduled as a focus block, then close the loop when the human answers. Use when the user invokes /attention-planner, asks "what needs me today", "plan my attention", "triage the digest", "triage this transcript", "what did I answer", "close the day", "close the week", or says they answered a card ("I filled ATTENTION-12"). Runs on the cnotes CLI and expects the cnotes skill to be installed.
|
|
4
|
+
metadata:
|
|
5
|
+
short-description: One answerable card a day, loop closed by the agent
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Attention planner
|
|
9
|
+
|
|
10
|
+
The job: restore the human's control over their commitments, one answerable
|
|
11
|
+
card at a time. The human holds three things an agent cannot supply: judgment,
|
|
12
|
+
authorization, and accountability. The agent holds unlimited attention. So
|
|
13
|
+
route every item that arrived to the cheapest resource that can safely settle
|
|
14
|
+
it, hand the human only the residue as a card they can answer in the time it
|
|
15
|
+
says, and when they answer, make things move and say what moved.
|
|
16
|
+
|
|
17
|
+
Felt from the chair: "I answered one thing, five things moved, and I know what
|
|
18
|
+
is still waiting." Judge every write by that sentence. Create the smallest
|
|
19
|
+
useful interruption.
|
|
20
|
+
|
|
21
|
+
Everything runs through `cnotes`. The **cnotes skill** documents every command
|
|
22
|
+
used here (flags, JSON shapes, the operations contract, relationship mentions,
|
|
23
|
+
canvas layout, the humanizer). Consult it rather than guessing.
|
|
24
|
+
|
|
25
|
+
## The model
|
|
26
|
+
|
|
27
|
+
| Concept | CreatorNotes shape |
|
|
28
|
+
|---|---|
|
|
29
|
+
| Rules | One standing note the human ratified, titled `Attention rules`: hours and timezone, deep units per day and their length, the protected morning, sources the agent may read, actions it may take unasked, actions that always need a yes. Found with `cnotes search "attention rules"`. Mentioned from every card |
|
|
30
|
+
| Queue | Today's **IncomingDigest** note. The only list. Headings: `Agent completed`, `Ready for shallow window`, `Waiting for Deep Work`, `Moved today`. Versioned through the day, never duplicated. If the intake pipeline wrote none, create today's from what arrived |
|
|
31
|
+
| Card | An **Attention** note: a time-boxed decision interface for one human. Tagged `open` plus `deep` or `shallow`. At most one deep and one shallow per run. Shapes and worked examples in [references/card-shapes.md](references/card-shapes.md) |
|
|
32
|
+
| Block | A `cnotes focus plan` landed on the card with `--canvas` and `--target`. The only source of truth for when. The card title carries no time, so a moved block never leaves a stale title |
|
|
33
|
+
| Orientation canvas | Deep cards only: `<Card title> · Orientation`, the card first, then the notes it rests on, laid out once with `cnotes canvas place`. The block opens here |
|
|
34
|
+
|
|
35
|
+
An Attention is not a Task. A Task says what work must be done. A card says
|
|
36
|
+
why this needs the human now, gives enough context to decide without opening
|
|
37
|
+
other notes, separates confirmed from inferred, asks only for the inputs that
|
|
38
|
+
person alone can give, states what the agent does after the answer, and names
|
|
39
|
+
which external actions still wait for approval.
|
|
40
|
+
|
|
41
|
+
## Lanes
|
|
42
|
+
|
|
43
|
+
| Lane | What belongs here | Budget | Block |
|
|
44
|
+
|---|---|---|---|
|
|
45
|
+
| Agent automatic | Retrieve, compare, summarize, draft, reproduce, organize. Anything an existing decision or rule already settles | Unlimited | None. Do it now, version the notes it touched, list it under `Agent completed` |
|
|
46
|
+
| Deep Work | Making or judging that cannot be drafted and batch-approved | Deep units from the Rules (default four of 45 minutes, combinable to 90 or 135 for one sitting) | One card, morning first |
|
|
47
|
+
| Shallow PM | Approve, send, route, or a two-minute yes or no after the agent prepared the draft | One 30-minute window per working day after the first deep block. Never a deep unit | Lands on the queue, or on the shallow card |
|
|
48
|
+
| Interrupt | A real customer blocked, an irreversible move imminent, a committed response at risk | The next unused deep unit | The card names what it displaced |
|
|
49
|
+
|
|
50
|
+
Inbox processing is never Deep Work. A ready approve-and-send is never Deep
|
|
51
|
+
Work. An unscheduled deep item is not a card; it waits on the queue under
|
|
52
|
+
`Waiting for Deep Work`.
|
|
53
|
+
|
|
54
|
+
## Three loops
|
|
55
|
+
|
|
56
|
+
### 1 · Intake (agent, every morning)
|
|
57
|
+
|
|
58
|
+
1. **Ensure the type.** `cnotes types show Attention --json`. On exit code 4
|
|
59
|
+
create it exactly as [references/attention-type.md](references/attention-type.md)
|
|
60
|
+
says, then read the rubric back and author to it.
|
|
61
|
+
2. **Read the Rules.** If none exist, this run's only card is the Rules card
|
|
62
|
+
(shape in card-shapes). Do not guess a schedule.
|
|
63
|
+
3. **Load the delta, not the world.** `cnotes focus list --days 7`, open cards
|
|
64
|
+
(`cnotes notes list --type Attention --tags open --json`), today's queue,
|
|
65
|
+
the priority board the Rules name if any, then what arrived since the last
|
|
66
|
+
run: `cnotes shared`, `cnotes timeline --since 1d`, new Transcript notes,
|
|
67
|
+
and the digest the intake pipeline wrote. A digest or canvas digest is
|
|
68
|
+
orientation; open the underlying notes before any consequential claim.
|
|
69
|
+
4. **Open the run.** `cnotes operations begin --prompt "Attention planner · <date> · intake"`.
|
|
70
|
+
One active run per user: if `begin` refuses, another session is writing.
|
|
71
|
+
Hold the run only while writing.
|
|
72
|
+
5. **Do the agent-automatic work first.** For each item ask: can the agent
|
|
73
|
+
retrieve, compare, draft, reproduce, or organize it; does an existing
|
|
74
|
+
decision or rule settle it; would waiting block a customer, a deadline, or
|
|
75
|
+
a dependent owner; is the evidence ready enough to decide? Version the
|
|
76
|
+
existing notes with the results. Never turn a research chore into human
|
|
77
|
+
attention. If evidence is missing, assign its retrieval to the agent or
|
|
78
|
+
the responsible owner.
|
|
79
|
+
6. **Choose at most one deep item.** Ordered gates, not a score: Interrupt,
|
|
80
|
+
then the one decision that unlocks the most dependent work, then queue.
|
|
81
|
+
Ties: the item already named highest priority, the earliest real deadline,
|
|
82
|
+
enough evidence to decide now, the least context switching. Search for an
|
|
83
|
+
open card asking the same decision and version it rather than minting a
|
|
84
|
+
sibling. If an urgent item displaces a planned block, name the displaced
|
|
85
|
+
block on the card. Never hide the trade.
|
|
86
|
+
7. **Write the card.** Read `cnotes types show Attention` and the cnotes
|
|
87
|
+
skill's humanizer reference first. Question and default first, context
|
|
88
|
+
second, evidence per [references/evidence-ledger.md](references/evidence-ledger.md),
|
|
89
|
+
the post-answer contract last. Every card names one existing Project,
|
|
90
|
+
Decision, or Customer with an `advances` mention plus one sentence of what
|
|
91
|
+
becomes true. No such object exists: the work is queue hygiene. Leave it on
|
|
92
|
+
the queue and do not invent a Project to hang it on. Mention every note by
|
|
93
|
+
`[ID: Title](relationship:verb)`, never as a bare display ID.
|
|
94
|
+
8. **Route artifact review.** When the human must inspect a canvas, section,
|
|
95
|
+
or draft, create the official request only after the artifact exists:
|
|
96
|
+
`cnotes review request <canvas> --reviewer me --target <ref> --brief "…" --acceptance "…" --source ATTENTION-N --idempotency-key "attention-N-<slug>-v1" --json`.
|
|
97
|
+
Paste the returned `url` and `requestId` into the card. Never construct the
|
|
98
|
+
URL. Private comments (`canvas comments add`) are working notes, not a
|
|
99
|
+
request. `comments submit` sends a finished review to someone else's canvas
|
|
100
|
+
and requests nothing.
|
|
101
|
+
9. **Schedule.** Deep card: prepare its orientation canvas, then
|
|
102
|
+
`cnotes focus plan --start <ISO with the Rules' offset> --duration 45m|90m|135m --goal "Deep Work · <decision>" --canvas CANVAS-X --target ATTENTION-N`.
|
|
103
|
+
Shallow window: one block after the first deep block, landed on the queue
|
|
104
|
+
or the shallow card when that note sits on a canvas, goal-only otherwise.
|
|
105
|
+
Cancel the window when `Ready for shallow window` is empty. A block that
|
|
106
|
+
moves is cancelled before it is re-planned. Never plan a closed or past
|
|
107
|
+
card. Verify with `cnotes focus list`.
|
|
108
|
+
10. **Update the queue.** Version today's digest with `Agent completed`,
|
|
109
|
+
`Ready for shallow window`, and `Waiting for Deep Work`. Mark the intake
|
|
110
|
+
source processed only after those writes and plans succeeded.
|
|
111
|
+
11. **Close the run.** Report the card by title, when its block runs, what the
|
|
112
|
+
agent finished, and what waits. Surface the orientation canvas link.
|
|
113
|
+
|
|
114
|
+
### 2 · Decide (human, time-boxed)
|
|
115
|
+
|
|
116
|
+
The block opens the orientation canvas landed on the card. The human reads the
|
|
117
|
+
question and the recommended default first; everything else is on the card if
|
|
118
|
+
they want it. They answer by filling the `Your decision` line and saving, or
|
|
119
|
+
by replying in chat with the card's title. Nothing else is asked of them: no
|
|
120
|
+
"tell the agent" ritual, no naming of the next step. The card already says
|
|
121
|
+
what happens next.
|
|
122
|
+
|
|
123
|
+
### 3 · Close the loop (agent, after each block and at day end)
|
|
124
|
+
|
|
125
|
+
1. **Find answered cards.** An open card whose latest version has a filled
|
|
126
|
+
`Your decision` line, a chat reply naming a card, or a review request that
|
|
127
|
+
reached a terminal status (`cnotes review get <requestId> --json`).
|
|
128
|
+
2. **Open the run**, then convert each answer into the promised updates:
|
|
129
|
+
version connected notes, produce the promised draft or brief, hand named
|
|
130
|
+
owners their requests.
|
|
131
|
+
3. **Mint durable objects only when the answer created them.** A Decision,
|
|
132
|
+
Requirement, Task, Question, or Issue, and only then. Prefer a new version
|
|
133
|
+
of an existing note over a sibling.
|
|
134
|
+
4. **Respect the reserved actions.** Customer contact, commitments, deletions,
|
|
135
|
+
and anything irreversible happen only if the answer explicitly approved
|
|
136
|
+
them. Record what still waits.
|
|
137
|
+
5. **Close the card.** Version it with a `## Closed` section (what was done,
|
|
138
|
+
what still waits, with mentions), then `cnotes notes update ATTENTION-N --tags closed,<lane>`.
|
|
139
|
+
Open the next card only if judgment is still needed, and still only one.
|
|
140
|
+
6. **Update the queue.** `Moved today`, in outcome language.
|
|
141
|
+
|
|
142
|
+
## Closing the day and the week
|
|
143
|
+
|
|
144
|
+
**Day.** When the user says so, or after the last block, version today's
|
|
145
|
+
digest with `Moved today`: what is now true that was not true this morning;
|
|
146
|
+
deep units used of the budget; whether the shallow window ran or was
|
|
147
|
+
cancelled; what is still open. A sent email is not a move. A drafted note is
|
|
148
|
+
not a move. If nothing moved, write that. Do not mint a journal or an
|
|
149
|
+
Achievement note.
|
|
150
|
+
|
|
151
|
+
**Week.** Friday after the last block, version the standing Update titled
|
|
152
|
+
`Attention spend · weekly close` (create it once if it does not exist, never a
|
|
153
|
+
sibling): deep units by the object they advanced, consequential sends and
|
|
154
|
+
whether they landed, hygiene that had no higher object, and one honest line
|
|
155
|
+
on whether the week was busy but empty. Mint a deep card from it only when it
|
|
156
|
+
shows a trade the human must choose.
|
|
157
|
+
|
|
158
|
+
## Intake sources
|
|
159
|
+
|
|
160
|
+
- **IncomingDigest.** Already synthesized, PII-free evidence. Read only the
|
|
161
|
+
latest version of today's. Never write PII, names, ticket IDs, or
|
|
162
|
+
source-system identifiers into CreatorNotes. Join Q-IDs only through the
|
|
163
|
+
owner's private action key if they gave one. Older IntakeDigest or
|
|
164
|
+
DailyAttentionDigest notes are superseded: read them, never create them.
|
|
165
|
+
- **Transcript.** Raw evidence, never a reading assignment for the human.
|
|
166
|
+
Preserve it. Write one short Huddle outcome note `derived-from` it,
|
|
167
|
+
separating what participants settled from what they proposed, questioned,
|
|
168
|
+
or reported. Version the notes it changes. Route factual verification and
|
|
169
|
+
artifact production to the named owners. Tag the transcript `digested` only
|
|
170
|
+
after the linked updates and plans succeed. The card carries the
|
|
171
|
+
decision-ready context and links the transcript as provenance only.
|
|
172
|
+
- **Shared with you.** `cnotes shared` is the inbox of asks and shares. A
|
|
173
|
+
review assigned to you is agent work: `cnotes review get`, judge the pinned
|
|
174
|
+
target against every criterion, then `complete` or `return`. Never fabricate
|
|
175
|
+
an outcome you could not judge.
|
|
176
|
+
|
|
177
|
+
## Board hygiene
|
|
178
|
+
|
|
179
|
+
The Focus calendar is the orientation surface; canvas placement alone never
|
|
180
|
+
schedules anything. If the workspace keeps a home board, add the day's cards
|
|
181
|
+
with one `cnotes canvas place` (a vertical stack into that day's section when
|
|
182
|
+
one exists, `cnotes canvas arrange --layout stack --stack-axis vertical` to
|
|
183
|
+
reflow) and never hand-compute coordinates. Supporting Comms or Validation
|
|
184
|
+
sit under the card they support. Copy them onto the orientation canvas only
|
|
185
|
+
when the send rests on them.
|
|
186
|
+
|
|
187
|
+
## Invariants
|
|
188
|
+
|
|
189
|
+
1. Work the agent can do safely never becomes a card.
|
|
190
|
+
2. At most one deep card per run. A shallow card only for a drafted,
|
|
191
|
+
consequential external send. The Rules card is the single exception.
|
|
192
|
+
3. Every card names what it advances with an `advances` mention, or the work
|
|
193
|
+
stays on the queue.
|
|
194
|
+
4. Untested product behaviour is Unknown. It never appears as fact in a
|
|
195
|
+
customer draft. If the send depends on it, run the test, write a
|
|
196
|
+
Validation, then draft.
|
|
197
|
+
5. A review request carries the server-returned URL and request ID, or it
|
|
198
|
+
does not exist on the card.
|
|
199
|
+
6. PII and source identifiers never enter CreatorNotes from the queue.
|
|
200
|
+
7. Intake is marked processed only after the writes and plans succeed.
|
|
201
|
+
|
|
202
|
+
Triage mints nothing but Attention, plus Comms or Validation when a card will
|
|
203
|
+
approve or rest on that object, plus one Huddle on the transcript path. Every
|
|
204
|
+
other type waits for the answer.
|
|
205
|
+
|
|
206
|
+
## Run it unasked
|
|
207
|
+
|
|
208
|
+
Three moments: morning intake, the close after the last block, the Friday
|
|
209
|
+
close. If the host agent supports scheduled routines, schedule all three so
|
|
210
|
+
the card is waiting when the human sits down and nobody has to remember to
|
|
211
|
+
ask.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# The Attention type
|
|
2
|
+
|
|
3
|
+
Run this once per workspace, before the first card. `cnotes types show Attention --json`
|
|
4
|
+
exits 0 with the rubric when the type exists. Exit code 4 means it is missing.
|
|
5
|
+
|
|
6
|
+
## Create it (only on exit code 4)
|
|
7
|
+
|
|
8
|
+
Inside the run, once. Never retry `types create` after an ambiguous network
|
|
9
|
+
failure: run `types show` again first, or you duplicate workspace vocabulary.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
cnotes types create Attention \
|
|
13
|
+
--display-name "Attention" \
|
|
14
|
+
--description "A time-boxed, source-grounded decision interface for one human's judgment or approval" \
|
|
15
|
+
-w <workspaceId> --json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Apply the rubric
|
|
19
|
+
|
|
20
|
+
`types create` has no rubric flag, so apply it with `types update`. Keep
|
|
21
|
+
save-time validation off: the rubric is the authoring spec agents read, and
|
|
22
|
+
it must never block a quick human capture.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
RUBRIC=$(cat <<'TXT'
|
|
26
|
+
An Attention note is a time-boxed decision interface for one human. It asks only for judgment, permission, preference, or accountability that an agent cannot supply safely. A good one leads with the question and a recommended default, says why it needs attention now, gives enough source-grounded context to decide without opening other notes, and states what happens after the answer and which external actions still need approval. Keep the time box honest: about two minutes for a shallow approve-or-send, 45 to 135 minutes for deep judgment.
|
|
27
|
+
|
|
28
|
+
If you are an agent: do every safe step first and list it under "What the agent already did". Name the Project, Decision, or Customer this card advances with an advances mention and one sentence of what becomes true. Classify each consequential claim as Confirmed, Reported, Inference, Recommendation, or Unknown, and link its source with a readable relationship mention such as [NOTE-12: Title](relationship:references); never a bare display ID. Treat untested product behaviour as Unknown. Lean less the harder the choice is to undo; on a pure value fork, do not pick, give the default with its dissent. When the human must inspect a canvas or draft, link an official review request with its server-returned URL and request ID; private comments are not a request. Write "Complete when" as an observable state, never "discussed" or "reviewed".
|
|
29
|
+
TXT
|
|
30
|
+
)
|
|
31
|
+
cnotes types update Attention \
|
|
32
|
+
--validation-prompt "$RUBRIC" \
|
|
33
|
+
--disable-validation \
|
|
34
|
+
-w <workspaceId> --json
|
|
35
|
+
|
|
36
|
+
cnotes types show Attention -w <workspaceId> --json # validationPrompt must be present
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If an existing Attention type comes back with an empty `validationPrompt`,
|
|
40
|
+
apply the same rubric the same way and read it back again.
|
|
41
|
+
|
|
42
|
+
## Related types the planner may touch
|
|
43
|
+
|
|
44
|
+
| Type | Planner's use | If missing |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| IncomingDigest | Today's queue; one per day, versioned | Create with `cnotes types create IncomingDigest --display-name "Incoming Digest"` only when the workspace has no intake pipeline and you must write the queue yourself |
|
|
47
|
+
| Comms | A drafted external send a shallow card approves | Create only when a card will approve that draft |
|
|
48
|
+
| Validation | A recorded reproduction that turns a product claim from Unknown into Confirmed | Ships as a default type; if absent, create it before writing the reproduction |
|
|
49
|
+
| Huddle | The one outcome note on the transcript path | Ships as a default type |
|
|
50
|
+
| Update | The standing weekly close, `Attention spend · weekly close` | Create the type once; the note itself is created once and versioned every Friday |
|
|
51
|
+
|
|
52
|
+
Read each type's rubric with `cnotes types show <Type>` before authoring a
|
|
53
|
+
note of that type.
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# Card shapes
|
|
2
|
+
|
|
3
|
+
Three shapes, one rule: the reader arrives cold and should be able to answer
|
|
4
|
+
before scrolling. Question first, recommended default second, context third,
|
|
5
|
+
evidence fourth, the post-answer contract last. Depth follows the stakes: a
|
|
6
|
+
shallow card is a screen at most, a deep card a few, and neither carries a
|
|
7
|
+
section that adds no decision value. Provenance and the post-answer contract
|
|
8
|
+
are never omitted.
|
|
9
|
+
|
|
10
|
+
The human answers after the colon on a `**Your decision:**` line. A card is
|
|
11
|
+
answered when any such line has text after the colon, or when the human names
|
|
12
|
+
the card in chat. Titles carry no time: the focus block is the source of truth
|
|
13
|
+
for when, and a moved block must not leave a stale title behind.
|
|
14
|
+
|
|
15
|
+
Read `cnotes types show Attention` and the cnotes skill's humanizer reference
|
|
16
|
+
before writing. Mention every note as `[ID: Title](relationship:verb)`; reuse
|
|
17
|
+
the workspace's relationship vocabulary (`cnotes rel types`).
|
|
18
|
+
|
|
19
|
+
## Deep card
|
|
20
|
+
|
|
21
|
+
```markdown
|
|
22
|
+
# <The decision the human will produce>
|
|
23
|
+
|
|
24
|
+
**Lane:** Deep Work · 45 min
|
|
25
|
+
**Advances:** [PROJECT-N: Title](relationship:advances) by <what becomes true if this block succeeds>
|
|
26
|
+
**Rules:** [NOTE-N: Attention rules](relationship:references)
|
|
27
|
+
|
|
28
|
+
## Your decision
|
|
29
|
+
|
|
30
|
+
### 1 · <The question, as a question>
|
|
31
|
+
|
|
32
|
+
**Recommendation:** <default>, because it optimizes <criterion>. Flips if <condition>.
|
|
33
|
+
|
|
34
|
+
**Your decision:**
|
|
35
|
+
|
|
36
|
+
<A second numbered question only when the block genuinely needs two answers.>
|
|
37
|
+
|
|
38
|
+
## Why now
|
|
39
|
+
|
|
40
|
+
<Stakes, what changed, and the consequence of delay. Three sentences. If this
|
|
41
|
+
block displaced a planned one, name it here.>
|
|
42
|
+
|
|
43
|
+
## What you need to know
|
|
44
|
+
|
|
45
|
+
<The minimum context to decide: current state, what changed, what the
|
|
46
|
+
options cost. Under one screen. Orientation mentions belong here:>
|
|
47
|
+
|
|
48
|
+
- [CANVAS-N: Orientation canvas](relationship:related-to)
|
|
49
|
+
- [DECISION-N: The standing decision this touches](relationship:related-to)
|
|
50
|
+
|
|
51
|
+
## Evidence
|
|
52
|
+
|
|
53
|
+
| Classification | Claim | Source | Confidence or gap |
|
|
54
|
+
| --- | --- | --- | --- |
|
|
55
|
+
| Confirmed | <claim> | [NOTE-N: Title](relationship:references) | Directly supported |
|
|
56
|
+
| Reported | <who, channel, date, claim> | [HUDDLE-N: Title](relationship:derived-from) | Not independently verified |
|
|
57
|
+
| Inference | <reasoning> | [INSIGHT-N: Title](relationship:based-on) | <where confidence ends> |
|
|
58
|
+
| Unknown | <missing evidence> | Unverified: source not found | <who can resolve it> |
|
|
59
|
+
|
|
60
|
+
## What the agent already did
|
|
61
|
+
|
|
62
|
+
- <research, comparison, draft, reproduction, or coordination completed>
|
|
63
|
+
- <what is ready for review>
|
|
64
|
+
- <what is assigned to another owner, by name>
|
|
65
|
+
|
|
66
|
+
## After you answer
|
|
67
|
+
|
|
68
|
+
1. The agent will <named update or artifact>.
|
|
69
|
+
2. The agent will <scheduling, delegation, or preparation step>.
|
|
70
|
+
3. The agent will not <customer contact, commitment, destructive change, or
|
|
71
|
+
other external side effect> without your explicit yes.
|
|
72
|
+
|
|
73
|
+
## Complete when
|
|
74
|
+
|
|
75
|
+
<An observable handoff or decision state.>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Add this section only when the human must inspect an artifact, and only
|
|
79
|
+
after the artifact exists and `cnotes review request` returned:
|
|
80
|
+
|
|
81
|
+
```markdown
|
|
82
|
+
## Review action
|
|
83
|
+
|
|
84
|
+
**Decision:** <what this review settles>
|
|
85
|
+
**Acceptance:** <short, testable criteria>
|
|
86
|
+
**Open the review:** [Review the proposal](<url returned by the server>)
|
|
87
|
+
**Request:** `<requestId>`
|
|
88
|
+
|
|
89
|
+
[CANVAS-N: Artifact canvas](relationship:related-to)
|
|
90
|
+
[SECTION-N: The exact review surface](relationship:related-to)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Shallow card
|
|
94
|
+
|
|
95
|
+
Only for a consequential external send that already has a draft. Anything
|
|
96
|
+
smaller is a line under `Ready for shallow window` on the queue.
|
|
97
|
+
|
|
98
|
+
```markdown
|
|
99
|
+
# Send <what> to <whom>?
|
|
100
|
+
|
|
101
|
+
**Lane:** Shallow PM · 2 min
|
|
102
|
+
**Advances:** [CUSTOMER-N: Title](relationship:advances) by <what becomes true>
|
|
103
|
+
**Draft:** [COMMS-N: Title](relationship:references)
|
|
104
|
+
|
|
105
|
+
**Recommendation:** send as drafted, because <criterion>.
|
|
106
|
+
|
|
107
|
+
**Your decision:**
|
|
108
|
+
|
|
109
|
+
Reply `yes`, `edit` and say what, or `hold`.
|
|
110
|
+
|
|
111
|
+
## Why now
|
|
112
|
+
|
|
113
|
+
<Two sentences: the commitment or deadline, and the cost of waiting.>
|
|
114
|
+
|
|
115
|
+
## Evidence
|
|
116
|
+
|
|
117
|
+
<One line per claim the draft makes, each with its class and source. If the
|
|
118
|
+
draft makes no product-behaviour claims, say so in one line.>
|
|
119
|
+
|
|
120
|
+
## After you answer
|
|
121
|
+
|
|
122
|
+
1. `yes`: the agent sends it and records the send on <note>.
|
|
123
|
+
2. `edit`: the agent applies your edit, then sends.
|
|
124
|
+
3. `hold`: it returns to the queue under `Ready for shallow window`.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Rules card (first run only)
|
|
128
|
+
|
|
129
|
+
The one shallow card allowed without a draft. Its answer becomes the standing
|
|
130
|
+
`Attention rules` note that every later card mentions.
|
|
131
|
+
|
|
132
|
+
```markdown
|
|
133
|
+
# Set your attention rules
|
|
134
|
+
|
|
135
|
+
**Lane:** Shallow PM · 5 min
|
|
136
|
+
|
|
137
|
+
**Recommendation:** ratify these defaults. Edit any line.
|
|
138
|
+
|
|
139
|
+
- Working hours and timezone: <09:00 to 17:30, Region/City (+HH:MM)>
|
|
140
|
+
- Deep units: four of 45 minutes per day, combinable to 90 or 135; morning protected until <12:00>
|
|
141
|
+
- Shallow window: one 30-minute block after the first deep block
|
|
142
|
+
- Sources the agent may read: <the intake workspace, shared items, transcripts, the priority board>
|
|
143
|
+
- Actions the agent may take unasked: research, compare, draft, version notes, plan and cancel focus blocks
|
|
144
|
+
- Actions that always need a yes: customer contact, commitments, deletions, anything irreversible
|
|
145
|
+
- Interrupt rule: a blocked customer takes the next unused deep unit
|
|
146
|
+
|
|
147
|
+
**Your decision:**
|
|
148
|
+
|
|
149
|
+
## After you answer
|
|
150
|
+
|
|
151
|
+
The agent saves the ratified lines as the standing `Attention rules` note,
|
|
152
|
+
mentions it from every future card, and runs intake.
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Closed section
|
|
156
|
+
|
|
157
|
+
Appended as a new version when the loop closes, before the tags change to
|
|
158
|
+
`closed,<lane>`:
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
## Closed
|
|
162
|
+
|
|
163
|
+
Answered <date>: <the answer in one line>.
|
|
164
|
+
Done: <what the agent did, with mentions>.
|
|
165
|
+
Still waiting: <the external action that needs a yes, or "nothing">.
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Worked example · deep
|
|
169
|
+
|
|
170
|
+
A fictional customer, written the way a real card should read.
|
|
171
|
+
|
|
172
|
+
```markdown
|
|
173
|
+
# Choose the recovery offer for Northwind's export failures
|
|
174
|
+
|
|
175
|
+
**Lane:** Deep Work · 45 min
|
|
176
|
+
**Advances:** [CUSTOMER-7: Northwind Logistics](relationship:advances) by a recovery offer they can accept this week instead of escalating to procurement
|
|
177
|
+
**Rules:** [NOTE-31: Attention rules](relationship:references)
|
|
178
|
+
|
|
179
|
+
## Your decision
|
|
180
|
+
|
|
181
|
+
### 1 · Which recovery offer do we make?
|
|
182
|
+
|
|
183
|
+
**Recommendation:** offer the fix date (Thursday) plus one month's credit, because it keeps the renewal conversation on product rather than on compensation. Flips if the reproduction shows the failure also drops rows silently; then the offer must include a data audit.
|
|
184
|
+
|
|
185
|
+
**Your decision:**
|
|
186
|
+
|
|
187
|
+
## Why now
|
|
188
|
+
|
|
189
|
+
Northwind's ops lead said on Tuesday's call that they will raise the export failures with procurement on Friday. A fix date exists, but nobody has told them, and the renewal is in six weeks. Waiting past Thursday turns a product conversation into a compensation one.
|
|
190
|
+
|
|
191
|
+
## What you need to know
|
|
192
|
+
|
|
193
|
+
Exports over 50,000 rows time out; the agent reproduced it today. The fix is scheduled and does not need a decision. What needs you is the offer: fix date alone, fix date plus credit, or fix date plus credit plus a data audit.
|
|
194
|
+
|
|
195
|
+
- [CANVAS-88: Northwind recovery · Orientation](relationship:related-to)
|
|
196
|
+
- [DECISION-58: Ship the streaming export fix Thursday](relationship:related-to)
|
|
197
|
+
|
|
198
|
+
## Evidence
|
|
199
|
+
|
|
200
|
+
| Classification | Claim | Source | Confidence or gap |
|
|
201
|
+
| --- | --- | --- | --- |
|
|
202
|
+
| Confirmed | Exports over 50,000 rows time out after 30 seconds | [VALIDATION-3: Export timeout reproduction](relationship:references) | Reproduced today, screenshots on the orientation canvas |
|
|
203
|
+
| Confirmed | The streaming fix ships Thursday | [DECISION-58: Ship the streaming export fix Thursday](relationship:references) | Directly supported |
|
|
204
|
+
| Reported | Their ops lead, Tuesday call, said procurement gets involved Friday | [HUDDLE-19: Northwind check-in](relationship:derived-from) | Not independently verified |
|
|
205
|
+
| Inference | A credit now costs less than a procurement-led renewal | [INSIGHT-44: Escalated renewals close smaller](relationship:based-on) | Based on three prior accounts; sample is small |
|
|
206
|
+
| Unknown | Whether rows are dropped silently below the timeout | Unverified: source not found | Engineering owner can confirm from export logs |
|
|
207
|
+
|
|
208
|
+
## What the agent already did
|
|
209
|
+
|
|
210
|
+
- Reproduced the failure and wrote the Validation with screenshots.
|
|
211
|
+
- Drafted the customer note as [COMMS-12: Northwind recovery note](relationship:references), pending your offer choice.
|
|
212
|
+
- Asked the engineering owner for the dropped-rows log check; answer expected before Thursday.
|
|
213
|
+
|
|
214
|
+
## After you answer
|
|
215
|
+
|
|
216
|
+
1. The agent will fill the offer into the draft and version it.
|
|
217
|
+
2. The agent will queue the send for the shallow window.
|
|
218
|
+
3. The agent will not send anything to Northwind without your explicit yes on the draft.
|
|
219
|
+
|
|
220
|
+
## Complete when
|
|
221
|
+
|
|
222
|
+
The draft carries the chosen offer and sits under `Ready for shallow window`.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## Worked example · shallow
|
|
226
|
+
|
|
227
|
+
```markdown
|
|
228
|
+
# Send the recovery note to Northwind?
|
|
229
|
+
|
|
230
|
+
**Lane:** Shallow PM · 2 min
|
|
231
|
+
**Advances:** [CUSTOMER-7: Northwind Logistics](relationship:advances) by getting the fix date and the offer in front of them before Friday
|
|
232
|
+
**Draft:** [COMMS-12: Northwind recovery note](relationship:references)
|
|
233
|
+
|
|
234
|
+
**Recommendation:** send as drafted, because every claim in it is confirmed and the offer matches your answer on the deep card.
|
|
235
|
+
|
|
236
|
+
**Your decision:**
|
|
237
|
+
|
|
238
|
+
Reply `yes`, `edit` and say what, or `hold`.
|
|
239
|
+
|
|
240
|
+
## Why now
|
|
241
|
+
|
|
242
|
+
Their procurement conversation is Friday. Sending today gives them two working days with the offer in hand.
|
|
243
|
+
|
|
244
|
+
## Evidence
|
|
245
|
+
|
|
246
|
+
- Confirmed: the fix ships Thursday, [DECISION-58: Ship the streaming export fix Thursday](relationship:references).
|
|
247
|
+
- Confirmed: the offer is fix date plus one month's credit, [ATTENTION-42: Choose the recovery offer for Northwind's export failures](relationship:derived-from).
|
|
248
|
+
- The draft makes no other product-behaviour claims.
|
|
249
|
+
|
|
250
|
+
## After you answer
|
|
251
|
+
|
|
252
|
+
1. `yes`: the agent sends it and records the send on the customer note.
|
|
253
|
+
2. `edit`: the agent applies your edit, then sends.
|
|
254
|
+
3. `hold`: it returns to the queue under `Ready for shallow window`.
|
|
255
|
+
```
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Evidence ledger
|
|
2
|
+
|
|
3
|
+
Classify every consequential claim before it goes on a card or into a draft.
|
|
4
|
+
A consequential claim is one that would change the decision, the priority, or
|
|
5
|
+
what the customer is told if it turned out to be wrong.
|
|
6
|
+
|
|
7
|
+
## The five classes
|
|
8
|
+
|
|
9
|
+
| Classification | Use when | Required detail |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| Confirmed | Directly observed in CreatorNotes, explicitly stated by the user, or supported by a primary source | The claim and a mention of the source |
|
|
12
|
+
| Reported | Said by a named person or channel, not independently verified | Speaker, date, channel, the claim, and the source mention |
|
|
13
|
+
| Inference | Reasoned from linked evidence | The reasoning, the source, and where confidence ends |
|
|
14
|
+
| Recommendation | The agent proposes a choice | The proposed choice, the criterion it optimizes, its evidence, and what flips it |
|
|
15
|
+
| Unknown | Evidence is absent or conflicting | The missing evidence and who can resolve it |
|
|
16
|
+
|
|
17
|
+
## Rules
|
|
18
|
+
|
|
19
|
+
- Columns on a deep card: `Classification`, `Claim`, `Source`, `Confidence or gap`.
|
|
20
|
+
- Put the mention beside the claim. Note sources carry facts; a canvas mention
|
|
21
|
+
is for orientation only, never the source of a fact.
|
|
22
|
+
- Never write a bare display ID in a note body. `[NOTE-12: Title](relationship:references)`,
|
|
23
|
+
not `NOTE-12`. Reuse the workspace's relationship vocabulary before coining
|
|
24
|
+
one.
|
|
25
|
+
- No source can be linked: write `Unverified: source not found` and narrow the
|
|
26
|
+
claim until it is true.
|
|
27
|
+
- A reported claim or an inference does not become a fact because several
|
|
28
|
+
summaries repeat it. Summaries derived from one source count once.
|
|
29
|
+
- Preserve speaker, date, and channel for every customer or stakeholder
|
|
30
|
+
statement.
|
|
31
|
+
- A live product behaviour is Confirmed only when a Validation or Observation
|
|
32
|
+
records a reproduction. Untested means Unknown. An untested behaviour never
|
|
33
|
+
appears as fact in a customer draft; if the card or the send depends on it,
|
|
34
|
+
run the test, write the Validation, and put the screenshots on the evidence
|
|
35
|
+
or orientation canvas first.
|
|
36
|
+
- Lean less the harder the choice is to undo. On a two-way door, recommend
|
|
37
|
+
plainly. On a one-way door, give the default with its dissent and say what
|
|
38
|
+
would change your mind. On a pure value fork, do not pick: state the fork
|
|
39
|
+
and the default the human has used before, if any.
|
|
40
|
+
|
|
41
|
+
## Proportionality
|
|
42
|
+
|
|
43
|
+
The ledger's depth follows the stakes, not the template.
|
|
44
|
+
|
|
45
|
+
| Card | Ledger |
|
|
46
|
+
|---|---|
|
|
47
|
+
| Deep | The full table, one row per consequential claim |
|
|
48
|
+
| Shallow | One line per claim the draft makes, each with its class and source. If the draft makes no product-behaviour claims, one line saying so |
|
|
49
|
+
| Rules | None. The card asks for preferences, not facts |
|
|
50
|
+
|
|
51
|
+
A deep card with no Reported, Inference, or Unknown rows is a signal to look
|
|
52
|
+
again: either the decision is agent-automatic and should not be a card, or a
|
|
53
|
+
claim has been promoted without a source.
|