@creator-notes/cnotes 0.107.3 → 0.107.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -168,6 +168,34 @@ Edges live at the top level alongside `root`. Each endpoint is resolved in this
|
|
|
168
168
|
|
|
169
169
|
## Examples
|
|
170
170
|
|
|
171
|
+
**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).
|
|
172
|
+
```json
|
|
173
|
+
{
|
|
174
|
+
"root": {
|
|
175
|
+
"kind": "stack", "axis": "vertical", "gap": 100, "align": "start",
|
|
176
|
+
"items": [
|
|
177
|
+
{ "kind": "stack", "axis": "vertical", "gap": 20, "align": "start", "items": [
|
|
178
|
+
{ "kind": "item", "type": "richtext", "content": "# The Problem" },
|
|
179
|
+
{ "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
|
|
180
|
+
{ "kind": "item", "type": "note", "noteId": "PROBLEM-25" }
|
|
181
|
+
] }
|
|
182
|
+
] },
|
|
183
|
+
{ "kind": "stack", "axis": "vertical", "gap": 20, "align": "start", "items": [
|
|
184
|
+
{ "kind": "item", "type": "richtext", "content": "# The Reframe" },
|
|
185
|
+
{ "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
|
|
186
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-125" },
|
|
187
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-126" },
|
|
188
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-127" }
|
|
189
|
+
] }
|
|
190
|
+
] }
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
- One band per step, and one row per band. If a row would go past five cards, the step is really two steps, so split it into two bands.
|
|
196
|
+
- Bands are freeform on purpose. Do not wrap them in a section container: a section re-arranges itself, and a bands board is placed once and then edited by hand.
|
|
197
|
+
- To add a band to an existing bands board, `place` one band with the default placement; it lands below what is there. To reflow the cards already on the board into bands, send the same document to `canvas arrange --spec` with `"type": "existing"` leaves (older heading cards are `"nodeType": "text"`), an `origin` at the board's top-left and `"placement": "exact"`. Run it with `--dry-run` first and check that the `bbox` bottom stays above anything below the bands, such as a section.
|
|
198
|
+
|
|
171
199
|
**Fan-out under an orientation banner** (the failure case the agent kept getting wrong):
|
|
172
200
|
```json
|
|
173
201
|
{
|
|
@@ -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.
|
|
100
|
+
**Match the type to your own verb.** If your sentence says "blocks", the mention must say `relationship:blocks` — a verb narrated in prose around a `references` chip (or an untyped `[[NOTE-12]]`) is an edge the graph can't see: backlinks and `rel list` will file it as a plain citation. `notes create` and `versions create` detect this and return a `mentionWarnings` array (--json) plus a stderr note with the exact retyped mention; treat each warning as a retype instruction unless the flagged word genuinely isn't asserting a relationship. Writing the verb right before its chip is fine: "This reopens [[reopens::DECISION-6KW]]" renders as "This reopens → DECISION-6KW Title", because a chip drops its own label when the words just before it say the same thing (whitespace only between them, so not "reopens: …").
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
## Dependencies (`cnotes deps`)
|