@creator-notes/cnotes 0.121.8 → 0.121.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creator-notes-cli",
3
- "version": "0.121.8",
3
+ "version": "0.121.10",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
@@ -543,10 +543,12 @@ Examples:
543
543
  " [@<key>: Title](relationship:<type>) → batch placeholder; @<key> is\n" +
544
544
  " replaced with the new note's\n" +
545
545
  " display ID after creation.\n" +
546
- " [NOTE-12: Title](relationship:<type>) → existing-note link.\n" +
547
- " [[<type>::NOTE-12]] → the same link, wiki form.\n" +
548
- " The `: Title` part is optional: the server stamps the linked note's\n" +
549
- " current title onto the chip when it saves.\n" +
546
+ " [NOTE-12: Title](relationship:<type>) → existing-note link, showing its title.\n" +
547
+ " [[<type>::NOTE-12]] → the same link, showing the id alone.\n" +
548
+ " [[<type>::NOTE-12|your words]] → the same link, showing your words.\n" +
549
+ " What you write is what the chip shows (the server keeps a shown title\n" +
550
+ " current). Title a note where the reader first meets it; after that the\n" +
551
+ " id alone reads better than a run of titles.\n" +
550
552
  " Pick <type> from the verb your own prose uses: \"blocks X\" → relationship:blocks,\n" +
551
553
  " \"depends on X\" → relationship:depends-on. Types are free-form (unknown ones\n" +
552
554
  " auto-create); `cnotes rel types` lists the workspace vocabulary — reuse before\n" +
@@ -57,10 +57,12 @@ Examples:
57
57
  .command("create")
58
58
  .description("Create a new version of a note.\n" +
59
59
  " Relationship link syntax (use inside markdown):\n" +
60
- " [NOTE-12: Title](relationship:<type>) → link an existing note.\n" +
61
- " [[<type>::NOTE-12]] → the same link, wiki form.\n" +
62
- " The `: Title` part is optional: the server stamps the linked note's\n" +
63
- " current title onto the chip when it saves.\n" +
60
+ " [NOTE-12: Title](relationship:<type>) → link an existing note, showing its title.\n" +
61
+ " [[<type>::NOTE-12]] → the same link, showing the id alone.\n" +
62
+ " [[<type>::NOTE-12|your words]] → the same link, showing your words.\n" +
63
+ " What you write is what the chip shows (the server keeps a shown title\n" +
64
+ " current). Title a note where the reader first meets it; after that the\n" +
65
+ " id alone reads better than a run of titles.\n" +
64
66
  " Pick <type> from the verb your own prose uses: \"blocks X\" → relationship:blocks,\n" +
65
67
  " \"depends on X\" → relationship:depends-on. Types are free-form (unknown ones\n" +
66
68
  " auto-create); `cnotes rel types` lists the workspace vocabulary — reuse before\n" +
@@ -39,7 +39,7 @@ export const STATIC_SCHEMA = {
39
39
  noteMention: "[NOTE-12: Title](relationship:<type>)",
40
40
  batchPlaceholder: "[@key: Title](relationship:<type>) — '@key' is replaced with the new display ID after batch create",
41
41
  rules: [
42
- "`: Title` after the ID is optional. The server stamps the linked note's current title onto the chip when it saves; `[[<type>::NOTE-12]]` is the same link in wiki form.",
42
+ "What you write is what the chip shows: `[NOTE-12: Title](relationship:<type>)` shows the note's title (the server keeps it current on every save), `[[<type>::NOTE-12]]` or `[NOTE-12](relationship:<type>)` shows the id alone, `[[<type>::NOTE-12|your words]]` shows your words. Title a note where the reader first meets it; after that the id alone reads better than a run of titles.",
43
43
  "Pick the relationship slug from the verb your own prose uses: 'blocks X' → relationship:blocks, 'depends on X' → relationship:depends-on. Slugs are free-form (unknown ones auto-create); `relationships.common` is the workspace's vocabulary, most-linked first, and `cnotes rel types` lists every slug — reuse before coining.",
44
44
  "Reserve `references` for pure citations. A verb narrated in prose around a `references` chip is invisible to backlinks and `rel list` — create/version responses flag these as `mentionWarnings`; treat each as a retype instruction.",
45
45
  ],
@@ -30,10 +30,10 @@ const DISPLAY_ID_RE = new RegExp(String.raw `^${DISPLAY_ID_CORE}(@v\d+)?$`);
30
30
  const AT_KEY_RE = /^@[A-Za-z][\w-]*$/;
31
31
  /** Every inline relationship mention, well-formed or not. */
32
32
  const MENTION_RE = /\[([^\]]*)\]\(relationship:([^)]*)\)/g;
33
- /** Extract the target token from link text: the part before an optional `: Title`. */
33
+ /** Extract the target token from link text: the part before an optional `: Title` or `|alias`. */
34
34
  function targetOf(linkText) {
35
- const colon = linkText.indexOf(":");
36
- return (colon === -1 ? linkText : linkText.slice(0, colon)).trim();
35
+ const cut = linkText.search(/[:|]/);
36
+ return (cut === -1 ? linkText : linkText.slice(0, cut)).trim();
37
37
  }
38
38
  function isValidTarget(target, allowAtKey) {
39
39
  if (DISPLAY_ID_RE.test(target))
@@ -366,7 +366,7 @@ const NoteCreateItem = z.object({
366
366
  .optional()
367
367
  .describe("Version 1's timeline line. Verb-first headline, optional blank line, then a body you own. {displayId} is filled in. A failing headline may be rewritten; the body is kept. headlineWarnings comes back on the result. Omit it and the platform later writes one."),
368
368
  });
369
- server.tool("cnotes_notes_create", "Create one or more interlinked notes in a single atomic transaction. FIRST call cnotes_types_show for each target type and author to that rubric — do not skip this. Pass `notes` as one item object or an array; each note's title is its first # h1 heading. Cross-reference in markdown with [@key: Title](relationship:type) (same-batch — @key resolves to the new display ID) or [NOTE-12: Title](relationship:type) (existing note); ALWAYS include the ': Title' part. NEVER name another note as bare prose ('see DECISION-12') — plain text creates no chip, no relationship, no backlink; write the mention. Pick the relationship type from the verb your own prose uses ('blocks', 'depends-on', …; free-form — unknown types auto-create); reserve 'references' for pure citations — a verb narrated in prose around a 'references' chip is invisible to backlinks. A `mentionWarnings` array in the result flags narrated verbs it detects; a `plainTextIdWarnings` array flags bare IDs that name real notes, each with a paste-ready mention rewrite — treat both as fix instructions unless the prose genuinely isn't asserting a relationship. Each result item carries `type` + `rubric` (null when the type has no validationPrompt); a top-level `rubrics` array is also present. On validation failure, `details.items` pinpoints the bad item by index + key. " +
369
+ server.tool("cnotes_notes_create", "Create one or more interlinked notes in a single atomic transaction. FIRST call cnotes_types_show for each target type and author to that rubric — do not skip this. Pass `notes` as one item object or an array; each note's title is its first # h1 heading. Cross-reference in markdown with [@key: Title](relationship:type) (same-batch — @key resolves to the new display ID) or [NOTE-12: Title](relationship:type) (existing note). What you write is what the chip shows: ': Title' shows the note's title (the server keeps it current), [[type::NOTE-12]] shows the id alone, [[type::NOTE-12|your words]] shows your words. Title a note where the reader first meets it in a body; after that the id alone reads better than a run of titles. NEVER name another note as bare prose ('see DECISION-12') — plain text creates no chip, no relationship, no backlink; write the mention. Pick the relationship type from the verb your own prose uses ('blocks', 'depends-on', …; free-form — unknown types auto-create); reserve 'references' for pure citations — a verb narrated in prose around a 'references' chip is invisible to backlinks. A `mentionWarnings` array in the result flags narrated verbs it detects; a `plainTextIdWarnings` array flags bare IDs that name real notes, each with a paste-ready mention rewrite — treat both as fix instructions unless the prose genuinely isn't asserting a relationship. Each result item carries `type` + `rubric` (null when the type has no validationPrompt); a top-level `rubrics` array is also present. On validation failure, `details.items` pinpoints the bad item by index + key. " +
370
370
  DECISION_CARD_RULE +
371
371
  " A Decision must cite what it depends on with a typed verb (depends-on, grounded-in); a references chip does not. An uncited Decision still succeeds. That result carries `hint`, naming the displayId, and the same lines are in the top-level `hints` array, because no typed outgoing relationship was created.", {
372
372
  notes: z
@@ -1405,7 +1405,7 @@ server.tool("cnotes_versions_list", "List versions of a note.", {
1405
1405
  throw new Error(`Note not found: ${noteId}`);
1406
1406
  return note.versions || [];
1407
1407
  }));
1408
- server.tool("cnotes_versions_create", "Create a new version of a note. Content is markdown. To link to other notes, use [NOTE-123: Title](relationship:type) or [[type::NOTE-123]] inside the markdown — the title part is optional; the server stamps the linked note's current title onto the chip when it saves. NEVER name another note as bare prose ('see DECISION-12') — plain text creates no chip, no relationship, no backlink; write the mention. This is exactly how to capture 'the answer to this QUESTION is that DECISION': a mention of the decision with a relationship type like 'answered-by'. Pick the relationship type from the verb your own prose uses ('blocks', 'depends-on', 'caused-by', …; free-form — unknown types auto-create); reserve 'references' for pure citations — a verb narrated in prose around a 'references' chip is invisible to backlinks. A `mentionWarnings` array in the result flags narrated verbs it detects; a `plainTextIdWarnings` array flags bare IDs that name real notes, each with a paste-ready mention rewrite — treat both as fix instructions unless the prose genuinely isn't asserting a relationship.", {
1408
+ server.tool("cnotes_versions_create", "Create a new version of a note. Content is markdown. To link to other notes, use [NOTE-123: Title](relationship:type) (shows the note's title, kept current by the server), [[type::NOTE-123]] (shows the id alone) or [[type::NOTE-123|your words]] (shows your words) inside the markdown: what you write is what the chip shows. Title a note where the reader first meets it; after that the id alone reads better than a run of titles. NEVER name another note as bare prose ('see DECISION-12') — plain text creates no chip, no relationship, no backlink; write the mention. This is exactly how to capture 'the answer to this QUESTION is that DECISION': a mention of the decision with a relationship type like 'answered-by'. Pick the relationship type from the verb your own prose uses ('blocks', 'depends-on', 'caused-by', …; free-form — unknown types auto-create); reserve 'references' for pure citations — a verb narrated in prose around a 'references' chip is invisible to backlinks. A `mentionWarnings` array in the result flags narrated verbs it detects; a `plainTextIdWarnings` array flags bare IDs that name real notes, each with a paste-ready mention rewrite — treat both as fix instructions unless the prose genuinely isn't asserting a relationship.", {
1409
1409
  noteId: z.string().describe("Note display ID or Convex ID"),
1410
1410
  markdown: z.string().describe("New content as markdown"),
1411
1411
  description: z.string().describe("Change description (required)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.121.8",
3
+ "version": "0.121.10",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,8 +21,8 @@ Every note and canvas you write is context: what the next reader, a teammate or
21
21
  4. **Write to the type's rubric.** Pick the type, run `cnotes types show <Type>`, and author to its rubric. Audience-facing prose (note bodies, banners, pre-reads) goes through [references/humanizer.md](references/humanizer.md) first; transcripts, quotes and other raw capture are stored verbatim.
22
22
  5. **Create notes in one batch.** `cnotes notes create --notes '[{"key":"A","type":"Insight","markdownFile":"./a.md"}, ...]'`. Each body starts with a `# h1` (the title): a headline of at most 80 characters that names the claim or the object, with no ", so…" / ", because…" clause, no display id and no em dash; the body's first sentence carries the why. The server refuses a note or version whose title breaks this and says what to change. Cross-link inside the batch with `[@A: Title](relationship:<verb>)`. Detail: [references/notes.md](references/notes.md).
23
23
  6. **Grade what you wrote.** `cnotes quality <displayIds...> --fail-below 4`, then revise weak notes with `cnotes versions create <id> --description "<what changed>" --markdown-file <path>`. A level 3 with `unsure: true` and nothing under `missing`, or a `needs_agent` answer, means the grader abstained: grade that note yourself with `cnotes quality record <id> --graded-version <n> --level <1-4> --criteria '<json>'`, one reason per rubric criterion, and rewrite only a criterion that is really unmet.
24
- 7. **Lay out the canvas.** `cnotes canvas place <canvasId> --spec layout.json` packs items without overlap. A spec can carry the notes too (see the fast path below), which folds steps 5 and 7 into one call. For a new canvas, `canvas create --spec` takes the same spec, so creating the canvas, its notes and its layout is one call; its name follows the title rule in step 5 (a short headline, `·` between its parts), and the server refuses one that does not. Every canvas opens with a hero: one `large` untinted text card at the top-left, above everything, holding `# <the goal's result>` in under 50 characters, with the four-line banner under it at `medium`. It is the only text legible at zoom-to-fit. Read [references/canvas-elements.md](references/canvas-elements.md) (rules 7 and 9) before choosing elements and [references/canvas-layout.md](references/canvas-layout.md) before writing the spec.
25
- 8. **Read it back.** `cnotes canvas read <canvasId>`: every claim must appear in a note with a display ID, the hero must name the goal's result, and the banner must make sense to someone who was not in the session and never say who asked for the board (the timeline holds that; rule 7). A write that touches no canvas gets the same test: `cnotes notes get <id> --expand` on what you wrote, read as the next session will, without this conversation.
24
+ 7. **Lay out the canvas.** `cnotes canvas place <canvasId> --spec layout.json` packs items without overlap. A spec can carry the notes too (see the fast path below), which folds steps 5 and 7 into one call. For a new canvas, `canvas create --spec` takes the same spec, so creating the canvas, its notes and its layout is one call; its name follows the title rule in step 5 (a short headline, `·` between its parts), and the server refuses one that does not. Every canvas opens with a hero: one `large` untinted text card at the top-left, above everything, holding `# <the goal's result>` in under 50 characters, with the four-line banner under it at `medium`. It is the only text legible at zoom-to-fit. Pick the shape first (canvas-elements.md, Board shapes): an Argument's spine is quote faces joined by connectives and arrows, tiles on the shelf. Read [references/canvas-elements.md](references/canvas-elements.md) (rules 4, 5, 7 and 9) before choosing elements and [references/canvas-layout.md](references/canvas-layout.md) before writing the spec.
25
+ 8. **Read it back.** `cnotes canvas read <canvasId>`: every claim must appear in a note with a display ID, the spine must read at fit zoom as faces and connectives, the hero must name the goal's result, and the banner must make sense to someone who was not in the session and never say who asked for the board (the timeline holds that; rule 7). A write that touches no canvas gets the same test: `cnotes notes get <id> --expand` on what you wrote, read as the next session will, without this conversation.
26
26
  9. **Close the run.** `cnotes operations end`.
27
27
  10. **Link the result.** End your reply with the canvas link (see [Surfacing the canvas link](#surfacing-the-canvas-link)).
28
28
 
@@ -43,7 +43,7 @@ Adding cards, filling or tidying a section, linking two cards or removing one ta
43
43
  ```
44
44
  Put the new notes in the spec's `notes` array (the `notes create` shape) and place each with `{"kind":"item","type":"note","noteId":"@<key>"}`; edges and anchors say `@<key>` too. Add `--into SECTION-n` to append to an existing frame. Each result comes back under `notes`, graded when the workspace grades: revise only notes below 4.
45
45
  `cnotes canvas place <canvasId> --spec spec.json --intent "Added the reviewer bottleneck to the Q1 roadmap"`
46
- Other single changes take the same flag: `cnotes canvas arrange <canvasId> --section SECTION-7 --intent "Tidied the Risks section"`, `cnotes canvas bulk-remove <canvasId> --nodes '["NOTE-4"]' --intent "Removed the duplicate risk card"`.
46
+ Other single changes take the same flag: `cnotes canvas arrange <canvasId> --section SECTION-7 --intent "Tidied the Risks section"`.
47
47
  3. **Link the canvas** from the `Link:` line, in the same reply.
48
48
 
49
49
  ## Fast path: a new canvas
@@ -52,21 +52,21 @@ A new canvas with its notes and layout is one write. Read first, in parallel (`c
52
52
 
53
53
  `cnotes canvas create "Q1 · Roadmap" --goal "<goal>" --audience "<who>" --spec spec.json --intent "Built the Q1 roadmap canvas"`
54
54
 
55
- The spec is the same document `canvas place` takes, `notes` array included, and the result carries the placement under `layout`. Its root is a vertical stack that opens with the hero (`{"kind":"item","type":"richtext","size":"large","content":"# <the goal's result>"}`), then the `medium` banner, then the board. The spec is checked before the canvas exists, and a layout the server refuses removes the canvas again, so a bad file, a missing run or a refused layout creates nothing: fix the spec and run the same command again.
55
+ The spec is the same document `canvas place` takes, `notes` array included, and the result carries the placement under `layout`. Its root is a vertical stack that opens with the hero (`{"kind":"item","type":"richtext","size":"large","content":"# <the goal's result>"}`), then the `medium` banner, then the board (an Argument: the spine, canvas-layout.md). The spec is checked before the canvas exists, and a layout the server refuses removes the canvas again, so a bad file, a missing run or a refused layout creates nothing: fix the spec and run the same command again.
56
56
 
57
57
  Other writes that belong together (notes on two canvases, a change that needs several kinds of command) still go in one `operations begin`/`end` run, so the timeline shows one change. Open [references/canvas-layout.md](references/canvas-layout.md) only when the layout needs anchors, origins or several sections; the rules above and step 7 below cover the rest.
58
58
 
59
59
  ## Rules that hold on every task
60
60
 
61
61
  1. **The exit code is the verdict.** `0` is success. Never decide success from the body, and never re-run a write because a key looked empty: a second `notes create` duplicates the batch.
62
- 2. **Knowledge lives in typed notes.** Text cards, lists, section frames, edges and portals arrange and label; they are unversioned, unsearchable and uncitable. If a future reader needs to find, cite or trust it, it is a note. A text card holds at most three sentences (the orientation banner: four short lines).
63
- 3. **Name notes with titled, typed mentions.** `[NOTE-12: Title](relationship:<verb>)`, with the verb your sentence uses (`blocks`, `depends-on`, `answered-by`). A bare `NOTE-12` in prose creates no link and is a defect, in note bodies and on canvas cards. `references` is for pure citation only. Reuse the workspace's types (`cnotes schema` ranks them by use; `cnotes rel types` lists all) before coining one.
62
+ 2. **Knowledge lives in typed notes.** Text cards, lists, section frames, edges and portals arrange and label; they are unversioned, unsearchable and uncitable. If a future reader needs to find, cite or trust it, it is a note. A text card holds at most three sentences (the orientation banner: four short lines): furniture (hero, banner, heading, legend), a connective (the board's own sentence on what one card means for the next, true only here, arrows in and out) or a sticky to be promoted. A note on the spine wears a quote face; tiles are for the shelf (canvas-elements.md rules 4 and 8).
63
+ 3. **Link notes with typed mentions, and show only what the sentence needs.** Three forms, one link: `[NOTE-12: Title](relationship:<verb>)` shows the note's title, `[[<verb>::NOTE-12]]` shows the id alone, `[[<verb>::NOTE-12|your words]]` shows your words (the title is a hover away). The verb is the one your sentence uses (`blocks`, `depends-on`, `answered-by`); `references` is for pure citation only. Show a title once, where the reader first meets the note; after that the id alone keeps the sentence moving ("the cut in [[depends-on::DECISION-6K535]]"), and your own words carry it when it needs a noun. Two titled mentions in one sentence, or a run of them in a list, is a readability defect. A bare `NOTE-12` in prose creates no link and is a defect too, in note bodies and on canvas cards. Reuse the workspace's types (`cnotes schema` ranks them by use; `cnotes rel types` lists all) before coining one.
64
64
  4. **Edges are local to one canvas.** When an edge connects two notes, write the same relationship as a mention in a note body, or it exists nowhere off that canvas.
65
65
  5. **Place declaratively, edit in place.** Use `canvas place` / `canvas arrange`, never hand-computed x/y. Add to a section with `place --into SECTION-n` (or `--section` on a single add); tidy one with `arrange --section SECTION-n`. Change a text card with `canvas update-text` and a frame with `canvas update-section`. Deleting and re-adding mints new ids and drops edges and `[[SECTION-n]]` mentions.
66
66
  6. **Content changes are versions.** `cnotes versions create` changes a note's body (the `# h1` is its title); fetch the current body first and edit that, since people edit between sessions. `notes update` changes metadata only (type, tags, pin, archive).
67
67
  7. **Inside a draft, propose and stop.** Shared notes change through `cnotes draft propose`; the hand-over is `cnotes draft ask`, then stop. Never merge or approve work you built. Detail: [references/drafts.md](references/drafts.md).
68
68
  8. **Ask before spending something the user cannot get back:** `cnotes upgrade` uses the workspace's one-time trial, `cnotes feedback submit` files a report in their name, and `cnotes types dimension backfill --yes` spends one model call per existing note.
69
- 9. **Timeline headlines start with a past-tense verb and name the object** ("Shipped the public comic canvas", never "V1"). The server rejects milestone headlines that do not. A milestone body, the lines after the headline, is at most 280 characters: a longer one is saved as written with a warning, and no command edits it afterwards.
69
+ 9. **Timeline headlines start with a past-tense verb and name the object** ("Shipped the public comic canvas", never "V1"). The server rejects milestone headlines that do not. A milestone body, the lines after the headline, is at most 280 characters: longer is saved as written with a warning, and nothing edits it afterwards.
70
70
  10. **Canvas names use the interpunct** `·` as a separator, never a dash: "Path to Revenue · Funding strategy".
71
71
 
72
72
  ### Decisions
@@ -75,7 +75,7 @@ Anything settled in conversation that shapes what we build or say publicly gets
75
75
 
76
76
  Write the citation in the Decision's body, not only as a canvas edge: `[NOTE-12: Title](relationship:depends-on)` or `[[grounded-in::NOTE-12]]`. A `references` chip and an untyped `[[NOTE-12]]` do not cite a dependence. Read the rubric first with `cnotes types show Decision`.
77
77
 
78
- `cnotes notes create` still creates a Decision that has no typed outgoing relationship, then says so on that result as `hint` (so `.results[].hint` survives a `jq` of the rows), again in the top-level `hints` array, and prints the same line on stderr, including with `--json`. The line names the displayId. The check is the relationships the server created: a `references` chip does not count, and neither does a mention that never becomes an edge. Fix the body with `cnotes versions create <displayId>`. Do not run create again.
78
+ `cnotes notes create` still creates a Decision with no typed outgoing relationship and says so, naming the displayId, as `.results[].hint` on the row, in the top-level `hints` array and on stderr (also with `--json`). Only relationships the server created count, not a `references` chip or a mention that became no edge. Fix the body with `cnotes versions create <displayId>`; never run create again.
79
79
 
80
80
  ## Reading output
81
81
 
@@ -102,7 +102,7 @@ Every command follows one contract.
102
102
 
103
103
  - **Reads return data; writes return an envelope.** `notes list/get/search` emit a bare array (one note is `.[0]`). `notes create` returns `{ results, relationshipsCreated, rubrics?, hints? }`; read new notes from `results`. `canvas create` returns `{ canvas: { id, displayId, url } }` with `id`, `displayId` and `url` mirrored at the top level (after `create --spec` the `displayId` can still be null; `canvas get` has it). A note body comes back under `markdown` from `canvas read` and under `content` from `notes get --json`; read the key for the command you ran.
104
104
  - **Errors go to stderr** as `{ error, code, exitCode, hint }`. The `hint` names the command that fixes it; read it before retrying.
105
- - **`notes list` says on stderr which source answered and whether the list may be short.** With the local copy on, type, tag, text, pin and no-canvas lists come from it, count every note, and include your own writes; read `Showing N of M` as the real count. A line saying older matches may be missing means exactly that: narrow the list or relay the hint, never report it as the whole. Counting or grouping is `cnotes query` ([references/more-commands.md](references/more-commands.md)).
105
+ - **`notes list` says on stderr which source answered and whether the list may be short.** With the local copy on, type, tag, text, pin and no-canvas lists count every note, your own writes included; `Showing N of M` is the real count. A line saying older matches may be missing means that: narrow the list or relay the hint, never report it as the whole. Counting or grouping is `cnotes query` ([references/more-commands.md](references/more-commands.md)).
106
106
  - **`cnotes auth status` and `cnotes whoami` exit 2 when no token is stored.** That means signed out. Exit 0 means a token is present. Do not treat exit 2 from status as a broken install.
107
107
  - **No `jq` needed.** `cnotes notes list --type Decision -q`, `cnotes notes create --notes '[...]' -q --fields key,displayId`, `CANVAS=$(cnotes canvas create "<name>" -q)`. Use a JSON parser only for nested values these flags cannot reach.
108
108
 
@@ -130,7 +130,7 @@ After you create a canvas or finish changing one, end your reply with its link,
130
130
 
131
131
  > Built **[CANVAS-321 · Pricing model](https://creatornotes.app/<workspaceId>?canvasId=<canvasId>)**: 7 notes across 3 columns.
132
132
 
133
- `canvas create`, `canvas get`, `canvas place`, `canvas bulk-add` and `canvas add-node` print a `Ref:` and a `Link:` line (`url` in `--json`). Copy them; never assemble a URL yourself. The only valid shape is `<server>/<workspaceId>?canvasId=<Convex canvas id>`; paths such as `/canvas/<id>` or `/workspace/<id>/canvas/<id>` do not exist.
133
+ `canvas create`, `canvas get`, `canvas place`, `canvas bulk-add` and `canvas add-node` print a `Ref:` and a `Link:` line (`url` in `--json`). Copy them; never assemble a URL yourself. The only valid shape is `<server>/<workspaceId>?canvasId=<Convex canvas id>`; `/canvas/<id>` paths do not exist.
134
134
 
135
135
  ## Where the detail lives
136
136
 
@@ -26,9 +26,11 @@ The vocabulary is five elements:
26
26
  A canvas holds two tiers of content, and the difference is load-bearing:
27
27
 
28
28
  - **Notes** are the knowledge tier: typed, versioned, searchable, citable by display ID — the only tier whose content other notes can mention, search can find, and history records. Anything a future reader must find, cite, verify, or build on lives here.
29
- - **Everything else** — text elements, list containers, section frames, edges, portals — is the presentation tier: orientation, grouping, emphasis, navigation. Text elements, lists, edges and portals have no display ID (nothing can cite them), no version history (they mutate silently), and no search presence. (Sections are the one exception: a frame mints a `SECTION-<n>` you can mention — it addresses a *place*, not knowledge.) They shape how the knowledge lands; they never hold the knowledge.
29
+ - **Everything else** — text elements, list containers, section frames, edges, portals — is the presentation tier: orientation, grouping, emphasis, navigation. Text elements, lists, edges and portals have no display ID (nothing can cite them), no version history (they mutate silently), and no search presence. (Sections are the one exception: a frame mints a `SECTION-<n>` you can mention — it addresses a *place*, not knowledge.) They shape how the knowledge lands; they never hold the knowledge. The board's own sentences belong to this tier too: what this card means for the next one is true only here, so a text card is its home (the connective row in the table below).
30
30
 
31
- **The default is a typed note.** Before reaching for any other element, apply one test: *will any future reader — a human, or the next agent session pointed at this canvas for context — need to find, cite, or trust this?* If yes, it MUST be a note. "It renders nicely on the canvas" is never a reason to put knowledge in a text element: that trades permanent legibility (versions, search, citable IDs) for screen presence now. The decision-table rows below are the sanctioned exceptions — when a row matches your content exactly, the row wins.
31
+ **Two questions decide every piece of content, in order.** *Home:* will any future reader, a person or the next agent session pointed at this canvas for context, need to find, cite, revise or trust these words after today? If yes, it MUST be a note, whatever it looks like on the board; "it renders nicely on the canvas" is never a reason to put knowledge in a text element, since that trades permanent legibility (versions, search, citable IDs) for screen presence now. *Face:* must the board show these words at the glance, zoomed to fit? If yes, the note gets a face, a quote of its claim sentence (rule 4), sized by reach (rule 9); if no, the tile is enough.
32
+
33
+ A board is made of three kinds of words, and a board that holds only the first kind is a pile. **The notes' claims** live in notes and show as faces. **The board's own reasoning**, the sentence that says what one card means for the next, is true only on this board, so it lives in a text card, the connective, with arrows in and out. **Furniture** (the hero, the banner, headings, a legend) orients. A canvas is not a grouping of notes: the connectives and the arrows are what it says, and the notes are what that rests on. The decision-table rows below are the sanctioned cases; when a row matches your content exactly, the row wins.
32
34
 
33
35
  ## Decision table
34
36
 
@@ -40,7 +42,8 @@ A canvas holds two tiers of content, and the difference is load-bearing:
40
42
  | A heading / one-line label where a frame is too heavy (a column header inside a frame, a lane key) | a **text** element holding a markdown heading — `add-text --content '# Q1 Goals'`, no `--color` (leave it untinted), title case | a tinted card, or a section frame for something that isn't a region |
41
43
  | The board's goal, readable at zoom-to-fit | one `large` untinted **text** hero at the top-left, `# <the goal's result>`, shaped by rule 7 | a `medium` heading standing in for it, the canvas name repeated, a tinted hero |
42
44
  | Orientation: the situation, what the board is for, how to read it | one `medium` **text** banner per canvas, directly under the hero, shaped by rule 7 (a band may add a one-line one) | a paragraph banner, a reading-order-only banner, a banner that narrates the request ("Deniss asked…"), a Guide note |
43
- | Emphasis — restating a key claim for screen presence | a **text** element that QUOTES a note (the note stays the home) | the text element as the only copy |
45
+ | A note's claim the board must show at the glance | a **Quote face** of that note (`add-quote` of its claim sentence, rule 4), sized by reach (rule 9) | a text card restating it, or the bare tile when the argument rests on this note |
46
+ | The step between two cards: what this one means for the next, the "so" that joins evidence to an option, the reading of a quote, why the recommendation follows | a **connective**: one `small` or `medium` untinted **text** card under or between the cards it joins, with arrows in and out (rule 5), naming cards by chip (rule 2). Test: the sentence is true only on this board; if it would be true on another board it is a claim, so it is a note with a face | a note (it has no life off this board), a text card that restates a note, or leaving the join to the reader |
44
47
  | An image tile (logo, mockup, screenshot) | a **text** element holding the image, beside the owning note; embed the same image in the note body via `cnotes files upload <path> --markdown` so the note stays self-contained | the image as the knowledge itself |
45
48
  | A grid of images for review (mood board) | N text-element image tiles in a `grid` place spec + ONE note holding the decision criteria / rationale for the set | a caption note per tile, or rationale in the tiles |
46
49
  | "A connects to B" between two notes | a labeled **edge** (short verb phrase), notes only | prose explaining the connection |
@@ -50,11 +53,11 @@ A canvas holds two tiers of content, and the difference is load-bearing:
50
53
 
51
54
  ## Hard rules (each one has burned a real canvas)
52
55
 
53
- 1. **A canvas element must never be the sole home of a claim.** Verdict tallies, dates, scan provenance, and even a moat-defining sentence have each been authored as text elements — then cited downstream while being unversioned, unsearchable, and uncitable. If a text element says something true and useful, a note says it first; the text element may quote the note. (Canvas-specific wayfinding — how to read THIS canvas — is the one exemption; it has no off-canvas value.)
54
- 2. **Name notes and canvases from text elements with relationship mentions, never bare ids.** `[NOTE-12: Title](relationship:references)` inside a text element renders as a mention chip carrying the target's real title (a list description renders the same mention as a labelled span). "See RISK-64" as plain prose is a defect: the reader gets no title and no link. Pick the relationship type from the verb the sentence uses and reuse the workspace vocabulary. The chip is presentational: it creates no graph relationship, is not searchable, and is not versioned, so a relationship that must survive off the canvas still lives as a mention in a NOTE body (rule 5).
56
+ 1. **A canvas element must never be the sole home of a claim.** Verdict tallies, dates, scan provenance, and even a moat-defining sentence have each been authored as text elements — then cited downstream while being unversioned, unsearchable, and uncitable. If a text element says something true and useful, a note says it first; the text element may quote the note. (The board's own words are the exemption, because they have no off-canvas value: how to read THIS canvas, and the connectives that say what one card means for the next. The test is whether the sentence would still be true on another board; if it would, it is a claim and lives in a note.)
57
+ 2. **Name notes and canvases from text elements with relationship mentions, never bare ids.** `[NOTE-12: Title](relationship:references)` inside a text element renders as a mention chip, in the same three forms as a note body (the title, `[[NOTE-12]]` for the id alone, `[[NOTE-12|your words]]`; [notes.md](notes.md)), and a list description renders it as a labelled span. "See RISK-64" as plain prose is a defect: the reader gets no link. Pick the relationship type from the verb the sentence uses and reuse the workspace vocabulary. The chip is presentational: it creates no graph relationship, is not searchable, and is not versioned, so a relationship that must survive off the canvas still lives as a mention in a NOTE body (rule 5).
55
58
  3. **A text element is capped at card size**: at most 3 sentences, one heading at most, never a list of distinct knowledge items (questions, risks, findings — those are N notes; a 3-line color legend or lane key is fine). The one exception is the orientation banner (four short lines, rule 7). A heading-only text element (`--content '# Q1 Goals'`, or the hero) is of course fine — that is the smallest legitimate use. The cap is physical as much as doctrinal: a text element renders its full content inline, so long blocks explode the canvas — one canvas hit 43,000px tall from eight text reference blocks and had to be rebuilt as notes.
56
- 4. **Detail's HOME is the note body; a note's face on the board is a quote of it, never a restatement.** Write the full content INTO each note's body first. When the board must show a note's claim at the glance, quote it: `add-quote --note <id> --text "<its claim sentence>" --size medium` pins the note's own sentence to its version and draws it as a Quote card (rule 8), so there is one copy and nothing drifts. Write the claim sentence first; the words must be in the saved version, and the same words on another board reuse the same QUOTE-<n>. A text card that restates a note is the anti-pattern: `update-text` edits it with no history, so after one revision only the note tells the truth (47 of 262 text cards on 44 recent boards had grown past the cap this way), and one teaching canvas carried its entire method in text cards over one-line stub notes, so an agent reading it back got seven stubs and no method.
57
- 5. **Edges can connect any node type** (note, text, list, canvas-link, section — plus legacy heading nodes), as long as both endpoints are on the same canvas; labels are short verb phrases ("fixes", "grounds", "depends on"). A section endpoint is addressed by its SECTION-n handle (or the frame's node id), and the edge anchors to the frame's border — use one when the relationship's endpoint is genuinely the whole region ("this cluster feeds that stage"), not as a shortcut for a note-to-note link. `canvas read` returns edges, so they are no longer invisible on read-back — but an edge is still CANVAS-LOCAL: it is not part of the note graph, never appears in `rel list`, is not searchable, and means nothing once you leave this canvas. So any relationship **between notes** that must survive off the canvas has to ALSO exist as a mention inside the note bodies. The mention is the copy that travels; the edge is the copy you can see. Edges to text/list/canvas-link nodes are diagram decoration (pointing a label at a cluster, wiring a portal) and carry no note-to-note relationship to mirror. **Two line styles make two layers.** On a board with more than about eight arrows, give `--line-style dashed` to the ones that say what a card rests on (grounded in, builds on, extends, refines, references) and keep solid for the chain the reader follows (derived from, applies, selects, implements, realizes) and for the Questions that gate it, then say so in a small untinted legend text card beside the banner. One style of arrow everywhere reads as one flat tangle. `canvas update-edge <canvasId> --edge <id> --line-style dashed` restyles an arrow that exists (ids from `canvas get --json`, `edges[].id`).
59
+ 4. **Detail's HOME is the note body; a note's face on the board is a quote of it, never a restatement.** Write the full content INTO each note's body first. When the board must show a note's claim at the glance, quote it: `add-quote --note <id> --text "<its claim sentence>" --size medium` pins the note's own sentence to its version and draws it as a Quote card (rule 8), so there is one copy and nothing drifts. Write the claim sentence first; the words must be in the saved version, and the same words on another board reuse the same QUOTE-<n>. A text card that restates a note is the anti-pattern: `update-text` edits it with no history, so after one revision only the note tells the truth (47 of 262 text cards on 44 recent boards had grown past the cap this way), and one teaching canvas carried its entire method in text cards over one-line stub notes, so an agent reading it back got seven stubs and no method. A connective (decision table) is not a restatement: it says what the note means for the next card, which the note itself does not say, and it names the note by chip rather than repeating it.
60
+ 5. **Edges can connect any node type** (note, text, list, canvas-link, section — plus legacy heading nodes), as long as both endpoints are on the same canvas; labels are short verb phrases ("fixes", "grounds", "depends on"). A section endpoint is addressed by its SECTION-n handle (or the frame's node id), and the edge anchors to the frame's border — use one when the relationship's endpoint is genuinely the whole region ("this cluster feeds that stage"), not as a shortcut for a note-to-note link. `canvas read` returns edges, so they are no longer invisible on read-back — but an edge is still CANVAS-LOCAL: it is not part of the note graph, never appears in `rel list`, is not searchable, and means nothing once you leave this canvas. So any relationship **between notes** that must survive off the canvas has to ALSO exist as a mention inside the note bodies. The mention is the copy that travels; the edge is the copy you can see. Edges to and from text cards and Quote faces carry the board's argument (a quote to the connective that reads it, the connective to the option it rules out, the recommendation to what flips it); they have nothing to mirror, since the board is their home, and a spine with no arrows between its steps is a pile. Edges to list and portal nodes, and a label pointed at a cluster, are decoration. **Two line styles make two layers.** On a board with more than about eight arrows, give `--line-style dashed` to the ones that say what a card rests on (grounded in, builds on, extends, refines, references) and keep solid for the chain the reader follows (derived from, applies, selects, implements, realizes) and for the Questions that gate it, then say so in a small untinted legend text card beside the banner. One style of arrow everywhere reads as one flat tangle. `canvas update-edge <canvasId> --edge <id> --line-style dashed` restyles an arrow that exists (ids from `canvas get --json`, `edges[].id`).
58
61
  6. **Color is a ROLE or it is absent.** Default neutral — a text element has NO background unless you pass `--color`, and that is usually the right look (an untinted heading is just type on the canvas). When a tint does mean something, pick from the six role hexes and reuse ONE role per meaning, 2–4 roles per canvas max:
59
62
 
60
63
  | Role | Hex | Use for |
@@ -91,11 +94,11 @@ A canvas holds two tiers of content, and the difference is load-bearing:
91
94
  Cut: frame counts ("in five moments"), method notes ("fat-marker sketches", "coral marks…"), and recaps of what the strip below says.
92
95
  Wayfind and Attention canvases add their own lines after these four, never instead.
93
96
 
94
- 8. **Quotes carry a board's best lines.** A board of same-shaped cards hides its point. After the notes are placed, find the 2–4 sentences the board rests on (a customer's own words, the reason inside a Decision, the number that changes the story) and `add-quote` each from its source note. Each lands beside its source as a Quote note (QUOTE-<n>) that other boards can reuse. On a board of section frames it lands beside the source but outside the frame (`add-quote` has no `--section`): after adding the quotes, pull them in with `arrange --section SECTION-<n> --spec` using `existing` leaves for the frame's cards and the quotes and a numeric `gap` ([canvas-layout.md](canvas-layout.md)); `place --into` refuses a card that is already on the board.
97
+ 8. **Quotes carry a board's best lines.** A board of same-shaped cards hides its point. After the notes are placed, give every note on the spine (the chain from the situation to the recommendation, Board shapes below) a face: `add-quote` its claim sentence (rule 4). Then find the lines the board rests on that are not claim sentences (a customer's own words, the reason inside a Decision, the number that changes the story) and `add-quote` each from its source note. The tile is for the shelf: the sources and references a reader opens on demand. Each lands beside its source as a Quote note (QUOTE-<n>) that other boards can reuse. On a board of section frames it lands beside the source but outside the frame (`add-quote` has no `--section`): after adding the quotes, pull them in with `arrange --section SECTION-<n> --spec` using `existing` leaves for the frame's cards and the quotes and a numeric `gap` ([canvas-layout.md](canvas-layout.md)); `place --into` refuses a card that is already on the board.
95
98
  - **Size is hierarchy (rule 9).** One `large` quote per board: the line everything rests on. `medium` for one to three supporting lines. `small` for evidence beside the card it backs. Never two large quotes; the hero is the only other large card.
96
99
  - **Style follows the job.** `pull` for a line that stands alone. `highlight` when the words need their sentence around them. `evidence` for data or an excerpt backing a claim next to it.
97
100
  - **Colour follows rule 6, by meaning.** `insight` for the hero line, `evidence` for customer words and data, `warning` for the caveat that could sink the plan, `people` for a stakeholder speaking. Most quotes stay untinted; tint two at most.
98
- - **Every quote is cited by a claim on the board.** A wall of lines nobody interpreted is a pile, not an argument. About one quote per five notes is plenty.
101
+ - **Every quote is cited by a claim on the board.** A wall of lines nobody interpreted is a pile, not an argument. There is no ratio of quotes to notes: a quote earns its place when a connective or a claim on the board reads it, and loses it when nothing does.
99
102
  - **Words from outside the workspace** (a call, a Slack thread, an AI reply) become a Quote note directly: `notes create` with type `Quote`, the words in a blockquote, then a `from <who>, <where>, <date>` line. Place it like any note and style it with `style-quote`.
100
103
 
101
104
  9. **Three sizes make three layers.** A text card's `size` sets its type as well as its width (headings 30, 56 and 128px; body 14, 24 and 48px), so size is how a board says what to read first, second and third. A board where every text card is the same size reads as one flat layer.
@@ -119,7 +122,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
119
122
  | `small` body, `small` quote | 14px to 22px | 27% to 43% |
120
123
  | a note card's title | 12px | 30% on WebGL (not drawn below it), 50% on React Flow |
121
124
 
122
- So at fit zoom a board shows its hero, its medium headings and quotes and its section names, and every note card is a block with no words. Give the 3 to 5 load-bearing notes a `medium` face (rule 4) or the board has no glance layer.
125
+ So at fit zoom a board shows its hero, its medium headings and quotes and its section names, and every note card is a block with no words. Give every note on the spine a face (rule 4): `medium` for the ones the reader must see first, `small` for the rest, and keep tiles for the shelf. A spine of bare tiles has no glance layer, however good the notes behind it.
123
126
 
124
127
  ## Board shapes
125
128
 
@@ -127,20 +130,20 @@ Pick the shape before placing anything; it sets the ratio of notes, faces and te
127
130
 
128
131
  | Shape | When | Notes | Faces (quotes, rule 4) | Text cards |
129
132
  |---|---|---|---|---|
130
- | Argument | a decision, a frame, a shaping, a review | every claim | 3 to 5 at `medium`, at most one `large` | hero, banner, band headings, a legend |
133
+ | Argument | a decision, a frame, a shaping, a review | every claim; tiles only on the shelf | every note on the spine, `medium` for the ones read first, at most one `large` | hero, banner, band headings, a legend, a connective between each step of the spine |
131
134
  | Poster | a walkthrough, an explainer, a demo script | the Workflow or Guide plus a note per step | every step quoted at `small`, in reading order | hero, banner, one label per frame |
132
135
  | Working | a live session with a person | the ones promoted before the session ends | none yet | as many stickies as the session needs, each promoted to a note or deleted before the run ends |
133
136
  | Map | a home, a hub, a portal row | few | none | hero, banner, one label per region |
134
137
 
135
- The walkthrough boards that carry 1 note under 11 text cards are Posters that skipped the step notes; a dogfood board with 46 text cards is a Working board that never promoted. Promotion today is two commands in one run: `notes create` from the card's markdown, then `bulk-remove` the card.
138
+ The **spine** is the chain the reader follows from the situation to the recommendation: its notes wear faces, its steps are joined by connectives and arrows. The **shelf** is what the spine rests on, sources and references a reader opens on demand: tiles in a section, usually below. The walkthrough boards that carry 1 note under 11 text cards are Posters that skipped the step notes; a dogfood board with 46 text cards is a Working board that never promoted. Promotion today is two commands in one run: `notes create` from the card's markdown, then `bulk-remove` the card.
136
139
 
137
140
  ## Three completion tests
138
141
 
139
142
  Run all three before ending your operation:
140
143
 
141
- **The read-back test (for the next agent):** run `cnotes canvas read` and check that every claim is present as a NOTE section with a display ID, and the reasoning can be followed through note bodies and their mentions. Content that appears only as anonymous text-element prose fails the test even when visible — nothing can cite, search, or version it. List members read back as ID+title links without bodies; that is fine — the IDs are citable and batch-fetchable via `cnotes notes get`. As a heuristic for working canvases, at least ~4 notes per text element (zero text elements is fine); fewer means text elements are carrying content. Explainer canvases using the projection pattern (rule 4) are exempt from the ratio, not from the test.
144
+ **The read-back test (for the next agent):** run `cnotes canvas read` and check that every claim is present as a NOTE section with a display ID, and the reasoning can be followed through note bodies and their mentions. Content that appears only as anonymous text-element prose fails the test even when visible — nothing can cite, search, or version it. List members read back as ID+title links without bodies; that is fine — the IDs are citable and batch-fetchable via `cnotes notes get`. There is no ratio of notes to text cards. Test each text card instead: it is furniture (the hero, the banner, a heading, a legend, a lane key), a connective (true only on this board, joining cards it names by chip), or a sticky on a Working board that will be promoted. Anything else is a claim that needs a note, and a text card that restates a note is a face that should be a quote (rule 4).
142
145
 
143
- **The glance test (for the human):** zoomed to fit, a person should grasp what this canvas argues and where to start reading in about 10 seconds. A canvas that passes read-back but renders as an undifferentiated card grid is also not done — that is what the hero, section labels, orientation banners, projections, and layout are for. Fail it when there is no `large` hero at the top-left (rule 7), when every text card is the same size (rule 9), when an Argument or Poster board has no note with a `medium` face (rule 4), or when the board's Decision, Risk or one Insight carries no role tint (rule 6): 8 of 262 text cards on 44 recent boards were tinted, so neutral-by-default had been read as neutral-always.
146
+ **The glance test (for the human):** zoomed to fit, a person should grasp what this canvas argues and where to start reading in about 10 seconds. A canvas that passes read-back but renders as an undifferentiated card grid is also not done — that is what the hero, section labels, orientation banners, projections, and layout are for. Fail it when there is no `large` hero at the top-left (rule 7), when every text card is the same size (rule 9), when a note on the spine of an Argument or Poster board is a bare tile (rule 4), when the steps of the spine are joined by nothing (no connective, no arrow; rule 5), or when the board's Decision, Risk or one Insight carries no role tint (rule 6): 8 of 262 text cards on 44 recent boards were tinted, so neutral-by-default had been read as neutral-always.
144
147
 
145
148
  **The cold-reader test.** Cover everything but the hero and the banner.
146
149
  Can a stranger say what the situation is, what the board produces, and where the answer goes?
@@ -149,7 +152,7 @@ Test the banner text itself, not your memory of the run.
149
152
 
150
153
  ## Worked example
151
154
 
152
- Right shape (a real competitor scan): 31 typed notes (COMPETITOR profile, FACT evidence row, INSIGHT verdicts per dimension, RISK/IDEA/STRATEGY response bands, QUESTION follow-ups in a list), three short text banners framing the bands ("Threats, Steals, Response — what hurts us, what's worth taking, the plan"), and labeled edges mirrored as mentions (`FACT-44 --grounds--> INSIGHT-361`).
155
+ Right shape (a real competitor scan): 31 typed notes (COMPETITOR profile, FACT evidence row, INSIGHT verdicts per dimension, RISK/IDEA/STRATEGY response bands, QUESTION follow-ups in a list), a quote face on each verdict and on the two customer lines, a connective under each band saying what its cards add up to for the next band, three short text banners framing the bands ("Threats, Steals, Response — what hurts us, what's worth taking, the plan"), and labeled edges mirrored as mentions (`FACT-44 --grounds--> INSIGHT-361`).
153
156
 
154
157
  Wrong shape (same content): one 5,000-char text element holding a "deep scan writeup", a text scoreboard holding the verdict tally, and a few notes for leftovers. Search finds nothing, versions record nothing, nothing can cite or link any of it — and the headline verdict goes stale the first time someone edits the card.
155
158
 
@@ -172,6 +172,63 @@ Edges live at the top level alongside `root`. Each endpoint is resolved in this
172
172
 
173
173
  ## Examples
174
174
 
175
+ **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, and under it a `small` connective, the board's own sentence saying what that card means for the next step. Edges join the steps. The shelf, the sources the spine rests on, is a section of tiles below.
176
+ ```json
177
+ {
178
+ "notes": [
179
+ { "key": "problem", "type": "Problem", "markdownFile": "./problem.md" },
180
+ { "key": "optA", "type": "Option", "markdownFile": "./opt-a.md" },
181
+ { "key": "optB", "type": "Option", "markdownFile": "./opt-b.md" },
182
+ { "key": "rec", "type": "Decision", "markdownFile": "./decision.md" }
183
+ ],
184
+ "root": {
185
+ "kind": "stack", "axis": "vertical", "gap": "medium", "align": "start",
186
+ "items": [
187
+ { "kind": "item", "type": "richtext", "size": "large", "content": "# Add a second reviewer" },
188
+ { "kind": "item", "type": "richtext", "size": "medium",
189
+ "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." },
190
+ { "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
191
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
192
+ { "kind": "item", "type": "richtext", "content": "# 1 · What goes wrong" },
193
+ { "kind": "item", "type": "note", "noteId": "@problem" },
194
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c1",
195
+ "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." }
196
+ ] },
197
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
198
+ { "kind": "item", "type": "richtext", "content": "# 2 · Two ways out" },
199
+ { "kind": "stack", "axis": "horizontal", "gap": 48, "items": [
200
+ { "kind": "item", "type": "note", "noteId": "@optA" },
201
+ { "kind": "item", "type": "note", "noteId": "@optB" }
202
+ ] },
203
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c2",
204
+ "content": "A rota spreads the load; a second named reviewer keeps one owner. The rota fails the week two people are away." }
205
+ ] },
206
+ { "kind": "stack", "axis": "vertical", "gap": 20, "items": [
207
+ { "kind": "item", "type": "richtext", "content": "# 3 · Recommendation" },
208
+ { "kind": "item", "type": "note", "noteId": "@rec" },
209
+ { "kind": "item", "type": "richtext", "size": "small", "key": "c3",
210
+ "content": "Flip it if Ana's load drops under five reviews a week." }
211
+ ] }
212
+ ] },
213
+ { "kind": "section", "name": "What it rests on", "child": { "kind": "grid", "columns": 4, "items": [
214
+ { "kind": "item", "type": "note", "noteId": "OBSERVATION-40" },
215
+ { "kind": "item", "type": "note", "noteId": "TRANSCRIPT-7" }
216
+ ] } }
217
+ ]
218
+ },
219
+ "edges": [
220
+ { "from": "@c1", "to": "@optA", "label": "so" },
221
+ { "from": "@c1", "to": "@optB", "label": "so" },
222
+ { "from": "@c2", "to": "@rec", "label": "selects" },
223
+ { "from": "@rec", "to": "OBSERVATION-40", "label": "grounded in" }
224
+ ]
225
+ }
226
+ ```
227
+ - 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.
228
+ - After the place, give each spine note its face: `cnotes canvas add-quote <canvasId> --note <id> --text "<its claim sentence>" --size medium` for the note the reader must see first, `--size small` for the rest (canvas-elements.md rule 4). The spec has no quote leaf yet, so faces are a second call per note. A quote lands beside its source when there is room, else below everything: run `canvas status <canvasId>` after, and `move-node` a stray one under its step's connective.
229
+ - The shelf is a section so it stays arranged as sources are added; the spine is freeform, like bands.
230
+ - Spec edges are solid. Make the rests-on arrows dashed afterwards (canvas-elements.md rule 5) with `cnotes canvas update-edge <canvasId> --edge <id> --line-style dashed`, ids from the place response's `edges[]`.
231
+
175
232
  **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
233
  ```json
177
234
  {
@@ -84,7 +84,9 @@ material. Only rewrite existing notes once an audit has named the specific defec
84
84
  (hype adjective + filler verb + rule-of-three in the same paragraph) is real slop.
85
85
  4. **Run the preservation check** — verify nothing in the [preservation gate](#the-preservation-gate)
86
86
  changed.
87
- 5. **Save** with a `# h1` title and readable relationship-mention titles.
87
+ 5. **Save** with a `# h1` title, each mention in the form its sentence needs
88
+ (the title where the reader first meets the note, the id alone after that;
89
+ [notes.md](notes.md)).
88
90
 
89
91
  ### Existing notes and canvases (audit → select → version → verify)
90
92
 
@@ -94,8 +96,8 @@ material. Only rewrite existing notes once an audit has named the specific defec
94
96
  with a change description saying what you fixed.
95
97
  4. Fix affected canvas text cards in place with `cnotes canvas update-text`
96
98
  (text cards have no version history).
97
- 5. **Verify** numbers, names, IDs, links, mention titles, tables, uncertainty,
98
- and canvas layout survived unchanged.
99
+ 5. **Verify** numbers, names, IDs, links, what each mention shows, tables,
100
+ uncertainty, and canvas layout survived unchanged.
99
101
 
100
102
  ---
101
103
 
@@ -208,9 +210,11 @@ humanization corrupts a note:
208
210
  constraint is not slop. Keep it.
209
211
  - **Checklists and structured writing** — deliberate structure is not slop.
210
212
  Do not flatten a checklist into a paragraph.
211
- - **Relationship mentions** — titles and links intact. `[NOTE-12: Title](relationship:type)`
212
- must keep both the display ID and a readable title; never strip a mention to
213
- bare text or drop its link. And the TYPE must carry the verb: if the prose
213
+ - **Relationship mentions** — links intact, and what each shows unchanged: a
214
+ titled `[NOTE-12: Title](relationship:type)` stays titled, an id-only
215
+ `[[type::NOTE-12]]` stays id-only, an alias `[[type::NOTE-12|words]]` keeps
216
+ its words. Never strip a mention to bare text, drop its link, or add titles
217
+ to mentions that had none. And the TYPE must carry the verb: if the prose
214
218
  narrates "blocks" / "depends on" around a `references` chip or untyped
215
219
  `[[NOTE-12]]`, retype the chip (`relationship:blocks`, `[[blocks::NOTE-12]]`)
216
220
  instead of leaving the verb in prose the graph can't see.
@@ -260,14 +264,17 @@ These are objective and never need judgment. Enforce them on every write:
260
264
  - **Canvas titles** use the middle dot `·` (U+00B7) as a separator, never an
261
265
  em dash or en dash.
262
266
  - **Every note starts with a `# h1`** heading — it becomes the title.
263
- - **Relationship mentions include a readable title**: `[NOTE-123: Title](relationship:type)`,
264
- never bare `NOTE-123`.
267
+ - **Relationship mentions are typed links, never bare `NOTE-123`**:
268
+ `[NOTE-123: Title](relationship:type)` where the reader first meets the note,
269
+ `[[type::NOTE-123]]` after that, `[[type::NOTE-123|your words]]` when the
270
+ sentence needs a phrase. A run of titled mentions is a readability defect:
271
+ show each title once.
265
272
  - **Relationship type matches the narrated verb** — prose "Blocks X" around a
266
273
  `references`/untyped chip is a graph bug, not a style choice: retype to
267
274
  `relationship:blocks` (or `[[blocks::NOTE-123]]`) and drop the redundant verb.
268
275
  - **Canvas richtext and list descriptions name notes with relationship mentions** —
269
- `[NOTE-12: Title](relationship:verb)` renders as a chip with the real title; a bare
270
- display id in card prose ("see RISK-64") is a defect.
276
+ the same three forms render as chips; a bare display id in card prose
277
+ ("see RISK-64") is a defect.
271
278
  - **Richtext stays card-sized** — at most ~3 sentences, one heading; distinct
272
279
  items are N typed notes, not a wall of text.
273
280
  - **No placeholder or artifact tokens** — "lorem ipsum", "TODO", "[insert X]",
@@ -261,7 +261,8 @@ each note is judged again; a new label alone keeps them.
261
261
  ```
262
262
  - Use inline `markdown` only for short, single-line content.
263
263
  - **Always start markdown content with a `# h1` heading.** This becomes the note title. **The title is a headline, not a sentence**: at most 80 characters, naming the claim or the object, with no consequence clause (", so…", ", because…", ", which…"), no display id and no em dash. The body's first sentence carries the why. The server refuses an agent's note or version whose title breaks this (`field: "title"` in a batch) and the message says what to change; a person typing in the editor is never refused. Follow proper markdown structure: `## h2` for major sections, `### h3` for subsections. Well-structured heading hierarchy is expected for all notes.
264
- - **Relationship mentions in markdown**: Use `[NOTE-123: Title](relationship:<type>)` — plain text "NOTE-123" does NOT create clickable mentions, and the title-less form renders as "Untitled". Match `<type>` to the verb your prose uses (`blocks`, `depends-on`, …); `references` is for pure citations. The typed wiki form `[[blocks::NOTE-123]]` is equivalent — it's how note bodies serialize mentions back to you, and an untyped `[[NOTE-123]]` is a plain reference.
264
+ - **Relationship mentions in markdown**: three forms, one link. `[NOTE-123: Title](relationship:<type>)` shows the note's title (the server writes the current title over yours on every save, so it never goes stale); `[[<type>::NOTE-123]]` and `[NOTE-123](relationship:<type>)` show the id alone; `[[<type>::NOTE-123|your words]]` shows your words, with the title on hover. What you write is what the chip shows. Plain text "NOTE-123" does NOT create a mention. Match `<type>` to the verb your prose uses (`blocks`, `depends-on`, …); `references` is for pure citations, and an untyped `[[NOTE-123]]` is one. Bodies come back to you in the same forms, so a round trip keeps what each chip shows.
265
+ - **Show each title once.** Title a note where the reader first meets it in a body, so they learn what it is; after that write the id alone ("the cut in [[depends-on::DECISION-6K535]]"), and when the sentence needs a noun, your own words ("[[depends-on::DECISION-6K535|the packaging call]]"). A title is a headline, not a phrase: two titled mentions in one sentence, or a run of them in a list, stop the reader every time.
265
266
  - **The classic miss: capturing an answer/outcome that lives in another note.** "The answer is the packaging decision in DECISION-24" saved as plain prose creates no chip, no relationship, no backlink — the graph never learns the question was answered. Write the mention with the verb as its type: `Answered by [DECISION-24: Title](relationship:answered-by)`. `notes create` and `versions create` detect bare IDs that name real notes and return them in `plainTextIdWarnings` (stderr + `--json`), each with a paste-ready rewrite carrying the note's actual title — treat every entry as a fix instruction (save a corrected version) unless the bare ID is deliberate prose.
266
267
  - **Quoting another note's exact words**: write a quote block, the words in a blockquote and a last line citing the version they came from with a `quotes` mention pinned to it. Read the version number and its time from `cnotes versions list <id>`; the words must be that version's, verbatim:
267
268
  ```markdown
@@ -281,7 +282,7 @@ each note is judged again; a new label alone keeps them.
281
282
  - `invalidates` / `supersedes` — supersedes or contradicts another note
282
283
  - `related-to` — loose thematic connection
283
284
  - `duplicates` — notes covering the same thing
284
- - Simple mention shorthand: `[NOTE-123]` or `[NOTE-123: Title]` (defaults to "references")
285
+ - Simple mention shorthand: `[NOTE-123]` (the id alone), `[NOTE-123: Title]` (the title) or `[NOTE-123|your words]`; all three are "references"
285
286
 
286
287
  ## Updating Content vs Metadata
287
288
  - To change note **content** (including title), create a new **version**: `cnotes versions create <id> --description "..." --markdown-file ./updated.md`
@@ -97,7 +97,7 @@ This builds on [@B: The Problem](relationship:extends) and enables [@C: The Work
97
97
 
98
98
  The relationship type is free-form, but **reuse an existing type before inventing one** — see Content via Markdown in [notes.md](notes.md) for the reuse rule, why needless synonyms are harmful, and the built-in types to reach for first.
99
99
 
100
- **Match the type to your own verb.** If your sentence says "blocks", the mention must say `relationship:blocks` — a verb narrated in prose around a `references` chip (or an untyped `[[NOTE-12]]`) is an edge the graph can't see: backlinks and `rel list` will file it as a plain citation. `notes create` and `versions create` detect this and return a `mentionWarnings` array (--json) plus a stderr note with the exact retyped mention; treat each warning as a retype instruction unless the flagged word genuinely isn't asserting a relationship. Writing the verb right before its chip is fine: "This reopens [[reopens::DECISION-6KW]]" renders as "This reopens → DECISION-6KW Title", because a chip drops its own label when the words just before it say the same thing (whitespace only between them, so not "reopens: …").
100
+ **Match the type to your own verb.** If your sentence says "blocks", the mention must say `relationship:blocks` — a verb narrated in prose around a `references` chip (or an untyped `[[NOTE-12]]`) is an edge the graph can't see: backlinks and `rel list` will file it as a plain citation. `notes create` and `versions create` detect this and return a `mentionWarnings` array (--json) plus a stderr note with the exact retyped mention; treat each warning as a retype instruction unless the flagged word genuinely isn't asserting a relationship. Writing the verb right before its chip is fine: "This reopens [[reopens::DECISION-6KW]]" renders as "This reopens → DECISION-6KW", because a chip drops its own label when the words just before it say the same thing (whitespace only between them, so not "reopens: …"). The wiki form shows the id alone; `[DECISION-6KW: Title](relationship:reopens)` shows the title and `[[reopens::DECISION-6KW|the earlier call]]` your words (the three forms in [notes.md](notes.md)).
101
101
 
102
102
 
103
103
  ## Dependencies (`cnotes deps`)