@mmon-co/ncept-default-theory 3.0.19 → 3.0.20
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/dist/catalog-contract.d.ts +19 -11
- package/dist/catalog-contract.js +18 -4
- package/dist/chat.d.ts +359 -2
- package/dist/chat.js +4 -0
- package/dist/graph-draft-batch.d.ts +145 -0
- package/dist/graph-draft-batch.js +187 -0
- package/dist/implementation.d.ts +359 -2
- package/dist/index.d.ts +360 -2
- package/dist/index.js +1 -0
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/schedules.d.ts +1 -1
- package/dist/skills/sources.d.ts +3 -3
- package/dist/skills/sources.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,9 +71,128 @@ export declare const defaultTheory: {
|
|
|
71
71
|
}[];
|
|
72
72
|
entry: {
|
|
73
73
|
required: false;
|
|
74
|
-
kinds: ("
|
|
74
|
+
kinds: ("checkpoint" | "target" | "mission" | "goal")[];
|
|
75
75
|
};
|
|
76
76
|
capabilities: readonly import("@mmon-co/ncept-core").HostCapability[];
|
|
77
|
+
graphDraftBatch: {
|
|
78
|
+
properties: {
|
|
79
|
+
nodes: {
|
|
80
|
+
type: "array";
|
|
81
|
+
items: {
|
|
82
|
+
type: "object";
|
|
83
|
+
properties: {
|
|
84
|
+
id: {
|
|
85
|
+
description: string;
|
|
86
|
+
type: "string";
|
|
87
|
+
};
|
|
88
|
+
label: {
|
|
89
|
+
type: "string";
|
|
90
|
+
};
|
|
91
|
+
criterion: {
|
|
92
|
+
type: "string";
|
|
93
|
+
};
|
|
94
|
+
priority: {
|
|
95
|
+
type: "number";
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
milestone: {
|
|
99
|
+
type: "boolean";
|
|
100
|
+
};
|
|
101
|
+
elaborate: {
|
|
102
|
+
type: "boolean";
|
|
103
|
+
};
|
|
104
|
+
review: {
|
|
105
|
+
type: "object";
|
|
106
|
+
properties: {
|
|
107
|
+
kind: {
|
|
108
|
+
enum: string[];
|
|
109
|
+
type: "string";
|
|
110
|
+
};
|
|
111
|
+
days: {
|
|
112
|
+
type: "number";
|
|
113
|
+
exclusiveMinimum: number;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
required: ("kind" | "days")[];
|
|
118
|
+
additionalProperties: false;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
|
|
122
|
+
additionalProperties: false;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
edges: {
|
|
126
|
+
type: "array";
|
|
127
|
+
items: {
|
|
128
|
+
type: "object";
|
|
129
|
+
properties: {
|
|
130
|
+
from: {
|
|
131
|
+
description: string;
|
|
132
|
+
type: "string";
|
|
133
|
+
};
|
|
134
|
+
to: {
|
|
135
|
+
description: string;
|
|
136
|
+
type: "string";
|
|
137
|
+
};
|
|
138
|
+
id: {
|
|
139
|
+
description: string;
|
|
140
|
+
type: "string";
|
|
141
|
+
};
|
|
142
|
+
because: {
|
|
143
|
+
type: "string";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
required: ("id" | "to" | "from" | "because")[];
|
|
147
|
+
additionalProperties: false;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
tags: {
|
|
151
|
+
type: "array";
|
|
152
|
+
items: {
|
|
153
|
+
type: "object";
|
|
154
|
+
properties: {
|
|
155
|
+
name: {
|
|
156
|
+
description: string;
|
|
157
|
+
type: "string";
|
|
158
|
+
};
|
|
159
|
+
nodes: {
|
|
160
|
+
type: "array";
|
|
161
|
+
items: {
|
|
162
|
+
description: string;
|
|
163
|
+
type: "string";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
edges: {
|
|
167
|
+
type: "array";
|
|
168
|
+
items: {
|
|
169
|
+
description: string;
|
|
170
|
+
type: "string";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
priority: {
|
|
174
|
+
type: "number";
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
required: ("nodes" | "name" | "edges" | "priority")[];
|
|
179
|
+
additionalProperties: false;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
targets: {
|
|
183
|
+
description: string;
|
|
184
|
+
type: "array";
|
|
185
|
+
items: {
|
|
186
|
+
description: string;
|
|
187
|
+
type: "string";
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
|
|
192
|
+
targets?: `node-${string}`[] | undefined;
|
|
193
|
+
operations: import("@mmon-co/ncept-core").SemanticOperation[];
|
|
194
|
+
};
|
|
195
|
+
};
|
|
77
196
|
switches: {
|
|
78
197
|
mode: string;
|
|
79
198
|
then: "next";
|
|
@@ -107,6 +226,125 @@ export declare const defaultTheory: {
|
|
|
107
226
|
kinds: ("mission" | "goal")[];
|
|
108
227
|
};
|
|
109
228
|
capabilities: readonly import("@mmon-co/ncept-core").HostCapability[];
|
|
229
|
+
graphDraftBatch: {
|
|
230
|
+
properties: {
|
|
231
|
+
nodes: {
|
|
232
|
+
type: "array";
|
|
233
|
+
items: {
|
|
234
|
+
type: "object";
|
|
235
|
+
properties: {
|
|
236
|
+
id: {
|
|
237
|
+
description: string;
|
|
238
|
+
type: "string";
|
|
239
|
+
};
|
|
240
|
+
label: {
|
|
241
|
+
type: "string";
|
|
242
|
+
};
|
|
243
|
+
criterion: {
|
|
244
|
+
type: "string";
|
|
245
|
+
};
|
|
246
|
+
priority: {
|
|
247
|
+
type: "number";
|
|
248
|
+
description: string;
|
|
249
|
+
};
|
|
250
|
+
milestone: {
|
|
251
|
+
type: "boolean";
|
|
252
|
+
};
|
|
253
|
+
elaborate: {
|
|
254
|
+
type: "boolean";
|
|
255
|
+
};
|
|
256
|
+
review: {
|
|
257
|
+
type: "object";
|
|
258
|
+
properties: {
|
|
259
|
+
kind: {
|
|
260
|
+
enum: string[];
|
|
261
|
+
type: "string";
|
|
262
|
+
};
|
|
263
|
+
days: {
|
|
264
|
+
type: "number";
|
|
265
|
+
exclusiveMinimum: number;
|
|
266
|
+
description: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
required: ("kind" | "days")[];
|
|
270
|
+
additionalProperties: false;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
|
|
274
|
+
additionalProperties: false;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
edges: {
|
|
278
|
+
type: "array";
|
|
279
|
+
items: {
|
|
280
|
+
type: "object";
|
|
281
|
+
properties: {
|
|
282
|
+
from: {
|
|
283
|
+
description: string;
|
|
284
|
+
type: "string";
|
|
285
|
+
};
|
|
286
|
+
to: {
|
|
287
|
+
description: string;
|
|
288
|
+
type: "string";
|
|
289
|
+
};
|
|
290
|
+
id: {
|
|
291
|
+
description: string;
|
|
292
|
+
type: "string";
|
|
293
|
+
};
|
|
294
|
+
because: {
|
|
295
|
+
type: "string";
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
required: ("id" | "to" | "from" | "because")[];
|
|
299
|
+
additionalProperties: false;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
tags: {
|
|
303
|
+
type: "array";
|
|
304
|
+
items: {
|
|
305
|
+
type: "object";
|
|
306
|
+
properties: {
|
|
307
|
+
name: {
|
|
308
|
+
description: string;
|
|
309
|
+
type: "string";
|
|
310
|
+
};
|
|
311
|
+
nodes: {
|
|
312
|
+
type: "array";
|
|
313
|
+
items: {
|
|
314
|
+
description: string;
|
|
315
|
+
type: "string";
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
edges: {
|
|
319
|
+
type: "array";
|
|
320
|
+
items: {
|
|
321
|
+
description: string;
|
|
322
|
+
type: "string";
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
priority: {
|
|
326
|
+
type: "number";
|
|
327
|
+
description: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
required: ("nodes" | "name" | "edges" | "priority")[];
|
|
331
|
+
additionalProperties: false;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
targets: {
|
|
335
|
+
description: string;
|
|
336
|
+
type: "array";
|
|
337
|
+
items: {
|
|
338
|
+
description: string;
|
|
339
|
+
type: "string";
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
|
|
344
|
+
targets?: `node-${string}`[] | undefined;
|
|
345
|
+
operations: import("@mmon-co/ncept-core").SemanticOperation[];
|
|
346
|
+
};
|
|
347
|
+
};
|
|
110
348
|
switches: never[];
|
|
111
349
|
setup: (ctx: import("@mmon-co/ncept-core").ChatContext<import("./state.js").DefaultState>) => import("@mmon-co/ncept-core").Program<Readonly<{
|
|
112
350
|
prompt: string;
|
|
@@ -131,9 +369,128 @@ export declare const defaultTheory: {
|
|
|
131
369
|
frontTab: string;
|
|
132
370
|
entry: {
|
|
133
371
|
required: true;
|
|
134
|
-
kinds: ("
|
|
372
|
+
kinds: ("review" | "target" | "mission")[];
|
|
135
373
|
};
|
|
136
374
|
capabilities: readonly import("@mmon-co/ncept-core").HostCapability[];
|
|
375
|
+
graphDraftBatch: {
|
|
376
|
+
properties: {
|
|
377
|
+
nodes: {
|
|
378
|
+
type: "array";
|
|
379
|
+
items: {
|
|
380
|
+
type: "object";
|
|
381
|
+
properties: {
|
|
382
|
+
id: {
|
|
383
|
+
description: string;
|
|
384
|
+
type: "string";
|
|
385
|
+
};
|
|
386
|
+
label: {
|
|
387
|
+
type: "string";
|
|
388
|
+
};
|
|
389
|
+
criterion: {
|
|
390
|
+
type: "string";
|
|
391
|
+
};
|
|
392
|
+
priority: {
|
|
393
|
+
type: "number";
|
|
394
|
+
description: string;
|
|
395
|
+
};
|
|
396
|
+
milestone: {
|
|
397
|
+
type: "boolean";
|
|
398
|
+
};
|
|
399
|
+
elaborate: {
|
|
400
|
+
type: "boolean";
|
|
401
|
+
};
|
|
402
|
+
review: {
|
|
403
|
+
type: "object";
|
|
404
|
+
properties: {
|
|
405
|
+
kind: {
|
|
406
|
+
enum: string[];
|
|
407
|
+
type: "string";
|
|
408
|
+
};
|
|
409
|
+
days: {
|
|
410
|
+
type: "number";
|
|
411
|
+
exclusiveMinimum: number;
|
|
412
|
+
description: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
required: ("kind" | "days")[];
|
|
416
|
+
additionalProperties: false;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
required: ("review" | "id" | "label" | "milestone" | "priority" | "criterion" | "elaborate")[];
|
|
420
|
+
additionalProperties: false;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
edges: {
|
|
424
|
+
type: "array";
|
|
425
|
+
items: {
|
|
426
|
+
type: "object";
|
|
427
|
+
properties: {
|
|
428
|
+
from: {
|
|
429
|
+
description: string;
|
|
430
|
+
type: "string";
|
|
431
|
+
};
|
|
432
|
+
to: {
|
|
433
|
+
description: string;
|
|
434
|
+
type: "string";
|
|
435
|
+
};
|
|
436
|
+
id: {
|
|
437
|
+
description: string;
|
|
438
|
+
type: "string";
|
|
439
|
+
};
|
|
440
|
+
because: {
|
|
441
|
+
type: "string";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
required: ("id" | "to" | "from" | "because")[];
|
|
445
|
+
additionalProperties: false;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
tags: {
|
|
449
|
+
type: "array";
|
|
450
|
+
items: {
|
|
451
|
+
type: "object";
|
|
452
|
+
properties: {
|
|
453
|
+
name: {
|
|
454
|
+
description: string;
|
|
455
|
+
type: "string";
|
|
456
|
+
};
|
|
457
|
+
nodes: {
|
|
458
|
+
type: "array";
|
|
459
|
+
items: {
|
|
460
|
+
description: string;
|
|
461
|
+
type: "string";
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
edges: {
|
|
465
|
+
type: "array";
|
|
466
|
+
items: {
|
|
467
|
+
description: string;
|
|
468
|
+
type: "string";
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
priority: {
|
|
472
|
+
type: "number";
|
|
473
|
+
description: string;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
required: ("nodes" | "name" | "edges" | "priority")[];
|
|
477
|
+
additionalProperties: false;
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
targets: {
|
|
481
|
+
description: string;
|
|
482
|
+
type: "array";
|
|
483
|
+
items: {
|
|
484
|
+
description: string;
|
|
485
|
+
type: "string";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
compile(input: Readonly<Record<string, unknown>>, graph: Pick<import("@mmon-co/ncept-core").ResolvedGraph, "nodes" | "edges">, previous: readonly import("@mmon-co/ncept-core").SemanticOperation[]): {
|
|
490
|
+
targets?: `node-${string}`[] | undefined;
|
|
491
|
+
operations: import("@mmon-co/ncept-core").SemanticOperation[];
|
|
492
|
+
};
|
|
493
|
+
};
|
|
137
494
|
metadataKeys: readonly string[] | undefined;
|
|
138
495
|
switches: ({
|
|
139
496
|
mode: string;
|
|
@@ -208,4 +565,5 @@ export * from "./tools.js";
|
|
|
208
565
|
export * from "./skills.js";
|
|
209
566
|
export * from "./catalog-contract.js";
|
|
210
567
|
export * from "./catalog.js";
|
|
568
|
+
export { graphDraftBatch, type GraphDraftBatchInput } from "./graph-draft-batch.js";
|
|
211
569
|
export * from "./evaluation.js";
|
package/dist/index.js
CHANGED
package/dist/release.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const theoryContent = "
|
|
1
|
+
export declare const theoryContent = "20599f14c6915bddb2f5427addd4b0fd65228195397d6f6895bd7d5c669ae8dc";
|
package/dist/release.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const theoryContent = "
|
|
1
|
+
export const theoryContent = "20599f14c6915bddb2f5427addd4b0fd65228195397d6f6895bd7d5c669ae8dc";
|
package/dist/schedules.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ type RetentionEvidence = {
|
|
|
44
44
|
readonly grades: readonly Observation<Grade>[];
|
|
45
45
|
};
|
|
46
46
|
type Replay = (evidence: RetentionEvidence) => ReplayedSchedule | undefined;
|
|
47
|
-
export declare function validateReviewSchedule(value: unknown):
|
|
47
|
+
export declare function validateReviewSchedule(value: unknown): asserts value is ReviewSchedule | undefined;
|
|
48
48
|
export declare function prepareReviewReplay(schedule: ReviewSchedule): Replay;
|
|
49
49
|
export declare function sameReviewCurve(a: NodeSchedule, b: NodeSchedule): boolean;
|
|
50
50
|
export declare function retrievabilityAt(schedule: ReplayedSchedule, time: number): number;
|
package/dist/skills/sources.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const sources: {
|
|
2
2
|
readonly "base.md": "# Tutor base\n\nHelp the learner accomplish what they want and expand what they can do. Think first about their goal, what they can already do, which way of learning fits, and what moves them furthest next.\n\nTalk with the learner in their terms. Tool names, identifiers, labels, Skills, and bookkeeping are yours; to the learner, refer to content by its display label and quote what they said.\n\n## Terms\n\n- **Node**: one observable capability or step, defined by what demonstrates it—a knowledge component, not a topic, lesson, or learner fact.\n- **Edge**: a prerequisite by necessity: demonstrating the dependent demonstrates the prerequisite. Never teaching order or relatedness.\n- **Tag**: a named set of Nodes whose guidance cascades to its members (`lesson:<name>` groups a Lesson).\n- **Guidance**: teaching or assessment instructions on a Node, tag, or Mission, cascading to the Nodes it reaches.\n- **Patch**: a versioned unit of graph content—the learner's Personal Patch or one adopted from the Hub.\n- **Mission**: a learner's goal, its target Nodes (once charted), the View of their prerequisites, and the numbered path through them.\n- **View**: a saved selection of Nodes; a Mission's View is its targets and their prerequisites.\n- **Milestone**: a Node checked by a whole performance closing a section of a path.\n- **Lesson**: one numbered objective on a path: a few Nodes and what completes them. A Review rechecks due Nodes.\n- **Material**: a reading, exercise, drill, artifact, or interactive environment the learner works in (each host defines its own Material kinds).\n- **Record**: an observation of what the learner did or claimed on a Node. The theory derives mastery labels and review schedules from Records; you never set labels.\n\n## Teaching\n\n- Converse in the learner's language unless there is a pedagogical reason not to. Target-language practice is practice, not a request to switch the conversation language.\n- Fit the method to the goal as stated, skipping what the learner already knows. On a self-charted Mission (purposeful practice), treat the map and drills as a conjecture under test and adjust when they don't move the needle.\n- Follow saved preferences and cascaded guidance before choosing or making Material. Pace work to the learner's Session length and suggest wrapping up as active minutes approach it.\n- Prefer real-world, best-in-class tools when the real performance lives there (their editor, sketchbook, DAW, repo, real conversation) and judge the artifact they bring back. Use Materials for worked examples, structured practice, and interactive drills where no external tool fits; keep conversation for goals, reports, questions, and confusion.\n- Root explanations in the discourse, Rimé style: surface thinkers, traditions, and primary sources so the learner can read the originals and branch into \"what does X think about Y?\" rather than \"what do you think?\" Pick one named convention for a novice's first worked example, then open the wider lineages; attribute only real positions you know or have read.\n- Present knowledge easily (Sweller); make practice effortful—retrieval, spacing, interleaving (Bjork).\n- Start novices with worked examples and step-level feedback (Sweller, VanLehn), fading scaffolds toward unaided checks near ~80% success (expertise reversal, Rosenshine). Interleave confusable skills once learned, not on first exposure.\n- Skip seductive details, \"learning styles\", passive rereading/highlighting, and unassisted discovery for novices.\n- Read prefetched Node memory and the Node's `trail` for the current scope, noticing what other Sessions added. Memory is context, never evidence.\n- Tailor from an explicit preference or a Record, never a presumed learner trait.\n\n## Evidence\n\n- Describe what happened; the theory interprets it. Record an actual attempt at a posed, transfer-appropriate, failable check (including a real-world step the learner reports). Reading, explanation, or a passing remark shows nothing.\n- Never record, withhold, or re-home a Record to steer a label. Retain what the learner actually did, and name a misconception only when the response supports it.\n- Ground factual claims about the learner or content in a Record or Patch provenance (citing IDs in tool calls and drafts, and quoting or display-labeling them to the learner). Summaries are never evidence.\n";
|
|
3
|
-
readonly "chart/SKILL.md": "---\nname: chart\ndescription: A Mission, or the next section of one, needs graph content; or content is being designed for others to adopt.\n---\n\nCharting is dependency resolution from a settled Mission. When authoring a Patch for others, chart for a typical adopter's Mission.\n\n## Method\n\n1. **Survey how people get there.** Within the Mission's settled approach, check how courses, textbooks, syllabi, or practitioner playbooks and postmortems sequence this ground. Read structures, not full contents—Lessons pull in materials later. Use this to counter expert blind spot and recall bias.\n\n2. **Find the macro organization.** Decide how the Mission's prerequisites naturally hang together: a sequence of real steps and the capabilities they need, several independently valuable skills, separately practiced strands (like vocab vs grammar), or a fractal \"smaller circles\" progression. Separately practiced paths are strand tags; the practice serving a strand goes in guidance on its tag, not as a Node.\n\n3. **Choose milestones.** Pick a few milestones marking sections toward the targets:\n - Each milestone is a smaller Mission—a whole, realistic performance worth having on its own. Put whichever gets the learner doing the real thing soonest (even crudely) first.\n - Mark each section's closing Node `
|
|
3
|
+
readonly "chart/SKILL.md": "---\nname: chart\ndescription: A Mission, or the next section of one, needs graph content; or content is being designed for others to adopt.\n---\n\nCharting is dependency resolution from a settled Mission. When authoring a Patch for others, chart for a typical adopter's Mission.\n\n## Method\n\n1. **Survey how people get there.** Within the Mission's settled approach, check how courses, textbooks, syllabi, or practitioner playbooks and postmortems sequence this ground. Read structures, not full contents—Lessons pull in materials later. Use this to counter expert blind spot and recall bias.\n\n2. **Find the macro organization.** Decide how the Mission's prerequisites naturally hang together: a sequence of real steps and the capabilities they need, several independently valuable skills, separately practiced strands (like vocab vs grammar), or a fractal \"smaller circles\" progression. Separately practiced paths are strand tags; the practice serving a strand goes in guidance on its tag, not as a Node.\n\n3. **Choose milestones.** Pick a few milestones marking sections toward the targets:\n - Each milestone is a smaller Mission—a whole, realistic performance worth having on its own. Put whichever gets the learner doing the real thing soonest (even crudely) first.\n - Mark each section's closing Node `milestone: true` and give its criterion a ladder of simpler conditions down to the lowest viable whole task.\n - World-dependent outcomes (such as a stranger paying) suit milestones; a miss leads to re-charting at its check-in.\n - For a conjectured approach (purposeful practice), the next milestone is its measure: name in Mission assessment guidance the short task from it that a Lesson can open on, with its metric (time, rate, count) where it has one.\n - Milestone 0 holds what the learner says they already know or did, quoting their words as claims.\n\n4. **Elaborate the first section.** Work back from its milestone Node into smaller prerequisites until each can be checked. Leave later sections coarse with `elaborate: true` for the check-in before them.\n\n5. **Draft** with `edit_graph_draft`: use `nodes`, `edges`, `tags` and `targets`. For a large graph, write several batches against the same draft, with prerequisites before references in later calls. Use `operations` for advanced edits after the batch. In the ordered form, `put` adds or replaces keyed content, `retract` removes an own accepted Edge or metadata set, `mask-contribution` suppresses a base contribution, `delete` removes a draft key (`claim:node-id` for a claim), `claim` attaches verbatim learner wording, and `discard` clears the draft alone.\n\n6. **Propose** the valid draft as a Mission or revision when setting Mission targets, or a graph diff when they don't change (content for others carries no claims). Don't write a syllabus; the theory derives the path.\n\n## The graph\n\n- **Nodes** are single observable capabilities or steps, defined by what shows them. Include only what the learner can and will do themselves—leave out work an agent can simply do or coordinating other people. Different presentations of one task are one Node.\n- **Edges** express definitional necessity—the dependent cannot be demonstrated without the prerequisite—with the reason in `because`. Preferred teaching order is `priority`, never an Edge.\n- **Splitting:** a part too large for one Lesson lacks a prerequisite step or capability (child Node), volume (tiers: top 50 words, then 100), or consolidation (thresholds: 60, then 90 wpm).\n- **Review schedules:** set `review` to `{\"kind\":\"fsrs\"}` for what must be remembered, `{\"kind\":\"never\"}` for one-off steps, or `{\"kind\":\"interval\",\"days\":30}` (choosing the period) for maintained states or capabilities that detrain. Defaults when unset: `never` for milestones, `fsrs` otherwise.\n- **Reuse and grouping:** reuse an existing Node only unchanged (its metadata is shared across Missions). Group small Nodes checked together with a `lesson:<name>` tag within one section. Override adopted guidance in the Mission's own guidance, scoped to its Node.\n";
|
|
4
4
|
readonly "checkpoint/SKILL.md": "---\nname: checkpoint\ndescription: The Session opened on a check-in, or the learner says the course, or some of its content, isn't working.\n---\n\nA checkpoint adjusts a Mission in progress to what its Lessons have shown.\n\n## Method\n\n1. **Reflect.** After a milestone, start from its outcome and closing note in the Session opening: recount what the learner showed, what came easy, and what was hard, and ask whether their goal has shifted. After a complaint, ask what isn't working and read the cited Records. With no milestone behind this check-in, skip to step 3.\n\n2. **Diagnose.** Warnings and outcomes point at a cause without proving it; read the cited task and response first.\n - **Goal moved:** revise the Mission (see `mission`).\n - **Milestone failed:** re-chart a plan that didn't work in the world; for a capability miss, add a follow-up Lesson stepped down the criterion's ladder, propose a blocking Review for regressed components, or chart missing Nodes. Fix the map, not the learner.\n - **Map is wrong** (grain, Edges, order, method): edit it (see `chart`). Editing a Node keeps its Records, so change its criterion only while it still asserts the same capability; otherwise replace it.\n - **Record is wrong:** that's a recording error corrected in a Lesson, not a map problem.\n\n3. **Elaborate the next section** as charting does, folding in what Lessons deferred here. Move the Mission's measure to the next milestone and set `pedagogy:elaborate: false` on refined Nodes.\n\n4. **Propose** the changes as a graph diff for the Mission. At the final check-in, give the Mission retrospective—what they can do now—then retire the Mission (with an extension or next Mission if they want one).\n";
|
|
5
5
|
readonly "material/SKILL.md": "---\nname: material\ndescription: A Lesson or Review is starting or its Materials have run, or a Material needs making or changing.\n---\n\nMaterials carry the learner into the work: worked examples, drills, structured checks, or briefs for real-world steps. Reuse existing Materials on a Node (`items`) before making new ones.\n\nPrefer real-world, best-in-class tools when the real performance lives there (their editor, sketchbook, repo, DAW, real conversation) and judge the artifact rather than building a worse substitute. No seductive details.\n\nA Material can teach, assess, or both, escalating difficulty and letting the learner retry until they clear the bar. Assess with unaided checks at the Nodes' criteria under Mission assessment guidance—enough independent checks to demonstrate each Node, graded mechanically wherever answers are mechanical. Once confusable skills are learned, interleave them in practice (not on first exposure).\n\nLoad the guide for the Session with `skill {name:'material', resource}`:\n\n- Lesson: [lesson.md](lesson.md) (and for a milestone, [milestone.md](milestone.md))\n- Review: [review.md](review.md)\n\nChoose from the Material kinds your host provides (load your host's Material skill for available kinds and formats).\n\n## Assessing\n\n- **Transfer-appropriate checks:** test production with production, not recognition; give competing options similar length and form, mapping distractors to real misconceptions.\n- **Granularity & feedback:** pose separate questions as separate short tasks. Give step-level feedback in practice; hold results until submission for prior-capability, retention, and milestone checks. Reserve an integrated response (explanation, essay, project) for showing several capabilities together, describing what a response visibly does so a grader can distinguish shown, absent, and mistaken.\n- **Help & evidence:** in a Lesson, offer a hint after a mistake and add the correction if it persists; prior-capability, retention, and milestone checks only measure. One response counts once per Node regardless of how many checks touch it; when help touches a check, the Node is recorded unaided as it stood before help and aided as it ended.\n";
|
|
6
|
-
readonly "material/lesson.md": "# lesson\n\nWhen a short Lesson clears and there is time and attention left, carry on into the next Lesson. When it makes sense to stop, recount what the learner did and end the Session even if its Lesson is unfinished.\n\n1. **Read the Lesson:** the current Lesson in context, its focus Nodes, their criteria, guidance, memory, trail, and existing Materials (`items`). If the Mission names a measure, also read the next milestone's trail for prior attempts and what broke. If an adopted Patch's Materials are already open, wait for the learner.\n\n2. **When starting a Lesson, open the work the focus Nodes' guidance names, set completion, and bridge from prior work:**\n - **Retrieval opener:** when the focus Nodes have prior prerequisites with Records (and no authored first action or conjectured-measure opener supersedes it), open with a quick retrieval prompt on a prerequisite or recent Node instead of a recap, recording the learner's attempt via `retrieval-opener`.\n - **Memory work:** add the cards in one step, open them, and set each Node's `pedagogy:completion` query to its card recalls.\n - **Real-world step:** open a brief Material covering what to do, what it serves (its dependents), what done looks like, and any useful prep (drafting, rehearsing a conversation). Set `pedagogy:completion` to the evidence its criterion requires; the work itself is the check (record reports per `records`), and leave a return reminder through the host's mechanics.\n - **Exercise-based work:** add teaching Material and one assessment set of short, single-question tasks, setting `pedagogy:completion` for the focus Nodes to their criteria. Link the assessment set from the end of the teaching reading using the host's format so the learner opens it from there, and open only that reading.\n - **Conjectured Mission with a measure:** open an unaided attempt at the measure first and hold teaching until it ends—the milestone's short task trimmed to what the focus Nodes serve, recorded on the milestone Node with its conditions. Then build teaching and practice around what broke, skipping what the attempt already showed.\n\n3. **Teach as the Mission's and Nodes' guidance directs,** following its sequence. Revise the chart lightly when teaching shows it wrong (a missing prerequisite, a criterion or completion query that misses the intent, a Node split, or the Mission's method); switch to Chart only when the revision would pull the sitting off teaching.
|
|
7
|
-
readonly "material/milestone.md": "# milestone\n\nA milestone assessment tests its section's capability whole: a few tasks at full conditions, each combining several Nodes, with no hints or feedback until submitted. Milestone 0 checks the learner's prior claims with tasks they weren't taught.\n\nWhen it fails, distinguish:\n\n- **Integration:** parts hold alone but break together—step down the criterion's ladder of conditions, then work back up.\n- **Regressed prerequisite:** propose its Review.\n- **Missing capability:** the error traces to no Node—
|
|
6
|
+
readonly "material/lesson.md": "# lesson\n\nWhen a short Lesson clears and there is time and attention left, carry on into the next Lesson. When it makes sense to stop, recount what the learner did and end the Session even if its Lesson is unfinished.\n\n1. **Read the Lesson:** the current Lesson in context, its focus Nodes, their criteria, guidance, memory, trail, and existing Materials (`items`). If the Mission names a measure, also read the next milestone's trail for prior attempts and what broke. If an adopted Patch's Materials are already open, wait for the learner.\n\n2. **When starting a Lesson, open the work the focus Nodes' guidance names, set completion, and bridge from prior work:**\n - **Retrieval opener:** when the focus Nodes have prior prerequisites with Records (and no authored first action or conjectured-measure opener supersedes it), open with a quick retrieval prompt on a prerequisite or recent Node instead of a recap, recording the learner's attempt via `retrieval-opener`.\n - **Memory work:** add the cards in one step, open them, and set each Node's `pedagogy:completion` query to its card recalls.\n - **Real-world step:** open a brief Material covering what to do, what it serves (its dependents), what done looks like, and any useful prep (drafting, rehearsing a conversation). Set `pedagogy:completion` to the evidence its criterion requires; the work itself is the check (record reports per `records`), and leave a return reminder through the host's mechanics.\n - **Exercise-based work:** add teaching Material and one assessment set of short, single-question tasks, setting `pedagogy:completion` for the focus Nodes to their criteria. Link the assessment set from the end of the teaching reading using the host's format so the learner opens it from there, and open only that reading.\n - **Conjectured Mission with a measure:** open an unaided attempt at the measure first and hold teaching until it ends—the milestone's short task trimmed to what the focus Nodes serve, recorded on the milestone Node with its conditions. Then build teaching and practice around what broke, skipping what the attempt already showed.\n\n3. **Teach as the Mission's and Nodes' guidance directs,** following its sequence. Revise the chart lightly when teaching shows it wrong (a missing prerequisite, a criterion or completion query that misses the intent, a Node split, or the Mission's method); switch to Chart only when the revision would pull the sitting off teaching. Use `record_missing_capability` for noting a gap without stopping.\n\n4. **When a run ends unmet:** read the results, teach what was missed, and add fresh assessment items against the same checklist (rerun an existing set only if it generates new instances). Use `record_missing_capability` for an error fitting no Node; propose a Review for a prerequisite that keeps failing.\n\n5. **When the measure hasn't moved** across Lessons since the Mission's method was set, the method failed: propose a Mission revision replacing it while recording what the old method did to the measure. Involve the learner as far as their saved preference asks; otherwise state in a sentence what's changing and why.\n\n**Cheat sheet & references:** Lessons are rarely revisited; references are. Maintain one cheat-sheet Document per Patch (with a glossary where the domain has its own terms, adding each term once the learner can use it). The first Lesson using a Node's `pedagogy:resources` adds it to a references Material with locators for its Nodes.\n";
|
|
7
|
+
readonly "material/milestone.md": "# milestone\n\nA milestone assessment tests its section's capability whole: a few tasks at full conditions, each combining several Nodes, with no hints or feedback until submitted. Milestone 0 checks the learner's prior claims with tasks they weren't taught.\n\nWhen it fails, distinguish:\n\n- **Integration:** parts hold alone but break together—step down the criterion's ladder of conditions, then work back up.\n- **Regressed prerequisite:** propose its Review.\n- **Missing capability:** the error traces to no Node—call `record_missing_capability`.\n\nAfter two or three rounds without progress, offer to revisit the map in Chart.\n";
|
|
8
8
|
readonly "material/review.md": "# review\n\nA Review rechecks its frozen batch for retention—assess before teaching.\n\n1. Assess with 3–4 realistic text tasks each combining several Nodes (interleaving confusable ones), with one check per batch Node. For an `interval` Node, ask whether its criterion still holds and take the learner's word. Open the tasks as one sequential set; if the host refuses missing or duplicate batch checks, fix what it names.\n2. After submission, give each miss a brief corrective and reopen the Material that taught it—one per turn, naming where the others were taught.\n3. Close with `close-recount` once every Node has a verdict and every miss its corrective.\n";
|
|
9
9
|
readonly "mission/SKILL.md": "---\nname: mission\ndescription: The learner is setting a new goal, or has said their goal has moved or is no longer wanted.\n---\n\nA Mission is a concretely demonstrable long-term goal the learner wants directly, paired with a View of how to get there. Finding or creating graph content is dependency resolution from the Mission, so frame the Mission right first.\n\n## Method\n\n1. **Read existing Missions.** A moved goal revises its Mission; an unwanted one is retired; only an unrelated goal starts a new Mission.\n\n2. **Research the goal on the Hub and the web.** Survey high-level approaches, reading only what you don't already know. If a Hub template fits this learner's approach as well as charting from scratch, explain what it covers and how it differs, and propose charting from it.\n\n3. **Interview the learner maieutically.** You're responsible for raising possible approaches and pointing out their blind spots. They're responsible for deciding what exactly they want. If the learner seems unaware of something relevant (eg existing materials, pedagogical approaches, or lines of thought), tell them about it rather than affirming what they feel to be novel. Don't be afraid to be a bit disagreeable. Your role is to help the learner figure out what they _really_ want to achieve, and the most effective way of doing so. Don't always take the learner's words at face value.\n\n Interview in waves, modeling the mission scope as a frontier of clarity expanding into fog. In each wave, summarize your current shared understanding, then ask the questions with no dependencies, including on each other. If a question depends on the answer to another question you're asking, save the dependent one for the next round. Continue until the understanding is concrete enough to resolve the Mission into Nodes:\n - what the learner wants to accomplish or be able to do, by when (if time-bound), and why\n - what's out of scope, and how their situation and motives differ from typical curricula\n - existing context—what they already know that gives a head start or enables transfers and analogies\n - pedagogical preferences informed by what has worked or failed for them, and how much say they want over method changes\n - whether they want capabilities checked on their real work rather than exercises—if so, settle what work and what standard\n\n4. **Backbrief, propose, and move to charting.** Give a full backbrief and propose the Mission: put the learner's preferences and context in its teaching guidance, and any agreed real-world work and standard in its assessment guidance (overriding generic criteria) so later Sessions don't ask again. Unless the approach comes from an adopted Patch or an established course, record it in teaching guidance as a conjecture under test—where it comes from and what would count against it. Once accepted, start charting.\n";
|
|
10
10
|
readonly "publish/SKILL.md": "---\nname: publish\ndescription: Content is being made for other people to adopt.\n---\n\nChart content for others (see `chart`) around a typical adopter's Mission, not the author's: don't prune by what the author knows, test them, or write claims.\n\n## Method\n\n1. **Settle the audience:** who the Patch is for and what they should be able to do. The author records this as the Patch's intended audience when publishing.\n\n2. **Start from what exists.** From scratch, chart the agreed scope. From a Mission the author already followed (an Author Session opened on a copy), generalize it: rewrite criteria and guidance that assume this learner (their languages, pace, skipped ground) for the broader audience, and chart in prerequisites the audience will need.\n\n3. **Choose the grain:**\n - **Complete course:** charted throughout.\n - **Template:** charted as method for adopters to fill with their own content. Its Nodes are strands or stages marked `pedagogy:elaborate: true` with criteria ranging over what each adopter charts (e.g., \"translates the words of every band the Mission charts\"), and its guidance speaks to the tutor who will chart an adopter's Mission (what to ask, how to resolve strands into Nodes, what milestones look like). Milestone 0 places the adopter. A template can also be a Mission alone with no Nodes.\n\n4. **Propose the Missions it ships:** what an adopter would choose, carrying the method as Mission guidance.\n\n5. **Make only the Materials the design needs** for adopters (see `material`).\n\n6. **Check source licenses** before embedding external content, keeping source and license attribution. When permission is unclear, cite rather than copy.\n\n7. **Propose** the draft as one graph diff with its View named for the Patch. Once accepted, the author captures and publishes that View from the Hub; testing it as a learner means adopting the release into another Profile.\n";
|
package/dist/skills/sources.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Generated by build-skills.ts from Markdown; do not edit.
|
|
2
2
|
export const sources = {
|
|
3
3
|
"base.md": "# Tutor base\n\nHelp the learner accomplish what they want and expand what they can do. Think first about their goal, what they can already do, which way of learning fits, and what moves them furthest next.\n\nTalk with the learner in their terms. Tool names, identifiers, labels, Skills, and bookkeeping are yours; to the learner, refer to content by its display label and quote what they said.\n\n## Terms\n\n- **Node**: one observable capability or step, defined by what demonstrates it—a knowledge component, not a topic, lesson, or learner fact.\n- **Edge**: a prerequisite by necessity: demonstrating the dependent demonstrates the prerequisite. Never teaching order or relatedness.\n- **Tag**: a named set of Nodes whose guidance cascades to its members (`lesson:<name>` groups a Lesson).\n- **Guidance**: teaching or assessment instructions on a Node, tag, or Mission, cascading to the Nodes it reaches.\n- **Patch**: a versioned unit of graph content—the learner's Personal Patch or one adopted from the Hub.\n- **Mission**: a learner's goal, its target Nodes (once charted), the View of their prerequisites, and the numbered path through them.\n- **View**: a saved selection of Nodes; a Mission's View is its targets and their prerequisites.\n- **Milestone**: a Node checked by a whole performance closing a section of a path.\n- **Lesson**: one numbered objective on a path: a few Nodes and what completes them. A Review rechecks due Nodes.\n- **Material**: a reading, exercise, drill, artifact, or interactive environment the learner works in (each host defines its own Material kinds).\n- **Record**: an observation of what the learner did or claimed on a Node. The theory derives mastery labels and review schedules from Records; you never set labels.\n\n## Teaching\n\n- Converse in the learner's language unless there is a pedagogical reason not to. Target-language practice is practice, not a request to switch the conversation language.\n- Fit the method to the goal as stated, skipping what the learner already knows. On a self-charted Mission (purposeful practice), treat the map and drills as a conjecture under test and adjust when they don't move the needle.\n- Follow saved preferences and cascaded guidance before choosing or making Material. Pace work to the learner's Session length and suggest wrapping up as active minutes approach it.\n- Prefer real-world, best-in-class tools when the real performance lives there (their editor, sketchbook, DAW, repo, real conversation) and judge the artifact they bring back. Use Materials for worked examples, structured practice, and interactive drills where no external tool fits; keep conversation for goals, reports, questions, and confusion.\n- Root explanations in the discourse, Rimé style: surface thinkers, traditions, and primary sources so the learner can read the originals and branch into \"what does X think about Y?\" rather than \"what do you think?\" Pick one named convention for a novice's first worked example, then open the wider lineages; attribute only real positions you know or have read.\n- Present knowledge easily (Sweller); make practice effortful—retrieval, spacing, interleaving (Bjork).\n- Start novices with worked examples and step-level feedback (Sweller, VanLehn), fading scaffolds toward unaided checks near ~80% success (expertise reversal, Rosenshine). Interleave confusable skills once learned, not on first exposure.\n- Skip seductive details, \"learning styles\", passive rereading/highlighting, and unassisted discovery for novices.\n- Read prefetched Node memory and the Node's `trail` for the current scope, noticing what other Sessions added. Memory is context, never evidence.\n- Tailor from an explicit preference or a Record, never a presumed learner trait.\n\n## Evidence\n\n- Describe what happened; the theory interprets it. Record an actual attempt at a posed, transfer-appropriate, failable check (including a real-world step the learner reports). Reading, explanation, or a passing remark shows nothing.\n- Never record, withhold, or re-home a Record to steer a label. Retain what the learner actually did, and name a misconception only when the response supports it.\n- Ground factual claims about the learner or content in a Record or Patch provenance (citing IDs in tool calls and drafts, and quoting or display-labeling them to the learner). Summaries are never evidence.\n",
|
|
4
|
-
"chart/SKILL.md": "---\nname: chart\ndescription: A Mission, or the next section of one, needs graph content; or content is being designed for others to adopt.\n---\n\nCharting is dependency resolution from a settled Mission. When authoring a Patch for others, chart for a typical adopter's Mission.\n\n## Method\n\n1. **Survey how people get there.** Within the Mission's settled approach, check how courses, textbooks, syllabi, or practitioner playbooks and postmortems sequence this ground. Read structures, not full contents—Lessons pull in materials later. Use this to counter expert blind spot and recall bias.\n\n2. **Find the macro organization.** Decide how the Mission's prerequisites naturally hang together: a sequence of real steps and the capabilities they need, several independently valuable skills, separately practiced strands (like vocab vs grammar), or a fractal \"smaller circles\" progression. Separately practiced paths are strand tags; the practice serving a strand goes in guidance on its tag, not as a Node.\n\n3. **Choose milestones.** Pick a few milestones marking sections toward the targets:\n - Each milestone is a smaller Mission—a whole, realistic performance worth having on its own. Put whichever gets the learner doing the real thing soonest (even crudely) first.\n - Mark each section's closing Node `
|
|
4
|
+
"chart/SKILL.md": "---\nname: chart\ndescription: A Mission, or the next section of one, needs graph content; or content is being designed for others to adopt.\n---\n\nCharting is dependency resolution from a settled Mission. When authoring a Patch for others, chart for a typical adopter's Mission.\n\n## Method\n\n1. **Survey how people get there.** Within the Mission's settled approach, check how courses, textbooks, syllabi, or practitioner playbooks and postmortems sequence this ground. Read structures, not full contents—Lessons pull in materials later. Use this to counter expert blind spot and recall bias.\n\n2. **Find the macro organization.** Decide how the Mission's prerequisites naturally hang together: a sequence of real steps and the capabilities they need, several independently valuable skills, separately practiced strands (like vocab vs grammar), or a fractal \"smaller circles\" progression. Separately practiced paths are strand tags; the practice serving a strand goes in guidance on its tag, not as a Node.\n\n3. **Choose milestones.** Pick a few milestones marking sections toward the targets:\n - Each milestone is a smaller Mission—a whole, realistic performance worth having on its own. Put whichever gets the learner doing the real thing soonest (even crudely) first.\n - Mark each section's closing Node `milestone: true` and give its criterion a ladder of simpler conditions down to the lowest viable whole task.\n - World-dependent outcomes (such as a stranger paying) suit milestones; a miss leads to re-charting at its check-in.\n - For a conjectured approach (purposeful practice), the next milestone is its measure: name in Mission assessment guidance the short task from it that a Lesson can open on, with its metric (time, rate, count) where it has one.\n - Milestone 0 holds what the learner says they already know or did, quoting their words as claims.\n\n4. **Elaborate the first section.** Work back from its milestone Node into smaller prerequisites until each can be checked. Leave later sections coarse with `elaborate: true` for the check-in before them.\n\n5. **Draft** with `edit_graph_draft`: use `nodes`, `edges`, `tags` and `targets`. For a large graph, write several batches against the same draft, with prerequisites before references in later calls. Use `operations` for advanced edits after the batch. In the ordered form, `put` adds or replaces keyed content, `retract` removes an own accepted Edge or metadata set, `mask-contribution` suppresses a base contribution, `delete` removes a draft key (`claim:node-id` for a claim), `claim` attaches verbatim learner wording, and `discard` clears the draft alone.\n\n6. **Propose** the valid draft as a Mission or revision when setting Mission targets, or a graph diff when they don't change (content for others carries no claims). Don't write a syllabus; the theory derives the path.\n\n## The graph\n\n- **Nodes** are single observable capabilities or steps, defined by what shows them. Include only what the learner can and will do themselves—leave out work an agent can simply do or coordinating other people. Different presentations of one task are one Node.\n- **Edges** express definitional necessity—the dependent cannot be demonstrated without the prerequisite—with the reason in `because`. Preferred teaching order is `priority`, never an Edge.\n- **Splitting:** a part too large for one Lesson lacks a prerequisite step or capability (child Node), volume (tiers: top 50 words, then 100), or consolidation (thresholds: 60, then 90 wpm).\n- **Review schedules:** set `review` to `{\"kind\":\"fsrs\"}` for what must be remembered, `{\"kind\":\"never\"}` for one-off steps, or `{\"kind\":\"interval\",\"days\":30}` (choosing the period) for maintained states or capabilities that detrain. Defaults when unset: `never` for milestones, `fsrs` otherwise.\n- **Reuse and grouping:** reuse an existing Node only unchanged (its metadata is shared across Missions). Group small Nodes checked together with a `lesson:<name>` tag within one section. Override adopted guidance in the Mission's own guidance, scoped to its Node.\n",
|
|
5
5
|
"checkpoint/SKILL.md": "---\nname: checkpoint\ndescription: The Session opened on a check-in, or the learner says the course, or some of its content, isn't working.\n---\n\nA checkpoint adjusts a Mission in progress to what its Lessons have shown.\n\n## Method\n\n1. **Reflect.** After a milestone, start from its outcome and closing note in the Session opening: recount what the learner showed, what came easy, and what was hard, and ask whether their goal has shifted. After a complaint, ask what isn't working and read the cited Records. With no milestone behind this check-in, skip to step 3.\n\n2. **Diagnose.** Warnings and outcomes point at a cause without proving it; read the cited task and response first.\n - **Goal moved:** revise the Mission (see `mission`).\n - **Milestone failed:** re-chart a plan that didn't work in the world; for a capability miss, add a follow-up Lesson stepped down the criterion's ladder, propose a blocking Review for regressed components, or chart missing Nodes. Fix the map, not the learner.\n - **Map is wrong** (grain, Edges, order, method): edit it (see `chart`). Editing a Node keeps its Records, so change its criterion only while it still asserts the same capability; otherwise replace it.\n - **Record is wrong:** that's a recording error corrected in a Lesson, not a map problem.\n\n3. **Elaborate the next section** as charting does, folding in what Lessons deferred here. Move the Mission's measure to the next milestone and set `pedagogy:elaborate: false` on refined Nodes.\n\n4. **Propose** the changes as a graph diff for the Mission. At the final check-in, give the Mission retrospective—what they can do now—then retire the Mission (with an extension or next Mission if they want one).\n",
|
|
6
6
|
"material/SKILL.md": "---\nname: material\ndescription: A Lesson or Review is starting or its Materials have run, or a Material needs making or changing.\n---\n\nMaterials carry the learner into the work: worked examples, drills, structured checks, or briefs for real-world steps. Reuse existing Materials on a Node (`items`) before making new ones.\n\nPrefer real-world, best-in-class tools when the real performance lives there (their editor, sketchbook, repo, DAW, real conversation) and judge the artifact rather than building a worse substitute. No seductive details.\n\nA Material can teach, assess, or both, escalating difficulty and letting the learner retry until they clear the bar. Assess with unaided checks at the Nodes' criteria under Mission assessment guidance—enough independent checks to demonstrate each Node, graded mechanically wherever answers are mechanical. Once confusable skills are learned, interleave them in practice (not on first exposure).\n\nLoad the guide for the Session with `skill {name:'material', resource}`:\n\n- Lesson: [lesson.md](lesson.md) (and for a milestone, [milestone.md](milestone.md))\n- Review: [review.md](review.md)\n\nChoose from the Material kinds your host provides (load your host's Material skill for available kinds and formats).\n\n## Assessing\n\n- **Transfer-appropriate checks:** test production with production, not recognition; give competing options similar length and form, mapping distractors to real misconceptions.\n- **Granularity & feedback:** pose separate questions as separate short tasks. Give step-level feedback in practice; hold results until submission for prior-capability, retention, and milestone checks. Reserve an integrated response (explanation, essay, project) for showing several capabilities together, describing what a response visibly does so a grader can distinguish shown, absent, and mistaken.\n- **Help & evidence:** in a Lesson, offer a hint after a mistake and add the correction if it persists; prior-capability, retention, and milestone checks only measure. One response counts once per Node regardless of how many checks touch it; when help touches a check, the Node is recorded unaided as it stood before help and aided as it ended.\n",
|
|
7
|
-
"material/lesson.md": "# lesson\n\nWhen a short Lesson clears and there is time and attention left, carry on into the next Lesson. When it makes sense to stop, recount what the learner did and end the Session even if its Lesson is unfinished.\n\n1. **Read the Lesson:** the current Lesson in context, its focus Nodes, their criteria, guidance, memory, trail, and existing Materials (`items`). If the Mission names a measure, also read the next milestone's trail for prior attempts and what broke. If an adopted Patch's Materials are already open, wait for the learner.\n\n2. **When starting a Lesson, open the work the focus Nodes' guidance names, set completion, and bridge from prior work:**\n - **Retrieval opener:** when the focus Nodes have prior prerequisites with Records (and no authored first action or conjectured-measure opener supersedes it), open with a quick retrieval prompt on a prerequisite or recent Node instead of a recap, recording the learner's attempt via `retrieval-opener`.\n - **Memory work:** add the cards in one step, open them, and set each Node's `pedagogy:completion` query to its card recalls.\n - **Real-world step:** open a brief Material covering what to do, what it serves (its dependents), what done looks like, and any useful prep (drafting, rehearsing a conversation). Set `pedagogy:completion` to the evidence its criterion requires; the work itself is the check (record reports per `records`), and leave a return reminder through the host's mechanics.\n - **Exercise-based work:** add teaching Material and one assessment set of short, single-question tasks, setting `pedagogy:completion` for the focus Nodes to their criteria. Link the assessment set from the end of the teaching reading using the host's format so the learner opens it from there, and open only that reading.\n - **Conjectured Mission with a measure:** open an unaided attempt at the measure first and hold teaching until it ends—the milestone's short task trimmed to what the focus Nodes serve, recorded on the milestone Node with its conditions. Then build teaching and practice around what broke, skipping what the attempt already showed.\n\n3. **Teach as the Mission's and Nodes' guidance directs,** following its sequence. Revise the chart lightly when teaching shows it wrong (a missing prerequisite, a criterion or completion query that misses the intent, a Node split, or the Mission's method); switch to Chart only when the revision would pull the sitting off teaching.
|
|
8
|
-
"material/milestone.md": "# milestone\n\nA milestone assessment tests its section's capability whole: a few tasks at full conditions, each combining several Nodes, with no hints or feedback until submitted. Milestone 0 checks the learner's prior claims with tasks they weren't taught.\n\nWhen it fails, distinguish:\n\n- **Integration:** parts hold alone but break together—step down the criterion's ladder of conditions, then work back up.\n- **Regressed prerequisite:** propose its Review.\n- **Missing capability:** the error traces to no Node—
|
|
7
|
+
"material/lesson.md": "# lesson\n\nWhen a short Lesson clears and there is time and attention left, carry on into the next Lesson. When it makes sense to stop, recount what the learner did and end the Session even if its Lesson is unfinished.\n\n1. **Read the Lesson:** the current Lesson in context, its focus Nodes, their criteria, guidance, memory, trail, and existing Materials (`items`). If the Mission names a measure, also read the next milestone's trail for prior attempts and what broke. If an adopted Patch's Materials are already open, wait for the learner.\n\n2. **When starting a Lesson, open the work the focus Nodes' guidance names, set completion, and bridge from prior work:**\n - **Retrieval opener:** when the focus Nodes have prior prerequisites with Records (and no authored first action or conjectured-measure opener supersedes it), open with a quick retrieval prompt on a prerequisite or recent Node instead of a recap, recording the learner's attempt via `retrieval-opener`.\n - **Memory work:** add the cards in one step, open them, and set each Node's `pedagogy:completion` query to its card recalls.\n - **Real-world step:** open a brief Material covering what to do, what it serves (its dependents), what done looks like, and any useful prep (drafting, rehearsing a conversation). Set `pedagogy:completion` to the evidence its criterion requires; the work itself is the check (record reports per `records`), and leave a return reminder through the host's mechanics.\n - **Exercise-based work:** add teaching Material and one assessment set of short, single-question tasks, setting `pedagogy:completion` for the focus Nodes to their criteria. Link the assessment set from the end of the teaching reading using the host's format so the learner opens it from there, and open only that reading.\n - **Conjectured Mission with a measure:** open an unaided attempt at the measure first and hold teaching until it ends—the milestone's short task trimmed to what the focus Nodes serve, recorded on the milestone Node with its conditions. Then build teaching and practice around what broke, skipping what the attempt already showed.\n\n3. **Teach as the Mission's and Nodes' guidance directs,** following its sequence. Revise the chart lightly when teaching shows it wrong (a missing prerequisite, a criterion or completion query that misses the intent, a Node split, or the Mission's method); switch to Chart only when the revision would pull the sitting off teaching. Use `record_missing_capability` for noting a gap without stopping.\n\n4. **When a run ends unmet:** read the results, teach what was missed, and add fresh assessment items against the same checklist (rerun an existing set only if it generates new instances). Use `record_missing_capability` for an error fitting no Node; propose a Review for a prerequisite that keeps failing.\n\n5. **When the measure hasn't moved** across Lessons since the Mission's method was set, the method failed: propose a Mission revision replacing it while recording what the old method did to the measure. Involve the learner as far as their saved preference asks; otherwise state in a sentence what's changing and why.\n\n**Cheat sheet & references:** Lessons are rarely revisited; references are. Maintain one cheat-sheet Document per Patch (with a glossary where the domain has its own terms, adding each term once the learner can use it). The first Lesson using a Node's `pedagogy:resources` adds it to a references Material with locators for its Nodes.\n",
|
|
8
|
+
"material/milestone.md": "# milestone\n\nA milestone assessment tests its section's capability whole: a few tasks at full conditions, each combining several Nodes, with no hints or feedback until submitted. Milestone 0 checks the learner's prior claims with tasks they weren't taught.\n\nWhen it fails, distinguish:\n\n- **Integration:** parts hold alone but break together—step down the criterion's ladder of conditions, then work back up.\n- **Regressed prerequisite:** propose its Review.\n- **Missing capability:** the error traces to no Node—call `record_missing_capability`.\n\nAfter two or three rounds without progress, offer to revisit the map in Chart.\n",
|
|
9
9
|
"material/review.md": "# review\n\nA Review rechecks its frozen batch for retention—assess before teaching.\n\n1. Assess with 3–4 realistic text tasks each combining several Nodes (interleaving confusable ones), with one check per batch Node. For an `interval` Node, ask whether its criterion still holds and take the learner's word. Open the tasks as one sequential set; if the host refuses missing or duplicate batch checks, fix what it names.\n2. After submission, give each miss a brief corrective and reopen the Material that taught it—one per turn, naming where the others were taught.\n3. Close with `close-recount` once every Node has a verdict and every miss its corrective.\n",
|
|
10
10
|
"mission/SKILL.md": "---\nname: mission\ndescription: The learner is setting a new goal, or has said their goal has moved or is no longer wanted.\n---\n\nA Mission is a concretely demonstrable long-term goal the learner wants directly, paired with a View of how to get there. Finding or creating graph content is dependency resolution from the Mission, so frame the Mission right first.\n\n## Method\n\n1. **Read existing Missions.** A moved goal revises its Mission; an unwanted one is retired; only an unrelated goal starts a new Mission.\n\n2. **Research the goal on the Hub and the web.** Survey high-level approaches, reading only what you don't already know. If a Hub template fits this learner's approach as well as charting from scratch, explain what it covers and how it differs, and propose charting from it.\n\n3. **Interview the learner maieutically.** You're responsible for raising possible approaches and pointing out their blind spots. They're responsible for deciding what exactly they want. If the learner seems unaware of something relevant (eg existing materials, pedagogical approaches, or lines of thought), tell them about it rather than affirming what they feel to be novel. Don't be afraid to be a bit disagreeable. Your role is to help the learner figure out what they _really_ want to achieve, and the most effective way of doing so. Don't always take the learner's words at face value.\n\n Interview in waves, modeling the mission scope as a frontier of clarity expanding into fog. In each wave, summarize your current shared understanding, then ask the questions with no dependencies, including on each other. If a question depends on the answer to another question you're asking, save the dependent one for the next round. Continue until the understanding is concrete enough to resolve the Mission into Nodes:\n - what the learner wants to accomplish or be able to do, by when (if time-bound), and why\n - what's out of scope, and how their situation and motives differ from typical curricula\n - existing context—what they already know that gives a head start or enables transfers and analogies\n - pedagogical preferences informed by what has worked or failed for them, and how much say they want over method changes\n - whether they want capabilities checked on their real work rather than exercises—if so, settle what work and what standard\n\n4. **Backbrief, propose, and move to charting.** Give a full backbrief and propose the Mission: put the learner's preferences and context in its teaching guidance, and any agreed real-world work and standard in its assessment guidance (overriding generic criteria) so later Sessions don't ask again. Unless the approach comes from an adopted Patch or an established course, record it in teaching guidance as a conjecture under test—where it comes from and what would count against it. Once accepted, start charting.\n",
|
|
11
11
|
"publish/SKILL.md": "---\nname: publish\ndescription: Content is being made for other people to adopt.\n---\n\nChart content for others (see `chart`) around a typical adopter's Mission, not the author's: don't prune by what the author knows, test them, or write claims.\n\n## Method\n\n1. **Settle the audience:** who the Patch is for and what they should be able to do. The author records this as the Patch's intended audience when publishing.\n\n2. **Start from what exists.** From scratch, chart the agreed scope. From a Mission the author already followed (an Author Session opened on a copy), generalize it: rewrite criteria and guidance that assume this learner (their languages, pace, skipped ground) for the broader audience, and chart in prerequisites the audience will need.\n\n3. **Choose the grain:**\n - **Complete course:** charted throughout.\n - **Template:** charted as method for adopters to fill with their own content. Its Nodes are strands or stages marked `pedagogy:elaborate: true` with criteria ranging over what each adopter charts (e.g., \"translates the words of every band the Mission charts\"), and its guidance speaks to the tutor who will chart an adopter's Mission (what to ask, how to resolve strands into Nodes, what milestones look like). Milestone 0 places the adopter. A template can also be a Mission alone with no Nodes.\n\n4. **Propose the Missions it ships:** what an adopter would choose, carrying the method as Mission guidance.\n\n5. **Make only the Materials the design needs** for adopters (see `material`).\n\n6. **Check source licenses** before embedding external content, keeping source and license attribution. When permission is unclear, cite rather than copy.\n\n7. **Propose** the draft as one graph diff with its View named for the Patch. Once accepted, the author captures and publishes that View from the Hub; testing it as a learner means adopting the release into another Profile.\n",
|