@creator-notes/cnotes 0.121.7 → 0.121.9
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/.claude-plugin/plugin.json +1 -1
- package/dist/commands/notes.js +6 -4
- package/dist/commands/versions.js +6 -4
- package/dist/lib/build-schema.js +1 -1
- package/dist/lib/mention-lint.js +3 -3
- package/dist/mcp-server.js +2 -2
- package/package.json +1 -1
- package/skills/attention-planner/references/orientation-canvas.md +2 -2
- package/skills/cnotes/SKILL.md +2 -2
- package/skills/cnotes/references/canvas-elements.md +9 -8
- package/skills/cnotes/references/canvas.md +1 -1
- package/skills/cnotes/references/humanizer.md +18 -10
- package/skills/cnotes/references/notes.md +3 -2
- package/skills/cnotes/references/relationships.md +1 -1
- package/skills/goal-tree/SKILL.md +1 -1
- package/skills/shaping/SKILL.md +1 -1
- package/skills/teach-workspace/SKILL.md +3 -3
- package/skills/transcript-timeline/SKILL.md +3 -2
- package/skills/wayfind/SKILL.md +1 -1
package/dist/commands/notes.js
CHANGED
|
@@ -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,
|
|
548
|
-
"
|
|
549
|
-
"
|
|
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,
|
|
62
|
-
"
|
|
63
|
-
"
|
|
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" +
|
package/dist/lib/build-schema.js
CHANGED
|
@@ -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
|
-
"
|
|
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
|
],
|
package/dist/lib/mention-lint.js
CHANGED
|
@@ -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
|
|
36
|
-
return (
|
|
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))
|
package/dist/mcp-server.js
CHANGED
|
@@ -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)
|
|
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
|
|
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
|
@@ -36,8 +36,8 @@ sections size themselves around their content, so no coordinates.
|
|
|
36
36
|
The hero at the top: `richtext` large, untinted, `# <card title>` shortened to
|
|
37
37
|
under 50 characters, the one line legible at zoom-to-fit. The banner directly
|
|
38
38
|
under it: `richtext` medium, untinted, no heading, at most five sentences, in the
|
|
39
|
-
cnotes skill's banner order (hard rule 7 in its `references/canvas-elements.md`):
|
|
40
|
-
what this board is for, who answers and where, how to read it. Then the lines
|
|
39
|
+
cnotes skill's banner order (hard rule 7 in its `references/canvas-elements.md`): the situation
|
|
40
|
+
(never who asked), what this board is for, who answers and where, how to read it. Then the lines
|
|
41
41
|
only this canvas needs: the block day and time, "answer on the card", where the
|
|
42
42
|
portals go. A banner that opens with the block time and the reading order and
|
|
43
43
|
never says what the card is about fails the cnotes cold-reader test.
|
package/skills/cnotes/SKILL.md
CHANGED
|
@@ -22,7 +22,7 @@ Every note and canvas you write is context: what the next reader, a teammate or
|
|
|
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
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. 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.
|
|
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.
|
|
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
|
|
|
@@ -60,7 +60,7 @@ Other writes that belong together (notes on two canvases, a change that needs se
|
|
|
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
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. **
|
|
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).
|
|
@@ -39,7 +39,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
39
39
|
| A named REGION of the canvas ("Shaping", "Open Questions") | a **section** frame (`add-section`) — draggable region, mention-addressable as `[[SECTION-<n>]]` from note bodies | a floating text heading over an implied area |
|
|
40
40
|
| 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
41
|
| 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
|
-
| Orientation:
|
|
42
|
+
| 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
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 |
|
|
44
44
|
| 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
45
|
| 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 |
|
|
@@ -51,7 +51,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
51
51
|
## Hard rules (each one has burned a real canvas)
|
|
52
52
|
|
|
53
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
|
|
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, 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
55
|
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
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
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`).
|
|
@@ -80,13 +80,14 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
80
80
|
- One hero per canvas. A section or band heading is never `large` (rule 9).
|
|
81
81
|
|
|
82
82
|
**The banner** sits directly under the hero: one `medium` untinted text card, no heading (the hero is its heading).
|
|
83
|
-
Write one line each, in this order, no paragraphs:
|
|
84
|
-
1. **
|
|
85
|
-
2. **What it's for.** The decision or artifact the board produces.
|
|
86
|
-
3. **
|
|
83
|
+
It describes the work, never the session that built the board. Write one line each, in this order, no paragraphs:
|
|
84
|
+
1. **The situation.** What is true in the work that makes this board necessary, with the people and things named so a stranger can look them up: "Ten Clio workstreams are in play: five moved between 26 Oct and 2 Nov, five have no status newer than September." Date it only when it is an event the reader could look up (a meeting, a decision, a release): "On 2 Nov 2026 Settlement Financials adoption became the week's priority."
|
|
85
|
+
2. **What it's for.** The decision or artifact the board produces, in the reader's words.
|
|
86
|
+
3. **What is open, and where the answer goes.** Who decides or builds, and the card the outcome lands on (a mention chip, rule 2). Name a person only when the reader could not be sure it is them; a board one person works alone never tells them their own job.
|
|
87
87
|
4. **How to read it.** The cue only: "Read left to right." Don't list each frame's contents; the frames say that.
|
|
88
88
|
Keep each line under ~20 words. Break long lines; never merge them into a paragraph.
|
|
89
89
|
Name things before you point at them: no "the ad", "the app", "the scope".
|
|
90
|
+
Never narrate the request. "On 30 Oct 2026 Deniss asked to keep track of moving parts" says what the agent was told and nothing about the work, and the timeline already records who asked, when, and what was done under the run's headline. Cut "asked", "requested", "wanted", "this session" and any paraphrase of the prompt, then check the line still says something.
|
|
90
91
|
Cut: frame counts ("in five moments"), method notes ("fat-marker sketches", "coral marks…"), and recaps of what the strip below says.
|
|
91
92
|
Wayfind and Attention canvases add their own lines after these four, never instead.
|
|
92
93
|
|
|
@@ -142,8 +143,8 @@ Run all three before ending your operation:
|
|
|
142
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.
|
|
143
144
|
|
|
144
145
|
**The cold-reader test.** Cover everything but the hero and the banner.
|
|
145
|
-
Can a stranger say what
|
|
146
|
-
Fail it if the banner only gives reading order, uses unnamed referents,
|
|
146
|
+
Can a stranger say what the situation is, what the board produces, and where the answer goes?
|
|
147
|
+
Fail it if the banner only gives reading order, uses unnamed referents, runs as a paragraph, or narrates the request ("asked", "requested", a dated line about the session).
|
|
147
148
|
Test the banner text itself, not your memory of the run.
|
|
148
149
|
|
|
149
150
|
## Worked example
|
|
@@ -72,7 +72,7 @@ cnotes canvas create "<name>" --goal "<text>" --audience "<text>" --spec spec.js
|
|
|
72
72
|
# The first sentence is the result the board produces; the second is the verifier, so a reader (or
|
|
73
73
|
# the digest) can tell finished from not. The server REJECTS a goal with no "Done when" sentence or
|
|
74
74
|
# over 60 words. Leave out: the list of sections (the frames show it), the method ("research
|
|
75
|
-
# Tufte"),
|
|
75
|
+
# Tufte"), the situation and its date (banner line 1) and the audience (--audience). "Track X" / "Explore X" are briefs
|
|
76
76
|
# to yourself, not results; give them an exit ("Decide which X ship next. Done when ...").
|
|
77
77
|
# `canvas read` prints the goal under the title, so re-read it before adding to a board and keep
|
|
78
78
|
# the board inside it; fix a stale goal with `canvas update --goal`. The banner restates the goal
|
|
@@ -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
|
|
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
|
|
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
|
|
|
@@ -152,6 +154,7 @@ filler), really (as intensifier), might, perhaps, kind of, thrilled, excited.
|
|
|
152
154
|
| Negation-reversal with a clipped echo ("X was not the bottleneck. Y was.") | state the claim by consequence, not as a "Not X. Y." flip |
|
|
153
155
|
| Rule-of-three triples ("Focused. Aligned. Measurable.") | one claim that carries its own weight |
|
|
154
156
|
| Throat-clearing openers ("a thread on", "I want to share") | open with the problem or the payoff |
|
|
157
|
+
| Narrating the request in a banner or note ("On 30 Oct 2026 Deniss asked for…", "this session") | state the situation in the work; the timeline already holds who asked, when, and what was done |
|
|
155
158
|
| Thread-bro formatting ("1/", "follow for more") | write as prose with a standalone first line |
|
|
156
159
|
| Engagement bait ("comment YES", "drop a fire emoji") | end on the value, not the ask |
|
|
157
160
|
| Numbers with no baseline, date, or source | pair every number with its baseline and where it came from |
|
|
@@ -207,9 +210,11 @@ humanization corrupts a note:
|
|
|
207
210
|
constraint is not slop. Keep it.
|
|
208
211
|
- **Checklists and structured writing** — deliberate structure is not slop.
|
|
209
212
|
Do not flatten a checklist into a paragraph.
|
|
210
|
-
- **Relationship mentions** —
|
|
211
|
-
|
|
212
|
-
|
|
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
|
|
213
218
|
narrates "blocks" / "depends on" around a `references` chip or untyped
|
|
214
219
|
`[[NOTE-12]]`, retype the chip (`relationship:blocks`, `[[blocks::NOTE-12]]`)
|
|
215
220
|
instead of leaving the verb in prose the graph can't see.
|
|
@@ -259,14 +264,17 @@ These are objective and never need judgment. Enforce them on every write:
|
|
|
259
264
|
- **Canvas titles** use the middle dot `·` (U+00B7) as a separator, never an
|
|
260
265
|
em dash or en dash.
|
|
261
266
|
- **Every note starts with a `# h1`** heading — it becomes the title.
|
|
262
|
-
- **Relationship mentions
|
|
263
|
-
|
|
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.
|
|
264
272
|
- **Relationship type matches the narrated verb** — prose "Blocks X" around a
|
|
265
273
|
`references`/untyped chip is a graph bug, not a style choice: retype to
|
|
266
274
|
`relationship:blocks` (or `[[blocks::NOTE-123]]`) and drop the redundant verb.
|
|
267
275
|
- **Canvas richtext and list descriptions name notes with relationship mentions** —
|
|
268
|
-
|
|
269
|
-
|
|
276
|
+
the same three forms render as chips; a bare display id in card prose
|
|
277
|
+
("see RISK-64") is a defect.
|
|
270
278
|
- **Richtext stays card-sized** — at most ~3 sentences, one heading; distinct
|
|
271
279
|
items are N typed notes, not a wall of text.
|
|
272
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**:
|
|
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]`
|
|
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
|
|
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`)
|
|
@@ -107,7 +107,7 @@ A good leaf goal: `Decide which phone-section bugs ship in the next PR. Done whe
|
|
|
107
107
|
6. **Lay out the tree canvas**: `cnotes canvas create "<Outcome> · Goal Tree" --goal "<the root's two sentences>"`,
|
|
108
108
|
then one `cnotes canvas place` spec with one column per depth, root on the
|
|
109
109
|
right, each Goal note in its column, and "depends on" edges from parent to
|
|
110
|
-
child. The `large` hero first (the root goal's result in under 50 characters, cnotes hard rule 7), then the banner in the cnotes skill's banner order:
|
|
110
|
+
child. The `large` hero first (the root goal's result in under 50 characters, cnotes hard rule 7), then the banner in the cnotes skill's banner order: the situation (never who asked), what
|
|
111
111
|
the tree decides, who works it, how to read it (right to left).
|
|
112
112
|
7. **Read it back.** `cnotes goals tree <root>` must list every goal with no
|
|
113
113
|
"To fix" lines you can repair. Then close the run and give the user the tree
|
package/skills/shaping/SKILL.md
CHANGED
|
@@ -233,7 +233,7 @@ breadboard as context.
|
|
|
233
233
|
Create the notes in one batch (`cnotes notes create --notes "$(cat batch.json)"`),
|
|
234
234
|
cross-linked with `@key` placeholders, then lay out the sections with one
|
|
235
235
|
`cnotes canvas place` spec. The `large` hero first (what the shape achieves, in under 50 characters, cnotes hard rule 7), then the banner in the cnotes skill's banner
|
|
236
|
-
order:
|
|
236
|
+
order: the situation (never who asked), what this board decides, who decides
|
|
237
237
|
it, how to read it.
|
|
238
238
|
7. **Iterate with the user** on requirements and shapes until the fit check
|
|
239
239
|
shows one shape the user wants. Every change is a new version of its note.
|
|
@@ -123,9 +123,9 @@ The learner names a subject: a canvas, an area, a project.
|
|
|
123
123
|
Mission note, the Sources note and the starting-point records in one
|
|
124
124
|
`cnotes notes create` batch, then one `cnotes canvas place` spec with the
|
|
125
125
|
`large` hero (the mission in under 50 characters, cnotes hard rule 7), the banner under it and the four sections. The banner follows the cnotes skill's banner
|
|
126
|
-
order (rule 7 in its `references/canvas-elements.md`):
|
|
127
|
-
|
|
128
|
-
read.
|
|
126
|
+
order (rule 7 in its `references/canvas-elements.md`): the learner's situation
|
|
127
|
+
(what they must do and what they do not yet know; never who asked), the
|
|
128
|
+
mission in the learner's words, how a session runs, how the four frames read.
|
|
129
129
|
6. **Close the run, give the canvas link, offer lesson 1** now or in a fresh
|
|
130
130
|
session. A fresh session that says "next lesson" continues from the canvas.
|
|
131
131
|
|
|
@@ -123,8 +123,9 @@ Only when asked ("resolve these", "who owns what"). Run it before step 9's
|
|
|
123
123
|
mention. Never bare prose IDs.
|
|
124
124
|
4. No caption or explainer slop. No "This card captures…", no "Key insight:",
|
|
125
125
|
no recap text cards under rows. A row's frame name is its only label.
|
|
126
|
-
5. The banner is four short lines:
|
|
127
|
-
board is for, who acts on it, then
|
|
126
|
+
5. The banner is four short lines: the interview (who spoke, about what, on
|
|
127
|
+
what date; never the request), what the board is for, who acts on it, then
|
|
128
|
+
`Read left to right.` and nothing more.
|
|
128
129
|
6. Run the humanizer from the cnotes skill on every title and the banner.
|
|
129
130
|
7. End-user PII stays out. Name the interviewee by role and company unless
|
|
130
131
|
the transcript note already names them in its title.
|
package/skills/wayfind/SKILL.md
CHANGED
|
@@ -138,7 +138,7 @@ The user arrives with a loose idea.
|
|
|
138
138
|
5. **Place the map** in one `cnotes canvas place` spec: the `large` hero (the destination in under 50 characters, cnotes hard rule 7), the orientation banner under it,
|
|
139
139
|
the four sections with their contents, blocking edges (blocker → dependent,
|
|
140
140
|
label "blocks"). Banner is at most five sentences in the cnotes skill's banner
|
|
141
|
-
order (hard rule 7 in its `references/canvas-elements.md`):
|
|
141
|
+
order (hard rule 7 in its `references/canvas-elements.md`): the situation (never who asked),
|
|
142
142
|
the destination in reader's words, who resolves tickets and how, then how the
|
|
143
143
|
four frames read. Name notes as titled mentions (`[QUESTION-12: Title](relationship:references)`), which render as chips; a bare display ID in a card is a defect.
|
|
144
144
|
6. **Fire the research subagents** for frontier research tickets; fold whatever
|