@cratylus/canon 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/manifest.d.ts +1 -1
- package/dist/manifest.js +0 -2
- package/dist/manifest.js.map +1 -1
- package/dist/skills/deliver/skill.js +28 -6
- package/dist/skills/deliver/skill.js.map +1 -1
- package/dist/skills/plan/skill.js +18 -2
- package/dist/skills/plan/skill.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -64,11 +64,12 @@ directory fields are resolved against `import.meta.url` at definition time and c
|
|
|
64
64
|
`defineAgentPlugin`. Canon reaches the projector as **data** — the corpus is passed to it as a
|
|
65
65
|
plugin — and no cell imports it.
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
No cell imports the runtime either. A skill names the capability it routes to — one of `eventTap`,
|
|
68
|
+
`design`, `plan` and `note`, the four built into the runtime — as `runtime: { capability: … }`,
|
|
69
|
+
never its implementation, and a cell that emits shell invoking the binary carries it as a fact the
|
|
70
|
+
projector substitutes at emission. That is the architecture's highest-ranked property — meaning
|
|
71
|
+
and mechanism never referencing each other — and [ARCHITECTURE.md](../../ARCHITECTURE.md) records
|
|
72
|
+
how it came to hold.
|
|
72
73
|
|
|
73
74
|
## Tests
|
|
74
75
|
|
package/dist/manifest.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export type ReasoningStrategy = Value<'reasoning-strategy'>;
|
|
|
178
178
|
export type Satisficing = Value<'satisficing'>;
|
|
179
179
|
export type OutputFormat = Value<'output-format'>;
|
|
180
180
|
export type SelfEvaluation = Value<'self-evaluation'>;
|
|
181
|
-
export declare const RUNTIME_CAPABILITIES: readonly ["
|
|
181
|
+
export declare const RUNTIME_CAPABILITIES: readonly ["eventTap", "design", "plan", "note"];
|
|
182
182
|
/** A runtime capability this corpus ships a face for. */
|
|
183
183
|
export type RuntimeCapability = (typeof RUNTIME_CAPABILITIES)[number];
|
|
184
184
|
/** This corpus's `Skill`: schema's shape, narrowed to the capabilities above. */
|
package/dist/manifest.js
CHANGED
|
@@ -123,9 +123,7 @@ export const DIMENSION_NAMES = Object.keys(MANIFEST);
|
|
|
123
123
|
// agent-design axis, which is a different concept. Bare `Capability` beside it
|
|
124
124
|
// would be one root over two concepts.
|
|
125
125
|
export const RUNTIME_CAPABILITIES = [
|
|
126
|
-
'memory',
|
|
127
126
|
'eventTap',
|
|
128
|
-
'heartbeat',
|
|
129
127
|
'design',
|
|
130
128
|
'plan',
|
|
131
129
|
'note',
|
package/dist/manifest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,iEAAiE;AACjE,EAAE;AACF,4EAA4E;AAC5E,iFAAiF;AACjF,+EAA+E;AAC/E,gFAAgF;AAChF,gFAAgF;AAChF,0DAA0D;AAC1D,EAAE;AACF,uEAAuE;AACvE,kFAAkF;AAClF,kFAAkF;AAClF,qEAAqE;AACrE,EAAE;AACF,2EAA2E;AAC3E,+EAA+E;AAC/E,+EAA+E;AAC/E,4EAA4E;AAC5E,6EAA6E;AAC7E,iFAAiF;AACjF,gFAAgF;AAChF,sBAAsB;AACtB,gFAAgF;AAehF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,UAAU;IACV,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE;IACjE,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE;IAC9D,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACrE,qBAAqB,EA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,UAAU;AACV,EAAE;AACF,kFAAkF;AAClF,oFAAoF;AACpF,sFAAsF;AACtF,oFAAoF;AACpF,qFAAqF;AACrF,qFAAqF;AACrF,kFAAkF;AAClF,qFAAqF;AACrF,wDAAwD;AACxD,EAAE;AACF,6EAA6E;AAC7E,oFAAoF;AACpF,6EAA6E;AAC7E,4EAA4E;AAC5E,iFAAiF;AACjF,EAAE;AACF,oFAAoF;AACpF,oFAAoF;AACpF,mFAAmF;AACnF,+EAA+E;AAC/E,iFAAiF;AACjF,+CAA+C;AAC/C,kFAAkF;AAClF,8EAA8E;AAC9E,EAAE;AACF,qFAAqF;AACrF,mFAAmF;AACnF,mFAAmF;AACnF,mFAAmF;AACnF,EAAE;AACF,qFAAqF;AACrF,mFAAmF;AACnF,oFAAoF;AACpF,mFAAmF;AACnF,oFAAoF;AACpF,4EAA4E;AAC5E,wBAAwB;AACxB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,wCAAwC;IACxC,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,UAAU;IACV,WAAW;IACX,YAAY;IACZ,yCAAyC;IACzC,mBAAmB;IACnB,qBAAqB;IACrB,+BAA+B;IAC/B,cAAc;IACd,eAAe;IACf,eAAe;IACf,kDAAkD;IAClD,gBAAgB;IAChB,eAAe;IACf,sBAAsB;IACtB,oDAAoD;IACpD,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,eAAe;IACf,uBAAuB;IACvB,gBAAgB;IAChB,cAAc;IACd,0DAA0D;IAC1D,sBAAsB;IACtB,oBAAoB;IACpB,iBAAiB;IACjB,cAAc;IACd,yCAAyC;IACzC,qBAAqB;IACrB,sBAAsB;IACtB,gBAAgB;IAChB,qBAAqB;IACrB,gBAAgB;IAChB,iBAAiB;CACsB,CAAC"}
|
|
@@ -49,7 +49,7 @@ unit @ plan
|
|
|
49
49
|
wave @ plan
|
|
50
50
|
frontier @ plan
|
|
51
51
|
realizes @ plan
|
|
52
|
-
advance, bind, close, bound, ready @ plan
|
|
52
|
+
advance, bind, close, bound, ready, capacity @ plan
|
|
53
53
|
show ⟨C⟩ @ design
|
|
54
54
|
show ⟨P ∧ unit⟩ @ plan
|
|
55
55
|
accept @ plan ⟨the MECHANICAL half⟩
|
|
@@ -64,14 +64,20 @@ spells : path × anchor → 𝔹 ⟨identifiers · path · public surface bear t
|
|
|
64
64
|
covers : path × ℘(C) → 𝔹 ⟨observable behaviour ≅ the factorization · nothing missing
|
|
65
65
|
∧ nothing extra⟩
|
|
66
66
|
sole : path × anchor → 𝔹 ⟨∄ other artifact realizing the same concept⟩
|
|
67
|
-
verify : P × return → 𝔹 ⟨the EXECUTOR's · built-it-right, against spec⟩
|
|
67
|
+
verify : P × return → 𝔹 ⟨the EXECUTOR's · built-it-right, against spec · ↾ accept(unit), ¬ gate⟩
|
|
68
|
+
gate ≜ the project's whole check ⟨every suite · typecheck · build : what a green main demands⟩
|
|
69
|
+
integrate(unit) ≜ merge artifact(unit) into main ⟨pre gate green on the MERGED tree · a branch's
|
|
70
|
+
green says nothing about main after other landings⟩
|
|
71
|
+
integrator : P ⇀ agent ⟨one per P · runs gate ∧ integrate ∧ carries the state moves self decided, ¬ decides them⟩
|
|
68
72
|
validate : P → 𝔹 ⟨the PRINCIPAL's · built-the-right-thing, against C⟩
|
|
69
73
|
assay : artifact → ℘(C) ⟨which concepts the artifact ACTUALLY realizes · the REVERSE of plan⟩
|
|
70
74
|
assayer : unit ⇀ agent ⟨role = assayer · holds C ∧ ¬ holds spec(unit)⟩
|
|
71
75
|
achieved : unit → 𝔹 ⟨the three questions, answered against the assay⟩
|
|
72
76
|
unachieved : unit → ℘(⟨c, uncovered-factor, locus⟩) ⟨what crosses UPWARD⟩
|
|
73
77
|
defect ≜ ⟨symptom, locus, provenance⟩
|
|
78
|
+
finding ≜ a yield ∨ an operator steer bearing on C ∧ ¬ yet in C
|
|
74
79
|
impedes : defect × P → 𝔹
|
|
80
|
+
fold ≜ one amend(C) taking every finding in hand
|
|
75
81
|
cost : act → effort
|
|
76
82
|
file(d) ≜ capture(d) ⟨its topic names the unit as \`u of plan p\` · beside the path ∴ it blocks nothing⟩
|
|
77
83
|
electable ≜ { P | ¬terminal(P) ∧ ¬occupied(P) }
|
|
@@ -107,7 +113,15 @@ judge(unit) ≜ verify(unit, r) ∧ validate(unit) ⇒ advance(unit) ⟨the acce
|
|
|
107
113
|
⟨fan-in is as order-sensitive as fan-out : ∀ unit dispatched, confirm executor(unit)
|
|
108
114
|
RETURNED · outputs(unit) exist ≠ executor(unit) returned⟩
|
|
109
115
|
¬validate(unit) ⇒ redispatch(executor(unit), unachieved(unit)) ⟨the flaw handed down is
|
|
110
|
-
CONCEPTUAL ∧ ¬ a review
|
|
116
|
+
CONCEPTUAL ∧ ¬ a review · executor(unit) is the SAME agent that built it while it has
|
|
117
|
+
capacity ; a cold successor re-reads what it built⟩
|
|
118
|
+
gate ⊨ integrate ∧ ¬ verify ⟨the whole check runs ONCE per landing, by the integrator · an
|
|
119
|
+
executor ∨ assayer re-running it proves nothing new on nearly the same tree⟩
|
|
120
|
+
integrate ⊥ judge ⟨a merge is DURABILITY ∧ ¬ acceptance · acceptance is advance(unit) after the
|
|
121
|
+
assay⟩ ∴ integrate ≺ assay admitted ∧ the next ready unit dispatches while the assay runs
|
|
122
|
+
⟨ready waits on satisfied deps ∴ ¬ a dependent builds on an unaccepted unit · the assay reads
|
|
123
|
+
artifact(unit) at its landing commit ∵ main moves under a pipelined assay⟩
|
|
124
|
+
integrator ⊨ ¬ validate ⟨it carries a verdict ∧ ¬ reaches one⟩
|
|
111
125
|
cost(validate) < cost(rebuild) ⟨else the gradient points at skipping · the cheapness
|
|
112
126
|
is BOUGHT by conform(anchor) ∴ naming discipline is the verification budget⟩
|
|
113
127
|
¬spells ⇒ REFUSE ≺ any behavioural read ⟨the traceability arrow breaks at the cheapest
|
|
@@ -119,6 +133,13 @@ dispatch(P) ≜ ∀ unit ∈ frontier(P) ⟨ready(unit)⟩ concurrently ⟨advan
|
|
|
119
133
|
∀ c : ∄ unit ⟨realizes(unit) = anchor(c)⟩ ⇒ SURFACE ⟨a concept nothing builds is design agreed ∧
|
|
120
134
|
unbuilt · the reverse orphan is plan's⟩
|
|
121
135
|
impedes(d, unit) ⇔ d standing ⇒ ∄ r : accept(unit)(r)
|
|
136
|
+
finding ⇒ fold ≺ self's next dispatch ∨ judge ∨ close ⟨findings BATCH between two of self's acts ∧
|
|
137
|
+
never outlive one⟩
|
|
138
|
+
⟨held past a judge, a unit is accepted against a concept known false · held past close(P), the
|
|
139
|
+
drift it causes lands on units never asked again · a hold keyed to a LATER act is a lock only
|
|
140
|
+
that act checks ∴ a branch merge ∨ a concurrent session walks past it⟩
|
|
141
|
+
fold ⊨ drifted(unit) answered ↾ what moved @ plan ⟨the measured cost was the RESPONSE to amending,
|
|
142
|
+
¬ amending : ~12 serial amendments re-cut one plan ~10× where the piece never moved⟩
|
|
122
143
|
impedes(d, unit) ⇒ fix(d) ⟨a regression in the path is repaired, ¬ surfaced⟩
|
|
123
144
|
¬impedes(d, unit) ⇒ file(d) ∧ ¬fix(d) ⟨a defect BESIDE the path is filed, ¬ chased⟩
|
|
124
145
|
cost(file) < cost(fix) ⟨else the gradient points at chasing · the load-bearing law⟩
|
|
@@ -127,11 +148,12 @@ cost(file) < cost(fix) ⟨else the gradient points at chasing · the load-bearin
|
|
|
127
148
|
elect ≜ in-flight ≻ gating ≻ operator-intent ⟨lexicographic⟩
|
|
128
149
|
terminal(P) ⇒ close(P) ⟨obligation ¬ permission · an unclosed terminal plan is WIP
|
|
129
150
|
that is not work · a closed plan stays readable⟩ ; C persists ⟨plans come ∧ go ABOVE the design⟩
|
|
130
|
-
deliver ≜ bind → dispatch(wave) → verify ⟨executor⟩ →
|
|
131
|
-
validate ⟨self, on the assay⟩ → judge →
|
|
151
|
+
deliver ≜ bind → dispatch(wave) → verify ⟨executor⟩ → integrate ⟨integrator, on gate⟩ →
|
|
152
|
+
assay ⟨assayer, on artifact⟩ → validate ⟨self, on the assay⟩ → judge → fold ⇔ finding →
|
|
153
|
+
advance → close`;
|
|
132
154
|
export const deliver = {
|
|
133
155
|
name: 'deliver',
|
|
134
|
-
description: `use this skill to execute a plan and ACCEPT its results — dispatch a wave of units to executors,
|
|
156
|
+
description: `use this skill to execute a plan and ACCEPT its results — dispatch a wave of units to executors, integrate each landing into main once the project's whole check is green, and validate each landed artifact against the design rather than against the executor's report; a merge is durability and acceptance comes after the assay. Reach for it whenever delegated work comes back. Validation is three cheap questions — does the artifact spell its concept's name, does its behaviour cover that concept's factorization exactly, and does anything else already realize it — read off the files themselves, never off a summary. It also carries the conduct of the work: one plan bound at a time, finish before starting, repair what blocks the path and merely file what sits beside it, send a gap back to the agent that built it, and fold what execution or the operator teaches about the design into it before the next dispatch, judgement or close, several findings in one amendment when they arrive together.`,
|
|
135
157
|
formalBlock: FORMAL_BLOCK,
|
|
136
158
|
composition: () => [design, plan, note],
|
|
137
159
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/deliver/skill.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,mFAAmF;AACnF,sFAAsF;AACtF,uFAAuF;AACvF,qFAAqF;AACrF,iFAAiF;AACjF,sFAAsF;AACtF,mFAAmF;AACnF,EAAE;AACF,sFAAsF;AACtF,oFAAoF;AACpF,kEAAkE;AAClE,EAAE;AACF,qFAAqF;AACrF,qFAAqF;AACrF,wFAAwF;AACxF,2EAA2E;AAC3E,EAAE;AACF,wFAAwF;AACxF,yFAAyF;AACzF,yFAAyF;AACzF,uFAAuF;AACvF,qFAAqF;AACrF,uFAAuF;AACvF,wFAAwF;AACxF,kFAAkF;AAClF,uFAAuF;AACvF,mCAAmC;AACnC,EAAE;AACF,uFAAuF;AACvF,wFAAwF;AACxF,qFAAqF;AACrF,uFAAuF;AACvF,uFAAuF;AACvF,uFAAuF;AACvF,sFAAsF;AAEtF,MAAM,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/deliver/skill.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,mFAAmF;AACnF,sFAAsF;AACtF,uFAAuF;AACvF,qFAAqF;AACrF,iFAAiF;AACjF,sFAAsF;AACtF,mFAAmF;AACnF,EAAE;AACF,sFAAsF;AACtF,oFAAoF;AACpF,kEAAkE;AAClE,EAAE;AACF,qFAAqF;AACrF,qFAAqF;AACrF,wFAAwF;AACxF,2EAA2E;AAC3E,EAAE;AACF,wFAAwF;AACxF,yFAAyF;AACzF,yFAAyF;AACzF,uFAAuF;AACvF,qFAAqF;AACrF,uFAAuF;AACvF,wFAAwF;AACxF,kFAAkF;AAClF,uFAAuF;AACvF,mCAAmC;AACnC,EAAE;AACF,uFAAuF;AACvF,wFAAwF;AACxF,qFAAqF;AACrF,uFAAuF;AACvF,uFAAuF;AACvF,uFAAuF;AACvF,sFAAsF;AAEtF,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAkHkB,CAAC;AAExC,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,s+BAAs+B;IACn/B,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;CACxC,CAAC"}
|
|
@@ -64,6 +64,8 @@ accept : P → (return → 𝔹) ⟨MECHANICAL only · the semantic half is @ de
|
|
|
64
64
|
pre : P → return
|
|
65
65
|
spec(unit) ≜ ⟨ realizes(unit), intent(unit), static(unit), deps(unit), outputs(unit), accept(unit) ⟩
|
|
66
66
|
census : intent → ⟨scope, static, deps, occurs⟩ ⟨delegable-to agent⟩
|
|
67
|
+
capacity ≜ the effort one executor finishes in one dispatch ⟨DECLARED by the executor's harness · ¬ a constant here⟩
|
|
68
|
+
effort(unit) ≜ what building ∧ proving unit costs ⟨reading included⟩
|
|
67
69
|
slices : P → ℘(℘(P))
|
|
68
70
|
cross(S) ≜ |R ∩ ⋃ { sᵢ × sⱼ | sᵢ, sⱼ ∈ S ∧ i ≠ j }|
|
|
69
71
|
wave(0) ≜ { unit | ∄ u : (unit, u) ∈ R }
|
|
@@ -109,6 +111,12 @@ add(unit) ⊨ ∀ c ∈ closure(denotes(realizes(unit))) : c has exactly one cur
|
|
|
109
111
|
pin(unit) retaken ⇔ \`scripts/plan.mjs revise <unit> --plan <p> --repin --reason <why>\` ⟨the ONLY way · never a side effect of editing spec(unit)⟩
|
|
110
112
|
withdrawn(denotes(realizes(unit))) ⇒ drifted(unit) ∧ ¬ incoherent(P) ⟨a retraction in the design never breaks a plan law⟩
|
|
111
113
|
drifted(unit) ∨ suspect(unit) ⇒ SURFACE ⟨the design moved under the plan · drift, ¬ staleness⟩
|
|
114
|
+
drifted(unit) ⇒ response ↾ what moved ⟨nothing ⇒ repin · gloss ⇒ repin ∨ revise(unit) ∧ repin, by what the
|
|
115
|
+
new gloss adds ∨ drops · anchor ∨ factors ⇒ revise(unit) ∧ repin · re-cut ⇔ s itself moved ;
|
|
116
|
+
measured : ~12 serial amendments re-cut one plan ~10× where the piece never moved⟩
|
|
117
|
+
suspect(unit) ⇒ the same response ↾ what moved beneath ⟨the concept that moved is a factor, ¬ the one
|
|
118
|
+
unit spells ∴ its anchor moving alone ⇒ repin · a factor dropped beneath shows as the concept
|
|
119
|
+
above it amended in factors⟩
|
|
112
120
|
diverged(x) ⇒ reconcile(x) ⟨an ordinary write on x refuses⟩
|
|
113
121
|
incoherent(P) ⇒ repaired by ordinary writes, one at a time
|
|
114
122
|
reconcile ⊨ self ⟨reconciliation of plans ∧ units is the architect's alone⟩
|
|
@@ -122,6 +130,12 @@ slices(P) cut on s ⟨¬ file-adjacency · files are a LAGGING proxy for modular
|
|
|
122
130
|
∀ unit, u ∈ wave(n) : unit ≠ u ⇒ outputs(unit) ∩ refs(u) = ∅ ⟨disjoint outputs is NECESSARY
|
|
123
131
|
¬ sufficient : a deletion in unit dangles a reference in u⟩
|
|
124
132
|
⊨ disjoint-outputs ⇒ dispatch(wave(n)) needs-no-isolation
|
|
133
|
+
∀ unit : effort(unit) ≤ capacity ⟨ready PROMISES an executor can FINISH · a unit past capacity
|
|
134
|
+
hands its successor a re-read, ¬ progress⟩
|
|
135
|
+
effort(unit) > capacity ⇒ split on factors(denotes(realizes(unit))) ⟨each part realizes a factor ·
|
|
136
|
+
¬ a file-cut⟩ ; factors = ∅ ⇒ SURFACE ⟨a primitive no executor finishes is ¬ primitive @ design⟩
|
|
137
|
+
an executor exhausted mid-unit ⇒ effort(unit) mis-estimated ⇒ split ∨ SURFACE ≺ redispatch
|
|
138
|
+
⟨¬ a chain of cold successors⟩
|
|
125
139
|
∀ unit : footprint(unit) ⊆ outputs(unit) ⟨outputs IS the contention set ∴ an under-declared
|
|
126
140
|
array silently voids every disjointness proof above⟩
|
|
127
141
|
∀ unit : occurs(realizes(unit)) ⊆ outputs(unit) ⟨a unit's footprint is its REFERENCE set, ¬ its
|
|
@@ -130,8 +144,10 @@ slices(P) cut on s ⟨¬ file-adjacency · files are a LAGGING proxy for modular
|
|
|
130
144
|
wrote 15 paths · 1 and 12 · 8 and 20⟩
|
|
131
145
|
∀ unit : ∃ r : ¬accept(unit)(r) ∧ ¬accept(unit)(pre(unit)) ⟨criteria that cannot FAIL, ∧ that
|
|
132
146
|
already pass before the work, test nothing⟩
|
|
133
|
-
|
|
134
|
-
|
|
147
|
+
census(P) ⊨ once ∧ pinned⟨commit⟩ ∧ cited by every unit ⟨¬ re-derived per executor⟩
|
|
148
|
+
∀ unit : measurement ∈ spec(unit) ⇒ measurement = claim⟨commit⟩ ∴ cite ⇔ ∄ change to its paths since
|
|
149
|
+
that commit ; else re-derive ≺ cite ⟨a count in a unit is CENSUS OUTPUT, ¬ a datum · the tree
|
|
150
|
+
moves ∧ nothing reds · within P it moves only by landed outputs, each declared before dispatch⟩
|
|
135
151
|
∀ unit : reach-leg(unit) ⊨ print(denominator) ⟨∄ denominator ⇒ found-nothing ≡ could-not-look⟩
|
|
136
152
|
∀ unit : conform(spec(unit))
|
|
137
153
|
plan ≜ take(s) → census ⟨delegable⟩ → slice(s) → add(∀ unit) ⟨spec ∧ pin⟩ → ratify @ planner → advance`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/plan/skill.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,kFAAkF;AAClF,kFAAkF;AAClF,oFAAoF;AACpF,kFAAkF;AAClF,oFAAoF;AACpF,oCAAoC;AACpC,EAAE;AACF,mFAAmF;AACnF,qFAAqF;AACrF,6BAA6B;AAC7B,EAAE;AACF,mFAAmF;AACnF,mFAAmF;AACnF,qFAAqF;AACrF,qFAAqF;AACrF,sEAAsE;AACtE,EAAE;AACF,qFAAqF;AACrF,sFAAsF;AACtF,uFAAuF;AACvF,gFAAgF;AAEhF,MAAM,SAAS,GAAG;IAChB,IAAI,EAAE;QACJ,MAAM,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC;QACvC,SAAS,EAAE,OAAO;QAClB,KAAK,EAAE,QAAQ;KAChB;IACD,IAAI,EAAE,EAAE,MA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CAAC;AAE7C,MAAM,YAAY,GAChB;;;;;;;;;gBASc,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;mBACnB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;;wBAEjB,IAAI,CAAC,SAAS;yBACb,IAAI,CAAC,KAAK;kCACD,IAAI,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDA+BK,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,4BAA4B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAoB,IAAI,CAAC,SAAS;;;;;;;;;;;uFAWxD,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uGAgEqB,CAAC;AAE3H,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,krBAAkrB;IAC/rB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE;IACzD,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC;CAClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratylus/canon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "The canonical corpus of discovered optimal-signifiers — agents, skills, dimensions and rules as typed TS source. Markdown is a projection of these modules.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
],
|
|
19
19
|
"//test": "`test` builds FIRST because `test/runtime-shim.test.ts` drives the shipped `cratylus project` over the repository's own `cratylus.config.ts`, and that config extends `@cratylus/canon` — the PACKAGE, i.e. this package's `dist`. turbo's `test.dependsOn: [^build]` builds this package's DEPENDENCIES, never this package, so a cold clone would run the consumer path against a dist that does not exist.",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@cratylus/schema": "0.
|
|
21
|
+
"@cratylus/schema": "0.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@cratylus/forge": "0.
|
|
25
|
-
"@cratylus/runtime": "0.
|
|
24
|
+
"@cratylus/forge": "0.9.1",
|
|
25
|
+
"@cratylus/runtime": "0.5.0",
|
|
26
26
|
"@cratylus/tooling": "0.0.0",
|
|
27
27
|
"@types/node": "^22.0.0",
|
|
28
28
|
"tsx": "^4.19.0",
|