@creator-notes/cnotes 0.121.9 → 0.122.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.
@@ -6,7 +6,7 @@ Read this before putting more than one item on a canvas. Describe structure; the
6
6
 
7
7
  - [The layout DSL](#the-layout-dsl)
8
8
  - [Leaf item shapes](#leaf-item-shapes)
9
- - [Section container (frame WITH content — preferred)](#section-container-frame-with-content--preferred)
9
+ - [Section container (frame WITH content: preferred)](#section-container-frame-with-content-preferred)
10
10
  - [Arrange existing nodes (reflow)](#arrange-existing-nodes-reflow)
11
11
  - [Arranged sections](#arranged-sections)
12
12
  - [Edges](#edges)
@@ -17,11 +17,11 @@ Read this before putting more than one item on a canvas. Describe structure; the
17
17
 
18
18
  **Don't compute coordinates by hand. Use `cnotes canvas place` with a layout spec.**
19
19
 
20
- The server measures every item, packs them into a no-overlap layout, and inserts them in a single batch. You describe **structure** (rows, columns, what's near what) — the server resolves pixels. This is what `cnotes canvas place` is for, and you should reach for it whenever you're adding more than one item.
20
+ The server measures every item, packs them into a no-overlap layout, and inserts them in a single batch. You describe **structure** (rows, columns, what's near what), the server resolves pixels. This is what `cnotes canvas place` is for, and you should reach for it whenever you're adding more than one item.
21
21
 
22
- The call is **best-effort, not transactional** — per-item failures are reported in the response (HTTP 207) but the items that succeeded stay on the canvas. Always inspect `items[].error` and `edges[].error` before assuming success.
22
+ The call is **best-effort, not transactional**: per-item failures are reported in the response (HTTP 207) but the items that succeeded stay on the canvas. Always inspect `items[].error` and `edges[].error` before assuming success.
23
23
 
24
- **You don't have to find a free coordinate.** `place` is collision-aware against content already on the canvas. By default (`placement: "auto"`) it drops your layout in a clear band **below everything that's already there**, and if you do pass an `origin` that would overlap, it slides the whole block straight down until it's clear. So appending a new section to a non-empty canvas Just Works — no need to read existing positions and guess a safe `origin` first. Use `--placement append` to force "below everything", or `--placement exact` (or `"placement": "exact"` in the doc) to honor your `origin` verbatim for pixel-perfect templates.
24
+ **You don't have to find a free coordinate.** `place` is collision-aware against content already on the canvas. By default (`placement: "auto"`) it drops your layout in a clear band **below everything that's already there**, and if you do pass an `origin` that would overlap, it slides the whole block straight down until it's clear. So appending a new section to a non-empty canvas Just Works, no need to read existing positions and guess a safe `origin` first. Use `--placement append` to force "below everything", or `--placement exact` (or `"placement": "exact"` in the doc) to honor your `origin` verbatim for pixel-perfect templates.
25
25
 
26
26
  Use `cnotes canvas bulk-add` with explicit `x/y` ONLY for pixel-perfect templates (e.g. demo recordings or tutorial walkthroughs that need to match a specific screenshot).
27
27
 
@@ -29,29 +29,29 @@ Use `cnotes canvas bulk-add` with explicit `x/y` ONLY for pixel-perfect template
29
29
 
30
30
  A layout document is `{ root, edges?, origin?, placement? }` where `root` is one of four node kinds:
31
31
 
32
- - **`stack`** — items flow along one axis (like CSS flexbox)
32
+ - **`stack`**, items flow along one axis (like CSS flexbox)
33
33
  ```json
34
34
  { "kind": "stack", "axis": "vertical", "gap": "medium",
35
35
  "align": "start", "items": [ /* LayoutNode */ ] }
36
36
  ```
37
- - **`grid`** — N columns, items wrap to new rows (like CSS grid auto-flow)
37
+ - **`grid`**, N columns, items wrap to new rows (like CSS grid auto-flow)
38
38
  ```json
39
39
  { "kind": "grid", "columns": 3, "gap": "medium",
40
40
  "items": [ /* LayoutNode */ ] }
41
41
  ```
42
- - **`anchor`** — place a sub-tree relative to an EXISTING canvas node
42
+ - **`anchor`**, place a sub-tree relative to an EXISTING canvas node
43
43
  ```json
44
44
  { "kind": "anchor", "to": "NOTE-12", "direction": "right",
45
45
  "gap": "medium", "child": /* LayoutNode */ }
46
46
  ```
47
- `direction` is exactly one of `"right"` | `"left"` | `"above"` | `"below"` — NOT `top`/`bottom`/`up`/`down`.
48
- - **`item`** — a leaf node (no x/y!). One per visible thing on the canvas.
47
+ `direction` is exactly one of `"right"` | `"left"` | `"above"` | `"below"`, NOT `top`/`bottom`/`up`/`down`.
48
+ - **`item`**, a leaf node (no x/y!). One per visible thing on the canvas.
49
49
 
50
50
  `gap` accepts a preset (`"tight"`, `"medium"`, `"spacious"`) or a raw pixel number. Defaults to `"medium"`. The presets are horizontal / vertical pixels: `tight` 60 / 27, `medium` 200 / 72, `spacious` 400 / 144, so a `medium` horizontal stack puts 200px between cards; pass a number (48) when a row should read as one band.
51
51
 
52
52
  The schema is strict: an unknown or typo'd key anywhere in the doc (e.g. `gapp`, `positionx`) is rejected with the offending key named, rather than silently ignored. Validation errors return `details.issues` with the full path (`doc.root.items[2].direction`), the allowed values, and what you sent.
53
53
 
54
- `placement` (top-level, optional) controls where the whole layout sits relative to existing content: `"auto"` (default, collision-aware — below existing content / de-collide), `"append"` (always below everything), `"exact"` (honor `origin` verbatim). `origin` is the top-left corner; omit it and `auto`/`append` pick a safe one for you.
54
+ `placement` (top-level, optional) controls where the whole layout sits relative to existing content: `"auto"` (default, collision-aware, below existing content / de-collide), `"append"` (always below everything), `"exact"` (honor `origin` verbatim). `origin` is the top-left corner; omit it and `auto`/`append` pick a safe one for you.
55
55
 
56
56
  ## Leaf item shapes
57
57
 
@@ -61,22 +61,25 @@ The schema is strict: an unknown or typo'd key anywhere in the doc (e.g. `gapp`,
61
61
  { "kind": "item", "type": "richtext", "content": "Read this band left to right.", "size": "medium", "colorHex": "#F59E0B" }
62
62
  { "kind": "item", "type": "list", "description": "Risks tracked weekly — owner: @ana", "noteIds": ["A","B","C"], "viewMode": "list" }
63
63
  { "kind": "item", "type": "canvas", "linkedCanvasId": "abc..." }
64
+ { "kind": "item", "type": "quote", "noteId": "@problem", "text": "Reviews wait on one person", "size": "medium", "key": "f1" }
64
65
  { "kind": "item", "type": "section", "name": "Open Questions", "width": 800, "height": 500 }
65
66
  ```
66
67
 
67
- `richtext` IS the **text** element (the CLI's `add-text`) — the only free-form text leaf. A heading is a `richtext` leaf whose content is `"# Title"` with no `colorHex`. There is no `"type": "text"` leaf: the old heading node kind is retired and the layout engine rejects it.
68
+ A `quote` leaf is a note's face (canvas-elements.md rules 4 and 8): `text` is the exact words from the note's saved version, `noteId` a display id or the `@<key>` of a note the same call creates, `style` (`pull` default, `highlight`, `evidence`), `size` (`small` default, `medium`, `large`), `colorHex` a role hex, `title` your own words for why the line matters. The server makes or reuses the Quote note (`QUOTE-<n>`, the same one `canvas add-quote` would make) and places its card where the solver put the leaf, inside its frame, measured from its words. The response item carries `quoteNoteDisplayId`, `noteDisplayId` and `versionNumber`; `placed: false` means that quote was already on the board. Put the face under or beside its note in the same stack; an edge may name it by `@<key>`. `add-quote` is for a board that already exists.
69
+
70
+ `richtext` IS the **text** element (the CLI's `add-text`), the only free-form text leaf. A heading is a `richtext` leaf whose content is `"# Title"` with no `colorHex`. There is no `"type": "text"` leaf: the old heading node kind is retired and the layout engine rejects it.
68
71
 
69
72
  **New notes in the same call.** A spec can carry a top-level `notes` array in the `notes create` shape (`{key, type, markdown|markdownFile, tags?, changeDescription?}`). A note leaf places one with `"noteId": "@<key>"` and takes `<key>` as its own key, so edges and anchors say `@<key>`; bodies cross-link with `[@<key>: Title](relationship:<verb>)`. The notes are checked before anything is written, created only if the layout solves, need an open run, and come back under `notes` in the `notes create` response shape. A dry run creates nothing. If placing then fails, the notes still exist: fix forward, never re-run the spec.
70
73
 
71
74
  Leaf enums (exact values): richtext `size` = `small` | `medium` | `large`, `colorHex` = a saturated hex (omit for no background); list `viewMode` = `list` | `grid`, list `size` = `sm` | `md` | `lg` | `xl`.
72
75
 
73
- A richtext `size` is not a hint — it IS the width the card paints: `small` 560px, `medium` 1120px, `large` 1680px, with the height following the content. It sets the type too (headings 30, 56 and 128px; body 14, 24 and 48px), which is why the hero is `large` and an annotation `small` ([canvas-elements.md](canvas-elements.md) rules 7 and 9). A large hero under 50 characters is about 600px tall; a four-line `medium` banner without a heading about 375px. `place` measures that box for you, which is the whole reason to prefer it over hand-picked coordinates: pitch a row of columns for `small` and then send `medium` items and every card runs 460px into its neighbour.
76
+ A richtext `size` is not a hint, it IS the width the card paints: `small` 560px, `medium` 1120px, `large` 1680px, with the height following the content. It sets the type too (headings 30, 56 and 128px; body 14, 24 and 48px), which is why the hero is `large` and an annotation `small` ([canvas-elements.md](canvas-elements.md) rules 7 and 9). A large hero under 50 characters is about 600px tall; a four-line `medium` banner without a heading about 375px. `place` measures that box for you, which is the whole reason to prefer it over hand-picked coordinates: pitch a row of columns for `small` and then send `medium` items and every card runs 460px into its neighbour.
74
77
 
75
- ## Section container (frame WITH content — preferred)
78
+ ## Section container (frame WITH content: preferred)
76
79
 
77
80
  Beyond the fixed-size leaf above, `section` is also a CONTAINER: wrap any
78
81
  stack/grid in a named frame and the solver sizes the frame around the content
79
- plus padding — no coordinate math, one call. This is how "create a section and
82
+ plus padding: no coordinate math, one call. This is how "create a section and
80
83
  lay out notes in it" should be expressed:
81
84
 
82
85
  ```json
@@ -89,13 +92,13 @@ lay out notes in it" should be expressed:
89
92
  }
90
93
  ```
91
94
 
92
- The place response's section item carries its `displayId` (SECTION-<n>) —
95
+ The place response's section item carries its `displayId` (SECTION-<n>),
93
96
  surface it and mention it as `[[SECTION-<n>]]` from note bodies. For the
94
97
  simple case, `add-section --notes id1,id2` is the same thing as a one-liner.
95
98
  To **reflow content that ALREADY sits on the canvas** into a section (mixed
96
- kinds — notes, canvas-links, richtext, lists), use `canvas arrange` — do NOT
99
+ kinds: notes, canvas-links, richtext, lists), use `canvas arrange`, do NOT
97
100
  hand-compute coordinates with `bulk-move` + `update-section`. To grow or
98
- rename a frame without moving its contents, use `canvas update-section` —
101
+ rename a frame without moving its contents, use `canvas update-section`,
99
102
  never delete + re-add, which mints a new SECTION-<n> and breaks every
100
103
  `[[SECTION-<n>]]` mention pointing at the old one.
101
104
 
@@ -151,7 +154,7 @@ sections and lists any card that runs past its frame's edge; fix those with
151
154
 
152
155
  The optional `key` lets edges and other items reference this leaf later (`@<key>`).
153
156
 
154
- `richtext.content` (the **text** element) accepts markdown directly — the server converts to TipTap before measuring. Markdown including relationship mentions: `[NOTE-X: Title](relationship:verb)` renders as a chip with the real title, so use one wherever the card names a note or canvas (a bare id is a defect), and keep it card-sized per [canvas-elements.md](canvas-elements.md).
157
+ `richtext.content` (the **text** element) accepts markdown directly, the server converts to TipTap before measuring. Markdown including relationship mentions: `[NOTE-X: Title](relationship:verb)` renders as a chip with the real title, so use one wherever the card names a note or canvas (a bare id is a defect), and keep it card-sized per [canvas-elements.md](canvas-elements.md).
155
158
 
156
159
  `list.description` is a one-line **frame**; the content is `noteIds`, the member notes (N distinct things = N notes, see [canvas-elements.md](canvas-elements.md)).
157
160
 
@@ -159,19 +162,81 @@ The optional `key` lets edges and other items reference this leaf later (`@<key>
159
162
 
160
163
  Edges live at the top level alongside `root`. Each endpoint is resolved in this priority order:
161
164
 
162
- 1. **`@<key>`** — any item placed in the same call that carries a matching `key`
163
- 2. **Original `noteId`** of a note placed in this call (e.g. `"NOTE-7"`) — no `key` needed
165
+ 1. **`@<key>`**, any item placed in the same call that carries a matching `key`
166
+ 2. **Original `noteId`** of a note placed in this call (e.g. `"NOTE-7"`), no `key` needed
164
167
  3. **Display id or convex id** of a node already on the canvas
165
168
 
166
169
  ```json
167
170
  "edges": [
168
171
  { "from": "@a", "to": "@b", "label": "depends on" },
169
- { "from": "NOTE-7", "to": "@a" }
172
+ { "from": "NOTE-7", "to": "@a" },
173
+ { "from": "@rec", "to": "OBSERVATION-40", "label": "grounded in", "lineStyle": "dashed" }
170
174
  ]
171
175
  ```
172
176
 
177
+ `lineStyle` is `solid` (the default: the chain the reader follows) or `dashed` (what a card rests on), so a board with two layers of arrows is drawn in one call (canvas-elements.md, rule 5). `canvas update-edge --line-style` restyles an arrow that already exists.
178
+
173
179
  ## Examples
174
180
 
181
+ **Argument spine** (a decision read left to right). The shape for an Argument board ([canvas-elements.md](canvas-elements.md), Board shapes). Each step of the argument is one column: a heading naming the step, the note the step rests on with its face (a `quote` leaf of its claim sentence) under it, and then a `small` connective, the board's own sentence saying what that card means for the next step. Edges join the steps; the rests-on arrow is dashed. The shelf, the sources the spine rests on, is a section of tiles below. One call builds all of it.
182
+ ```json
183
+ {
184
+ "notes": [
185
+ { "key": "problem", "type": "Problem", "markdownFile": "./problem.md" },
186
+ { "key": "optA", "type": "Option", "markdownFile": "./opt-a.md" },
187
+ { "key": "optB", "type": "Option", "markdownFile": "./opt-b.md" },
188
+ { "key": "rec", "type": "Decision", "markdownFile": "./decision.md" }
189
+ ],
190
+ "root": {
191
+ "kind": "stack", "axis": "vertical", "gap": "medium", "align": "start",
192
+ "items": [
193
+ { "kind": "item", "type": "richtext", "size": "large", "content": "# Add a second reviewer" },
194
+ { "kind": "item", "type": "richtext", "size": "medium",
195
+ "content": "Every review waits on Ana; four features shipped a week late in October.\nThis board decides how reviews stop waiting on one person.\nAna picks; her answer lands on [QUESTION-12: Who else reviews?](relationship:answered-by).\nRead left to right." },
196
+ { "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
197
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
198
+ { "kind": "item", "type": "richtext", "content": "# 1 · What goes wrong" },
199
+ { "kind": "item", "type": "note", "noteId": "@problem" },
200
+ { "kind": "item", "type": "quote", "noteId": "@problem", "text": "Every review waits on Ana", "size": "medium", "key": "f1" },
201
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c1",
202
+ "content": "Four late ships in one month is the cost of one reviewer, not of slow reviewers. So the fix is who reviews, not how fast." }
203
+ ] },
204
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
205
+ { "kind": "item", "type": "richtext", "content": "# 2 · Two ways out" },
206
+ { "kind": "stack", "axis": "horizontal", "gap": 48, "items": [
207
+ { "kind": "item", "type": "note", "noteId": "@optA" },
208
+ { "kind": "item", "type": "note", "noteId": "@optB" }
209
+ ] },
210
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c2",
211
+ "content": "A rota spreads the load; a second named reviewer keeps one owner. The rota fails the week two people are away." }
212
+ ] },
213
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
214
+ { "kind": "item", "type": "richtext", "content": "# 3 · Recommendation" },
215
+ { "kind": "item", "type": "note", "noteId": "@rec" },
216
+ { "kind": "item", "type": "quote", "noteId": "@rec", "text": "Name a second reviewer", "size": "small", "key": "f3" },
217
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c3",
218
+ "content": "Flip it if Ana's load drops under five reviews a week." }
219
+ ] }
220
+ ] },
221
+ { "kind": "section", "name": "What it rests on", "child": { "kind": "grid", "columns": 4, "items": [
222
+ { "kind": "item", "type": "note", "noteId": "OBSERVATION-40" },
223
+ { "kind": "item", "type": "note", "noteId": "TRANSCRIPT-7" }
224
+ ] } }
225
+ ]
226
+ },
227
+ "edges": [
228
+ { "from": "@c1", "to": "@optA", "label": "so" },
229
+ { "from": "@c1", "to": "@optB", "label": "so" },
230
+ { "from": "@c2", "to": "@rec", "label": "selects" },
231
+ { "from": "@rec", "to": "OBSERVATION-40", "label": "grounded in", "lineStyle": "dashed" }
232
+ ]
233
+ }
234
+ ```
235
+ - A connective is the board's sentence, not the note's: it says what the card means for the next step and names cards by chip. If it would be true on another board, it is a claim and belongs in a note.
236
+ - Each spine note's face is a `quote` leaf of its claim sentence under the note: `medium` for the one the reader must see first, `small` for the rest (canvas-elements.md rule 4). The words must be in the note's body as written in `notes`, since the server pins the quote to that saved version. On a board that already exists, `canvas add-quote` adds a face beside its source.
237
+ - The shelf is a section so it stays arranged as sources are added; the spine is freeform, like bands.
238
+ - Rests-on arrows say `"lineStyle": "dashed"` in the spec (canvas-elements.md rule 5); `cnotes canvas update-edge <canvasId> --edge <id> --line-style dashed` restyles one that exists.
239
+
175
240
  **Bands** (a story read top to bottom). When the user asks for "bands", or the canvas makes one argument in order (the ask, the problem, the root cause, the reframe, what we're solving, the grounding), give each step its own band: a heading naming the step's role, with that step's cards in one row under it. CANVAS-99 is the reference board. Gaps 100 / 20 / 140 reproduce its spacing (bands about 310px apart, cards on a 480px pitch).
176
241
  ```json
177
242
  {
@@ -297,10 +362,10 @@ Edges live at the top level alongside `root`. Each endpoint is resolved in this
297
362
 
298
363
  ## Constraints
299
364
 
300
- - **Anchors take zero space in their parent** — when nested inside a `stack` or `grid`, an anchor reserves no slot, so siblings collapse together. Anchors are best used at the root or as their own top-level branch.
301
- - **Anchor `to:` must be a node already on the canvas** — local `@key` refs only work for edges, not for anchor targets in this version.
302
- - **Never use ALL CAPS** in a text element — headings included. Use title case (e.g., "Key Tensions" not "KEY TENSIONS").
303
- - **Text-element content** is authored as markdown — the server converts it server-side. A heading is `"# Key Tensions"` with no `colorHex`. Keep it card-sized (canvas-elements.md, hard rule 3).
365
+ - **Anchors take zero space in their parent**, when nested inside a `stack` or `grid`, an anchor reserves no slot, so siblings collapse together. Anchors are best used at the root or as their own top-level branch.
366
+ - **Anchor `to:` must be a node already on the canvas**, local `@key` refs only work for edges, not for anchor targets in this version.
367
+ - **Never use ALL CAPS** in a text element, headings included. Use title case (e.g., "Key Tensions" not "KEY TENSIONS").
368
+ - **Text-element content** is authored as markdown: the server converts it server-side. A heading is `"# Key Tensions"` with no `colorHex`. Keep it card-sized (canvas-elements.md, hard rule 3).
304
369
 
305
370
  ## When the layout engine isn't enough
306
371
 
@@ -143,6 +143,8 @@ cnotes canvas add-link <canvasId> --target <otherCanvasId> [--section SECTION-<n
143
143
  # --size small|medium|large and --color <role> (evidence, commitment, insight, warning,
144
144
  # danger, people) set hierarchy and meaning; canvas-elements.md rule 8 says when.
145
145
  cnotes canvas add-quote <canvasId> --note <TRANSCRIPT-4> --text "<exact words>" [--style pull|highlight|evidence] [--size small|medium|large] [--color <role>] [--title "<why it matters>"]
146
+ # When building a board with `place`, a `quote` leaf in the spec does the same and lands
147
+ # inside its frame (canvas-layout.md); add-quote is for a board that already exists.
146
148
  # Restyle a Quote note's card already on the board (its box resizes with it).
147
149
  cnotes canvas style-quote <canvasId> --quote QUOTE-<n> [--style ...] [--size ...] [--color <role>|none]
148
150
  # section = a NAMED REGION frame (Miro-style). Renders behind content; dragging the frame
@@ -266,8 +268,8 @@ Agents creating or editing canvas milestones (`cnotes canvas milestone create` /
266
268
 
267
269
  **On a large canvas, orient with `cnotes canvas digest <canvasId> --json` before reading note by note.** The digest returns the narrative summary, key themes, and a per-note summary list covering every note on the canvas. Use `canvas read` when you need the structure (frames, edges, portals) or are about to change the canvas.
268
270
 
269
- **`--json` field names** (they aren't what you'd guess — the narrative is **`.digest`**, *not* `.narrative` or `.summary`). Top-level shape: `{ status, canvasName, digest, themes[], notes[], noteCount, generatedAt }`. So `--fields digest` gets the narrative, `.canvasName` the title, `.themes[]` the key themes, and `.notes[]` the per-note list (shape below).
271
+ **`--json` field names** (they aren't what you'd guess, the narrative is **`.digest`**, *not* `.narrative` or `.summary`). Top-level shape: `{ status, canvasName, digest, themes[], notes[], noteCount, generatedAt }`. So `--fields digest` gets the narrative, `.canvasName` the title, `.themes[]` the key themes, and `.notes[]` the per-note list (shape below).
270
272
 
271
273
  The `notes` array entries have the shape `{ displayId, title, type, summary }`. When `summary` is `null`, the AI summary hasn't been generated yet (fresh note, or too short to summarize); run `cnotes notes get <displayId> [<displayId>...]` (batch-fetch in one call) if you need full content.
272
274
 
273
- If `status` is `"none"` or `"stale"`, the `notes` array is still populated and accurate — you can start working immediately. Queue a fresh narrative with `cnotes canvas digest <canvasId> --refresh` (a write; needs Pro) only if you need the narrative itself.
275
+ If `status` is `"none"` or `"stale"`, the `notes` array is still populated and accurate, you can start working immediately. Queue a fresh narrative with `cnotes canvas digest <canvasId> --refresh` (a write; needs Pro) only if you need the narrative itself.
@@ -67,8 +67,8 @@ board's next version (V2), on the live board.
67
67
  ## Commands
68
68
 
69
69
  ```bash
70
- cnotes draft open "Pricing rethink" --intent "Teams of five pay the solo price and churn at renewal" # opens it; you now work in it
71
- cnotes draft open --from-canvas CANVAS-390 --intent "Screens 4 to 7 still show the old stamp" --answers QUESTION-12 # branch a board, say why
70
+ cnotes draft open "Pricing rethink" --why "Teams of five pay the solo price and churn at renewal" # opens it; you now work in it
71
+ cnotes draft open --from-canvas CANVAS-390 --why "Screens 4 to 7 still show the old stamp" --answers QUESTION-12 # branch a board, say why
72
72
  cnotes notes create --notes '[...]' # lands in the draft (you work in it)
73
73
  cnotes notes get DECISION-12 # a SHARED note reads through from the draft (sharedFrom in --json)
74
74
  cnotes draft propose DECISION-12 --markdown-file new.md --description "Annual is the default"
@@ -102,11 +102,13 @@ there yet; `cnotes notes get DECISION-6K12` says which proposal holds one and
102
102
  the checkout that reaches it.
103
103
 
104
104
  ## The loop
105
- 1. **Say why when you open it.** `--intent` is the problem the draft answers,
105
+ 1. **Say why when you open it.** `--why` is the problem the draft answers,
106
106
  in the person's words, never the task: "Reviewers read IBD and controlled
107
107
  money as two things", not "Add a glossary". The person reads it as Why at
108
108
  the top of the review, and the server refuses one that opens with a verb
109
- (exit code 3, nothing saved). `--answers QUESTION-12` names the shared note that
109
+ (exit code 3, nothing saved). It is the one line in `cnotes` that must not
110
+ open with a verb: every `--intent`, `--prompt` and `--headline` is a
111
+ past-tense headline, and `--why` is the situation they answer. `--answers QUESTION-12` names the shared note that
110
112
  asked (the Question, the Problem, the note holding the request). Both also
111
113
  open `draft status` when a later session checks the draft out, so the
112
114
  work keeps its direction.
@@ -158,7 +160,7 @@ the checkout that reaches it.
158
160
  - `--left-out`: what they might look for and will not find, so they
159
161
  neither review for it nor assume it is done.
160
162
 
161
- Why is the `--intent` from step 1. A sentence or two each. Cover the
163
+ Why is the `--why` from step 1. A sentence or two each. Cover the
162
164
  headline and read the rest: a line that adds nothing to it is cut. The
163
165
  server enforces this the way it enforces milestone headlines: a Changes or
164
166
  Left out line that lists items, counts cards, opens with a past-tense verb
@@ -15,7 +15,7 @@ author wrote it, **without corrupting meaning or erasing a legitimate voice**.
15
15
  - [The three verifiable flags](#the-three-verifiable-flags)
16
16
  - [The preservation gate](#the-preservation-gate)
17
17
  - [Two layers: quality floor and personal voice](#two-layers-quality-floor-and-personal-voice)
18
- - [CreatorNotes mechanics (deterministic — always apply)](#creatornotes-mechanics-deterministic--always-apply)
18
+ - [CreatorNotes mechanics (deterministic: always apply)](#creatornotes-mechanics-deterministic-always-apply)
19
19
  - [Restraint is the most important behavior](#restraint-is-the-most-important-behavior)
20
20
 
21
21
  Two things this is NOT:
@@ -32,16 +32,16 @@ Classify the task before editing a single word. Getting this gate right matters
32
32
  more than any word-level fix, because the failure that hurts is rewriting
33
33
  something that should have been left alone.
34
34
 
35
- **Apply the humanizer automatically** — agent-generated prose meant for a reader:
35
+ **Apply the humanizer automatically**: agent-generated prose meant for a reader:
36
36
  pre-reads, Slack messages, strategy prose, workshop notes, public drafts, and
37
37
  canvas banners an agent wrote.
38
38
 
39
- **Audit first, change only on evidence** — existing authored material: decision
39
+ **Audit first, change only on evidence**: existing authored material: decision
40
40
  records, reference guides, and any note carrying many relationships or
41
41
  measurements. Read it, list the specific problems, and revise only the notes with
42
42
  real defects. Most audits should change *some* notes and leave others untouched.
43
43
 
44
- **Never rewrite silently** — raw capture where the words are the evidence: raw
44
+ **Never rewrite silently**: raw capture where the words are the evidence: raw
45
45
  transcripts, voice memos, customer quotes, source evidence, legal text, and
46
46
  human-authored material where the voice itself is the record. Store these
47
47
  unchanged. If a reader needs a clean version, humanize the *derived artifact*,
@@ -62,7 +62,7 @@ follow the instruction and stop:
62
62
 
63
63
  | Mode | What you do |
64
64
  |---|---|
65
- | **Draft cleanly** | Author new prose already free of slop — the audit is baked into the first draft, not bolted on. |
65
+ | **Draft cleanly** | Author new prose already free of slop, the audit is baked into the first draft, not bolted on. |
66
66
  | **Audit only** | Report defects with locations and no edits. Hand the nuanced findings to the user. |
67
67
  | **Rewrite with preservation** | Fix the flagged prose while the preservation gate holds every fact, number, ID, and link fixed. |
68
68
  | **Match a voice card** | Apply an optional personal or company voice on top of the clean floor. |
@@ -77,12 +77,12 @@ material. Only rewrite existing notes once an audit has named the specific defec
77
77
  ### New agent-generated prose (draft → audit → preserve → save)
78
78
 
79
79
  1. **Draft for meaning** and the note-type rubric (`cnotes types show <Type>`).
80
- Own the outline yourself before filling it in — see [Structural slop](#structural-slop-own-your-outline).
80
+ Own the outline yourself before filling it in, see [Structural slop](#structural-slop-own-your-outline).
81
81
  2. **Run the anti-slop audit** against the kill-list and moves below.
82
82
  3. **Remove high-confidence pattern clusters, not isolated words.** A single
83
83
  flagged word in otherwise clean prose is usually a false positive. A *cluster*
84
84
  (hype adjective + filler verb + rule-of-three in the same paragraph) is real slop.
85
- 4. **Run the preservation check** — verify nothing in the [preservation gate](#the-preservation-gate)
85
+ 4. **Run the preservation check**: verify nothing in the [preservation gate](#the-preservation-gate)
86
86
  changed.
87
87
  5. **Save** with a `# h1` title, each mention in the form its sentence needs
88
88
  (the title where the reader first meets the note, the id alone after that;
@@ -108,7 +108,7 @@ symmetrical skeleton still reads machine-built. Fix both.
108
108
 
109
109
  ### The one rule under all of these
110
110
 
111
- When you catch a hit, **do not swap it for a quieter synonym** — a calmer slop
111
+ When you catch a hit, **do not swap it for a quieter synonym**, a calmer slop
112
112
  word is still slop. Replace it with one of three things:
113
113
  - a **concrete noun** (the graph, the version, the transcript),
114
114
  - a **number with its baseline** ("nine minutes to ninety seconds on the
@@ -118,7 +118,7 @@ word is still slop. Replace it with one of three things:
118
118
 
119
119
  If you cannot make the line concrete, the line has no claim. Cut it.
120
120
 
121
- ### Words — cut on sight
121
+ ### Words: cut on sight
122
122
 
123
123
  **A. Hype / greatness adjectives** (grade us instead of describing behavior):
124
124
  powerful, seamless, robust, scalable, cutting-edge, revolutionary, game-changer,
@@ -130,7 +130,7 @@ harness, unlock, unleash, supercharge, streamline, elevate, empower, foster,
130
130
  tapestry, journey, landscape, ecosystem, realm, synergy, paradigm shift.
131
131
  *Fix:* name the action or the thing.
132
132
 
133
- **C. Slop connective tissue** (announces a transition, carries no information —
133
+ **C. Slop connective tissue** (announces a transition, carries no information,
134
134
  delete the phrase, keep the sentence): furthermore, moreover, additionally, in
135
135
  conclusion, it is important to note, it is worth noting, needless to say, aims to
136
136
  (→ present-tense verb), when it comes to (→ the subject itself), at the end of the
@@ -143,7 +143,7 @@ smart notes, AI notes, AI-powered notes, "X alternative".
143
143
  **E. Personal-ban tics** (our own recurring habits): actually, simply, just (as
144
144
  filler), really (as intensifier), might, perhaps, kind of, thrilled, excited.
145
145
 
146
- ### Moves — a sentence can pass every word check and still be slop
146
+ ### Moves: a sentence can pass every word check and still be slop
147
147
 
148
148
  | Banned move | Do instead |
149
149
  |---|---|
@@ -161,7 +161,7 @@ filler), really (as intensifier), might, perhaps, kind of, thrilled, excited.
161
161
  | Both-sides hedge-seesaw presented as a view | commit to a stance and name its cost |
162
162
  | Exclamation points in feature copy | a period; the usefulness is the news |
163
163
 
164
- ### Structural slop — own your outline
164
+ ### Structural slop: own your outline
165
165
 
166
166
  Structure is the deeper tell than vocabulary. A tidy intro, three even sections,
167
167
  and a balanced conclusion pattern-match to generated text even after every banned
@@ -184,16 +184,16 @@ true**. A precise-sounding but unsourced number passes every linter, so do not
184
184
  pretend to grade truth or calibration. Flag these three, and pair every
185
185
  concreteness check with a source check:
186
186
 
187
- 1. **Unredeemed abstraction** — a comparative or magnitude word (better, faster,
187
+ 1. **Unredeemed abstraction**: a comparative or magnitude word (better, faster,
188
188
  bigger, significant, most, many, soon, a lot) with no number, unit, baseline,
189
189
  and date. Demand the operand: better on which metric, from what baseline to
190
190
  what target, by when.
191
- 2. **Missing falsifier** — on an empirical or decision claim, no statable "this is
191
+ 2. **Missing falsifier**: on an empirical or decision claim, no statable "this is
192
192
  wrong if X by date D."
193
- 3. **Naked claim** — a load-bearing claim with no linked Fact, Test, or Metric
193
+ 3. **Naked claim**: a load-bearing claim with no linked Fact, Test, or Metric
194
194
  (no supporting relationship mention).
195
195
 
196
- Surface these as questions for the author, not as silent rewrites — forcing a
196
+ Surface these as questions for the author, not as silent rewrites, forcing a
197
197
  number where none exists only mints fake precision.
198
198
 
199
199
  ---
@@ -203,14 +203,14 @@ number where none exists only mints fake precision.
203
203
  Before saving any rewrite, confirm none of these changed. Each row is a real way
204
204
  humanization corrupts a note:
205
205
 
206
- - **Numbers, dates, names** — identical to the source.
207
- - **Negations, uncertainty, scope** — "not", "only", "up to", "we think",
206
+ - **Numbers, dates, names**: identical to the source.
207
+ - **Negations, uncertainty, scope**: "not", "only", "up to", "we think",
208
208
  "in some cases" carry meaning; do not drop or invert them.
209
- - **Legal / technical qualifiers** — a hedge that is a legal or technical
209
+ - **Legal / technical qualifiers**: a hedge that is a legal or technical
210
210
  constraint is not slop. Keep it.
211
- - **Checklists and structured writing** — deliberate structure is not slop.
211
+ - **Checklists and structured writing**: deliberate structure is not slop.
212
212
  Do not flatten a checklist into a paragraph.
213
- - **Relationship mentions** — links intact, and what each shows unchanged: a
213
+ - **Relationship mentions**: links intact, and what each shows unchanged: a
214
214
  titled `[NOTE-12: Title](relationship:type)` stays titled, an id-only
215
215
  `[[type::NOTE-12]]` stays id-only, an alias `[[type::NOTE-12|words]]` keeps
216
216
  its words. Never strip a mention to bare text, drop its link, or add titles
@@ -218,8 +218,8 @@ humanization corrupts a note:
218
218
  narrates "blocks" / "depends on" around a `references` chip or untyped
219
219
  `[[NOTE-12]]`, retype the chip (`relationship:blocks`, `[[blocks::NOTE-12]]`)
220
220
  instead of leaving the verb in prose the graph can't see.
221
- - **Tables and layout** — tables, columns, and canvas placement survive.
222
- - **Voice as evidence** — a customer quote or raw memo keeps its original wording.
221
+ - **Tables and layout**: tables, columns, and canvas placement survive.
222
+ - **Voice as evidence**: a customer quote or raw memo keeps its original wording.
223
223
 
224
224
  When in doubt, keep it and flag it in **Audit only** mode rather than rewriting.
225
225
 
@@ -251,33 +251,33 @@ Company-facing documents use a **neutral CreatorNotes voice or a company voice**
251
251
  not an individual's profile. When the author is the team, write in a steady first
252
252
  person: attach each opinion to the specific decision or failure that produced it,
253
253
  so credibility comes from the work, not from adjectives. A bolt-on "I personally
254
- believe" in front of a generic claim still reads synthetic — the first person has
254
+ believe" in front of a generic claim still reads synthetic, the first person has
255
255
  to carry a real detail (a number, a named workflow, a decision and what it cost),
256
256
  or cut both the "I" and the claim.
257
257
 
258
258
  ---
259
259
 
260
- ## CreatorNotes mechanics (deterministic — always apply)
260
+ ## CreatorNotes mechanics (deterministic: always apply)
261
261
 
262
262
  These are objective and never need judgment. Enforce them on every write:
263
263
 
264
264
  - **Canvas titles** use the middle dot `·` (U+00B7) as a separator, never an
265
265
  em dash or en dash.
266
- - **Every note starts with a `# h1`** heading — it becomes the title.
266
+ - **Every note starts with a `# h1`** heading, it becomes the title.
267
267
  - **Relationship mentions are typed links, never bare `NOTE-123`**:
268
268
  `[NOTE-123: Title](relationship:type)` where the reader first meets the note,
269
269
  `[[type::NOTE-123]]` after that, `[[type::NOTE-123|your words]]` when the
270
270
  sentence needs a phrase. A run of titled mentions is a readability defect:
271
271
  show each title once.
272
- - **Relationship type matches the narrated verb** — prose "Blocks X" around a
272
+ - **Relationship type matches the narrated verb**: prose "Blocks X" around a
273
273
  `references`/untyped chip is a graph bug, not a style choice: retype to
274
274
  `relationship:blocks` (or `[[blocks::NOTE-123]]`) and drop the redundant verb.
275
- - **Canvas richtext and list descriptions name notes with relationship mentions** —
275
+ - **Canvas richtext and list descriptions name notes with relationship mentions**,
276
276
  the same three forms render as chips; a bare display id in card prose
277
277
  ("see RISK-64") is a defect.
278
- - **Richtext stays card-sized** — at most ~3 sentences, one heading; distinct
278
+ - **Richtext stays card-sized**: at most ~3 sentences, one heading; distinct
279
279
  items are N typed notes, not a wall of text.
280
- - **No placeholder or artifact tokens** — "lorem ipsum", "TODO", "[insert X]",
280
+ - **No placeholder or artifact tokens**: "lorem ipsum", "TODO", "[insert X]",
281
281
  "as an AI language model", or leftover template markers never ship in saved prose.
282
282
  - **Timeline headlines are the platform's. Bodies are the agent's.** A
283
283
  `changeDescription`, milestone `--message`, or operations `--prompt` is a
@@ -287,7 +287,7 @@ These are objective and never need judgment. Enforce them on every write:
287
287
  leftover `{displayId}`. No em dashes. The platform rewrites a failing agent
288
288
  headline and leaves the body. Human-typed editor text only gets `{displayId}`
289
289
  filled. One change per headline.
290
- - **Valid mention syntax and live links** — no broken links, no malformed mentions.
290
+ - **Valid mention syntax and live links**: no broken links, no malformed mentions.
291
291
 
292
292
  ---
293
293
 
@@ -79,12 +79,12 @@ cnotes focus cancel <planId>
79
79
  # since planning — re-target or re-plan rather than trusting the block.
80
80
  ```
81
81
 
82
- **Keep the plan row thin.** Time, goal, destination — nothing else. The
82
+ **Keep the plan row thin.** Time, goal, destination, nothing else. The
83
83
  durable clues (decisions, criteria, "complete when") live IN the target note,
84
84
  never in the goal string: a display id pasted into the goal is inert prose the
85
85
  graph cannot see, while `--target` is the clickable, validated form of the
86
86
  same intent. A plan with no `--canvas` renders as a non-clickable block; that
87
- is by design, not a bug — there is nothing to open.
87
+ is by design, not a bug: there is nothing to open.
88
88
 
89
89
 
90
90
  ## Files (`cnotes files` / `cnotes f`)
@@ -126,7 +126,7 @@ cnotes mcp setup-codex # OpenAI Codex
126
126
 
127
127
  ## Theme (`cnotes theme`)
128
128
 
129
- Personal UI theme preference (synced to your account, applies on next browser reload — does NOT live-update an open tab).
129
+ Personal UI theme preference (synced to your account, applies on next browser reload, does NOT live-update an open tab).
130
130
 
131
131
  ```bash
132
132
  # List built-in presets — current one is marked with *
@@ -152,7 +152,7 @@ cnotes theme reset
152
152
  `code-background`, `code-foreground`, `blockquote-border`,
153
153
  `destructive`, `success`, `warning`, `info`.
154
154
 
155
- `set-color` merges into existing overrides — call it repeatedly to build up a custom palette. `reset` returns to the preset that was the base of your custom theme (or `dark` if you started from scratch).
155
+ `set-color` merges into existing overrides, call it repeatedly to build up a custom palette. `reset` returns to the preset that was the base of your custom theme (or `dark` if you started from scratch).
156
156
 
157
157
  ## Config
158
158
  ```bash
@@ -185,15 +185,15 @@ CreatorNotes is built for humans *and* agents, so feedback from an agent is real
185
185
 
186
186
  **When to offer it** (be selective, not noisy):
187
187
  - A reproducible bug: a command 500s, returns wrong/empty data, or a documented path doesn't behave as described.
188
- - A real capability gap that blocked the task (not a transient blip, not your own mistake — rule those out first).
188
+ - A real capability gap that blocked the task (not a transient blip, not your own mistake, rule those out first).
189
189
  - Standout praise is welcome too, but lead with friction; it's the actionable signal.
190
190
 
191
191
  **Always ask the user first.** The report is attributed to them and goes to the CreatorNotes team. Say in one line what you'd report and ask if they want it sent. Never file silently, and never file the same issue twice.
192
192
 
193
193
  **Make it directly fixable.** In the `--body` (markdown), include:
194
- - **What happened** — the exact command you ran and the exact error/behavior.
195
- - **Root cause (suspected)** — your best read from the outside; say what's uncertain.
196
- - **Suggested fix** — what would resolve it.
197
- - **Severity** — who/what is blocked.
194
+ - **What happened**: the exact command you ran and the exact error/behavior.
195
+ - **Root cause (suspected)**: your best read from the outside; say what's uncertain.
196
+ - **Suggested fix**: what would resolve it.
197
+ - **Severity**: who/what is blocked.
198
198
 
199
199
  Set `--severity` honestly (`blocking` only if it stops the task), `--area` to where it bites (e.g. `cli/canvas`, `editor`, `api/notes`), and `--model` to your own model id so the team knows which agent reported it. One note per issue.