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