@creator-notes/cnotes 0.119.0 → 0.120.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creator-notes-cli",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
package/README.md CHANGED
@@ -273,6 +273,7 @@ cnotes skills install wayfind # decision maps for multi-session wor
273
273
  cnotes skills install shaping # requirements, shapes, fit check, slices
274
274
  cnotes skills install attention-planner # one answerable card a day, loop closed by the agent
275
275
  cnotes skills install transcript-timeline # one interview, themes as rows, quotes on a timeline
276
+ cnotes skills install teach-workspace # a course taught from the notes, one cited lesson a session
276
277
  ```
277
278
 
278
279
  ### Claude Desktop (MCP Server)
@@ -24,7 +24,7 @@ function resolveTargets(agentOpt) {
24
24
  export function registerSkillsCommands(program) {
25
25
  const skills = program
26
26
  .command("skills")
27
- .description("Install bundled agent skills (e.g. fat-marker flows, how-to filmstrips, wayfind, goal tree, shaping, attention planner, transcript timeline) into Claude Code, Codex, or Cursor");
27
+ .description("Install bundled agent skills (e.g. fat-marker flows, how-to filmstrips, wayfind, goal tree, shaping, attention planner, transcript timeline, teach a workspace) into Claude Code, Codex, or Cursor");
28
28
  skills
29
29
  .command("list")
30
30
  .description("List the skills this CLI can install")
@@ -62,6 +62,7 @@ Examples:
62
62
  $ cnotes skills install wayfind --agent cursor
63
63
  $ cnotes skills install attention-planner
64
64
  $ cnotes skills install transcript-timeline
65
+ $ cnotes skills install teach-workspace
65
66
  $ cnotes skills install fat-marker --agent codex
66
67
  $ cnotes skills install fat-marker --agent all`)
67
68
  .action((name, options) => {
@@ -214,6 +214,12 @@ const REASON_HINTS = {
214
214
  // Undoing a merge reverses a person's decision, so it is theirs to make.
215
215
  human_undo_required: "Ask the person who approved it: Undo is on the merge row in History, in the browser.",
216
216
  shared_write_from_draft: undefined,
217
+ // `draft prepare` refusals: the sentence says which key to use or that the
218
+ // person reviews it, so "check workspace membership" would only mislead.
219
+ builder_key: undefined,
220
+ builder_unknown: undefined,
221
+ not_the_reviewer: undefined,
222
+ prepare_needs_key: undefined,
217
223
  // Review requests and note batches: the same key with a different body.
218
224
  // Re-fetching changes nothing; the key is what has to change.
219
225
  idempotency_key_reused: "That idempotency key already went with a different body. Use a new key for this one; to get the earlier result back, send exactly what was sent with that key.",
@@ -191,6 +191,13 @@ export const SKILL_CATALOG = [
191
191
  description: "Turn one interview transcript into a themed timeline canvas: one row per theme, each extract a verbatim quote placed at its timestamp.",
192
192
  auto: false,
193
193
  },
194
+ {
195
+ name: "teach-workspace",
196
+ aliases: ["teach", "course", "onboard", "teach-canvas"],
197
+ label: "Teach a workspace",
198
+ description: "Teach one person a canvas, an area or an outside topic over many sessions: a mission, one short lesson per session cited from the notes, drills in the chat, and learning records that choose the next lesson.",
199
+ auto: false,
200
+ },
194
201
  ];
195
202
  /** Resolve a CLI-provided name/alias to a catalog skill (case-insensitive). */
196
203
  export function resolveCatalogSkill(query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,222 @@
1
+ ---
2
+ name: teach-workspace
3
+ description: Teach one person a body of work over many sessions, from the workspace's own notes, as a course canvas in CreatorNotes. It interviews for the learner's mission, checks what they already know, teaches one short cited lesson per session, drills it in the chat, and keeps learning records that choose the next lesson. Use when the user invokes /teach-workspace, says "teach me this canvas", "get me up to speed on <area>", "onboard me to <project>", "next lesson", or points you at an existing course canvas. Also teaches an outside topic (a framework, a language) from vetted sources.
4
+ metadata:
5
+ short-description: Multi-session courses taught from cited workspace notes
6
+ ---
7
+
8
+ # Teach a workspace (courses on a CreatorNotes canvas)
9
+
10
+ Someone needs to understand work they were not in the room for: the decisions
11
+ on a canvas, a product area, the principles a team builds by, the slice they
12
+ are about to pick up. This skill teaches it as a **course canvas** over many
13
+ sessions, one short lesson at a time, until the learner can do the thing that
14
+ made them ask.
15
+
16
+ The method is borrowed from Matt Pocock's `teach` skill (mattpocock/skills,
17
+ MIT): a mission behind every lesson, sources before lessons, knowledge first
18
+ and then practice that takes effort, and learning records that pick the next
19
+ lesson. Here it moves from a folder of files onto CreatorNotes, so a fresh
20
+ session on any surface continues the course, and every claim points at the
21
+ note that makes it. Everything runs through the `cnotes` CLI; the **cnotes
22
+ skill** documents every command used below, so consult it rather than guess.
23
+
24
+ ## Teach from the notes, never from memory
25
+
26
+ Every claim a lesson makes about this team's work cites the note that says it.
27
+ If no note says it, you do not know it: tell the learner the workspace does not
28
+ record it and log a gap. General knowledge may explain a term the notes use
29
+ (what an OCC conflict is), never what the team decided or why. The folder
30
+ version of this skill has taught confident, made-up procedures; in a workspace
31
+ the same failure is a fluent, wrong account of why a decision was made, and the
32
+ learner repeats it to the person who made it.
33
+
34
+ ## The model
35
+
36
+ | Concept | CreatorNotes shape |
37
+ |---|---|
38
+ | Course | One canvas, `<Subject> · Course · <Learner's first name>` (interpunct `·`, never a dash). One learner, one mission per course |
39
+ | Mission | The canvas **goal** (`Show that <learner> can <the real task>. Done when every line under Success looks like has a learning record as evidence.`), the **audience** (the learner), and one **Note** tagged `teach` and `mission` with Matt's four headings: Why, Success looks like, Constraints, Out of scope. How the learner likes to be taught goes under Constraints |
40
+ | Sources | The notes and canvases the course teaches from, never copied. One **Note** tagged `teach` and `sources` lists each as a mention with a "Use for" line, plus a Gaps heading for what no note covers |
41
+ | Lesson | A **Guide** note tagged `teach` and `lesson`, titled `Lesson <n> · <the one thing>`. It holds the win, the knowledge with every claim cited, the one source to read in full, and the recall questions the drill used |
42
+ | Citation | A `[DECISION-12: Title](relationship:depends-on)` mention from the lesson to its source. `cnotes deps list` then flags the lesson when the source moves on |
43
+ | Reference | A **Guide** note tagged `teach` and `reference`: the glossary, the decision index, the cheat sheet. Lessons are rarely reopened; references are, on the phone too |
44
+ | Learning record | An **Insight** tagged `teach` and `learned`: what the learner showed, the evidence, and what it changes about the next lesson. A deeper or corrected understanding is a new version of the same note, never a second note |
45
+ | Gap | A **Question** tagged `teach` and `gap`: something the course needed that no note records. It is also a finding for the sources' owner |
46
+
47
+ ### Canvas anatomy
48
+
49
+ An orientation banner plus four section frames, created when the course starts
50
+ and found by name thereafter:
51
+
52
+ - **Mission and sources**: the Mission note and the Sources note.
53
+ - **Lessons**: in order, left to right. The course's spine.
54
+ - **What <learner> has shown**: the learning records. The section a session
55
+ skims to place the next lesson.
56
+ - **Reference and gaps**: the reference notes, then the open gap Questions.
57
+
58
+ ### Where the course lives
59
+
60
+ Ask the learner during the mission interview. A learning record describes what
61
+ a person does and does not know yet, so this is their call, never yours.
62
+
63
+ - **Beside its sources** (the default when the sources sit in a shared
64
+ workspace). Citations are live chips, `deps list` flags stale lessons, and
65
+ teammates can read the course, records included. The owners of the sources
66
+ get to see where their notes lost a newcomer, which is often the most useful
67
+ thing the course produces.
68
+ - **The learner's Private workspace.** Only they see it. Mentions do not
69
+ resolve across workspaces, so cite each source by its title and display ID in
70
+ plain text, and stale-lesson tracking is unavailable. The default for an
71
+ outside topic.
72
+
73
+ ## Rules every session follows
74
+
75
+ 1. **One lesson per session.** A lesson fits one sitting and leaves the learner
76
+ able to do one thing they could not do before. Working memory is small;
77
+ a second lesson spends what the first one needed.
78
+ 2. **The learner speaks for themselves.** Never answer your own drill, and
79
+ never write a learning record without evidence from this conversation.
80
+ Coverage is not learning. In a non-interactive session, do not teach; only
81
+ refresh stale lessons (step 2 of the lesson loop).
82
+ 3. **Rubrics before writing.** `cnotes types show Guide`, `cnotes types show
83
+ Insight` and `cnotes types show Question` before authoring those, and the
84
+ cnotes skill's humanizer reference before any prose.
85
+ 4. **Bracket in an operation.** `cnotes operations begin --prompt "Taught
86
+ lesson 3 of the Clio pilot course"` before the first write,
87
+ `cnotes operations end` after the last.
88
+ 5. **Refer by name.** In the chat and in note prose, a note is its title, never
89
+ a bare ID. Mentions carry both.
90
+ 6. **Write only on the course.** Sources are someone else's work. A gap or a
91
+ confusing note reaches its owner only when the learner chooses to raise it,
92
+ in their own words.
93
+ 7. **One glossary.** Once the reference glossary exists, every lesson uses its
94
+ terms, and a term enters it only when the learner has used it correctly.
95
+
96
+ ## Start a course (first invocation)
97
+
98
+ The learner names a subject: a canvas, an area, a project.
99
+
100
+ 1. **Find the subject.** `cnotes search "<subject>"`, then `cnotes canvas read
101
+ <id>` on the canvases it names, plus `cnotes canvas digest <id>` for the
102
+ overview. Orient before you ask anything.
103
+ 2. **Interview for the mission**, one question at a time (AskUserQuestion in
104
+ Claude Code). Push past "understand X" to the real task: "take the next
105
+ slice on the proposals canvas without asking what was decided", "run the
106
+ Clio pilot call on Thursday". A vague mission produces abstract lessons and
107
+ leaves nothing to choose the next one by. Also ask where the course lives
108
+ (above), how long a session can be, and what is out of scope.
109
+ 3. **Find the starting point before teaching anything.** Ask three to five
110
+ free-recall questions on the subject's load-bearing notes: "What does the
111
+ pricing decision settle, and what did it rule out?" Ask what the learner
112
+ already knows and how deeply. Each answer becomes a learning record: prior
113
+ knowledge with its depth, or a misconception with the note that corrects
114
+ it. Skipping this step is how lessons end up using terms they never define.
115
+ 4. **Map the sources breadth-first.** From the subject canvas take the goal,
116
+ the Decisions, the Principles, the open Questions; follow them with
117
+ `cnotes notes get <ids> --expand --summary --incoming` to find what they
118
+ rest on. Keep the ones the mission needs (about fifteen at most to start),
119
+ each with a "Use for" line. Ask the learner who owns each area; that is
120
+ where questions of judgement go.
121
+ 5. **Open the run and build the course.** `cnotes canvas create "<name>" --goal
122
+ "<goal>" --audience "<learner, and what they will do with it>"`, then the
123
+ Mission note, the Sources note and the starting-point records in one
124
+ `cnotes notes create` batch, then one `cnotes canvas place` spec with the
125
+ banner and the four sections. The banner follows the cnotes skill's banner
126
+ order (rule 7 in its `references/canvas-elements.md`): who asked and why,
127
+ the mission in the learner's words, how a session runs, how the four frames
128
+ read.
129
+ 6. **Close the run, give the canvas link, offer lesson 1** now or in a fresh
130
+ session. A fresh session that says "next lesson" continues from the canvas.
131
+
132
+ ## Teach a lesson (every later invocation)
133
+
134
+ The learner names the course, or find it with `cnotes canvas search "course"`.
135
+
136
+ 1. **Load.** `cnotes canvas read <course>`: the mission, the records, the last
137
+ lesson. Do not re-read every source; zoom into the ones this lesson needs.
138
+ 2. **Check for stale lessons.** `cnotes deps list --canvas <course>`. A row in
139
+ state `changed` whose dependent is a lesson means its source has a newer
140
+ version than the lesson was taught from. Read both with `cnotes deps show
141
+ <relationshipId>`. If the lesson no longer holds, save a corrected version
142
+ and tell the learner what changed: an update to something they learned is a
143
+ lesson in itself. If it still holds, record that with `cnotes deps review
144
+ <relationshipId> --outcome no_change --explanation "<which passage, and
145
+ why it still holds>"`.
146
+ 3. **Warm up with recall.** Two questions from earlier lessons, answered from
147
+ memory before any new material. This is the spacing and interleaving; an
148
+ answer that misses is the next lesson.
149
+ 4. **Choose one thing.** The learner's request wins. Otherwise take the first
150
+ line under Success looks like that has no evidence and whose prerequisites
151
+ the records show, then cut it to one win that fits the session: hard enough
152
+ to take effort, close enough to what they have shown that they can reach it.
153
+ 5. **Teach, then drill.**
154
+ - Knowledge first, short and easy: difficulty here only spends working
155
+ memory. Every claim cites its note. Name the one source worth reading in
156
+ full.
157
+ - Then practice, where difficulty is the point. Free recall first ("What
158
+ does the cap on rounds protect, and which principle says so?"), then
159
+ application ("A teammate proposes letting the builder accept their own
160
+ proposal. Which decision rules that out?").
161
+ - Grade each answer at once, against the note, quoting the sentence that
162
+ settles it. Prefer open questions to multiple choice. If you do offer
163
+ options, make them the same length and vary where the right one sits;
164
+ models put it first.
165
+ 6. **Record, inside the run.**
166
+ - The lesson note, citing its sources with `depends-on`, including the
167
+ recall questions so a later warm-up can reuse them.
168
+ - A learning record only for evidence: they used a concept correctly, told
169
+ you what they already knew, or dropped a misconception. Mention the lesson
170
+ with `relationship:derived-from`.
171
+ - Reference updates: a glossary term the learner now uses correctly, a row
172
+ in the decision index.
173
+ - A gap Question for anything the lesson needed that no note records,
174
+ mentioning the lesson with `relationship:raised-in`. Add it to the Gaps
175
+ heading of the Sources note.
176
+ - Place the new notes into their sections with `cnotes canvas place
177
+ <course> --spec ./cards.json --into SECTION-<n>`, never by coordinates.
178
+ 7. **Close the run and report** what the learner can now do, by name, and what
179
+ the next lesson will be. Offer a review block with `cnotes focus plan
180
+ --start "tomorrow 09:00" --duration 20m --goal "Recall lesson 3 of the Clio
181
+ pilot course" --canvas <course> --target <lesson>`; nothing else schedules
182
+ spaced review.
183
+
184
+ ## Judgement belongs to people
185
+
186
+ Some questions need judgement the notes cannot hold: should the team have
187
+ decided this differently, how strictly does a principle bind in practice.
188
+ Answer what the notes support, say where they stop, and point the learner at
189
+ the person who owns that area. Offer to draft the question; the learner sends
190
+ it. Never post it on their behalf, and drop the suggestion if they would rather
191
+ not ask.
192
+
193
+ ## Knowing when to stop
194
+
195
+ New lessons are not always the right next step. Check at the start of every
196
+ session.
197
+
198
+ - **Mission met.** Every line under Success looks like has a learning record as
199
+ evidence. Propose ending with the real task the mission named, done by the
200
+ learner with you as help rather than teacher. The course stays as the record.
201
+ - **Not sticking.** Two lessons in a row produced no new evidence. Stop adding
202
+ material; spend the next session on recall and practice over what exists.
203
+ - **Mission moved.** The learner has found they care about something else.
204
+ Confirm it with them, save a new version of the Mission note and the canvas
205
+ goal, and write a learning record saying what changed and why.
206
+
207
+ ## An outside topic
208
+
209
+ When the subject is not in any workspace (a framework, a language, an exam),
210
+ run the same course in the learner's Private workspace with outside sources.
211
+ The rule against teaching from memory gets stricter, not looser.
212
+
213
+ - Find sources before writing any lesson: primary documentation, recognised
214
+ experts, well-moderated communities. Leave out marketing written as
215
+ education.
216
+ - Record each in the Sources note as a link with its "Use for" line, under
217
+ Knowledge (documents) or Wisdom (communities where the learner can test the
218
+ skill). Prune a source that turns out shallow or wrong.
219
+ - Cite the URL behind every claim in a lesson. A lesson with no links out is
220
+ teaching from memory.
221
+ - Code or anything else the learner can run is the best drill: the feedback is
222
+ immediate and does not depend on your grading.