@creator-notes/cnotes 0.99.0 → 0.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/dist/commands/canvas.d.ts.map +1 -1
- package/dist/commands/canvas.js +46 -0
- package/dist/commands/canvas.js.map +1 -1
- package/dist/commands/draft.d.ts.map +1 -1
- package/dist/commands/draft.js +15 -3
- package/dist/commands/draft.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/operations.d.ts.map +1 -1
- package/dist/commands/operations.js +4 -2
- package/dist/commands/operations.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 +11 -0
- package/dist/lib/canvas-goal.d.ts.map +1 -1
- package/dist/lib/canvas-goal.js +29 -0
- package/dist/lib/canvas-goal.js.map +1 -1
- 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/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 +2 -2
- package/skills/cnotes/references/canvas.md +6 -0
- package/skills/cnotes/references/operations.md +6 -6
- package/skills/goal-tree/SKILL.md +146 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Goal trees: Goal notes linked by `depends-on`, each with a "Done when".
|
|
3
|
+
*
|
|
4
|
+
* Nothing here stores a status. A goal's state is DERIVED every time:
|
|
5
|
+
*
|
|
6
|
+
* - A goal with child goals is met when every child is met. Its own "Done
|
|
7
|
+
* when" should say exactly that ("Done when every child goal is met"); any
|
|
8
|
+
* other claim it makes is ignored and flagged, because a parent's state
|
|
9
|
+
* comes only from its children, in code, never from a model.
|
|
10
|
+
* - A leaf goal is met when it carries a `met-by` link to the evidence (a
|
|
11
|
+
* person or agent confirmed it), or else takes its board's done score: the
|
|
12
|
+
* judge's reading of whether the board's "Done when" is true
|
|
13
|
+
* (convex/canvasDone.ts). A score judged against an older wording of the
|
|
14
|
+
* goal does not count.
|
|
15
|
+
*
|
|
16
|
+
* The frontier is every goal that is not met and whose children are all met:
|
|
17
|
+
* the work that can start now. Computed fresh, never stored, the way wayfind
|
|
18
|
+
* computes its frontier.
|
|
19
|
+
*
|
|
20
|
+
* Pure: the CLI fetches the graph and this module decides. Shared with the
|
|
21
|
+
* web app and MCP through the same import path as canvas-goal.ts.
|
|
22
|
+
*/
|
|
23
|
+
export type GoalState = "met" | "partly" | "not_met" | "unknown";
|
|
24
|
+
export interface BoardScore {
|
|
25
|
+
level: 0 | 1 | 2;
|
|
26
|
+
/** False when the board's goal was reworded after this judgment. */
|
|
27
|
+
fresh: boolean;
|
|
28
|
+
evidence: string | null;
|
|
29
|
+
cards: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface GoalBoard {
|
|
32
|
+
canvasId: string;
|
|
33
|
+
displayId: string | null;
|
|
34
|
+
name: string;
|
|
35
|
+
score: BoardScore | null;
|
|
36
|
+
}
|
|
37
|
+
export interface GoalNodeInput {
|
|
38
|
+
displayId: string;
|
|
39
|
+
title: string;
|
|
40
|
+
doneWhen: string | null;
|
|
41
|
+
/** Display ids of child goals (live outgoing depends-on to Goal notes). */
|
|
42
|
+
children: string[];
|
|
43
|
+
/** Display ids this goal is met-by (live outgoing met-by links). */
|
|
44
|
+
metBy: string[];
|
|
45
|
+
board: GoalBoard | null;
|
|
46
|
+
}
|
|
47
|
+
export interface GoalNodeView {
|
|
48
|
+
displayId: string;
|
|
49
|
+
title: string;
|
|
50
|
+
depth: number;
|
|
51
|
+
state: GoalState;
|
|
52
|
+
/** One plain sentence saying why the goal is in this state. */
|
|
53
|
+
reason: string;
|
|
54
|
+
children: string[];
|
|
55
|
+
board: GoalBoard | null;
|
|
56
|
+
doneWhen: string | null;
|
|
57
|
+
/** True when this goal appears again lower in the tree; shown once in full. */
|
|
58
|
+
repeat: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface GoalTreeView {
|
|
61
|
+
root: string;
|
|
62
|
+
/** Depth-first, root first. A goal shared by two parents is listed under each, in full once. */
|
|
63
|
+
nodes: GoalNodeView[];
|
|
64
|
+
/** Not met, every child met: the goals work can start on now. */
|
|
65
|
+
frontier: string[];
|
|
66
|
+
warnings: string[];
|
|
67
|
+
counts: Record<GoalState, number>;
|
|
68
|
+
}
|
|
69
|
+
export declare const CHILDREN_DONE_WHEN = "Done when every child goal is met.";
|
|
70
|
+
export declare function deriveGoalTree(rootId: string, nodes: ReadonlyMap<string, GoalNodeInput>): GoalTreeView;
|
|
71
|
+
//# sourceMappingURL=goal-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"goal-tree.d.ts","sourceRoot":"","sources":["../../src/lib/goal-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjB,oEAAoE;IACpE,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,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ERIVED every time:
|
|
5
|
+
*
|
|
6
|
+
* - A goal with child goals is met when every child is met. Its own "Done
|
|
7
|
+
* when" should say exactly that ("Done when every child goal is met"); any
|
|
8
|
+
* other claim it makes is ignored and flagged, because a parent's state
|
|
9
|
+
* comes only from its children, in code, never from a model.
|
|
10
|
+
* - A leaf goal is met when it carries a `met-by` link to the evidence (a
|
|
11
|
+
* person or agent confirmed it), or else takes its board's done score: the
|
|
12
|
+
* judge's reading of whether the board's "Done when" is true
|
|
13
|
+
* (convex/canvasDone.ts). A score judged against an older wording of the
|
|
14
|
+
* goal does not count.
|
|
15
|
+
*
|
|
16
|
+
* The frontier is every goal that is not met and whose children are all met:
|
|
17
|
+
* the work that can start now. Computed fresh, never stored, the way wayfind
|
|
18
|
+
* computes its frontier.
|
|
19
|
+
*
|
|
20
|
+
* Pure: the CLI fetches the graph and this module decides. Shared with the
|
|
21
|
+
* web app and MCP through the same import path as canvas-goal.ts.
|
|
22
|
+
*/
|
|
23
|
+
const LEVEL_STATE = { 0: "not_met", 1: "partly", 2: "met" };
|
|
24
|
+
export const CHILDREN_DONE_WHEN = "Done when every child goal is met.";
|
|
25
|
+
function parentClaimIsOnlyChildren(doneWhen) {
|
|
26
|
+
if (!doneWhen)
|
|
27
|
+
return true;
|
|
28
|
+
return /\bevery\s+(?:child|sub-?)\s*goal\b|\ball\s+(?:child|sub-?)\s*goals\b/i.test(doneWhen);
|
|
29
|
+
}
|
|
30
|
+
function leafState(node) {
|
|
31
|
+
if (node.metBy.length > 0) {
|
|
32
|
+
return { state: "met", reason: `Confirmed by ${node.metBy.join(", ")}.` };
|
|
33
|
+
}
|
|
34
|
+
if (!node.board) {
|
|
35
|
+
return { state: "unknown", reason: "No board carries this Done when, and nothing confirms it with a met-by link." };
|
|
36
|
+
}
|
|
37
|
+
const where = node.board.displayId ?? node.board.name;
|
|
38
|
+
const score = node.board.score;
|
|
39
|
+
if (!score)
|
|
40
|
+
return { state: "unknown", reason: `${where} has not been judged yet.` };
|
|
41
|
+
if (!score.fresh)
|
|
42
|
+
return { state: "unknown", reason: `${where} was judged against an older wording of its goal.` };
|
|
43
|
+
const evidence = score.evidence ? ` ${score.evidence}` : "";
|
|
44
|
+
return { state: LEVEL_STATE[score.level], reason: `${where} reads ${LEVEL_STATE[score.level].replace("_", " ")}.${evidence}` };
|
|
45
|
+
}
|
|
46
|
+
function combine(childStates) {
|
|
47
|
+
if (childStates.length === 0)
|
|
48
|
+
return "unknown";
|
|
49
|
+
if (childStates.every((s) => s === "met"))
|
|
50
|
+
return "met";
|
|
51
|
+
if (childStates.some((s) => s === "met" || s === "partly"))
|
|
52
|
+
return "partly";
|
|
53
|
+
if (childStates.every((s) => s === "unknown"))
|
|
54
|
+
return "unknown";
|
|
55
|
+
return "not_met";
|
|
56
|
+
}
|
|
57
|
+
export function deriveGoalTree(rootId, nodes) {
|
|
58
|
+
const warnings = [];
|
|
59
|
+
const state = new Map();
|
|
60
|
+
const resolvedChildren = new Map();
|
|
61
|
+
const visiting = new Set();
|
|
62
|
+
// Post-order: a goal's state needs its children's first. A cycle edge is
|
|
63
|
+
// dropped and named, so a loop never hangs or silently counts as met.
|
|
64
|
+
const visit = (id) => {
|
|
65
|
+
if (state.has(id))
|
|
66
|
+
return;
|
|
67
|
+
const node = nodes.get(id);
|
|
68
|
+
if (!node)
|
|
69
|
+
return;
|
|
70
|
+
visiting.add(id);
|
|
71
|
+
const kids = [];
|
|
72
|
+
for (const child of node.children) {
|
|
73
|
+
if (child === id || visiting.has(child)) {
|
|
74
|
+
warnings.push(`${id} depends on ${child}, which depends back on ${id}. That link is ignored until the loop is broken.`);
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
if (!nodes.has(child)) {
|
|
78
|
+
warnings.push(`${id} depends on ${child}, which could not be read. It is left out.`);
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
visit(child);
|
|
82
|
+
kids.push(child);
|
|
83
|
+
}
|
|
84
|
+
visiting.delete(id);
|
|
85
|
+
resolvedChildren.set(id, kids);
|
|
86
|
+
if (!node.doneWhen)
|
|
87
|
+
warnings.push(`${id} has no "Done when" sentence, so nothing can tell when it is finished.`);
|
|
88
|
+
if (kids.length === 0) {
|
|
89
|
+
state.set(id, leafState(node));
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (!parentClaimIsOnlyChildren(node.doneWhen)) {
|
|
93
|
+
warnings.push(`${id} has child goals but its Done when makes its own claim. Its state comes only from its children; write "${CHILDREN_DONE_WHEN}"`);
|
|
94
|
+
}
|
|
95
|
+
if (node.metBy.length > 0) {
|
|
96
|
+
warnings.push(`${id} has a met-by link, but a goal with children is met only when they all are.`);
|
|
97
|
+
}
|
|
98
|
+
const childStates = kids.map((k) => state.get(k).state);
|
|
99
|
+
const met = childStates.filter((s) => s === "met").length;
|
|
100
|
+
state.set(id, { state: combine(childStates), reason: `${met} of ${kids.length} child goals met.` });
|
|
101
|
+
};
|
|
102
|
+
visit(rootId);
|
|
103
|
+
const views = [];
|
|
104
|
+
const shown = new Set();
|
|
105
|
+
const walk = (id, depth, path) => {
|
|
106
|
+
const node = nodes.get(id);
|
|
107
|
+
const s = state.get(id);
|
|
108
|
+
if (!node || !s)
|
|
109
|
+
return;
|
|
110
|
+
const repeat = shown.has(id);
|
|
111
|
+
shown.add(id);
|
|
112
|
+
const children = resolvedChildren.get(id) ?? [];
|
|
113
|
+
views.push({
|
|
114
|
+
displayId: id,
|
|
115
|
+
title: node.title,
|
|
116
|
+
depth,
|
|
117
|
+
state: s.state,
|
|
118
|
+
reason: s.reason,
|
|
119
|
+
children,
|
|
120
|
+
board: node.board,
|
|
121
|
+
doneWhen: node.doneWhen,
|
|
122
|
+
repeat,
|
|
123
|
+
});
|
|
124
|
+
if (repeat)
|
|
125
|
+
return;
|
|
126
|
+
const next = new Set(path).add(id);
|
|
127
|
+
for (const child of children)
|
|
128
|
+
if (!next.has(child))
|
|
129
|
+
walk(child, depth + 1, next);
|
|
130
|
+
};
|
|
131
|
+
walk(rootId, 0, new Set());
|
|
132
|
+
const frontier = views
|
|
133
|
+
.filter((v) => !v.repeat && v.state !== "met" && v.children.every((c) => state.get(c)?.state === "met"))
|
|
134
|
+
.map((v) => v.displayId);
|
|
135
|
+
const counts = { met: 0, partly: 0, not_met: 0, unknown: 0 };
|
|
136
|
+
for (const v of views)
|
|
137
|
+
if (!v.repeat)
|
|
138
|
+
counts[v.state]++;
|
|
139
|
+
return { root: rootId, nodes: views, frontier, warnings: [...new Set(warnings)], counts };
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=goal-tree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"goal-tree.js","sourceRoot":"","sources":["../../src/lib/goal-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAsDH,MAAM,WAAW,GAAiC,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;AAE1F,MAAM,CAAC,MAAM,kBAAkB,GAAG,oCAAoC,CAAC;AAEvE,SAAS,yBAAyB,CAAC,QAAuB;IACxD,IAAI,CAAC,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC3B,OAAO,uEAAuE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AAChG,CAAC;AAED,SAAS,SAAS,CAAC,IAAmB;IACpC,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IAC5E,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QAChB,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,8EAA8E,EAAE,CAAC;IACtH,CAAC;IACD,MAAM,KAAK,GAAG,IAAI,C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AE,WAAsB,GAAG,OAAO,CAE7E;AAOD,+DAA+D;AAC/D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAEjE;AAkDD;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,IAAI,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,YAAY,EAuDvC,CAAC;AAEF,+EAA+E;AAC/E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAK3E;AAcD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,kBAAkB,CAexF;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,IAAI,kBAAkB,EAAE,CAc7D;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,MAAM,GAAE,WAAsB,GAAG,kBAAkB,CAkB/E"}
|
|
@@ -163,6 +163,13 @@ export const SKILL_CATALOG = [
|
|
|
163
163
|
description: "Plan work too big for one agent session as a decision map on a canvas: chart Question tickets, then resolve one per session until the way is clear.",
|
|
164
164
|
auto: false,
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
name: "goal-tree",
|
|
168
|
+
aliases: ["goal-trees", "goals", "goaltree", "goal-tree-map"],
|
|
169
|
+
label: "Goal tree",
|
|
170
|
+
description: "Break an outcome into Goal notes linked by depends-on, each done when its \"Done when\" is true on its board, then work the frontier one goal at a time with no status fields.",
|
|
171
|
+
auto: false,
|
|
172
|
+
},
|
|
166
173
|
{
|
|
167
174
|
name: "attention-planner",
|
|
168
175
|
aliases: ["attention", "attention-plan", "plan-attention", "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sB,QAAQ;IACzD,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;IACzC,MAAM,IAAI,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACtC,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,UAAU,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,CAAC;QAC9D,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;IAC7E,CAAC;IAED,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,yBAAyB;IAC1E,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,uDAAuD;IAClF,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACrD,CAAC"}
|
package/dist/program.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"program.d.ts","sourceRoot":"","sources":["../src/program.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiCpC;;;GAGG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAY9E;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CA2GrD"}
|
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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"}
|
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
|
---
|
|
@@ -13,7 +13,7 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
1. **Confirm the workspace.** `cnotes workspace current` names it and lists its relationship types. `-w <id>` targets another one for a single command.
|
|
15
15
|
2. **Read before you write.** `cnotes brief "<task>"` returns the notes, canvases and recent changes most relevant to the task. Search notes and canvases separately (they are different corpora): `cnotes search semantic "<topic>"` and `cnotes canvas search "<topic>"`. `cnotes notes get <id> --expand` loads a note with the notes it rests on. Before changing a canvas, `cnotes canvas read <canvasId>`. A Decision or Guide you find may already settle what you were about to propose.
|
|
16
|
-
3. **Open a run.** `cnotes operations begin --prompt "<the change,
|
|
16
|
+
3. **Open a run.** `cnotes operations begin --prompt "<the change as a past-tense headline, e.g. Added a risks list to the Q1 roadmap>" --json`, as its own command; check its exit code before writing (a pipe hides it). `notes create` refuses to run without one. The response carries `typeRubrics` and the same brief; `-q` prints only the run id when you already have both. One canvas per run: end it and begin another before writing to a second canvas.
|
|
17
17
|
4. **Write to the type's rubric.** Pick the type, run `cnotes types show <Type>`, and author to its rubric. Audience-facing prose (note bodies, banners, pre-reads) goes through [references/humanizer.md](references/humanizer.md) first; transcripts, quotes and other raw capture are stored verbatim.
|
|
18
18
|
5. **Create notes in one batch.** `cnotes notes create --notes '[{"key":"A","type":"Insight","markdownFile":"./a.md"}, ...]'`. Each body starts with a `# h1` (the title). Cross-link inside the batch with `[@A: Title](relationship:<verb>)`. Detail: [references/notes.md](references/notes.md).
|
|
19
19
|
6. **Grade what you wrote.** `cnotes quality <displayIds...> --fail-below 4`, then revise weak notes with `cnotes versions create <id> --description "<what changed>" --markdown-file <path>`.
|
|
@@ -75,6 +75,12 @@ cnotes canvas create "<name>" --goal "<text>" [--audience "<text>"] # prints R
|
|
|
75
75
|
# the board inside it; fix a stale goal with `canvas update --goal`. The banner restates the goal
|
|
76
76
|
# in reader's words (canvas-elements.md, hard rule 7).
|
|
77
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]
|
|
78
84
|
cnotes canvas delete <canvasId>
|
|
79
85
|
cnotes canvas set-as-home <canvasId>
|
|
80
86
|
cnotes canvas archive <canvasId>
|
|
@@ -39,7 +39,7 @@ When an AI agent is doing a **batch of work** — creating notes, modifying 2+ e
|
|
|
39
39
|
# task. Read it BEFORE suggesting anything; a Decision, Guide or Metric there
|
|
40
40
|
# may already settle what you were about to propose. Not opening a run?
|
|
41
41
|
# `cnotes brief "<task>"` returns the same brief, read-only.
|
|
42
|
-
cnotes operations begin --prompt "
|
|
42
|
+
cnotes operations begin --prompt "Reorganized the roadmap into quarters" --json
|
|
43
43
|
cnotes types show Insight # or pull from .typeRubrics in the begin response
|
|
44
44
|
|
|
45
45
|
# 2. Do the work. Every cnotes write here attaches to the run automatically.
|
|
@@ -78,7 +78,7 @@ Override with `CNOTES_AGENT_SESSION_ID` + `CNOTES_AGENT_SESSION_KIND` when neede
|
|
|
78
78
|
**Two agents on one machine.** Each run is tracked on its own. The active run (plain `begin`) is only the implicit default for writes that carry no run id. A second agent opens its own run with `--detached` and carries the returned id in `CNOTES_AGENT_RUN_ID` (or passes it to `end --agent-run-id`); a detached run never touches the shared active-run pointer, so neither agent can clobber or close the other's run:
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
RUN=$(cnotes operations begin --prompt "
|
|
81
|
+
RUN=$(cnotes operations begin --prompt "Triaged the inbox" --detached -q)
|
|
82
82
|
CNOTES_AGENT_RUN_ID=$RUN cnotes notes create --notes '[ ... ]'
|
|
83
83
|
cnotes operations end --agent-run-id $RUN
|
|
84
84
|
```
|
|
@@ -89,11 +89,11 @@ The draft you work in is shared the same way: `draft open` and `draft checkout`
|
|
|
89
89
|
|
|
90
90
|
## Writing a good `--prompt`
|
|
91
91
|
|
|
92
|
-
The prompt is the
|
|
92
|
+
The prompt is the timeline row's headline, and the server lints it like every headline: start with a past-tense verb and name the specific object, in the user's terms for that object. An imperative ("Re-cite the notes ...") is accepted but warns `not_verb_first`.
|
|
93
93
|
|
|
94
|
-
- "
|
|
95
|
-
- "
|
|
96
|
-
- "
|
|
94
|
+
- "Built a fan-out under the Goals heading with Q1 milestones"
|
|
95
|
+
- "Reorganized the roadmap canvas into a SWOT layout"
|
|
96
|
+
- "Added a risks list linked to the parent goal"
|
|
97
97
|
|
|
98
98
|
Avoid generic prompts like "make changes" or "update canvas" — they make the timeline useless.
|
|
99
99
|
|
|
@@ -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.
|