@cratylus/canon 0.7.0 → 0.9.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 -4
- package/dist/agents/architect.js +2 -2
- package/dist/agents/architect.js.map +1 -1
- package/dist/agents/assayer.js +10 -10
- package/dist/agents/assayer.js.map +1 -1
- package/dist/agents/implementer.js +3 -3
- package/dist/agents/implementer.js.map +1 -1
- package/dist/agents/integrator.d.ts +2 -0
- package/dist/agents/integrator.js +18 -0
- package/dist/agents/integrator.js.map +1 -0
- package/dist/agents/kino.js +5 -4
- package/dist/agents/kino.js.map +1 -1
- package/dist/agents/mav.js +19 -37
- package/dist/agents/mav.js.map +1 -1
- package/dist/agents/nico.js +13 -31
- package/dist/agents/nico.js.map +1 -1
- package/dist/agents/planner.js +5 -5
- package/dist/agents/planner.js.map +1 -1
- package/dist/dimensions/actions/delegation.js +6 -1
- package/dist/dimensions/actions/delegation.js.map +1 -1
- package/dist/dimensions/engineering-principles/cold-decode-oracle.js +1 -1
- package/dist/dimensions/engineering-principles/cold-decode-oracle.js.map +1 -1
- package/dist/dimensions/engineering-principles/trust-but-verify.js +1 -1
- package/dist/dimensions/engineering-principles/trust-but-verify.js.map +1 -1
- package/dist/dimensions/objective/conceptual-integrity.d.ts +2 -0
- package/dist/dimensions/objective/conceptual-integrity.js +2 -0
- package/dist/dimensions/objective/conceptual-integrity.js.map +1 -0
- package/dist/dimensions/role/architect.js +5 -3
- package/dist/dimensions/role/architect.js.map +1 -1
- package/dist/dimensions/role/assayer.js +24 -13
- package/dist/dimensions/role/assayer.js.map +1 -1
- package/dist/dimensions/role/implementer.js +21 -4
- package/dist/dimensions/role/implementer.js.map +1 -1
- package/dist/dimensions/role/integrator.d.ts +2 -0
- package/dist/dimensions/role/integrator.js +27 -0
- package/dist/dimensions/role/integrator.js.map +1 -0
- package/dist/dimensions/role/planner.js +19 -7
- package/dist/dimensions/role/planner.js.map +1 -1
- package/dist/genus/prime-principle.d.ts +10 -0
- package/dist/genus/prime-principle.js +16 -0
- package/dist/genus/prime-principle.js.map +1 -0
- package/dist/hooks/deploy-drift-notice.js +9 -9
- package/dist/hooks/deploy-drift-notice.js.map +1 -1
- package/dist/hooks/purview-guardrail.js +134 -57
- package/dist/hooks/purview-guardrail.js.map +1 -1
- package/dist/hooks/stance-guardrail-pre.js +105 -42
- package/dist/hooks/stance-guardrail-pre.js.map +1 -1
- package/dist/hooks/stance-guardrail.js +161 -57
- package/dist/hooks/stance-guardrail.js.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +3 -2
- package/dist/manifest.js +6 -6
- package/dist/manifest.js.map +1 -1
- package/dist/roles/architect.js +27 -22
- package/dist/roles/architect.js.map +1 -1
- package/dist/roles/assayer.js +9 -7
- package/dist/roles/assayer.js.map +1 -1
- package/dist/roles/hold.d.ts +1 -1
- package/dist/roles/hold.js +5 -2
- package/dist/roles/hold.js.map +1 -1
- package/dist/roles/implementer.js +15 -5
- package/dist/roles/implementer.js.map +1 -1
- package/dist/roles/integrator.d.ts +2 -0
- package/dist/roles/integrator.js +51 -0
- package/dist/roles/integrator.js.map +1 -0
- package/dist/roles/planner.js +6 -5
- package/dist/roles/planner.js.map +1 -1
- package/dist/skills/create-skill/skill.js +2 -0
- package/dist/skills/create-skill/skill.js.map +1 -1
- package/dist/skills/deliver/skill.js +59 -130
- package/dist/skills/deliver/skill.js.map +1 -1
- package/dist/skills/design/skill.js +20 -10
- package/dist/skills/design/skill.js.map +1 -1
- package/dist/skills/exemplify/skill.js +2 -0
- package/dist/skills/exemplify/skill.js.map +1 -1
- package/dist/skills/formalize/skill.js +2 -0
- package/dist/skills/formalize/skill.js.map +1 -1
- package/dist/skills/introspect/skill.js +2 -0
- package/dist/skills/introspect/skill.js.map +1 -1
- package/dist/skills/materialize/skill.js +2 -0
- package/dist/skills/materialize/skill.js.map +1 -1
- package/dist/skills/plan/skill.js +30 -32
- package/dist/skills/plan/skill.js.map +1 -1
- package/dist/skills/probe/skill.js +2 -0
- package/dist/skills/probe/skill.js.map +1 -1
- package/dist/skills/signify/skill.js +2 -0
- package/dist/skills/signify/skill.js.map +1 -1
- package/package.json +4 -4
- package/dist/genus/founding-doctrine.d.ts +0 -7
- package/dist/genus/founding-doctrine.js +0 -13
- package/dist/genus/founding-doctrine.js.map +0 -1
|
@@ -1,160 +1,89 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
import { design } from '../design/skill.js';
|
|
2
3
|
import { note } from '../note/skill.js';
|
|
3
4
|
import { plan } from '../plan/skill.js';
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
5
|
+
// WHY THE WHOLE CHECK RUNS HERE, ONCE. A unit proven alone has proven nothing about the
|
|
6
|
+
// combination: a branch's green says nothing about the line after other landings, and an
|
|
7
|
+
// implementer or assayer re-running the project's check on nearly the same tree proves
|
|
8
|
+
// nothing new and spends the architect's wait for it. So the check is the integrator's, run
|
|
9
|
+
// once per combination on the combined tree. It is reached only after the verdict, which is
|
|
10
|
+
// what keeps the line to approved work: the assayer is the one judge of a unit and
|
|
11
|
+
// acceptance rests on its verdict, never on the implementer's return, never on a merge and
|
|
12
|
+
// never on a green check. Judging is a two-description act held by a party that holds the
|
|
13
|
+
// design and not the spec; a party that carries the verdict onward reaches none of its own.
|
|
11
14
|
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
//
|
|
15
|
+
// A RED IS A REPORT, NEVER A PATCH. Repairing on the line would hand the architect an
|
|
16
|
+
// approved-looking whole nobody judged, and would make the integrator the builder its own
|
|
17
|
+
// check is meant to be independent of. The report is an address (the unit and the failing
|
|
18
|
+
// check) so the architect can send it to the implementer that built the unit without
|
|
19
|
+
// reading behind it; the return of a unit, of a verdict and of a report is a name and a
|
|
20
|
+
// commit, never an account.
|
|
15
21
|
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
22
|
+
// THE LINE IS NOT MAIN. Approved work accumulates on the plan's own integration line, cut
|
|
23
|
+
// from main when the plan is bound, and the finished whole reaches main by the operator's
|
|
24
|
+
// sign-off, which the integrator asks for and never takes: a push is a release decision
|
|
25
|
+
// and a release decision is not the integrator's to make.
|
|
20
26
|
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
|
|
28
|
-
// substrate-bound and DELEGABLE; the JUDGMENT (what an unachieved concept means —
|
|
29
|
-
// rejection, an `amend(C)` because execution established a yield, or a design that was
|
|
30
|
-
// wrong) is keyed to C and is NOT.
|
|
31
|
-
//
|
|
32
|
-
// A THIRD PARTY DOES NOT REOPEN THE DEFECT THIS CELL CLOSES. The law forbids accepting
|
|
33
|
-
// on a claim from the party that BUILT the thing: one description, a closed loop. There
|
|
34
|
-
// are still two descriptions here and they are still held by different parties — the
|
|
35
|
-
// executor holds the spec and not the design, the assayer holds the design and not the
|
|
36
|
-
// spec. The artifact read the law demands still happens; it happens at the one site in
|
|
37
|
-
// the loop where reading substrate is the work rather than a descent, and what reaches
|
|
38
|
-
// the principal is in the only vocabulary the principal can check without descending.
|
|
39
|
-
const FORMAL_BLOCK = `C @ design
|
|
40
|
-
c @ design
|
|
27
|
+
// WHO OWNS WHAT, so the loop reads in order: routing by name is the architect's; binding
|
|
28
|
+
// the plan and recording a unit active, completed and the plan closed is the planner's;
|
|
29
|
+
// building and verifying against the spec is the implementer's; the verdict is the
|
|
30
|
+
// assayer's; combining, the whole check, the records commit and the ask to release are the
|
|
31
|
+
// integrator's. A finding is captured as a note by the party that met it and is never
|
|
32
|
+
// chased; when a finding enters the design is the design skill's law.
|
|
33
|
+
const FORMAL_BLOCK = `shard @ design
|
|
41
34
|
anchor @ design
|
|
42
|
-
|
|
43
|
-
factors @ design
|
|
44
|
-
denotes @ design
|
|
45
|
-
amend @ design
|
|
46
|
-
yield ≜ what execution established ∧ ¬ derivable from C
|
|
35
|
+
yield ≜ what execution established ∧ ¬ derivable from the design
|
|
47
36
|
P @ plan
|
|
48
37
|
unit @ plan
|
|
49
|
-
|
|
50
|
-
frontier @ plan
|
|
51
|
-
realizes @ plan
|
|
52
|
-
advance, bind, close, bound, ready, capacity @ plan
|
|
53
|
-
show ⟨C⟩ @ design
|
|
54
|
-
show ⟨P ∧ unit⟩ @ plan
|
|
38
|
+
advance, bind, close, closed, bound @ plan
|
|
55
39
|
accept @ plan ⟨the MECHANICAL half⟩
|
|
56
40
|
outputs @ plan
|
|
57
|
-
artifact : P → ℘(path) ⟨what landed
|
|
58
|
-
r ≜ an
|
|
41
|
+
artifact : P → ℘(path) ⟨what landed⟩
|
|
42
|
+
r ≜ a return ⟨an ADDRESS : a name ∧ a commit · ¬ an account⟩
|
|
59
43
|
conform @ signify
|
|
60
|
-
executor : P ⇀ agent
|
|
61
|
-
self @ design
|
|
62
44
|
capture @ note
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
achieved : unit → 𝔹 ⟨the three questions, answered against the assay⟩
|
|
76
|
-
unachieved : unit → ℘(⟨c, uncovered-factor, locus⟩) ⟨what crosses UPWARD⟩
|
|
45
|
+
architect : agent ⟨role = architect · holds the design · sends each name to the agent that acts on it⟩
|
|
46
|
+
planner @ plan
|
|
47
|
+
implementer : P ⇀ agent ⟨role = implementer · builds and commits its own unit⟩
|
|
48
|
+
assayer : unit ⇀ agent ⟨role = assayer · the ONE judge of a unit⟩
|
|
49
|
+
integrator : P ⇀ agent ⟨role = integrator · one per P · combines · runs gate · commits records · asks release⟩
|
|
50
|
+
operator ≜ the human who signs off a release
|
|
51
|
+
achieved : unit → 𝔹 ⟨the assayer's verdict⟩
|
|
52
|
+
line(P) ≜ the integration line of P, branch \`plan/<plan>\` cut from main when P is bound ⟨¬ main⟩
|
|
53
|
+
gate ≜ the project's whole check ⟨every suite · typecheck · build : what a green line demands⟩
|
|
54
|
+
verify : P × return → 𝔹 ⟨the IMPLEMENTER's · built-it-right, against spec⟩
|
|
55
|
+
integrate(unit) ≜ merge artifact(unit) onto line(P) ⟨pre achieved(unit)⟩
|
|
56
|
+
whole(unit) ≜ line(P) with unit integrated ∧ gate green
|
|
77
57
|
defect ≜ ⟨symptom, locus, provenance⟩
|
|
78
|
-
finding ≜ a yield ∨ an operator steer bearing on C ∧ ¬ yet in C
|
|
79
58
|
impedes : defect × P → 𝔹
|
|
80
|
-
fold ≜ one amend(C) taking every finding in hand
|
|
81
59
|
cost : act → effort
|
|
82
|
-
file(d) ≜ capture(d) ⟨its topic names the unit as \`u of plan p\` · beside the path ∴ it blocks nothing⟩
|
|
60
|
+
file(d) ≜ capture(d) ⟨filed by the party that met d · its topic names the unit as \`u of plan p\` · beside the path ∴ it blocks nothing⟩
|
|
83
61
|
electable ≜ { P | ¬terminal(P) ∧ ¬occupied(P) }
|
|
84
62
|
terminal : P → 𝔹
|
|
63
|
+
release(P) ≜ line(P) reaches main ⟨the operator's sign-off · a pull request where the repository has a forge remote and \`gh\`, otherwise the exact git command⟩
|
|
85
64
|
|
|
86
65
|
∀ unit, r : ¬conform(r) ⇒ ¬accept(unit)(r)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
test-quality⟩ ⇒ REFUSE ∵ it descends the principal it was dispatched to spare⟩
|
|
94
|
-
locus ⊨ ROUTED ∧ ¬ read ⟨an ADDRESS so the redispatch has one · a citation is substrate, and
|
|
95
|
-
handing the principal substrate is the same defect in smaller pieces⟩
|
|
96
|
-
assay ⊨ artifact ⟨the ASSAYER reads the files · the ONE site in the loop where
|
|
97
|
-
substrate-reading is ¬ a descent⟩
|
|
98
|
-
assayer ⊥ executor ⟨TWO descriptions, two witnesses : executor holds spec ∧ ¬ holds C ·
|
|
99
|
-
assayer holds C ∧ ¬ holds spec⟩
|
|
100
|
-
validate(unit) ≜ unachieved(unit) = ∅ ⟨the principal JUDGES the assay ∧ ¬ re-reads the
|
|
101
|
-
artifact · the READ is delegable · the VERDICT is ¬ delegable ∵ keyed to C, which the
|
|
102
|
-
principal alone amends⟩
|
|
103
|
-
validate ⊨ artifact ⟨NEVER r · a summary is a CLAIM ∧ the file is EVIDENCE ·
|
|
104
|
-
an acceptance that read only the return has accepted nothing⟩
|
|
105
|
-
validate ⊨ self ⟨¬ delegable · the executor cannot judge its own conformance ∵ it
|
|
106
|
-
holds the spec ∧ ¬ the design⟩
|
|
107
|
-
verify ⊥ validate ⟨two checks, two witnesses · neither substitutes ; an executor's
|
|
108
|
-
green suite proves the EXECUTOR's own assertion ∧ nothing about the design⟩
|
|
109
|
-
judge(unit) ≜ verify(unit, r) ∧ validate(unit) ⇒ advance(unit) ⟨the acceptance⟩ ; ¬ ⇒ r rejected
|
|
110
|
-
back to executor(unit) ∧ ¬advance(unit)
|
|
111
|
-
⟨r lands VERBATIM ≺ any verdict on it · the loss mode is read-reason-discard,
|
|
112
|
-
and it takes everything when a run dies mid-judgement⟩
|
|
113
|
-
⟨fan-in is as order-sensitive as fan-out : ∀ unit dispatched, confirm executor(unit)
|
|
114
|
-
RETURNED · outputs(unit) exist ≠ executor(unit) returned⟩
|
|
115
|
-
¬validate(unit) ⇒ redispatch(executor(unit), unachieved(unit)) ⟨the flaw handed down is
|
|
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⟩
|
|
125
|
-
cost(validate) < cost(rebuild) ⟨else the gradient points at skipping · the cheapness
|
|
126
|
-
is BOUGHT by conform(anchor) ∴ naming discipline is the verification budget⟩
|
|
127
|
-
¬spells ⇒ REFUSE ≺ any behavioural read ⟨the traceability arrow breaks at the cheapest
|
|
128
|
-
place it will ever be visible⟩
|
|
129
|
-
¬covers ∧ extra ⇒ a second concept smuggled in unnamed ⇒ amend(C) ∨ REFUSE
|
|
130
|
-
¬sole ⇒ duplication ⟨the observable signature of a vision that fragmented⟩
|
|
131
|
-
dispatch(P) ≜ ∀ unit ∈ frontier(P) ⟨ready(unit)⟩ concurrently ⟨advance(unit) ∧
|
|
132
|
-
executor(unit) runs spec(unit)⟩ ; pre bound(P) ∧ ⊨ disjoint-outputs
|
|
133
|
-
∀ c : ∄ unit ⟨realizes(unit) = anchor(c)⟩ ⇒ SURFACE ⟨a concept nothing builds is design agreed ∧
|
|
134
|
-
unbuilt · the reverse orphan is plan's⟩
|
|
66
|
+
accepted(unit) ⇔ achieved(unit) ⟨acceptance rests on the assayer's verdict · never on r, never on a merge, never on a green gate⟩
|
|
67
|
+
integrator ⊨ ¬ judges ⟨it carries a verdict onward ∧ reaches none · the verdict arrived before it was reached⟩
|
|
68
|
+
integrator ⊨ takes(unit) ⇔ accepted(unit) ⟨what the architect sends it is a unit's name ∧ commit after an achieved verdict⟩
|
|
69
|
+
integrate(unit) ⇒ gate ONCE on the combined tree ⟨a branch's green says nothing about the line after other landings · an implementer ∨ assayer re-running gate proves nothing new on nearly the same tree⟩
|
|
70
|
+
integrate(unit) ∧ gate green ⇒ commit ⟨the records written since : plan ∧ design ∧ note · by pathspec⟩ ∧ report \`whole <unit> of <plan>\` ⟨whole(unit) · the architect sends it to the planner, which records advance(unit) completed ∧ hands out the newly ready names⟩
|
|
71
|
+
integrate(unit) ∧ ¬ gate green ∨ a merge conflict ⇒ line(P) UNCHANGED ∧ report \`red <unit> of <plan>: <failing check>\` ⟨the architect sends it to the implementer that built the unit · the integrator repairs nothing⟩
|
|
135
72
|
impedes(d, unit) ⇔ d standing ⇒ ∄ r : accept(unit)(r)
|
|
136
|
-
finding
|
|
137
|
-
|
|
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⟩
|
|
143
|
-
impedes(d, unit) ⇒ fix(d) ⟨a regression in the path is repaired, ¬ surfaced⟩
|
|
73
|
+
finding ∨ d ⊨ capture ⟨a note by the party that met it : implementer ∨ assayer ∨ integrator ∨ architect · the operator's steer by the architect · it reaches the architect as a note, ¬ a return⟩ ; when a finding enters the design is the law of yield ≠ ∅ @ design
|
|
74
|
+
impedes(d, unit) ⇒ an implementer repairs it ⟨a regression in the path goes back to the unit's implementer by way of the architect · the integrator makes no fix⟩
|
|
144
75
|
¬impedes(d, unit) ⇒ file(d) ∧ ¬fix(d) ⟨a defect BESIDE the path is filed, ¬ chased⟩
|
|
145
76
|
cost(file) < cost(fix) ⟨else the gradient points at chasing · the load-bearing law⟩
|
|
146
|
-
∃ P : ¬terminal(P) ⇒ ∃ P : bound(P) ⟨WIP = 1, held by bind :
|
|
147
|
-
finish before starting⟩
|
|
77
|
+
∃ P : ¬terminal(P) ⇒ ∃ P : bound(P) ⟨WIP = 1, held by bind : the planner binds it · finish before starting⟩
|
|
148
78
|
elect ≜ in-flight ≻ gating ≻ operator-intent ⟨lexicographic⟩
|
|
149
|
-
terminal(P) ⇒ close(P) ⟨obligation ¬ permission · an unclosed terminal plan is WIP
|
|
150
|
-
|
|
151
|
-
deliver ≜ bind →
|
|
152
|
-
assay ⟨assayer, on artifact⟩ → validate ⟨self, on the assay⟩ → judge → fold ⇔ finding →
|
|
153
|
-
advance → close`;
|
|
79
|
+
terminal(P) ⇒ close(P) ⟨obligation ¬ permission : the planner closes it · an unclosed terminal plan is WIP that is not work · a closed plan stays readable⟩
|
|
80
|
+
closed(P) ⇒ ask the operator release(P) ⟨the integrator asks · it never moves main⟩
|
|
81
|
+
deliver ≜ bind ⟨planner⟩ → send ⟨architect, by name⟩ → verify ⟨implementer⟩ → achieved ⟨assayer⟩ → integrate ∧ gate ⟨integrator, once on the combined tree⟩ → whole ⟨planner records completed⟩ → close ⟨planner⟩ → release ⟨operator, asked by the integrator⟩`;
|
|
154
82
|
export const deliver = {
|
|
155
83
|
name: 'deliver',
|
|
156
|
-
description: `use this skill to
|
|
84
|
+
description: `use this skill to make a plan's approved work whole and see it released — take each unit whose assay verdict is achieved, integrate it onto the plan's integration line, run the project's whole check once on the combined tree, and on green commit the records written since by pathspec and report the unit whole, or on red or a merge conflict leave the line as it was and report the unit and the failing check. Reach for it whenever an achieved unit arrives by name and commit, and when the plan closes. It reads the loop in order: the architect sends each name, the planner binds the plan and records units active and completed and the plan closed, the implementer builds, and the assayer's verdict, the one judgement of a unit, is the acceptance rather than the implementer's return; a merge is durability, and neither a merge nor a green check accepts. When the plan closes it asks the operator to release the line to main and never moves main itself. It also carries the conduct of the work: one plan bound at a time, finish before starting, a defect that impedes the path goes back to its implementer by way of the architect and one beside it is only filed, and a finding is captured as a note by the party that met it, entering the design when the design skill's law says.`,
|
|
157
85
|
formalBlock: FORMAL_BLOCK,
|
|
158
86
|
composition: () => [design, plan, note],
|
|
87
|
+
preamble: primePrinciple,
|
|
159
88
|
};
|
|
160
89
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/deliver/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/deliver/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,wFAAwF;AACxF,yFAAyF;AACzF,uFAAuF;AACvF,4FAA4F;AAC5F,4FAA4F;AAC5F,mFAAmF;AACnF,2FAA2F;AAC3F,0FAA0F;AAC1F,4FAA4F;AAC5F,EAAE;AACF,sFAAsF;AACtF,0FAA0F;AAC1F,0FAA0F;AAC1F,qFAAqF;AACrF,wFAAwF;AACxF,4BAA4B;AAC5B,EAAE;AACF,0FAA0F;AAC1F,0FAA0F;AAC1F,wFAAwF;AACxF,0DAA0D;AAC1D,EAAE;AACF,yFAAyF;AACzF,wFAAwF;AACxF,mFAAmF;AACnF,2FAA2F;AAC3F,sFAAsF;AACtF,sEAAsE;AAEtE,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gQAgD8P,CAAC;AAEpR,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,8vCAA8vC;IAC3wC,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;IACvC,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
// THE DURATIVE HALF. `plan` and `deliver` are per-effort; this cell is the one that
|
|
2
3
|
// persists across every effort, and that asymmetry is the whole point of the trio.
|
|
3
4
|
//
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
//
|
|
12
13
|
// The second reason is verification. Acceptance keyed to a work-unit's own criteria
|
|
13
14
|
// is a CLOSED loop — the unit is graded against its own account of itself, so an
|
|
14
|
-
//
|
|
15
|
+
// implementer that satisfies the letter passes while the system stays incoherent. A
|
|
15
16
|
// second, independent statement of what should exist is what makes validation an
|
|
16
17
|
// operation rather than a re-reading of the claim. That statement is this lattice.
|
|
17
18
|
const FORMAL_BLOCK = `anchor ≜ a concept's canonical sign @ signify
|
|
@@ -26,8 +27,8 @@ closure : C → ℘(C) ⟨closure(c) ≜ { c } ∪ ⋃ { closure(f) | f ∈ fact
|
|
|
26
27
|
denotes : anchor ⇀ C
|
|
27
28
|
σ* @ signify
|
|
28
29
|
conform @ signify
|
|
29
|
-
|
|
30
|
-
cut
|
|
30
|
+
shard(c) ≜ ⟨ c , closure(c) ⟩ handed down ⟨what a planner is handed · one concept with everything it stands on⟩
|
|
31
|
+
cut ≜ the architect's choice of shards to hand the planner
|
|
31
32
|
history(c) ≜ every version ∧ retraction of c, in order ⟨resident · ¬ deleted⟩
|
|
32
33
|
settled(c) ⇔ c has exactly one current version
|
|
33
34
|
live(c) ⇔ settled(c) ∧ that version ¬ a retraction
|
|
@@ -67,20 +68,29 @@ reconcile ⊨ self ⟨reconciliation of the design is the architect's alone⟩
|
|
|
67
68
|
planner ∨ implementer ∨ assayer ⊨ diverged ∨ incoherent ⇒ report ∧ ¬ resolve
|
|
68
69
|
blast(c) ≜ { d ∈ C | c ∈ closure(d) } ⟨DERIVED, ¬ guessed · what the normal form buys⟩
|
|
69
70
|
churn(primitive) high ⇒ conceptualization wrong ⟨primitives near-stable · composites move⟩
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
cut ⊨ self ⟨the
|
|
73
|
-
|
|
74
|
-
yield ≠ ∅ ⇒
|
|
75
|
-
|
|
71
|
+
shard(c) states what must hold ∧ why ∧ ¬ how ⟨how a harness or a codebase achieves it is the plan's⟩
|
|
72
|
+
a quirk met while realizing shard(c) ⇒ the planner's ∧ the implementer's to solve ∧ ¬ a reason to amend(c)
|
|
73
|
+
cut ⊨ self ⟨the CHOICE of shards is the design-holder's ; a planner receiving a shard may
|
|
74
|
+
¬ redraw it · a boundary it cannot plan is SURFACED⟩
|
|
75
|
+
yield ≠ ∅ ⇒ a hypothesis self rectifies against its expertise ∧ the field's practice, ¬ a fact to copy into C ⟨every input,
|
|
76
|
+
the operator's included, and every delegate's finding, which reaches self as a note⟩ ; a survivor
|
|
77
|
+
bearing on the bound plan ⇒ capture a decision note on the topic of its concept, blocking nothing, ∧
|
|
78
|
+
amend(C) when that plan completes, for a following plan sequenced after the work it depends on ; any other survivor ⇒ amend(C) at once
|
|
79
|
+
the bound plan ⟨C is its fixed target : a held change never amends a shard under a running plan⟩ ; a change bears on it
|
|
80
|
+
⇔ its concept is a shard the plan realizes ∨ stands in the closure of one
|
|
81
|
+
the bound plan found built on a shard c that is itself wrong ⇒ in order ⟨self captures a note blocking that plan ;
|
|
82
|
+
self amend(c) once ; the planner re-plans, rectifying or rebuilding ; self retracts the note ; work resumes⟩
|
|
83
|
+
⟨intake at INCEPTION ∧ live, never at retirement : the note is the intake, captured at once ; only the
|
|
84
|
+
amend waits · an obligation standing between an agent and closing its work always loses · measured 0 of 25⟩
|
|
76
85
|
design ⊨ ¬ delegable ⟨a subagent starts blank ∧ a design authored by several
|
|
77
86
|
fragments BY CONSTRUCTION⟩
|
|
78
87
|
design ≜ conceptualize(intent) → signify(·) → materialize(·) → define(c) ∨ supersede(c) → C → cut(C)`;
|
|
79
88
|
export const design = {
|
|
80
89
|
name: 'design',
|
|
81
|
-
description: `use this skill to build and hold a project's DURATIVE conceptual model — the one artifact that outlives every plan: each concept's anchor, gloss and factorization, amended only by append-only supersession, and cut into
|
|
90
|
+
description: `use this skill to build and hold a project's DURATIVE conceptual model — the one artifact that outlives every plan: each concept's anchor, gloss and factorization, amended only by append-only supersession, and cut into shards a planner can take, each stating what and why, never how. Its verbs show the design or one concept, define, amend, retract and reconcile a concept, and trace how one came to be, what it stands on and what stands on it. Reach for it FIRST on any long-horizon effort, before any work is decomposed, and again whenever execution or the operator establishes something the model does not yet hold: every such input is a hypothesis the holder rectifies first, and a survivor bearing on a shard a bound plan realizes is held as a note until that plan completes while any other is amended at once, and a plan found built on a wrong shard stops until the shard is corrected once and the plan re-planned. It is what acceptance is judged against, so without it verification has no referent and degrades into re-reading the implementer's own claim.`,
|
|
82
91
|
formalBlock: FORMAL_BLOCK,
|
|
83
92
|
runtime: { capability: 'design' },
|
|
84
93
|
composition: () => [],
|
|
94
|
+
preamble: primePrinciple,
|
|
85
95
|
};
|
|
86
96
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/design/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/design/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,oFAAoF;AACpF,mFAAmF;AACnF,EAAE;AACF,kFAAkF;AAClF,kFAAkF;AAClF,qFAAqF;AACrF,mFAAmF;AACnF,oFAAoF;AACpF,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,oFAAoF;AACpF,iFAAiF;AACjF,oFAAoF;AACpF,iFAAiF;AACjF,mFAAmF;AAEnF,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAqEmG,CAAC;AAEzH,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,wiCAAwiC;IACrjC,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE;IACjC,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
// COMPOSES NOTHING, and that is the repair.
|
|
2
3
|
//
|
|
3
4
|
// This cell used to declare `composition: () => [conceptualize, signify, materialize]` and import those
|
|
@@ -50,5 +51,6 @@ export const exemplify = {
|
|
|
50
51
|
description: `optimize a context corpus into a canonical semantic factorization — compose produce → name → realize over the one concept-record, then gate on accept; emits the R3 routing manifest that catches the dropped idea.`,
|
|
51
52
|
formalBlock: FORMAL_BLOCK,
|
|
52
53
|
composition: () => [],
|
|
54
|
+
preamble: primePrinciple,
|
|
53
55
|
};
|
|
54
56
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/exemplify/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/exemplify/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,4CAA4C;AAC5C,EAAE;AACF,wGAAwG;AACxG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA+B2B,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,qNAAqN;IAClO,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
import { conceptualize } from '../conceptualize/skill.js';
|
|
2
3
|
import { signify } from '../signify/skill.js';
|
|
3
4
|
export const formalize = {
|
|
@@ -31,5 +32,6 @@ gloss(B) ≜ prose of B beyond β ∪ ι ; gloss(B) ≠ ∅ ⇒ ¬complete(B)
|
|
|
31
32
|
reconstruct(B) ≽ prose
|
|
32
33
|
reconstruct(B) ⋡ prose ⇒ ⊥`,
|
|
33
34
|
composition: () => [conceptualize, signify],
|
|
35
|
+
preamble: primePrinciple,
|
|
34
36
|
};
|
|
35
37
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/formalize/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/formalize/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,kYAAkY;IAC/Y,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0B+B;IAC5C,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,aAAa,EAAE,OAAO,CAAC;IAC3C,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
export const introspect = {
|
|
2
3
|
name: 'introspect',
|
|
3
4
|
description: `use this skill when an agent needs to self-audit — compare each dimension's defined value against the value actually in effect this session, and name the cause of every divergence.`,
|
|
@@ -47,5 +48,6 @@ why(o) ∈ K_cfg ⇒ reconcile @ { create-agent · deploy }
|
|
|
47
48
|
why(o) = misnomer ⇒ reconcile @ signify ≺ { create-agent · deploy }
|
|
48
49
|
O · causes @ live-anatomy`,
|
|
49
50
|
composition: () => [],
|
|
51
|
+
preamble: primePrinciple,
|
|
50
52
|
};
|
|
51
53
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/introspect/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/introspect/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,sLAAsL;IACnM,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA4CqC;IAClD,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
// COMPOSES NOTHING, and that is the repair.
|
|
2
3
|
//
|
|
3
4
|
// This cell used to declare `composition: () => [exemplify, signify, conceptualize]` and import those
|
|
@@ -62,5 +63,6 @@ s unnamed ∨ s ∉ S ⇒ ⊥
|
|
|
62
63
|
classification ↦ membership test
|
|
63
64
|
utility ↦ instrument`,
|
|
64
65
|
composition: () => [],
|
|
66
|
+
preamble: primePrinciple,
|
|
65
67
|
};
|
|
66
68
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/materialize/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/materialize/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,4CAA4C;AAC5C,EAAE;AACF,sGAAsG;AACtG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,oZAAoZ;IACja,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA4CoC;IACjD,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
import { design } from '../design/skill.js';
|
|
2
3
|
import { note } from '../note/skill.js';
|
|
3
4
|
// SUPERSEDES `praxis`, which carried three activities with three different ends —
|
|
@@ -17,10 +18,11 @@ import { note } from '../note/skill.js';
|
|
|
17
18
|
// the roles it names (which plan state at most one plan holds, which is final, which
|
|
18
19
|
// unit state satisfies a dependency), never on a spelling of its own.
|
|
19
20
|
//
|
|
20
|
-
// The laws carried forward are the ones that were PAID FOR. The output-array law
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
//
|
|
21
|
+
// The laws carried forward are the ones that were PAID FOR. The output-array law
|
|
22
|
+
// survives because the defect it names — a footprint read off where a sign is DEFINED
|
|
23
|
+
// while the work is bounded by where it is USED — recurred six times in one plan (a
|
|
24
|
+
// declared glob against fifteen written paths among them) and voids every disjointness
|
|
25
|
+
// proof above it when it recurs.
|
|
24
26
|
const LIFECYCLE = {
|
|
25
27
|
plan: {
|
|
26
28
|
states: ['proposed', 'bound', 'closed'],
|
|
@@ -30,13 +32,12 @@ const LIFECYCLE = {
|
|
|
30
32
|
unit: { states: ['pending', 'active', 'completed'], satisfies: 'completed' },
|
|
31
33
|
};
|
|
32
34
|
const { plan: PLAN, unit: UNIT } = LIFECYCLE;
|
|
33
|
-
const FORMAL_BLOCK = `
|
|
35
|
+
const FORMAL_BLOCK = `shard @ design
|
|
34
36
|
c @ design
|
|
35
37
|
anchor @ design
|
|
36
38
|
closure @ design
|
|
37
39
|
withdrawn @ design
|
|
38
|
-
|
|
39
|
-
P ≜ a plan : the units cutting s into work
|
|
40
|
+
P ≜ a plan : the units realizing a set of shards
|
|
40
41
|
unit ≜ a unit of work ⟨unit ∈ P⟩
|
|
41
42
|
name(x) ≜ the label x is addressed by ⟨x a P ∨ a unit · revisable⟩
|
|
42
43
|
States(P) ≜ { ${PLAN.states.join(', ')} } ⟨in lifecycle order⟩
|
|
@@ -64,7 +65,7 @@ accept : P → (return → 𝔹) ⟨MECHANICAL only · the semantic half is @ de
|
|
|
64
65
|
pre : P → return
|
|
65
66
|
spec(unit) ≜ ⟨ realizes(unit), intent(unit), static(unit), deps(unit), outputs(unit), accept(unit) ⟩
|
|
66
67
|
census : intent → ⟨scope, static, deps, occurs⟩ ⟨delegable-to agent⟩
|
|
67
|
-
capacity ≜ the effort one
|
|
68
|
+
capacity ≜ the effort one implementer finishes in one dispatch ⟨DECLARED by the implementer's harness · ¬ a constant here⟩
|
|
68
69
|
effort(unit) ≜ what building ∧ proving unit costs ⟨reading included⟩
|
|
69
70
|
slices : P → ℘(℘(P))
|
|
70
71
|
cross(S) ≜ |R ∩ ⋃ { sᵢ × sⱼ | sᵢ, sⱼ ∈ S ∧ i ≠ j }|
|
|
@@ -74,13 +75,13 @@ W(n) ≜ ⋃ { wave(i) | i ≤ n }
|
|
|
74
75
|
owed @ note
|
|
75
76
|
blocked(unit) ⇔ ∃ u ∈ deps(unit) : ¬satisfied(u)
|
|
76
77
|
ready(unit) ⇔ bound(P) ∧ ¬blocked(unit) ∧ ∄ owed note blocking unit ∨ P ⟨computed, never stored · ready
|
|
77
|
-
PROMISES an
|
|
78
|
+
PROMISES an implementer can FINISH · conflating a dep with a ruling stalls a fan-out⟩
|
|
78
79
|
frontier(P) ≜ { unit | ready(unit) ∧ state(unit) = ${UNIT.states[0]} } ∪ { unit | bound(P) ∧ ${UNIT.states[0]} ≺ state(unit) ≺ ${UNIT.satisfies} } ⟨where
|
|
79
80
|
the plan IS · ¬ only what is dispatchable · ¬bound(P) ⇒ frontier(P) = ∅⟩
|
|
80
|
-
planner ≜ the planner ⟨bounded to
|
|
81
|
+
planner ≜ the planner ⟨bounded to its shards⟩
|
|
81
82
|
conform @ signify
|
|
82
83
|
show(P) ≜ \`scripts/plan.mjs show [<plan>]\` ↦ the bound P in wave order ∨ any P named, whole
|
|
83
|
-
show(unit) ≜ \`scripts/plan.mjs show <unit> --plan <p>\` ↦ one unit in full
|
|
84
|
+
show(unit) ≜ \`scripts/plan.mjs show <unit> --plan <p>\` ↦ one unit in full ⟨the planner's ∧ the implementer's read · ¬ the architect's⟩
|
|
84
85
|
add(unit) ≜ \`scripts/plan.mjs add <unit> --plan <p> --realizes <concept> --intent <i> [--static <path>]… [--deps <unit>]… [--outputs <path>]… [--accept <criterion>]… [--plan-realizes <concept>]…\` ⟨pin(unit) taken · the first add naming an absent P proposes it, realizing each --plan-realizes⟩
|
|
85
86
|
advance(unit) ≜ \`scripts/plan.mjs advance <unit> --plan <p> --to <state>\`
|
|
86
87
|
retract(unit) ≜ \`scripts/plan.mjs retract <unit> --plan <p>\`
|
|
@@ -91,10 +92,9 @@ close(P) ≜ \`scripts/plan.mjs close <plan>\` ⟨closed(P)⟩
|
|
|
91
92
|
reconcile(x) ≜ \`scripts/plan.mjs reconcile <unit> --plan <p> [--name <n>] [--realizes <concept>] [--intent <i>] [--static <path>]… [--deps <unit>]… [--outputs <path>]… [--accept <criterion>]… [--state <state>] [--repin]\` ∨ \`scripts/plan.mjs reconcile <plan> [--name <n>] [--realizes <concept>]… [--state <state>]\` ↦ one version superseding every current version of x ⟨each field the versions disagree on is given · a unit whose versions pin differently takes --repin⟩
|
|
92
93
|
|
|
93
94
|
∀ add ∨ advance ∨ retract ∨ revise ∨ bind ∨ close ∨ reconcile : \`--author <who> --reason <why> --cause <what caused it>\` ⟨a set-valued flag repeats, one member each⟩
|
|
94
|
-
∀ unit : realizes(unit)
|
|
95
|
+
∀ unit : realizes(unit) = the anchor of ONE shard ⟨TOTALITY is the gate · a unit citing no
|
|
95
96
|
concept is work whose purpose cannot be stated ∴ REFUSED at authoring, ¬ warned⟩
|
|
96
|
-
|
|
97
|
-
BOUNDARY finding · SURFACE it ; the planner may ¬ redraw the cut⟩
|
|
97
|
+
shard ¬ how ∴ how it is realized on each harness is the plan's
|
|
98
98
|
∀ unit : realizes(unit) = the concept pin(unit) names ∧ realizes(unit) ∈ realizes(P) ⟨a merge
|
|
99
99
|
breaking it is incoherent(P), reported like the others⟩
|
|
100
100
|
|{ P | bound(P) }| ≤ 1 ⟨held by bind(P), which returns the P bound before⟩
|
|
@@ -112,50 +112,48 @@ pin(unit) retaken ⇔ \`scripts/plan.mjs revise <unit> --plan <p> --repin --reas
|
|
|
112
112
|
withdrawn(denotes(realizes(unit))) ⇒ drifted(unit) ∧ ¬ incoherent(P) ⟨a retraction in the design never breaks a plan law⟩
|
|
113
113
|
drifted(unit) ∨ suspect(unit) ⇒ SURFACE ⟨the design moved under the plan · drift, ¬ staleness⟩
|
|
114
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 ⇔
|
|
116
|
-
measured : ~12 serial amendments re-cut one plan ~10× where the piece never moved⟩
|
|
115
|
+
new gloss adds ∨ drops · anchor ∨ factors ⇒ revise(unit) ∧ repin · re-cut ⇔ shard itself moved⟩
|
|
117
116
|
suspect(unit) ⇒ the same response ↾ what moved beneath ⟨the concept that moved is a factor, ¬ the one
|
|
118
117
|
unit spells ∴ its anchor moving alone ⇒ repin · a factor dropped beneath shows as the concept
|
|
119
118
|
above it amended in factors⟩
|
|
120
119
|
diverged(x) ⇒ reconcile(x) ⟨an ordinary write on x refuses⟩
|
|
121
120
|
incoherent(P) ⇒ repaired by ordinary writes, one at a time
|
|
122
|
-
reconcile ⊨
|
|
123
|
-
slices(P) cut on
|
|
124
|
-
file-cut ⇒ ∀ unit ⊇ fragments of several c ⇒
|
|
121
|
+
reconcile ⊨ planner ⟨reconciliation of plans ∧ units is the planner's alone⟩
|
|
122
|
+
slices(P) cut on shards ⟨¬ file-adjacency · files are a LAGGING proxy for modularity ∴
|
|
123
|
+
file-cut ⇒ ∀ unit ⊇ fragments of several c ⇒ implementer finishes ∧ system incoherent⟩
|
|
125
124
|
⋃ slices(P) = P ∧ ∀ s₁, s₂ ∈ slices(P) : s₁ ≠ s₂ ⇒ s₁ ∩ s₂ = ∅
|
|
126
|
-
∄ swap improving cross(slices(P)) ⟨argmin
|
|
127
|
-
a global argmin over every assignment is ¬ decidable⟩
|
|
125
|
+
∄ swap improving cross(slices(P)) ⟨LOCAL argmin · a global one is ¬ decidable⟩
|
|
128
126
|
∀ n < m : |wave(n)| = 1 ⇒ slices mis-cut ⟨a singleton non-terminal wave is a CHAIN⟩
|
|
129
127
|
∀ unit, u ∈ wave(n) : unit ≠ u ⇒ outputs(unit) ∩ outputs(u) = ∅ ⟨the concurrency precondition⟩
|
|
130
128
|
∀ unit, u ∈ wave(n) : unit ≠ u ⇒ outputs(unit) ∩ refs(u) = ∅ ⟨disjoint outputs is NECESSARY
|
|
131
129
|
¬ sufficient : a deletion in unit dangles a reference in u⟩
|
|
132
130
|
⊨ disjoint-outputs ⇒ dispatch(wave(n)) needs-no-isolation
|
|
133
|
-
∀ unit : effort(unit) ≤ capacity ⟨
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
an executor exhausted mid-unit ⇒ effort(unit) mis-estimated ⇒ split ∨ SURFACE ≺ redispatch
|
|
131
|
+
∀ unit : effort(unit) ≤ capacity ⟨a unit past capacity hands its successor a re-read, ¬ progress⟩
|
|
132
|
+
effort(unit) > capacity ⇒ split on factors(denotes(realizes(unit))) ⟨each part realizes a factor⟩
|
|
133
|
+
; factors = ∅ ⇒ SURFACE ⟨a primitive no implementer finishes is ¬ primitive @ design⟩
|
|
134
|
+
an implementer exhausted mid-unit ⇒ effort(unit) mis-estimated ⇒ split ∨ SURFACE ≺ redispatch
|
|
138
135
|
⟨¬ a chain of cold successors⟩
|
|
139
136
|
∀ unit : footprint(unit) ⊆ outputs(unit) ⟨outputs IS the contention set ∴ an under-declared
|
|
140
137
|
array silently voids every disjointness proof above⟩
|
|
141
138
|
∀ unit : occurs(realizes(unit)) ⊆ outputs(unit) ⟨a unit's footprint is its REFERENCE set, ¬ its
|
|
142
139
|
definition site · resolve occurs BEFORE declaring outputs⟩
|
|
143
|
-
⟨measured 6 under-declared arrays in one plan, ONE cause · declared 1 glob and
|
|
144
|
-
wrote 15 paths · 1 and 12 · 8 and 20⟩
|
|
145
140
|
∀ unit : ∃ r : ¬accept(unit)(r) ∧ ¬accept(unit)(pre(unit)) ⟨criteria that cannot FAIL, ∧ that
|
|
146
141
|
already pass before the work, test nothing⟩
|
|
147
|
-
census(P) ⊨ once ∧ pinned⟨commit⟩ ∧ cited by every unit ⟨¬ re-derived per
|
|
142
|
+
census(P) ⊨ once ∧ pinned⟨commit⟩ ∧ cited by every unit ⟨¬ re-derived per implementer⟩
|
|
148
143
|
∀ unit : measurement ∈ spec(unit) ⇒ measurement = claim⟨commit⟩ ∴ cite ⇔ ∄ change to its paths since
|
|
149
144
|
that commit ; else re-derive ≺ cite ⟨a count in a unit is CENSUS OUTPUT, ¬ a datum · the tree
|
|
150
|
-
moves ∧ nothing reds
|
|
145
|
+
moves ∧ nothing reds⟩
|
|
151
146
|
∀ unit : reach-leg(unit) ⊨ print(denominator) ⟨∄ denominator ⇒ found-nothing ≡ could-not-look⟩
|
|
152
147
|
∀ unit : conform(spec(unit))
|
|
153
|
-
plan ≜ take(
|
|
148
|
+
plan ≜ the planner's procedure : take(shards) → census ⟨delegable⟩ → slice(shards) → add(∀ unit) ⟨spec ∧ pin⟩ → ratify @ planner → bind(P) ⟨only when ¬∃ bound P⟩ → advance(each ready unit) ↦ ${UNIT.states[1]} as its name is handed out ⟨returns the plan's name ∧ those names alone⟩
|
|
149
|
+
; on \`whole <unit>\` : advance(unit) ↦ ${UNIT.satisfies}, hand out the newly ready ; ∀ unit completed ⇒ close(P)
|
|
150
|
+
; on a stop ⟨an owed note blocking P⟩ : rectify ⟨repin ∨ revise ∨ retract ∨ add⟩ ∨ rebuild P ≺ the note is retracted ⟨the drift laws apply to a bound P⟩`;
|
|
154
151
|
export const plan = {
|
|
155
152
|
name: 'plan',
|
|
156
|
-
description: `use this skill to decompose
|
|
153
|
+
description: `use this skill to decompose the shards a design hands down into MECE units of work — each realizing exactly one shard and citing the single concept it realizes, with its inputs, dependencies, declared outputs and mechanical acceptance criteria — sliced on the design's seams rather than on file adjacency, and ordered into waves whose outputs are disjoint so they dispatch concurrently without contending. Reach for it after a design exists and before any work is dispatched. A unit that cites no concept is refused; a shard that cannot be planned as handed down is surfaced, never silently redrawn. Its verbs show a plan or a unit, add, advance, retract and revise units, revise, bind and close a plan, and reconcile either.`,
|
|
157
154
|
formalBlock: FORMAL_BLOCK,
|
|
158
155
|
runtime: { capability: 'plan', configuration: LIFECYCLE },
|
|
159
156
|
composition: () => [design, note],
|
|
157
|
+
preamble: primePrinciple,
|
|
160
158
|
};
|
|
161
159
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/plan/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/plan/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,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,iFAAiF;AACjF,sFAAsF;AACtF,oFAAoF;AACpF,uFAAuF;AACvF,iCAAiC;AAEjC,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,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE;CACpE,CAAC;AACX,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;AAE7C,MAAM,YAAY,GAAG;;;;;;;;gBAQL,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iMA0D4F,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;8CACjK,IAAI,CAAC,SAAS;6JACoH,CAAC;AAEjL,MAAM,CAAC,MAAM,IAAI,GAAU;IACzB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,utBAAutB;IACpuB,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;IACjC,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
// COMPOSES NOTHING, and that is the repair.
|
|
2
3
|
//
|
|
3
4
|
// This cell used to declare `composition: () => [signify, elicit, conceptualize]` and import those
|
|
@@ -66,5 +67,6 @@ export const probe = {
|
|
|
66
67
|
description: `use this skill to probe a signifier — read out the priors a word, phrase, or candidate name fires in the reader (\`fired\`, signify's decoder \`dec\` generalized off its assigned anchors) and the concept they circumscribe; the forward, no-commit inverse of signify, for discovering the concept latent in a name or experimenting with candidate anchors before committing — a keeper crystallizes through signify.`,
|
|
67
68
|
formalBlock: FORMAL_BLOCK,
|
|
68
69
|
composition: () => [],
|
|
70
|
+
preamble: primePrinciple,
|
|
69
71
|
};
|
|
70
72
|
//# sourceMappingURL=skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/probe/skill.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/skills/probe/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGhE,4CAA4C;AAC5C,EAAE;AACF,mGAAmG;AACnG,gFAAgF;AAChF,qFAAqF;AACrF,mFAAmF;AACnF,sFAAsF;AACtF,+CAA+C;AAC/C,EAAE;AACF,kFAAkF;AAClF,iFAAiF;AACjF,iFAAiF;AACjF,qFAAqF;AACrF,sFAAsF;AACtF,oCAAoC;AAEpC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA+C0E,CAAC;AAEhG,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,2ZAA2Z;IACxa,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,GAAG,EAAE,CAAC,EAAE;IACrB,QAAQ,EAAE,cAAc;CACzB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { primePrinciple } from '../../genus/prime-principle.js';
|
|
1
2
|
// COMPOSES NOTHING, and that is the repair.
|
|
2
3
|
//
|
|
3
4
|
// This cell used to declare `composition: () => [exemplify, conceptualize, materialize]` and import those
|
|
@@ -67,5 +68,6 @@ minimal(a) ⇔ ∄ c carried by a : a re-states fired(α(c))
|
|
|
67
68
|
conform(a) ⇔ register(a) = σ*
|
|
68
69
|
verbatim(a) ⇒ register(a) = σ*`,
|
|
69
70
|
composition: () => [],
|
|
71
|
+
preamble: primePrinciple,
|
|
70
72
|
};
|
|
71
73
|
//# sourceMappingURL=skill.js.map
|