@creator-notes/cnotes 0.121.5 → 0.121.7
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 +9 -1
- package/package.json +1 -1
- package/skills/cnotes/SKILL.md +3 -3
- package/skills/cnotes/references/canvas-elements.md +32 -5
- package/skills/cnotes/references/canvas-layout.md +3 -1
- package/skills/cnotes/references/canvas.md +1 -1
package/dist/commands/notes.js
CHANGED
|
@@ -490,11 +490,19 @@ Examples:
|
|
|
490
490
|
noteIds,
|
|
491
491
|
isArchived,
|
|
492
492
|
});
|
|
493
|
+
// Success needs one result per note sent (PM-157). An agent once got
|
|
494
|
+
// `{"archived": true}` for 21 notes that all stayed active; a missing
|
|
495
|
+
// results array read as "nothing failed" and exited 0.
|
|
496
|
+
if (!Array.isArray(data.results) || data.results.length !== noteIds.length) {
|
|
497
|
+
const err = new CliError(`The server did not confirm the ${isArchived ? "archive" : "unarchive"}: it answered for ${Array.isArray(data.results) ? data.results.length : "none"} of ${noteIds.length} notes.`, EXIT_CODES.GENERIC, "Read the notes back (cnotes notes get <id>) before assuming anything changed; `cnotes notes update <id> --archive` archives one note and returns its state.", { response: data });
|
|
498
|
+
err.name = "BulkArchiveUnconfirmed";
|
|
499
|
+
throw err;
|
|
500
|
+
}
|
|
493
501
|
// Per-item results ({noteId, displayId?, status, error?}). Partial
|
|
494
502
|
// failure keeps exit 0 (callers inspect results[].error — documented
|
|
495
503
|
// contract), but when EVERY note failed nothing was archived and
|
|
496
504
|
// exiting 0 would report success to an agent keying on the exit code.
|
|
497
|
-
const results =
|
|
505
|
+
const results = data.results;
|
|
498
506
|
const successStatus = isArchived ? "archived" : "unarchived";
|
|
499
507
|
const failedResults = results.filter((r) => r.status !== successStatus);
|
|
500
508
|
const allFailed = results.length > 0 && failedResults.length === results.length;
|
package/package.json
CHANGED
package/skills/cnotes/SKILL.md
CHANGED
|
@@ -20,7 +20,7 @@ Every note and canvas you write is context: what the next reader, a teammate or
|
|
|
20
20
|
3. **Open a run.** `cnotes operations begin --prompt "<the change as a past-tense headline, e.g. Added a risks list to the Q1 roadmap>" --json`, as its own command; check its exit code before writing (a pipe hides it). Every write refuses to run without one. The response carries `typeRubrics`, the same brief, and the proposals waiting on you with any that reword the same note as another (read those first, [references/drafts.md](references/drafts.md) step 8); `-q` prints only the run id, with the proposals on stderr. One canvas per run: end it and begin another before writing to a second canvas.
|
|
21
21
|
4. **Write to the type's rubric.** Pick the type, run `cnotes types show <Type>`, and author to its rubric. Audience-facing prose (note bodies, banners, pre-reads) goes through [references/humanizer.md](references/humanizer.md) first; transcripts, quotes and other raw capture are stored verbatim.
|
|
22
22
|
5. **Create notes in one batch.** `cnotes notes create --notes '[{"key":"A","type":"Insight","markdownFile":"./a.md"}, ...]'`. Each body starts with a `# h1` (the title): a headline of at most 80 characters that names the claim or the object, with no ", so…" / ", because…" clause, no display id and no em dash; the body's first sentence carries the why. The server refuses a note or version whose title breaks this and says what to change. Cross-link inside the batch with `[@A: Title](relationship:<verb>)`. Detail: [references/notes.md](references/notes.md).
|
|
23
|
-
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>`.
|
|
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
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.
|
|
26
26
|
9. **Close the run.** `cnotes operations end`.
|
|
@@ -66,7 +66,7 @@ Other writes that belong together (notes on two canvases, a change that needs se
|
|
|
66
66
|
6. **Content changes are versions.** `cnotes versions create` changes a note's body (the `# h1` is its title); fetch the current body first and edit that, since people edit between sessions. `notes update` changes metadata only (type, tags, pin, archive).
|
|
67
67
|
7. **Inside a draft, propose and stop.** Shared notes change through `cnotes draft propose`; the hand-over is `cnotes draft ask`, then stop. Never merge or approve work you built. Detail: [references/drafts.md](references/drafts.md).
|
|
68
68
|
8. **Ask before spending something the user cannot get back:** `cnotes upgrade` uses the workspace's one-time trial, `cnotes feedback submit` files a report in their name, and `cnotes types dimension backfill --yes` spends one model call per existing note.
|
|
69
|
-
9. **Timeline headlines start with a past-tense verb and name the object** ("Shipped the public comic canvas", never "V1"). The server rejects milestone headlines that do not.
|
|
69
|
+
9. **Timeline headlines start with a past-tense verb and name the object** ("Shipped the public comic canvas", never "V1"). The server rejects milestone headlines that do not. A milestone body, the lines after the headline, is at most 280 characters: a longer one is saved as written with a warning, and no command edits it afterwards.
|
|
70
70
|
10. **Canvas names use the interpunct** `·` as a separator, never a dash: "Path to Revenue · Funding strategy".
|
|
71
71
|
|
|
72
72
|
### Decisions
|
|
@@ -100,7 +100,7 @@ Every command follows one contract.
|
|
|
100
100
|
| `7` | permission denied | `cnotes workspace current` |
|
|
101
101
|
| `8` | subscription required (writes on a free workspace) | read [references/billing.md](references/billing.md); offer `cnotes upgrade`, never run it unasked |
|
|
102
102
|
|
|
103
|
-
- **Reads return data; writes return an envelope.** `notes list/get/search` emit a bare array (one note is `.[0]`). `notes create` returns `{ results, relationshipsCreated, rubrics?, hints? }`; read new notes from `results`. `canvas create` returns `{ canvas: { id, displayId, url } }` with `id`, `displayId` and `url` mirrored at the top level.
|
|
103
|
+
- **Reads return data; writes return an envelope.** `notes list/get/search` emit a bare array (one note is `.[0]`). `notes create` returns `{ results, relationshipsCreated, rubrics?, hints? }`; read new notes from `results`. `canvas create` returns `{ canvas: { id, displayId, url } }` with `id`, `displayId` and `url` mirrored at the top level (after `create --spec` the `displayId` can still be null; `canvas get` has it). A note body comes back under `markdown` from `canvas read` and under `content` from `notes get --json`; read the key for the command you ran.
|
|
104
104
|
- **Errors go to stderr** as `{ error, code, exitCode, hint }`. The `hint` names the command that fixes it; read it before retrying.
|
|
105
105
|
- **`notes list` says on stderr which source answered and whether the list may be short.** With the local copy on, type, tag, text, pin and no-canvas lists come from it, count every note, and include your own writes; read `Showing N of M` as the real count. A line saying older matches may be missing means exactly that: narrow the list or relay the hint, never report it as the whole. Counting or grouping is `cnotes query` ([references/more-commands.md](references/more-commands.md)).
|
|
106
106
|
- **`cnotes auth status` and `cnotes whoami` exit 2 when no token is stored.** That means signed out. Exit 0 means a token is present. Do not treat exit 2 from status as a broken install.
|
|
@@ -6,6 +6,7 @@ Read this before building or changing a canvas. It decides which element holds w
|
|
|
6
6
|
|
|
7
7
|
- [Decision table](#decision-table)
|
|
8
8
|
- [Hard rules (each one has burned a real canvas)](#hard-rules-each-one-has-burned-a-real-canvas), including colour roles (rule 6), the hero and banner (rule 7), quotes (rule 8) and the size ladder (rule 9)
|
|
9
|
+
- [Board shapes](#board-shapes)
|
|
9
10
|
- [Three completion tests](#three-completion-tests)
|
|
10
11
|
- [Worked example](#worked-example)
|
|
11
12
|
- [Current platform limitations](#current-platform-limitations-re-check-before-relying-on-these)
|
|
@@ -34,7 +35,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
34
35
|
| You have | Use | NOT |
|
|
35
36
|
|---|---|---|
|
|
36
37
|
| A claim, fact, decision, risk, question, verdict, score, spec, or example worth keeping | A typed **note** (right supertag, `# h1` title) | a text element |
|
|
37
|
-
| N distinct things (questions, risks, options, findings) | **N notes**
|
|
38
|
+
| N distinct things (questions, risks, options, findings) | **N notes** in a **section** frame named for the set (`place` with a section container); a list container only when the set must read as one card | bullets in one text element, or prose in a list `--description` |
|
|
38
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 |
|
|
39
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 |
|
|
40
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 |
|
|
@@ -52,8 +53,8 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
52
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.)
|
|
53
54
|
2. **Name notes and canvases from text elements with relationship mentions, never bare ids.** `[NOTE-12: Title](relationship:references)` inside a text element renders as a mention chip carrying the target's real title (a list description renders the same mention as a labelled span). "See RISK-64" as plain prose is a defect: the reader gets no title and no link. Pick the relationship type from the verb the sentence uses and reuse the workspace vocabulary. The chip is presentational: it creates no graph relationship, is not searchable, and is not versioned, so a relationship that must survive off the canvas still lives as a mention in a NOTE body (rule 5).
|
|
54
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.
|
|
55
|
-
4. **Detail's HOME is the note body;
|
|
56
|
-
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.
|
|
56
|
+
4. **Detail's HOME is the note body; a note's face on the board is a quote of it, never a restatement.** Write the full content INTO each note's body first. When the board must show a note's claim at the glance, quote it: `add-quote --note <id> --text "<its claim sentence>" --size medium` pins the note's own sentence to its version and draws it as a Quote card (rule 8), so there is one copy and nothing drifts. Write the claim sentence first; the words must be in the saved version, and the same words on another board reuse the same QUOTE-<n>. A text card that restates a note is the anti-pattern: `update-text` edits it with no history, so after one revision only the note tells the truth (47 of 262 text cards on 44 recent boards had grown past the cap this way), and one teaching canvas carried its entire method in text cards over one-line stub notes, so an agent reading it back got seven stubs and no method.
|
|
57
|
+
5. **Edges can connect any node type** (note, text, list, canvas-link, section — plus legacy heading nodes), as long as both endpoints are on the same canvas; labels are short verb phrases ("fixes", "grounds", "depends on"). A section endpoint is addressed by its SECTION-n handle (or the frame's node id), and the edge anchors to the frame's border — use one when the relationship's endpoint is genuinely the whole region ("this cluster feeds that stage"), not as a shortcut for a note-to-note link. `canvas read` returns edges, so they are no longer invisible on read-back — but an edge is still CANVAS-LOCAL: it is not part of the note graph, never appears in `rel list`, is not searchable, and means nothing once you leave this canvas. So any relationship **between notes** that must survive off the canvas has to ALSO exist as a mention inside the note bodies. The mention is the copy that travels; the edge is the copy you can see. Edges to text/list/canvas-link nodes are diagram decoration (pointing a label at a cluster, wiring a portal) and carry no note-to-note relationship to mirror. **Two line styles make two layers.** On a board with more than about eight arrows, give `--line-style dashed` to the ones that say what a card rests on (grounded in, builds on, extends, refines, references) and keep solid for the chain the reader follows (derived from, applies, selects, implements, realizes) and for the Questions that gate it, then say so in a small untinted legend text card beside the banner. One style of arrow everywhere reads as one flat tangle. `canvas update-edge <canvasId> --edge <id> --line-style dashed` restyles an arrow that exists (ids from `canvas get --json`, `edges[].id`).
|
|
57
58
|
6. **Color is a ROLE or it is absent.** Default neutral — a text element has NO background unless you pass `--color`, and that is usually the right look (an untinted heading is just type on the canvas). When a tint does mean something, pick from the six role hexes and reuse ONE role per meaning, 2–4 roles per canvas max:
|
|
58
59
|
|
|
59
60
|
| Role | Hex | Use for |
|
|
@@ -89,7 +90,7 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
89
90
|
Cut: frame counts ("in five moments"), method notes ("fat-marker sketches", "coral marks…"), and recaps of what the strip below says.
|
|
90
91
|
Wayfind and Attention canvases add their own lines after these four, never instead.
|
|
91
92
|
|
|
92
|
-
8. **Quotes carry a board's best lines.** A board of same-shaped cards hides its point. After the notes are placed, find the 2–4 sentences the board rests on (a customer's own words, the reason inside a Decision, the number that changes the story) and `add-quote` each from its source note. Each lands beside its source as a Quote note (QUOTE-<n>) that other boards can reuse.
|
|
93
|
+
8. **Quotes carry a board's best lines.** A board of same-shaped cards hides its point. After the notes are placed, find the 2–4 sentences the board rests on (a customer's own words, the reason inside a Decision, the number that changes the story) and `add-quote` each from its source note. Each lands beside its source as a Quote note (QUOTE-<n>) that other boards can reuse. On a board of section frames it lands beside the source but outside the frame (`add-quote` has no `--section`): after adding the quotes, pull them in with `arrange --section SECTION-<n> --spec` using `existing` leaves for the frame's cards and the quotes and a numeric `gap` ([canvas-layout.md](canvas-layout.md)); `place --into` refuses a card that is already on the board.
|
|
93
94
|
- **Size is hierarchy (rule 9).** One `large` quote per board: the line everything rests on. `medium` for one to three supporting lines. `small` for evidence beside the card it backs. Never two large quotes; the hero is the only other large card.
|
|
94
95
|
- **Style follows the job.** `pull` for a line that stands alone. `highlight` when the words need their sentence around them. `evidence` for data or an excerpt backing a claim next to it.
|
|
95
96
|
- **Colour follows rule 6, by meaning.** `insight` for the hero line, `evidence` for customer words and data, `warning` for the caveat that could sink the plan, `people` for a stakeholder speaking. Most quotes stay untinted; tint two at most.
|
|
@@ -106,13 +107,39 @@ A canvas holds two tiers of content, and the difference is load-bearing:
|
|
|
106
107
|
|
|
107
108
|
Pick the size by reach: a band heading at `large` competes with the hero, and an annotation at `medium` outshouts the note it backs. Colour (rule 6) adds the second axis: size says how far a line reaches, the role tint says what kind of line it is.
|
|
108
109
|
|
|
110
|
+
Reach is a zoom. Words are drawn once their type is about 6 screen px, and real boards fit the screen at 14% to 29%, so each size reads from a known zoom:
|
|
111
|
+
|
|
112
|
+
| Words | Type | Read from |
|
|
113
|
+
|---|---|---|
|
|
114
|
+
| `large` heading | 128px | 5% |
|
|
115
|
+
| `medium` heading, `large` pull quote | 56px, 46px | 11% to 13% |
|
|
116
|
+
| `medium` pull quote | 32px | 19% |
|
|
117
|
+
| `medium` body, `small` heading | 24px, 30px | 20% to 25% |
|
|
118
|
+
| `small` body, `small` quote | 14px to 22px | 27% to 43% |
|
|
119
|
+
| a note card's title | 12px | 30% on WebGL (not drawn below it), 50% on React Flow |
|
|
120
|
+
|
|
121
|
+
So at fit zoom a board shows its hero, its medium headings and quotes and its section names, and every note card is a block with no words. Give the 3 to 5 load-bearing notes a `medium` face (rule 4) or the board has no glance layer.
|
|
122
|
+
|
|
123
|
+
## Board shapes
|
|
124
|
+
|
|
125
|
+
Pick the shape before placing anything; it sets the ratio of notes, faces and text cards, and the completion tests read differently for each.
|
|
126
|
+
|
|
127
|
+
| Shape | When | Notes | Faces (quotes, rule 4) | Text cards |
|
|
128
|
+
|---|---|---|---|---|
|
|
129
|
+
| Argument | a decision, a frame, a shaping, a review | every claim | 3 to 5 at `medium`, at most one `large` | hero, banner, band headings, a legend |
|
|
130
|
+
| Poster | a walkthrough, an explainer, a demo script | the Workflow or Guide plus a note per step | every step quoted at `small`, in reading order | hero, banner, one label per frame |
|
|
131
|
+
| Working | a live session with a person | the ones promoted before the session ends | none yet | as many stickies as the session needs, each promoted to a note or deleted before the run ends |
|
|
132
|
+
| Map | a home, a hub, a portal row | few | none | hero, banner, one label per region |
|
|
133
|
+
|
|
134
|
+
The walkthrough boards that carry 1 note under 11 text cards are Posters that skipped the step notes; a dogfood board with 46 text cards is a Working board that never promoted. Promotion today is two commands in one run: `notes create` from the card's markdown, then `bulk-remove` the card.
|
|
135
|
+
|
|
109
136
|
## Three completion tests
|
|
110
137
|
|
|
111
138
|
Run all three before ending your operation:
|
|
112
139
|
|
|
113
140
|
**The read-back test (for the next agent):** run `cnotes canvas read` and check that every claim is present as a NOTE section with a display ID, and the reasoning can be followed through note bodies and their mentions. Content that appears only as anonymous text-element prose fails the test even when visible — nothing can cite, search, or version it. List members read back as ID+title links without bodies; that is fine — the IDs are citable and batch-fetchable via `cnotes notes get`. As a heuristic for working canvases, at least ~4 notes per text element (zero text elements is fine); fewer means text elements are carrying content. Explainer canvases using the projection pattern (rule 4) are exempt from the ratio, not from the test.
|
|
114
141
|
|
|
115
|
-
**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)
|
|
142
|
+
**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.
|
|
116
143
|
|
|
117
144
|
**The cold-reader test.** Cover everything but the hero and the banner.
|
|
118
145
|
Can a stranger say what happened, what the board produces, and who acts?
|
|
@@ -47,7 +47,7 @@ A layout document is `{ root, edges?, origin?, placement? }` where `root` is one
|
|
|
47
47
|
`direction` is exactly one of `"right"` | `"left"` | `"above"` | `"below"` — NOT `top`/`bottom`/`up`/`down`.
|
|
48
48
|
- **`item`** — a leaf node (no x/y!). One per visible thing on the canvas.
|
|
49
49
|
|
|
50
|
-
`gap` accepts a preset (`"tight"`, `"medium"`, `"spacious"`) or a raw pixel number. Defaults to `"medium"`.
|
|
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
|
|
|
@@ -119,6 +119,8 @@ Full DSL alternative: a layout doc whose leaves are
|
|
|
119
119
|
`{ "kind":"item", "type":"existing", "nodeId":"…", "nodeType":"note"|"text"|"richtext"|"list"|"canvas" }`
|
|
120
120
|
(plus an optional section container + `--section` / `targetSectionId`).
|
|
121
121
|
|
|
122
|
+
This is also how a card that `add-quote` or `add-node` dropped outside a frame gets into it: `place --into` refuses a card that is already on the board (`placeLayout cannot rearrange existing nodes`), so wrap the frame's cards and the newcomer in a section container (`{"kind":"section","name":"<frame name>","child":…}`) with `existing` leaves (a portal is nodeType `canvas`), `--dry-run` to see the positions and `sectionUpdate`, then run it; the frame resizes and the bands below ripple down.
|
|
123
|
+
|
|
122
124
|
## Arranged sections
|
|
123
125
|
|
|
124
126
|
A section can lay out its own cards. Every section `place` creates from a
|
|
@@ -256,7 +256,7 @@ cnotes canvas milestone show <milestoneId>
|
|
|
256
256
|
cnotes canvas milestone rename <milestoneId> -m "Shipped the public comic canvas" # new headline, body kept
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
Agents creating or editing canvas milestones (`cnotes canvas milestone create` / `rename`, the REST routes, or the web save dialog) must use a headline that starts with a past-tense verb and names a specific object, e.g. `Shipped the public comic canvas`, never `V1`. The rule is enforced: a milestone create or rename whose headline is not verb-first, or names no object, is rejected (exit code 3) and nothing is saved. Read the error, rewrite the first line, and retry. To fix a milestone that is already saved, run `cnotes canvas milestone rename <milestoneId> -m "<headline>"`; it replaces the headline and keeps the body.
|
|
259
|
+
Agents creating or editing canvas milestones (`cnotes canvas milestone create` / `rename`, the REST routes, or the web save dialog) must use a headline that starts with a past-tense verb and names a specific object, e.g. `Shipped the public comic canvas`, never `V1`. The rule is enforced: a milestone create or rename whose headline is not verb-first, or names no object, is rejected (exit code 3) and nothing is saved. Read the error, rewrite the first line, and retry. To fix a milestone that is already saved, run `cnotes canvas milestone rename <milestoneId> -m "<headline>"`; it replaces the headline and keeps the body. The body is capped at 280 characters: a longer one is saved as written with a `body_too_long` warning, and no command edits a body afterwards, so write it short the first time.
|
|
260
260
|
|
|
261
261
|
- Good: `Shipped the public comic canvas`, `Narrowed pricing to per-seat`, `Dropped the onboarding survey`
|
|
262
262
|
- Rejected: `V1`, `Launch prep`, `The board after review`, `Shipped`
|