@creator-notes/cnotes 0.121.9 → 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.
package/package.json
CHANGED
package/skills/cnotes/SKILL.md
CHANGED
|
@@ -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"
|
|
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).
|
|
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
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:
|
|
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
|
|
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
|
|
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>`;
|
|
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
|
-
**
|
|
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
|
-
|
|
|
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. (
|
|
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.)
|
|
54
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
|
|
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,
|
|
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.
|
|
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
|
|
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 |
|
|
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`.
|
|
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
|
|
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
|
{
|