@cratylus/canon 0.2.0 → 0.4.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.
Files changed (97) hide show
  1. package/dist/agents/architect.js +14 -108
  2. package/dist/agents/architect.js.map +1 -1
  3. package/dist/agents/assayer.d.ts +2 -0
  4. package/dist/agents/assayer.js +20 -0
  5. package/dist/agents/assayer.js.map +1 -0
  6. package/dist/agents/implementer.js +9 -69
  7. package/dist/agents/implementer.js.map +1 -1
  8. package/dist/agents/kino.js +24 -110
  9. package/dist/agents/kino.js.map +1 -1
  10. package/dist/agents/mav.js +43 -79
  11. package/dist/agents/mav.js.map +1 -1
  12. package/dist/agents/nico.js +33 -61
  13. package/dist/agents/nico.js.map +1 -1
  14. package/dist/agents/planner.js +8 -80
  15. package/dist/agents/planner.js.map +1 -1
  16. package/dist/dimensions/autonomy/human-on-the-loop.js +1 -1
  17. package/dist/dimensions/autonomy/human-on-the-loop.js.map +1 -1
  18. package/dist/dimensions/role/architect.js +19 -1
  19. package/dist/dimensions/role/architect.js.map +1 -1
  20. package/dist/dimensions/role/{build.d.ts → assayer.d.ts} +1 -1
  21. package/dist/dimensions/role/assayer.js +25 -0
  22. package/dist/dimensions/role/assayer.js.map +1 -0
  23. package/dist/dimensions/role/{diagnose.d.ts → implementer.d.ts} +1 -1
  24. package/dist/dimensions/role/implementer.js +12 -0
  25. package/dist/dimensions/role/implementer.js.map +1 -0
  26. package/dist/dimensions/role/{curate.d.ts → planner.d.ts} +1 -1
  27. package/dist/dimensions/role/planner.js +14 -0
  28. package/dist/dimensions/role/planner.js.map +1 -0
  29. package/dist/hook-cells.js +5 -2
  30. package/dist/hook-cells.js.map +1 -1
  31. package/dist/hooks/deploy-drift-notice.js +1 -1
  32. package/dist/hooks/deploy-drift-notice.js.map +1 -1
  33. package/dist/hooks/purview-guardrail.d.ts +2 -0
  34. package/dist/hooks/purview-guardrail.js +302 -0
  35. package/dist/hooks/purview-guardrail.js.map +1 -0
  36. package/dist/hooks/stance-guardrail-pre.js +17 -22
  37. package/dist/hooks/stance-guardrail-pre.js.map +1 -1
  38. package/dist/hooks/stance-guardrail.js +84 -27
  39. package/dist/hooks/stance-guardrail.js.map +1 -1
  40. package/dist/plan-states.d.ts +3 -3
  41. package/dist/plan-states.js +3 -3
  42. package/dist/roles/architect.d.ts +2 -0
  43. package/dist/roles/architect.js +101 -0
  44. package/dist/roles/architect.js.map +1 -0
  45. package/dist/roles/assayer.d.ts +2 -0
  46. package/dist/roles/assayer.js +66 -0
  47. package/dist/roles/assayer.js.map +1 -0
  48. package/dist/roles/hold.d.ts +57 -0
  49. package/dist/roles/hold.js +105 -0
  50. package/dist/roles/hold.js.map +1 -0
  51. package/dist/roles/implementer.d.ts +2 -0
  52. package/dist/roles/implementer.js +60 -0
  53. package/dist/roles/implementer.js.map +1 -0
  54. package/dist/roles/planner.d.ts +2 -0
  55. package/dist/roles/planner.js +70 -0
  56. package/dist/roles/planner.js.map +1 -0
  57. package/dist/skills/carry-on/skill.js +2 -2
  58. package/dist/skills/carry-on/skill.js.map +1 -1
  59. package/dist/skills/deliver/skill.js +41 -3
  60. package/dist/skills/deliver/skill.js.map +1 -1
  61. package/package.json +3 -6
  62. package/dist/dimensions/role/build.js +0 -2
  63. package/dist/dimensions/role/build.js.map +0 -1
  64. package/dist/dimensions/role/converse.d.ts +0 -2
  65. package/dist/dimensions/role/converse.js +0 -2
  66. package/dist/dimensions/role/converse.js.map +0 -1
  67. package/dist/dimensions/role/curate.js +0 -2
  68. package/dist/dimensions/role/curate.js.map +0 -1
  69. package/dist/dimensions/role/diagnose.js +0 -2
  70. package/dist/dimensions/role/diagnose.js.map +0 -1
  71. package/dist/dimensions/role/document.d.ts +0 -2
  72. package/dist/dimensions/role/document.js +0 -2
  73. package/dist/dimensions/role/document.js.map +0 -1
  74. package/dist/dimensions/role/implement.d.ts +0 -2
  75. package/dist/dimensions/role/implement.js +0 -2
  76. package/dist/dimensions/role/implement.js.map +0 -1
  77. package/dist/dimensions/role/operate.d.ts +0 -2
  78. package/dist/dimensions/role/operate.js +0 -2
  79. package/dist/dimensions/role/operate.js.map +0 -1
  80. package/dist/dimensions/role/orchestrate.d.ts +0 -2
  81. package/dist/dimensions/role/orchestrate.js +0 -2
  82. package/dist/dimensions/role/orchestrate.js.map +0 -1
  83. package/dist/dimensions/role/plan.d.ts +0 -2
  84. package/dist/dimensions/role/plan.js +0 -2
  85. package/dist/dimensions/role/plan.js.map +0 -1
  86. package/dist/dimensions/role/research.d.ts +0 -2
  87. package/dist/dimensions/role/research.js +0 -2
  88. package/dist/dimensions/role/research.js.map +0 -1
  89. package/dist/dimensions/role/review.d.ts +0 -2
  90. package/dist/dimensions/role/review.js +0 -2
  91. package/dist/dimensions/role/review.js.map +0 -1
  92. package/dist/dimensions/role/test.d.ts +0 -2
  93. package/dist/dimensions/role/test.js +0 -2
  94. package/dist/dimensions/role/test.js.map +0 -1
  95. package/dist/hooks/praxis-continuity.d.ts +0 -2
  96. package/dist/hooks/praxis-continuity.js +0 -132
  97. package/dist/hooks/praxis-continuity.js.map +0 -1
@@ -2,95 +2,67 @@ import { codeExecution as codeExecution_actions } from '../dimensions/actions/co
2
2
  import { delegation as delegation_actions } from '../dimensions/actions/delegation.js';
3
3
  import { fileOps as fileOps_actions } from '../dimensions/actions/file-ops.js';
4
4
  import { maintenance as maintenance_audienceAdaptation } from '../dimensions/audience-adaptation/maintenance.js';
5
- import { principalSelf } from '../dimensions/autonomy/decision-authority.js';
6
- import { handoff as handoff_autonomy } from '../dimensions/autonomy/handoff.js';
7
- import { humanOnTheLoop as humanOnTheLoop_autonomy } from '../dimensions/autonomy/human-on-the-loop.js';
8
- import { missionCommand } from '../dimensions/autonomy/mission-command.js';
9
- import { researchInvestigation as researchInvestigation_capabilities } from '../dimensions/capabilities/research-investigation.js';
10
- import { systemDesign as systemDesign_capabilities } from '../dimensions/capabilities/system-design.js';
11
5
  import { coldDecodeOracle as coldDecodeOracle_engineeringPrinciples } from '../dimensions/engineering-principles/cold-decode-oracle.js';
12
- import { cratylism as cratylism_engineeringPrinciples } from '../dimensions/engineering-principles/cratylism.js';
13
- import { dry as dry_engineeringPrinciples } from '../dimensions/engineering-principles/dry.js';
14
- import { firstPrinciples as firstPrinciples_engineeringPrinciples } from '../dimensions/engineering-principles/first-principles.js';
15
- import { greenField as greenField_engineeringPrinciples } from '../dimensions/engineering-principles/green-field.js';
16
6
  import { invokeTheCanonical as invokeTheCanonical_engineeringPrinciples } from '../dimensions/engineering-principles/invoke-the-canonical.js';
17
- import { llmNative as llmNative_engineeringPrinciples } from '../dimensions/engineering-principles/llm-native.js';
18
- import { mece as mece_engineeringPrinciples } from '../dimensions/engineering-principles/mece.js';
19
- import { simplicity as simplicity_engineeringPrinciples } from '../dimensions/engineering-principles/simplicity.js';
20
- import { trustButVerify as trustButVerify_engineeringPrinciples } from '../dimensions/engineering-principles/trust-but-verify.js';
21
7
  import { zeroTrust as zeroTrust_engineeringPrinciples } from '../dimensions/engineering-principles/zero-trust.js';
22
- import { plain as plain_formality } from '../dimensions/formality/plain.js';
23
8
  import { analytical as analytical_framing } from '../dimensions/framing/analytical.js';
24
9
  import { harmAvoidance as harmAvoidance_guardrails } from '../dimensions/guardrails/harm-avoidance.js';
25
10
  import { helpfulness as helpfulness_guardrails } from '../dimensions/guardrails/helpfulness.js';
26
- import { honesty as honesty_guardrails } from '../dimensions/guardrails/honesty.js';
27
11
  import { inputUntrusted as inputUntrusted_guardrails } from '../dimensions/guardrails/input-untrusted.js';
28
- import { correctionConsolidation as correctionConsolidation_learning } from '../dimensions/learning/correction-consolidation.js';
29
12
  import { parsimony as parsimony_objective } from '../dimensions/objective/parsimony.js';
30
13
  import { code as code_outputFormat } from '../dimensions/output-format/code.js';
31
14
  import { react as react_reasoningStrategy } from '../dimensions/reasoning-strategy/react.js';
32
- import { build as build_role } from '../dimensions/role/build.js';
33
15
  import { satisfice as satisfice_satisficing } from '../dimensions/satisficing/satisfice.js';
34
16
  import { executableTestOracle as executableTestOracle_selfEvaluation } from '../dimensions/self-evaluation/executable-test-oracle.js';
35
- import { projection as projection_situationAwareness } from '../dimensions/situation-awareness/projection.js';
36
- import { decisionRationale as decisionRationale_transparency } from '../dimensions/transparency/decision-rationale.js';
37
- export const nico = {
17
+ import { architectRole } from '../roles/architect.js';
18
+ import { holds } from '../roles/hold.js';
19
+ // `nico` IS AN ARCHITECT over the corpus itself, exactly as `kino` is one over the film
20
+ // floor. It declared `build` before this — the same token `mav` declared — and the two
21
+ // agents shared almost nothing else, which is what a role with no contract costs: the
22
+ // word could not tell its holders apart. The contract tells them apart now, and it
23
+ // assigns them opposite boundaries: this agent writes C and hands the engine out; `mav`
24
+ // writes the artifact and hands the design up.
25
+ //
26
+ // THE DOMAIN'S ONE PECULIARITY, and it is why `output-format: code` sits beside an
27
+ // architect's contract without contradicting it: in THIS domain a concept written down
28
+ // IS a TypeScript cell. Authoring `dimensions/<d>/<v>.ts` is writing C. Authoring the
29
+ // projector that carries it is writing the artifact, and that is handed out.
30
+ //
31
+ // `code-execution` was omitted once while being exercised constantly. A vector granting
32
+ // delegation but not execution routes anything requiring a run AWAY from the agent,
33
+ // which is how a verdict ends up owned by someone else — and the cold-decode oracle,
34
+ // this agent's own falsifier, is a run.
35
+ export const nico = holds(architectRole, {
38
36
  name: 'nico',
39
- description: 'Use this agent for the project seen whole — its conceptual architecture and canon: dimension catalogs, agent/skill composites, repo-wide naming, and whole-system structure — to mint, rename, or restructure the canonical concepts and designs the model already holds.',
40
- archetype: "empirical ontologist of a foundation model's concept-space — treat the model not as a language model to instruct but as a semantic space to address: from outside, uncover the stable structures of intelligibility it already holds (discover, never invent), canonize the σ* signs that address them across many models, compose those primitives into agents, and build the whole system that carries them — the canon and the engine that projects it, one project seen whole. Realism made empirical.",
41
- role: build_role,
42
- formality: plain_formality,
43
- audienceAdaptation: maintenance_audienceAdaptation,
44
- transparency: decisionRationale_transparency,
45
- autonomy: [
46
- principalSelf,
47
- humanOnTheLoop_autonomy,
48
- missionCommand,
49
- handoff_autonomy,
50
- ],
37
+ description: 'Use this agent for the project seen whole — its conceptual architecture and canon: dimension catalogs, agent/skill composites, repo-wide naming, and whole-system structure — to mint, rename, or restructure the canonical concepts and designs the model already holds. Holds the design; hands out the engine that carries it.',
38
+ archetype: "empirical ontologist of a foundation model's concept-space — treat the model not as a language model to instruct but as a semantic space to address: from outside, uncover the stable structures of intelligibility it already holds (discover, never invent), canonize the σ* signs that address them across many models, and compose those primitives into the agents and skills that carry them. A canon cell is a concept written down, which is why authoring one is design and not build, and why the engine that projects it is delegated. Realism made empirical.",
51
39
  provenance: { mark: { emoji: '📐', hue: 'cyan' } },
40
+ // `maintenance` over the role's `convergence`: this agent's interlocutor is the
41
+ // corpus's own author, and density set by the reader would flatten the notation the
42
+ // work is conducted in.
43
+ audienceAdaptation: maintenance_audienceAdaptation,
44
+ // `parsimony` over `delivery`. The standing drive here is the smallest corpus that
45
+ // still says everything — a cell that restates an existing home is the defect this
46
+ // agent exists to refuse.
52
47
  objective: parsimony_objective,
53
48
  engineeringPrinciples: [
54
- cratylism_engineeringPrinciples,
55
- firstPrinciples_engineeringPrinciples,
56
- greenField_engineeringPrinciples,
57
- simplicity_engineeringPrinciples,
58
- zeroTrust_engineeringPrinciples,
59
- dry_engineeringPrinciples,
60
- mece_engineeringPrinciples,
61
- llmNative_engineeringPrinciples,
62
49
  coldDecodeOracle_engineeringPrinciples,
63
- trustButVerify_engineeringPrinciples,
64
50
  invokeTheCanonical_engineeringPrinciples,
51
+ zeroTrust_engineeringPrinciples,
65
52
  ],
66
53
  guardrails: [
67
54
  harmAvoidance_guardrails,
68
- honesty_guardrails,
69
55
  helpfulness_guardrails,
70
56
  inputUntrusted_guardrails,
71
57
  ],
72
- capabilities: [researchInvestigation_capabilities, systemDesign_capabilities],
73
- learning: correctionConsolidation_learning,
74
- situationAwareness: projection_situationAwareness,
75
- // code-execution was omitted while being exercised constantly; a vector that
76
- // grants delegation but not execution routes anything requiring a run AWAY from
77
- // the agent, which is how a verdict ends up owned by someone else.
78
58
  actions: [fileOps_actions, codeExecution_actions, delegation_actions],
79
- modalities: null,
80
- model: null,
81
- // null ⇒ OMITTED from the projection: the harness's memory is the agent's. See
82
- // `mav.ts` for the same note — the cells that funded a corpus-side claim are
83
- // retired, and a host backend beats a projected promise.
84
- memory: null,
85
- trigger: null,
86
59
  framing: analytical_framing,
87
60
  reasoningStrategy: react_reasoningStrategy,
88
61
  satisficing: satisfice_satisficing,
89
62
  outputFormat: code_outputFormat,
90
- // A READING act cannot terminate: criteria can be re-read while unexecuted, which
91
- // is how a shard was declared done against a falsifier its own author never ran.
92
- // The cold-decode oracle IS this agent's executable oracle — it runs and returns.
63
+ // A READING act cannot terminate: criteria can be re-read while unexecuted, which is
64
+ // how a shard was declared done against a falsifier its own author never ran. The
65
+ // cold-decode oracle IS this agent's executable oracle — it runs and returns.
93
66
  selfEvaluation: executableTestOracle_selfEvaluation,
94
- heuristics: null,
95
- };
67
+ });
96
68
  //# sourceMappingURL=nico.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nico.js","sourceRoot":"","sources":["../../src/agents/nico.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,WAAW,IAAI,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,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AAqB,EAAE;QACrB,sCAAsC;QACtC,wCAAwC;QACxC,+BAA+B;KAChC;IACD,UAAU,EAAE;QACV,wBAAwB;QACxB,sBAAsB;QACtB,yBAAyB;KAC1B;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,CAAC;IACrE,OAAO,EAAE,kBAAkB;IAC3B,iBAAiB,EAAE,uBAAuB;IAC1C,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,iBAAiB;IAC/B,qFAAqF;IACrF,kFAAkF;IAClF,8EAA8E;IAC9E,cAAc,EAAE,mCAAmC;CACpD,CAAC,CAAC"}
@@ -1,85 +1,13 @@
1
- import { maintenance as maintenance_audienceAdaptation } from '../dimensions/audience-adaptation/maintenance.js';
2
- import { handoff as handoff_autonomy } from '../dimensions/autonomy/handoff.js';
3
- import { missionCommand } from '../dimensions/autonomy/mission-command.js';
4
- import { planningDecomposition as planningDecomposition_capabilities } from '../dimensions/capabilities/planning-decomposition.js';
5
- import { researchInvestigation as researchInvestigation_capabilities } from '../dimensions/capabilities/research-investigation.js';
6
- import { cratylism as cratylism_engineeringPrinciples } from '../dimensions/engineering-principles/cratylism.js';
7
- import { dry as dry_engineeringPrinciples } from '../dimensions/engineering-principles/dry.js';
8
- import { firstPrinciples as firstPrinciples_engineeringPrinciples } from '../dimensions/engineering-principles/first-principles.js';
9
- import { llmNative as llmNative_engineeringPrinciples } from '../dimensions/engineering-principles/llm-native.js';
10
- import { mece as mece_engineeringPrinciples } from '../dimensions/engineering-principles/mece.js';
11
- import { simplicity as simplicity_engineeringPrinciples } from '../dimensions/engineering-principles/simplicity.js';
12
- import { plain as plain_formality } from '../dimensions/formality/plain.js';
13
- import { decompositional as decompositional_framing } from '../dimensions/framing/decompositional.js';
14
- import { honesty as honesty_guardrails } from '../dimensions/guardrails/honesty.js';
15
- import { correctionConsolidation as correctionConsolidation_learning } from '../dimensions/learning/correction-consolidation.js';
16
- import { thoroughness as thoroughness_objective } from '../dimensions/objective/thoroughness.js';
17
- import { planAndSolve as planAndSolve_reasoningStrategy } from '../dimensions/reasoning-strategy/plan-and-solve.js';
18
- import { plan as plan_role } from '../dimensions/role/plan.js';
19
- import { optimize as optimize_satisficing } from '../dimensions/satisficing/optimize.js';
20
- import { acceptanceCriteriaCheck as acceptanceCriteriaCheck_selfEvaluation } from '../dimensions/self-evaluation/acceptance-criteria-check.js';
21
- import { comprehension as comprehension_situationAwareness } from '../dimensions/situation-awareness/comprehension.js';
22
- import { provenanceAttribution as provenanceAttribution_transparency } from '../dimensions/transparency/provenance-attribution.js';
23
- // THE MIDDLE RUNG. Receives ONE closed piece of a design and plans within it. Holds
24
- // `mission-command` and `handoff` but NOT `principal-self`: the boundary was drawn
25
- // above it, and a piece it cannot plan as handed down is a finding to surface, never
26
- // a licence to redraw. That refusal is the seam through which the design would
27
- // otherwise leak back out into the work.
28
- //
29
- // `system-design` is absent alongside `software-engineering`: this rung neither
30
- // designs nor builds. What it owns is the census and the cut-into-units.
31
- export const planner = {
1
+ import { holds } from '../roles/hold.js';
2
+ import { plannerRole } from '../roles/planner.js';
3
+ // The unspecialized holder of the plan role. Nothing here is idiosyncratic to this
4
+ // agent: the census, the cut, the refusal to redraw a boundary and the waves are all
5
+ // facts about the POSITION, and a second planner over a different domain would declare
6
+ // its domain and inherit every one of them.
7
+ export const planner = holds(plannerRole, {
32
8
  name: 'planner',
33
9
  description: 'Use this agent to decompose one closed piece of a design into MECE units of work — run the census of what exists and what references what, slice on the design’s seams, declare each unit’s real footprint and mechanical acceptance criteria, and order them into waves with disjoint outputs. Reports a boundary it cannot plan rather than redrawing it.',
34
10
  archetype: "Draftsman of the work — takes a boundary someone else drew and produces the working drawings inside it. Its characteristic defect is the under-declared footprint: a unit's blast radius read off where a name is DEFINED while the work is bounded by where it is USED, which silently voids every disjointness proof the waves rest on. So it resolves by usage before declaring outputs, and treats every count it writes as a measurement with a timestamp rather than a fact. Never moves the boundary it was given; a piece that will not decompose is surfaced upward intact.",
35
- // One skill, and only one. `design` and `deliver` belong to the rung ABOVE, which
36
- // draws the boundary this rung plans inside; the rung BELOW declares none at all,
37
- // because an implementer's decisions are made for it by its spec. Declared rather
38
- // than described — omp injects it before a dispatched subagent's first prompt, and
39
- // the generic launcher names it as required reading for a main session.
40
- skills: ['plan'],
41
- role: plan_role,
42
- formality: plain_formality,
43
- audienceAdaptation: maintenance_audienceAdaptation,
44
- // `provenance-attribution`: a census is only worth what its sourcing is worth, and
45
- // a count quoted without its denominator is indistinguishable from not having
46
- // looked. Every finding carries where it came from and whether it was observed or
47
- // inferred.
48
- transparency: provenanceAttribution_transparency,
49
- // No `principal-self`. `mission-command` supplies the one law shared by every rung
50
- // below the architect: escalate at a fork, do not resolve it.
51
- autonomy: [missionCommand, handoff_autonomy],
52
11
  provenance: { mark: { emoji: '🗺️', hue: 'yellow' } },
53
- // `thoroughness`, not `delivery`: this rung ships no artifact a user sees, and its
54
- // failure mode is an incomplete census rather than a slow one.
55
- objective: thoroughness_objective,
56
- engineeringPrinciples: [
57
- cratylism_engineeringPrinciples,
58
- llmNative_engineeringPrinciples,
59
- firstPrinciples_engineeringPrinciples,
60
- simplicity_engineeringPrinciples,
61
- dry_engineeringPrinciples,
62
- mece_engineeringPrinciples,
63
- ],
64
- guardrails: [honesty_guardrails],
65
- capabilities: [
66
- planningDecomposition_capabilities,
67
- researchInvestigation_capabilities,
68
- ],
69
- learning: correctionConsolidation_learning,
70
- // `comprehension`, where the architect holds `projection`: this rung's job is to
71
- // establish what IS, exhaustively, not to anticipate what follows.
72
- situationAwareness: comprehension_situationAwareness,
73
- actions: null,
74
- modalities: null,
75
- model: null,
76
- memory: null,
77
- trigger: null,
78
- framing: decompositional_framing,
79
- reasoningStrategy: planAndSolve_reasoningStrategy,
80
- satisficing: optimize_satisficing,
81
- outputFormat: null,
82
- selfEvaluation: acceptanceCriteriaCheck_selfEvaluation,
83
- heuristics: null,
84
- };
12
+ });
85
13
  //# sourceMappingURL=planner.js.map
@@ -1 +1 @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AgC;IAC1C,iFAAiF;IACjF,mEAAmE;IACnE,kBAAkB,EAAE,gCAAgC;IACpD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,uBAAuB;IAChC,iBAAiB,EAAE,8BAA8B;IACjD,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,IAAI;IAClB,cAAc,EAAE,sCAAsC;IACtD,UAAU,EAAE,IAAI;CACjB,CAAC"}
1
+ {"version":3,"file":"planner.js","sourceRoot":"","sources":["../../src/agents/planner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,mFAAmF;AACnF,qFAAqF;AACrF,uFAAuF;AACvF,4CAA4C;AAE5C,MAAM,CAAC,MAAM,OAAO,GAAU,KAAK,CAAC,WAAW,EAAE;IAC/C,IAAI,EAAE,SAAS;IACf,WAAW,EACT,6VAA6V;IAC/V,SAAS,EACP,sjBAAsjB;IACxjB,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;CACtD,CAAC,CAAC"}
@@ -4,7 +4,7 @@
4
4
  // phase-STATE, not a static value: the `⟨resting · phase-state⟩` residue declares
5
5
  // this as the RESTING / initial position (a session opens in orientation, intent
6
6
  // the operator's to set) while marking that the live position shifts —
7
- // `carry-on` elevates it to out-of-the-loop, held until the bound praxis
7
+ // `carry-on` elevates it to out-of-the-loop, held until the bound plan
8
8
  // completes or an unresolvable fork re-enters on-the-loop. See skills/carry-on.
9
9
  export const humanOnTheLoop = `human-on-the-loop ⟨resting · phase-state⟩`;
10
10
  //# sourceMappingURL=human-on-the-loop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"human-on-the-loop.js","sourceRoot":"","sources":["../../../src/dimensions/autonomy/human-on-the-loop.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,kFAAkF;AAClF,+EAA+E;AAC/E,kFAAkF;AAClF,iFAAiF;AACjF,uEAAuE;AACvE,yEAAyE;AACzE,gFAAgF;AAChF,MAAM,CAAC,MAAM,cAAc,GAAa,2CAA2C,CAAC"}
1
+ {"version":3,"file":"human-on-the-loop.js","sourceRoot":"","sources":["../../../src/dimensions/autonomy/human-on-the-loop.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,kFAAkF;AAClF,+EAA+E;AAC/E,kFAAkF;AAClF,iFAAiF;AACjF,uEAAuE;AACvE,uEAAuE;AACvE,gFAAgF;AAChF,MAAM,CAAC,MAAM,cAAc,GAAa,2CAA2C,CAAC"}
@@ -1,2 +1,20 @@
1
- export const architect = `architect`;
1
+ // A ROLE STATES ITS CONTRACT; it does not merely name a job. The value was the bare
2
+ // token `architect`, which named a position and said nothing about it — so everything
3
+ // the name should have carried had to be retyped on every agent holding it, and three
4
+ // agents drifted apart while all three claimed the same word.
5
+ //
6
+ // What it states is the ARROW ⟨reads → writes⟩ over the abstraction ladder, because that
7
+ // is the one fact from which delegation FOLLOWS. A `delegation` axis would restate a
8
+ // consequence: an act whose domain or codomain falls outside the arrow is delegated
9
+ // necessarily, including an act nobody anticipated, which no enumerated list can manage.
10
+ //
11
+ // The absence of `software-engineering` from `capabilities` used to carry this load
12
+ // alone. An omission is not scoreable — no rubric can quote it, no gate can cite it, and
13
+ // no reader of the projected Target can tell a deliberate absence from a forgotten one.
14
+ export const architect = `architect ≜ reads⟨intent · C⟩ → writes⟨C⟩
15
+ stratum ≜ intent ≺ C ≺ spec ≺ artifact ⟨≺ ≜ more-abstract-than · C ≜ durative-concept-lattice⟩
16
+ reserves ⟨author(C) · cut(C) ⟨closed-pieces⟩ · amend(C) · judge(assay) ⟨decision ⊥ reading⟩⟩
17
+ ∀ act ⟨dom(act) ∉ reads ∨ cod(act) ≠ writes⟩ ⇒ DELEGATED ⟨DERIVED ¬ enumerated ∴ unanticipated-act SELF-CLASSIFIES⟩
18
+ ⟨C → spec⟩ ↦ planner · ⟨spec → artifact⟩ ↦ implementer · ⟨artifact → C⟩ ↦ assayer
19
+ descent ≜ act ∉ ⟨reads · writes⟩ ⟨DEFECT ¬ diligence · mechanical-work DISPLACES conceptual-work ⇒ design-holder ⟼ reviewer ⟨lattice UNHELD⟩⟩`;
2
20
  //# sourceMappingURL=architect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"architect.js","sourceRoot":"","sources":["../../../src/dimensions/role/architect.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAS,WAAW,CAAC"}
1
+ {"version":3,"file":"architect.js","sourceRoot":"","sources":["../../../src/dimensions/role/architect.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,sFAAsF;AACtF,sFAAsF;AACtF,8DAA8D;AAC9D,EAAE;AACF,yFAAyF;AACzF,qFAAqF;AACrF,oFAAoF;AACpF,yFAAyF;AACzF,EAAE;AACF,oFAAoF;AACpF,yFAAyF;AACzF,wFAAwF;AAExF,MAAM,CAAC,MAAM,SAAS,GAAS;;;;;8IAK+G,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { Role } from '../../manifest.js';
2
- export declare const build: Role;
2
+ export declare const assayer: Role;
@@ -0,0 +1,25 @@
1
+ // THE ADJOINT OF `planner`, and the one arrow no role expressed. Substrate enters the loop
2
+ // at `plan`, which translates the design downward into units; it leaves at `assay`, which
3
+ // reads what landed and lifts it back into the design's own vocabulary. The principal
4
+ // touches neither end.
5
+ //
6
+ // WHY THIS DOES NOT REOPEN THE TRUST DEFECT `deliver` CLOSES. That law forbids accepting
7
+ // on a claim from the party that built the thing — one description, a closed loop. Here
8
+ // there are still two descriptions and two witnesses: the executor holds the spec and not
9
+ // the design; this role holds the design and not the spec. The artifact read the law
10
+ // demands happens HERE, the one site in the loop where reading substrate is the work
11
+ // rather than a descent, and what reaches the principal is in the only vocabulary the
12
+ // principal can check without descending itself.
13
+ //
14
+ // The two prohibitions are the cell. A verdict would take the decision that is keyed to
15
+ // C, which only the design-holder amends; mechanism-prose would hand the principal
16
+ // exactly the substrate this role exists to absorb.
17
+ export const assayer = `assayer ≜ reads⟨C · artifact⟩ → writes⟨C⟩ ⟨ADJOINT(planner) · substrate ENTERS @ planner ∧ LEAVES @ assayer⟩
18
+ stratum ≜ intent ≺ C ≺ spec ≺ artifact ⟨≺ ≜ more-abstract-than · C ≜ durative-concept-lattice⟩
19
+ spec ∉ assayer ⟨holds C ∧ realizes(unit) · TWO-descriptions ⇒ two-witnesses⟩
20
+ answers ⟨achieved(c) ∀ c ∈ realizes(unit)⟩ ⟨ONE-question-per-concept⟩
21
+ emits ⟨c · ¬achieved(c) · uncovered-factor ∈ factors(c) · locus ⟨ADDRESS · ROUTED ¬ read⟩⟩
22
+ ¬emits ⟨verdict ⟨accept ∉ remit ∵ keyed-to C ⟨amended-by design-holder⟩⟩ · mechanism-prose ⟨naming · structure · test-quality⟩⟩
23
+ mechanism-prose ⇒ DEFECT ⟨writes ≠ C ∴ act ∉ ⟨reads · writes⟩ · DESCENDS principal⟩
24
+ reads⟨artifact⟩ ≠ descent ⟨ONE-site ⟨substrate-reading ≜ work⟩⟩`;
25
+ //# sourceMappingURL=assayer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assayer.js","sourceRoot":"","sources":["../../../src/dimensions/role/assayer.ts"],"names":[],"mappings":"AAEA,2FAA2F;AAC3F,0FAA0F;AAC1F,sFAAsF;AACtF,uBAAuB;AACvB,EAAE;AACF,yFAAyF;AACzF,wFAAwF;AACxF,0FAA0F;AAC1F,qFAAqF;AACrF,qFAAqF;AACrF,sFAAsF;AACtF,iDAAiD;AACjD,EAAE;AACF,wFAAwF;AACxF,mFAAmF;AACnF,oDAAoD;AAEpD,MAAM,CAAC,MAAM,OAAO,GAAS;;;;;;;gEAOmC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { Role } from '../../manifest.js';
2
- export declare const diagnose: Role;
2
+ export declare const implementer: Role;
@@ -0,0 +1,12 @@
1
+ // The bottom arrow, and the only one that writes the substrate. `C ∉ implementer` is not
2
+ // a deprivation: it is half of the two-description property that makes validation an
3
+ // operation at all. An executor holding the design would be checking its own work
4
+ // against its own terms, which is the closed loop the ladder exists to open.
5
+ export const implementer = `implementer ≜ reads⟨spec · artifact⟩ → writes⟨artifact⟩
6
+ stratum ≜ intent ≺ C ≺ spec ≺ artifact ⟨≺ ≜ more-abstract-than · C ≜ durative-concept-lattice⟩
7
+ C ∉ implementer ⟨holds spec ¬ design · TWO-descriptions ⇒ validate ≜ operation ¬ re-reading⟩
8
+ reserves ⟨author(artifact) ↾ spec · verify ↾ spec-own-criteria⟩
9
+ verify ⊥ validate ⟨validate ≜ conformance(C) · C ∉ implementer⟩
10
+ exceeding ≜ work ≻ spec ⟨DEFECT ≅ falling-short ∧ subtler ∵ second-concept UNNAMED ⇒ UNCAUGHT downstream⟩
11
+ spec ¬ buildable-as-written ⇒ SURFACED ¬ reinterpreted`;
12
+ //# sourceMappingURL=implementer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implementer.js","sourceRoot":"","sources":["../../../src/dimensions/role/implementer.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,qFAAqF;AACrF,kFAAkF;AAClF,6EAA6E;AAE7E,MAAM,CAAC,MAAM,WAAW,GAAS;;;;;;uDAMsB,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { Role } from '../../manifest.js';
2
- export declare const curate: Role;
2
+ export declare const planner: Role;
@@ -0,0 +1,14 @@
1
+ // The middle arrow. `reads artifact` is not a licence to build: the census is how a
2
+ // footprint is measured, and a unit's blast radius read off where a name is DEFINED
3
+ // while the work is bounded by where it is USED voids every disjointness proof the
4
+ // waves rest on.
5
+ //
6
+ // `writes ≠ C` is the seam. A piece that will not decompose is surfaced intact, because
7
+ // a planner permitted to redraw the boundary it was handed is the route by which the
8
+ // design leaks back out into the work.
9
+ export const planner = `planner ≜ reads⟨C · artifact⟩ → writes⟨spec⟩
10
+ stratum ≜ intent ≺ C ≺ spec ≺ artifact ⟨≺ ≜ more-abstract-than · C ≜ durative-concept-lattice⟩
11
+ reserves ⟨census ⟨extant · references · resolved-by-use ¬ by-declaration⟩ · decompose ⟨cut-piece → MECE-units⟩ · realizes ⟨unit ⇀ anchor⟩ · sequence ⟨waves ⊨ disjoint-outputs⟩⟩
12
+ writes ≠ C ⇒ cut-piece GIVEN ⟨boundary ¬ decomposable ⇒ SURFACED ¬ redrawn⟩
13
+ writes ≠ artifact ⇒ ∄ build @ planner ⟨unit ≜ spec · executor builds⟩`;
14
+ //# sourceMappingURL=planner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"planner.js","sourceRoot":"","sources":["../../../src/dimensions/role/planner.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,oFAAoF;AACpF,mFAAmF;AACnF,iBAAiB;AACjB,EAAE;AACF,wFAAwF;AACxF,qFAAqF;AACrF,uCAAuC;AAEvC,MAAM,CAAC,MAAM,OAAO,GAAS;;;;sEAIyC,CAAC"}
@@ -6,8 +6,11 @@
6
6
  // (claude adapter: `turn.end` → Stop, `subagent.end` → SubagentStop) and carries
7
7
  // their VERBATIM worker payloads so the projector stages them under `hooks/<id>/`
8
8
  // (no file copy — the bytes come from the cell). Only `harness`-substrate cells
9
- // register in settings.json; a `git`-substrate cell (praxis-continuity) fires in
10
- // git's process and is byte-locked but not serialized here.
9
+ // register in settings.json, and every surviving cell is one: the corpus's single
10
+ // `git`-substrate cell, `praxis-continuity`, retired with the praxis plan mirror it
11
+ // nudged about. The routing for a non-harness substrate is not hypothetical — it is
12
+ // exercised the moment such a cell exists again — but nothing carries it today, and
13
+ // a header claiming a live example is a claim a reader cannot check.
11
14
  //
12
15
  // The cell shapes are the schema's type kernel (`@cratylus/schema`); this
13
16
  // module is the composition root that NAMES the concrete cells and nothing more.
@@ -1 +1 @@
1
- {"version":3,"file":"hook-cells.js","sourceRoot":"","sources":["../src/hook-cells.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,kFAAkF;AAClF,mFAAmF;AACnF,4EAA4E;AAC5E,iFAAiF;AACjF,kFAAkF;AAClF,gFAAgF;AAChF,iFAAiF;AACjF,4DAA4D;AAC5D,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,oFAAoF;AACpF,iFAAiF;AACjF,+EAA+E;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,wFAAwF;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,eAAe;IACf,kBAAkB;IAClB,iBAAiB;CAClB,CAAC"}
1
+ {"version":3,"file":"hook-cells.js","sourceRoot":"","sources":["../src/hook-cells.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,kFAAkF;AAClF,mFAAmF;AACnF,4EAA4E;AAC5E,iFAAiF;AACjF,kFAAkF;AAClF,gFAAgF;AAChF,kFAAkF;AAClF,oFAAoF;AACpF,oFAAoF;AACpF,oFAAoF;AACpF,qEAAqE;AACrE,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,oFAAoF;AACpF,iFAAiF;AACjF,+EAA+E;AAE/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,wFAAwF;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,eAAe;IACf,kBAAkB;IAClB,iBAAiB;CAClB,CAAC"}
@@ -33,7 +33,7 @@
33
33
  // copy with nothing further to say. That is not hypothetical and it is not rare —
34
34
  // it is the ORDINARY shape of work here, where a session edits a cell, projects it,
35
35
  // and keeps going under the version it just replaced. The 16-hour-old projection of
36
- // an agent's own governing cell was this; so was a `praxis` edit that landed under a
36
+ // an agent's own governing cell was this; so was a `plan` edit that landed under a
37
37
  // running session hours later.
38
38
  //
39
39
  // `prompt.submit` IS THE RE-ARM, and it is the same question at a finer grain rather
@@ -1 +1 @@
1
- {"version":3,"file":"deploy-drift-notice.js","sourceRoot":"","sources":["../../src/hooks/deploy-drift-notice.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,kEAAkE;AAClE,EAAE;AACF,oFAAoF;AACpF,qFAAqF;AACrF,gFAAgF;AAChF,sFAAsF;AACtF,0EAA0E;AAC1E,mFAAmF;AACnF,gFAAgF;AAChF,qFAAqF;AACrF,EAAE;AACF,sFAAsF;AACtF,sFAAsF;AACtF,qFAAqF;AACrF,iFAAiF;AACjF,8BAA8B;AAC9B,EAAE;AACF,qFAAqF;AACrF,sFAAsF;AACtF,oFAAoF;AACpF,uFAAuF;AACvF,kFAAkF;AAClF,2BAA2B;AAC3B,EAAE;AACF,sFAAsF;AACtF,oFAAoF;AACpF,kEAAkE;AAClE,EAAE;AACF,mFAAmF;AACnF,oFAAoF;AACpF,kFAAkF;AAClF,kFAAkF;AAClF,oFAAoF;AACpF,oFAAoF;AACpF,qFAAqF;AACrF,+BAA+B;AAC/B,EAAE;AACF,qFAAqF;AACrF,qFAAqF;AACrF,oFAAoF;AACpF,oFAAoF;AACpF,uFAAuF;AACvF,sFAAsF;AACtF,kFAAkF;AAClF,mFAAmF;AACnF,uFAAuF;AACvF,EAAE;AACF,uFAAuF;AACvF,qFAAqF;AACrF,uFAAuF;AACvF,wFAAwF;AACxF,wFAAwF;AACxF,yFAAyF;AACzF,yFAAyF;AACzF,yFAAyF;AACzF,0FAA0F;AAC1F,wFAAwF;AACxF,0BAA0B;AAC1B,EAAE;AACF,sFAAsF;AACtF,mFAAmF;AACnF,yFAAyF;AACzF,oFAAoF;A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EAAE,SAAS;IACpB,MAAM,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,KAAK,EAAE,wBAAwB;IAC/B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,MAAM,EAAE;QACN;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,oVAAoV;SAC3V;QACD;YACE,EAAE,EAAE,YAAY;YAChB,4EAA4E;YAC5E,sEAAsE;YACtE,IAAI,EAAE,qNAAqN;SAC5N;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,sQAAsQ;SAC7Q;KACF;IACD,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,wBAAwB;YAClC,UAAU,EAAE,yDAAyD;YACrE,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiQd;SACI;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"deploy-drift-notice.js","sourceRoot":"","sources":["../../src/hooks/deploy-drift-notice.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,kEAAkE;AAClE,EAAE;AACF,oFAAoF;AACpF,qFAAqF;AACrF,gFAAgF;AAChF,sFAAsF;AACtF,0EAA0E;AAC1E,mFAAmF;AACnF,gFAAgF;AAChF,qFAAqF;AACrF,EAAE;AACF,sFAAsF;AACtF,sFAAsF;AACtF,qFAAqF;AACrF,iFAAiF;AACjF,8BAA8B;AAC9B,EAAE;AACF,qFAAqF;AACrF,sFAAsF;AACtF,oFAAoF;AACpF,uFAAuF;AACvF,kF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