@creator-notes/cnotes 0.98.0 → 0.100.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/README.md +15 -8
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +59 -32
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/canvas.d.ts.map +1 -1
- package/dist/commands/canvas.js +54 -7
- package/dist/commands/canvas.js.map +1 -1
- package/dist/commands/goals.d.ts +3 -0
- package/dist/commands/goals.d.ts.map +1 -0
- package/dist/commands/goals.js +152 -0
- package/dist/commands/goals.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +44 -13
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/skills.js +1 -1
- package/dist/commands/skills.js.map +1 -1
- package/dist/lib/canvas-goal.d.ts +59 -0
- package/dist/lib/canvas-goal.d.ts.map +1 -0
- package/dist/lib/canvas-goal.js +113 -0
- package/dist/lib/canvas-goal.js.map +1 -0
- package/dist/lib/goal-tree.d.ts +71 -0
- package/dist/lib/goal-tree.d.ts.map +1 -0
- package/dist/lib/goal-tree.js +141 -0
- package/dist/lib/goal-tree.js.map +1 -0
- package/dist/lib/install-skill.d.ts.map +1 -1
- package/dist/lib/install-skill.js +7 -0
- package/dist/lib/install-skill.js.map +1 -1
- package/dist/mcp-server.js +7 -6
- package/dist/mcp-server.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/package.json +1 -1
- package/skills/cnotes/SKILL.md +12 -5
- package/skills/cnotes/references/canvas.md +17 -4
- package/skills/cnotes/references/more-commands.md +11 -2
- package/skills/goal-tree/SKILL.md +146 -0
package/dist/program.js
CHANGED
|
@@ -13,6 +13,7 @@ import { registerVersionsCommands } from "./commands/versions.js";
|
|
|
13
13
|
import { registerCanvasCommands } from "./commands/canvas.js";
|
|
14
14
|
import { registerRelationshipsCommands } from "./commands/relationships.js";
|
|
15
15
|
import { registerDepsCommands } from "./commands/deps.js";
|
|
16
|
+
import { registerGoalsCommands } from "./commands/goals.js";
|
|
16
17
|
import { registerSearchCommands } from "./commands/search.js";
|
|
17
18
|
import { registerTimelineCommands } from "./commands/timeline.js";
|
|
18
19
|
import { registerReviewCommands } from "./commands/review.js";
|
|
@@ -111,6 +112,7 @@ Env vars:
|
|
|
111
112
|
registerCanvasCommands(program);
|
|
112
113
|
registerRelationshipsCommands(program);
|
|
113
114
|
registerDepsCommands(program);
|
|
115
|
+
registerGoalsCommands(program);
|
|
114
116
|
registerSearchCommands(program);
|
|
115
117
|
registerTimelineCommands(program);
|
|
116
118
|
registerReviewCommands(program);
|
package/dist/program.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.js","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,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AA0B,CAAC,OAAO,CAAC,CAAC;IACpC,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACjC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC9B,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAClC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAChC,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAEnC,2EAA2E;IAC3E,4EAA4E;IAC5E,uEAAuE;IACvE,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAEnC,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE;QAClB,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC5B,OAAO,CAAC,KAAK,CAAC,2BAA2B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE;gBAC3D,IAAI,EAAE,0BAA0B;gBAChC,QAAQ,EAAE,CAAC;aACZ,CAAC,CAAC;QACL,CAAC;QACD,MAAM,MAAM,GAAG,UAAU,EAAE,CAAC;QAC5B,MAAM,EAAE,GAAG,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;QACzD,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;QAC1D,CAAC;QACD,OAAO,CAAC,IAAI,EAAE,CAAC;IACjB,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
package/skills/cnotes/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cnotes
|
|
3
|
-
description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, attention-planner and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, attention triage and flow mockups.
|
|
3
|
+
description: Reads and writes a CreatorNotes workspace through the `cnotes` CLI - typed, versioned notes, canvases, search, relationships, drafts, reviews and comments, focus plans and the timeline. Use when the user mentions CreatorNotes or cnotes, or wants to create, find, update, summarize, organize or lay out notes, canvases or transcripts in a CreatorNotes workspace. The wayfind, goal-tree, attention-planner and fat-marker-flows skills run their own workflows on top of this one; load them for decision maps, goal trees, attention triage and flow mockups.
|
|
4
4
|
metadata:
|
|
5
5
|
short-description: Work with CreatorNotes via the cnotes CLI
|
|
6
6
|
---
|
|
@@ -60,7 +60,7 @@ Every command follows one contract.
|
|
|
60
60
|
| Exit | Meaning | Next move |
|
|
61
61
|
|---|---|---|
|
|
62
62
|
| `0` | success | |
|
|
63
|
-
| `2` | auth required | `cnotes auth status
|
|
63
|
+
| `2` | auth required | `cnotes auth status` (it exits 2 when signed out), then `cnotes auth login` |
|
|
64
64
|
| `3` | validation | fix the input the error names (`details.items` lists each bad batch item) |
|
|
65
65
|
| `4` | not found | the `hint` names the list command to run |
|
|
66
66
|
| `5` | conflict | re-read and retry; an open run blocks `operations begin` |
|
|
@@ -70,6 +70,7 @@ Every command follows one contract.
|
|
|
70
70
|
|
|
71
71
|
- **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.
|
|
72
72
|
- **Errors go to stderr** as `{ error, code, exitCode, hint }`. The `hint` names the command that fixes it; read it before retrying.
|
|
73
|
+
- **`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.
|
|
73
74
|
- **No `jq` needed.** `cnotes notes list --type Decision -q`, `cnotes notes create --notes '[...]' -q --fields key,displayId`, `CANVAS=$(cnotes canvas create "<name>" -q)`. Use a JSON parser only for nested values these flags cannot reach.
|
|
74
75
|
|
|
75
76
|
Display IDs (`DECISION-12`, `CANVAS-406`, `SECTION-7`) work everywhere a command takes an id; Convex ids work too.
|
|
@@ -77,11 +78,17 @@ Display IDs (`DECISION-12`, `CANVAS-406`, `SECTION-7`) work everywhere a command
|
|
|
77
78
|
## Getting started
|
|
78
79
|
|
|
79
80
|
```bash
|
|
81
|
+
# The npm package is @creator-notes/cnotes. Do not install the unscoped name cnotes.
|
|
80
82
|
npm install -g @creator-notes/cnotes
|
|
81
|
-
cnotes
|
|
82
|
-
|
|
83
|
-
cnotes
|
|
83
|
+
cnotes init
|
|
84
|
+
# No browser: init exits 2, prints a sign-in URL, and prints
|
|
85
|
+
# cnotes auth login --token-stdin <<'EOF'
|
|
86
|
+
# cn_...
|
|
87
|
+
# EOF
|
|
88
|
+
cnotes auth status # exit 0 signed in, exit 2 signed out
|
|
89
|
+
cnotes whoami # same as auth status
|
|
84
90
|
cnotes workspace current # the active workspace and its relationship types
|
|
91
|
+
cnotes brief "what this project is about"
|
|
85
92
|
```
|
|
86
93
|
|
|
87
94
|
## Surfacing the canvas link
|
|
@@ -63,11 +63,24 @@ cnotes canvas digest <canvasId>
|
|
|
63
63
|
# NAMING: separate parts with the interpunct · (U+00B7, MIDDLE DOT, not a bullet •),
|
|
64
64
|
# never an em or en dash: "Path to Revenue · Funding strategy".
|
|
65
65
|
cnotes canvas create "<name>" --goal "<text>" [--audience "<text>"] # prints Ref (CANVAS-N) + Link; end your reply with them
|
|
66
|
-
# --goal is not optional in practice
|
|
67
|
-
#
|
|
68
|
-
#
|
|
69
|
-
#
|
|
66
|
+
# --goal is not optional in practice. Write it FIRST, for a reader, in two short sentences:
|
|
67
|
+
# <Decide | Rank | Agree | Show | Plan | Record> <the object>. Done when <what is visibly true on the board>.
|
|
68
|
+
# e.g. "Decide which phone-section bugs ship in the next PR. Done when every card is in a PR or marked won't fix."
|
|
69
|
+
# The first sentence is the result the board produces; the second is the verifier, so a reader (or
|
|
70
|
+
# the digest) can tell finished from not. The server REJECTS a goal with no "Done when" sentence or
|
|
71
|
+
# over 60 words. Leave out: the list of sections (that is banner line 4), the method ("research
|
|
72
|
+
# Tufte"), dates (banner line 1) and the audience (--audience). "Track X" / "Explore X" are briefs
|
|
73
|
+
# to yourself, not results; give them an exit ("Decide which X ship next. Done when ...").
|
|
74
|
+
# `canvas read` prints the goal under the title, so re-read it before adding to a board and keep
|
|
75
|
+
# the board inside it; fix a stale goal with `canvas update --goal`. The banner restates the goal
|
|
76
|
+
# in reader's words (canvas-elements.md, hard rule 7).
|
|
70
77
|
cnotes canvas update <canvasId> [--title "<text>"] [--goal "<text>"] [--audience "<text>"]
|
|
78
|
+
# Is the board done? The judge's last reading of whether the goal's "Done when" is true of
|
|
79
|
+
# the board: met / partly met / not met, the deciding cards and one sentence why. Derived,
|
|
80
|
+
# never a status anyone sets. --refresh judges now (one model call, editors only; refused
|
|
81
|
+
# when the deployment has scoring off). Goal trees (`cnotes goals tree`, goal-tree skill)
|
|
82
|
+
# are built from these.
|
|
83
|
+
cnotes canvas done <canvasId> [--refresh]
|
|
71
84
|
cnotes canvas delete <canvasId>
|
|
72
85
|
cnotes canvas set-as-home <canvasId>
|
|
73
86
|
cnotes canvas archive <canvasId>
|
|
@@ -70,10 +70,19 @@ and open the saved file.
|
|
|
70
70
|
|
|
71
71
|
## Init & MCP (`cnotes init` / `cnotes mcp`)
|
|
72
72
|
```bash
|
|
73
|
-
#
|
|
73
|
+
# Sign in, pick a workspace, install the agent skill.
|
|
74
|
+
# On a terminal this walks through the questions. With no terminal, or with
|
|
75
|
+
# --non-interactive, it does not open a browser: it prints a sign-in URL and
|
|
76
|
+
# exits 2 until you run the heredoc from `cnotes init --help`.
|
|
74
77
|
cnotes init
|
|
78
|
+
cnotes init --help
|
|
79
|
+
cnotes init --non-interactive
|
|
75
80
|
|
|
76
|
-
#
|
|
81
|
+
# Who is signed in. Exit 0 when a token is stored, exit 2 when signed out.
|
|
82
|
+
cnotes auth status
|
|
83
|
+
cnotes whoami
|
|
84
|
+
|
|
85
|
+
# Configure MCP server for AI tools (also handled by cnotes init on a terminal)
|
|
77
86
|
cnotes mcp setup # Claude Desktop
|
|
78
87
|
cnotes mcp setup-codex # OpenAI Codex
|
|
79
88
|
```
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goal-tree
|
|
3
|
+
description: Break an outcome into a tree of Goal notes on CreatorNotes, each finished when its "Done when" sentence is true, then work it one frontier goal at a time with no status fields. Use when the user invokes /goal-tree, asks for a goal tree, a dependency tree of goals or outcomes, "what is done and what is next" across several boards, wants to break a big goal into sub-goals, or points you at an existing goal tree to continue ("work the tree", "what can start now").
|
|
4
|
+
metadata:
|
|
5
|
+
short-description: Chart and work goal trees whose state is derived from "Done when"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Goal tree (dependencies of goals, done without statuses)
|
|
9
|
+
|
|
10
|
+
Every CreatorNotes canvas goal ends with a "Done when" sentence. That makes a
|
|
11
|
+
goal checkable, and a checkable goal can depend on other checkable goals. This
|
|
12
|
+
skill charts an outcome as a **tree of Goal notes** and works it one goal at a
|
|
13
|
+
time. Nobody sets a status. A leaf is done when its board shows its Done when
|
|
14
|
+
is true; a parent is done when every child is. `cnotes goals tree` derives all
|
|
15
|
+
of it fresh on every run.
|
|
16
|
+
|
|
17
|
+
Everything runs through the `cnotes` CLI. The **cnotes skill** documents every
|
|
18
|
+
command used here; read it rather than guessing. Use **wayfind** instead when
|
|
19
|
+
the way to the outcome is still foggy and the next step is a decision, not a
|
|
20
|
+
deliverable.
|
|
21
|
+
|
|
22
|
+
## The model
|
|
23
|
+
|
|
24
|
+
| Concept | CreatorNotes shape |
|
|
25
|
+
|---|---|
|
|
26
|
+
| Goal | A **Goal** note. Its body opens with two sentences: `<result>. Done when <what is visibly true>.` |
|
|
27
|
+
| Child | A `depends-on` mention from the parent's body: `[GOAL-4: Title](relationship:depends-on)` |
|
|
28
|
+
| Parent's done | Exactly `Done when every child goal is met.` A parent makes no claim of its own |
|
|
29
|
+
| Board | The canvas where a leaf's work happens. The Goal note sits on it as the hero card, and the canvas goal is the **same two sentences**. That match is how the tree finds the board |
|
|
30
|
+
| Leaf's done | The board's done score (`cnotes canvas done`): the judge's reading of whether the Done when is true, 0 not met, 1 partly, 2 met. Or a `met-by` link to the evidence: `[PROOF-7: Title](relationship:met-by)` |
|
|
31
|
+
| Frontier | Goals not met whose children are all met: what can start now. Computed by `cnotes goals tree`, never stored |
|
|
32
|
+
| Claim | An open canvas comment on the goal's card in the tree canvas: `CLAIM <ISO time> — <what this session is doing>` |
|
|
33
|
+
| Tree canvas | One canvas named `<Outcome> · Goal Tree` holding every Goal note: root on the right, leaves on the left |
|
|
34
|
+
|
|
35
|
+
## Write a Done when the judge can check
|
|
36
|
+
|
|
37
|
+
The judge reads an outline of the board: its sections, then each card's type,
|
|
38
|
+
title and summary. Measured on 15 real boards (14 Oct 2026), it agreed with a
|
|
39
|
+
careful human reader on 13. It failed in two ways, and both are writing faults:
|
|
40
|
+
|
|
41
|
+
- **Name the card that proves it.** "Done when the call is recorded" failed
|
|
42
|
+
twice because no card is called "the call". "Done when a Decision note records
|
|
43
|
+
whether we pursue it" passes. Say the type: a Decision note, a Spec note, a
|
|
44
|
+
Slice per step, a card in the Fixed section.
|
|
45
|
+
- **Stay on the board.** "Done when a tagged click shows in Amplitude" cannot be
|
|
46
|
+
judged from the board. Either bring the fact onto the board ("Done when an
|
|
47
|
+
Observation note records a tagged click from Amplitude") or confirm it with a
|
|
48
|
+
`met-by` link once a person has checked.
|
|
49
|
+
- **One condition per clause.** Join parts with "and"; every part must hold for
|
|
50
|
+
"met". Three parts is plenty. A list of what the board holds belongs in its
|
|
51
|
+
orientation banner, never in the goal.
|
|
52
|
+
|
|
53
|
+
A good leaf goal: `Decide which phone-section bugs ship in the next PR. Done when every bug card sits in the PR section or the Won't fix section.`
|
|
54
|
+
|
|
55
|
+
## Rules every session follows
|
|
56
|
+
|
|
57
|
+
1. **Never add a status.** No `done` tag, no "Status: complete" line, no
|
|
58
|
+
editing a parent to say it is met. If the tree says a goal is not met and the
|
|
59
|
+
person says it is, fix the board or the Done when, or record the evidence and
|
|
60
|
+
link it `met-by`. The tree must stay derivable.
|
|
61
|
+
2. **Parents only aggregate.** A parent's state comes from its children, in
|
|
62
|
+
code. If a parent needs a condition of its own, that condition is another
|
|
63
|
+
child goal.
|
|
64
|
+
3. **Rubrics before writing.** `cnotes types show Goal` before authoring a goal;
|
|
65
|
+
read the cnotes skill's humanizer reference before any prose.
|
|
66
|
+
4. **Refer by name.** In narration and prose a goal is its title; mentions carry
|
|
67
|
+
both: `[GOAL-12: Title](relationship:depends-on)`.
|
|
68
|
+
5. **Bracket writes in an operation**: `cnotes operations begin --prompt "<tree name> · <goal title>"`
|
|
69
|
+
before the first write, `cnotes operations end` after the last.
|
|
70
|
+
6. **One frontier goal per session**, unless the user names more.
|
|
71
|
+
|
|
72
|
+
## Chart the tree (first invocation)
|
|
73
|
+
|
|
74
|
+
1. **Make sure the Goal type exists.** `cnotes types show Goal`. If it does not,
|
|
75
|
+
create it and give it the rubric below (setting a rubric needs a workspace
|
|
76
|
+
admin; if the call is refused, ask the user to run it):
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
cnotes types create Goal --display-name "Goal" --description "An outcome with a Done when sentence; parents depend on child goals" --color "#22C55E"
|
|
80
|
+
cnotes types update Goal --validation-prompt "A Goal opens with two sentences: a result verb and its object, then 'Done when' plus what is visibly true on its board, naming the card that proves it (a Decision note, a Spec note, a card in a named section). A goal with child goals says exactly 'Done when every child goal is met.' and names each child with a depends-on mention. No status lines, no dates, no list of what the board holds." --enable-validation
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
2. **Settle the root.** Grill one question at a time until the outcome fits the
|
|
84
|
+
two-sentence shape. The root is usually a parent: its Done when is
|
|
85
|
+
`Done when every child goal is met.`
|
|
86
|
+
3. **Break it down, breadth first.** Each child is either a leaf with one board
|
|
87
|
+
where its work happens, or a parent with its own children. Stop splitting
|
|
88
|
+
when a goal fits one board and one Done when a person could check in a minute.
|
|
89
|
+
Reuse existing boards: a canvas whose goal already has a Done when is a leaf
|
|
90
|
+
waiting to be adopted.
|
|
91
|
+
4. **Create the goals** in one batch, children cross-linked with `@key`
|
|
92
|
+
placeholders, so every `depends-on` resolves in one transaction:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
cnotes notes create --notes ./goals.json
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
5. **Give every leaf its board.** For an existing canvas, put the Goal note on it
|
|
99
|
+
(`cnotes canvas place`) and set the canvas goal to the identical two sentences:
|
|
100
|
+
`cnotes canvas update CANVAS-12 --goal "<the leaf's two sentences>"`. For a new
|
|
101
|
+
board, `cnotes canvas create "<Board name>" --goal "<the same two sentences>"`.
|
|
102
|
+
6. **Lay out the tree canvas**: `cnotes canvas create "<Outcome> · Goal Tree" --goal "<the root's two sentences>"`,
|
|
103
|
+
then one `cnotes canvas place` spec with one column per depth, root on the
|
|
104
|
+
right, each Goal note in its column, and "depends on" edges from parent to
|
|
105
|
+
child. Banner first, in the cnotes skill's banner order: what happened, what
|
|
106
|
+
the tree decides, who works it, how to read it (right to left).
|
|
107
|
+
7. **Read it back.** `cnotes goals tree <root>` must list every goal with no
|
|
108
|
+
"To fix" lines you can repair. Then close the run and give the user the tree
|
|
109
|
+
canvas link.
|
|
110
|
+
|
|
111
|
+
## Work the tree (every later invocation)
|
|
112
|
+
|
|
113
|
+
1. **Load**: `cnotes goals tree <root>`. It prints each goal's state with the
|
|
114
|
+
reason, then **Can start now**, then **To fix**.
|
|
115
|
+
2. **Repair before working.** Each "To fix" line names its own fix: a missing
|
|
116
|
+
Done when, a parent making its own claim, a leaf with no board, a loop.
|
|
117
|
+
3. **Choose and claim** the first frontier goal in the order printed, unless the
|
|
118
|
+
user names one. Check its card on the tree canvas for an open claim younger
|
|
119
|
+
than two hours (`cnotes canvas comments list <treeCanvasId> --status open`),
|
|
120
|
+
then claim:
|
|
121
|
+
`cnotes canvas comments add <treeCanvasId> --node GOAL-N --text "CLAIM <ISO time> — <what this session will do>"`.
|
|
122
|
+
4. **Do the work on the goal's board**, with whatever skill the work needs:
|
|
123
|
+
shaping, wayfind for a foggy decision, fat-marker-flows for a flow, plain
|
|
124
|
+
notes for the rest. Aim at the Done when, nothing beyond it.
|
|
125
|
+
5. **Ask for a verdict**: `cnotes canvas done <board> --refresh`. If the deployment
|
|
126
|
+
has scoring off, the command says so; then, once the person agrees the Done
|
|
127
|
+
when holds, record the evidence (usually a Decision or Proof note on the
|
|
128
|
+
board) and link it from the goal with `met-by`.
|
|
129
|
+
6. **Re-run** `cnotes goals tree <root>`, resolve your claim
|
|
130
|
+
(`cnotes canvas comments resolve`), and report by name: what became met, what
|
|
131
|
+
that unblocked, and the new frontier.
|
|
132
|
+
|
|
133
|
+
## When the verdict looks wrong
|
|
134
|
+
|
|
135
|
+
The judge reads literally. When it says "not met" and the board looks done,
|
|
136
|
+
first suspect the Done when: does it name the card, and is that card on the
|
|
137
|
+
board? Rewrite the goal on both the Goal note and its canvas (they must stay
|
|
138
|
+
identical), then `--refresh`. When it says "met" and the board is not done, the
|
|
139
|
+
Done when is too loose: tighten it the same way. Do not fight the verdict with a
|
|
140
|
+
status; fix the sentence or the board.
|
|
141
|
+
|
|
142
|
+
## Finishing
|
|
143
|
+
|
|
144
|
+
The tree is finished when `cnotes goals tree <root>` shows the root met and
|
|
145
|
+
nothing to fix. Say so, name the Decisions or Proofs that met the last goals,
|
|
146
|
+
and leave the tree canvas as the record.
|