audit-tools 0.35.7 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/audit/clarification/blastRadius.d.ts +5 -6
  2. package/dist/audit/clarification/blastRadius.d.ts.map +1 -1
  3. package/dist/audit/clarification/blastRadius.js +18 -5
  4. package/dist/audit/clarification/blastRadius.js.map +1 -1
  5. package/dist/audit/clarification/partition.d.ts.map +1 -1
  6. package/dist/audit/clarification/partition.js +5 -4
  7. package/dist/audit/clarification/partition.js.map +1 -1
  8. package/dist/audit/cli/charterClarificationPrompt.d.ts.map +1 -1
  9. package/dist/audit/cli/charterClarificationPrompt.js +34 -11
  10. package/dist/audit/cli/charterClarificationPrompt.js.map +1 -1
  11. package/dist/audit/cli/charterDeltaPrompt.d.ts +10 -7
  12. package/dist/audit/cli/charterDeltaPrompt.d.ts.map +1 -1
  13. package/dist/audit/cli/charterDeltaPrompt.js +75 -19
  14. package/dist/audit/cli/charterDeltaPrompt.js.map +1 -1
  15. package/dist/audit/cli/charterExtractionPrompt.d.ts +24 -15
  16. package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -1
  17. package/dist/audit/cli/charterExtractionPrompt.js +80 -87
  18. package/dist/audit/cli/charterExtractionPrompt.js.map +1 -1
  19. package/dist/audit/cli/conceptualDispatch.d.ts.map +1 -1
  20. package/dist/audit/cli/conceptualDispatch.js +5 -1
  21. package/dist/audit/cli/conceptualDispatch.js.map +1 -1
  22. package/dist/audit/cli/mergeAndIngestCommand.d.ts.map +1 -1
  23. package/dist/audit/cli/mergeAndIngestCommand.js +24 -1
  24. package/dist/audit/cli/mergeAndIngestCommand.js.map +1 -1
  25. package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
  26. package/dist/audit/cli/nextStepCommand.js +17 -7
  27. package/dist/audit/cli/nextStepCommand.js.map +1 -1
  28. package/dist/audit/cli/nextStepHelpers.d.ts +22 -6
  29. package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
  30. package/dist/audit/cli/nextStepHelpers.js +99 -43
  31. package/dist/audit/cli/nextStepHelpers.js.map +1 -1
  32. package/dist/audit/extractors/commentDecomposition.d.ts +8 -6
  33. package/dist/audit/extractors/commentDecomposition.d.ts.map +1 -1
  34. package/dist/audit/extractors/commentDecomposition.js +56 -10
  35. package/dist/audit/extractors/commentDecomposition.js.map +1 -1
  36. package/dist/audit/io/artifacts.d.ts.map +1 -1
  37. package/dist/audit/io/artifacts.js +27 -3
  38. package/dist/audit/io/artifacts.js.map +1 -1
  39. package/dist/audit/orchestrator/charterDeltaExecutor.d.ts.map +1 -1
  40. package/dist/audit/orchestrator/charterDeltaExecutor.js +19 -2
  41. package/dist/audit/orchestrator/charterDeltaExecutor.js.map +1 -1
  42. package/dist/audit/orchestrator/charterExtractionExecutor.d.ts.map +1 -1
  43. package/dist/audit/orchestrator/charterExtractionExecutor.js +19 -4
  44. package/dist/audit/orchestrator/charterExtractionExecutor.js.map +1 -1
  45. package/dist/audit/orchestrator/charterPackets.d.ts +44 -0
  46. package/dist/audit/orchestrator/charterPackets.d.ts.map +1 -0
  47. package/dist/audit/orchestrator/charterPackets.js +217 -0
  48. package/dist/audit/orchestrator/charterPackets.js.map +1 -0
  49. package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
  50. package/dist/audit/orchestrator/dependencyMap.js +9 -4
  51. package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
  52. package/dist/audit/orchestrator/dependencySlices.d.ts +0 -15
  53. package/dist/audit/orchestrator/dependencySlices.d.ts.map +1 -1
  54. package/dist/audit/orchestrator/dependencySlices.js +32 -23
  55. package/dist/audit/orchestrator/dependencySlices.js.map +1 -1
  56. package/dist/audit/orchestrator/designReviewPrompt.js +1 -1
  57. package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
  58. package/dist/audit/types/charterRegister.d.ts +46 -14
  59. package/dist/audit/types/charterRegister.d.ts.map +1 -1
  60. package/dist/audit/types/charterRegister.js +11 -1
  61. package/dist/audit/types/charterRegister.js.map +1 -1
  62. package/dist/audit/validation/artifacts.d.ts.map +1 -1
  63. package/dist/audit/validation/artifacts.js +1 -19
  64. package/dist/audit/validation/artifacts.js.map +1 -1
  65. package/dist/remediate/phases/close.d.ts.map +1 -1
  66. package/dist/remediate/phases/close.js +9 -0
  67. package/dist/remediate/phases/close.js.map +1 -1
  68. package/dist/shared/decompose/charterExtraction.d.ts +285 -143
  69. package/dist/shared/decompose/charterExtraction.d.ts.map +1 -1
  70. package/dist/shared/decompose/charterExtraction.js +340 -99
  71. package/dist/shared/decompose/charterExtraction.js.map +1 -1
  72. package/dist/shared/index.d.ts +4 -4
  73. package/dist/shared/index.d.ts.map +1 -1
  74. package/dist/shared/index.js +3 -3
  75. package/dist/shared/index.js.map +1 -1
  76. package/dist/shared/io/frictionCapture.d.ts +20 -0
  77. package/dist/shared/io/frictionCapture.d.ts.map +1 -1
  78. package/dist/shared/io/frictionCapture.js +38 -0
  79. package/dist/shared/io/frictionCapture.js.map +1 -1
  80. package/dist/shared/io/json.d.ts +12 -0
  81. package/dist/shared/io/json.d.ts.map +1 -1
  82. package/dist/shared/io/json.js +19 -1
  83. package/dist/shared/io/json.js.map +1 -1
  84. package/dist/shared/types/charter.d.ts +109 -34
  85. package/dist/shared/types/charter.d.ts.map +1 -1
  86. package/dist/shared/types/charter.js +87 -22
  87. package/dist/shared/types/charter.js.map +1 -1
  88. package/dist/shared/types/intentCheckpoint.d.ts +9 -196
  89. package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
  90. package/dist/shared/types/intentCheckpoint.js +10 -13
  91. package/dist/shared/types/intentCheckpoint.js.map +1 -1
  92. package/package.json +1 -1
@@ -1,17 +1,20 @@
1
1
  import { z } from "zod";
2
2
  /**
3
- * The four charters, mined for their PAIRWISE DELTAS (never reconciled into one
4
- * truth). Each states a subsystem's purpose in telos terms:
5
- * - `stated`: user-expressed (docs, feedback) the anchor of intent.
6
- * - `inferred`: the LLM's model of that intent `inferred stated` = an unstated
7
- * assumption / miscommunication.
8
- * - `revealed`: what the code actually optimizes for the objective anchor;
9
- * `stated revealed` = spec drift.
3
+ * The charter kinds. The first three are CHANNEL-PURE ESTIMATORS of a subsystem's
4
+ * telos each fed a disjoint evidence channel (blindness is a property of the
5
+ * INPUT packet, never an instruction), held un-merged and mined for their pairwise
6
+ * deltas. The deltas stay the primary product; the miner's triangulated telos is a
7
+ * downstream ESTIMATE (a lead the owner reacts to), never a reconciliation.
8
+ * - `stated`: testimony docs + extracted comments (what the authors SAY).
9
+ * - `structural`: intent frozen into organization — file tree / exports /
10
+ * signatures / names / import graph; no bodies, no docs, no comments.
11
+ * - `revealed`: behavior — comment-stripped code bodies (what the code DOES).
10
12
  * - `true`: the "shining city" ideal, possibly inexpressible and the user may be
11
- * unaware of it `revealed/stated true` = serving the wrong goal. Nominatable,
12
- * never assertable (see the True-charter gate in validation/charterGate.ts).
13
+ * unaware of it. Nominatable, never assertable (True-charter gate in
14
+ * validation/charterGate.ts); nominated by the delta miner DOWNSTREAM of
15
+ * triangulation, at the `deepest` ceiling only — never an extraction lane.
13
16
  */
14
- export declare const CharterKindSchema: z.ZodEnum<["stated", "inferred", "revealed", "true"]>;
17
+ export declare const CharterKindSchema: z.ZodEnum<["stated", "structural", "revealed", "true"]>;
15
18
  export type CharterKind = z.infer<typeof CharterKindSchema>;
16
19
  /**
17
20
  * Source confidence of a charter. Defined SEPARATELY from `FindingConfidence`
@@ -34,11 +37,11 @@ export declare const CharterProvenanceSchema: z.ZodObject<{
34
37
  ref: z.ZodString;
35
38
  quote: z.ZodOptional<z.ZodString>;
36
39
  }, "strict", z.ZodTypeAny, {
37
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
40
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
38
41
  ref: string;
39
42
  quote?: string | undefined;
40
43
  }, {
41
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
44
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
42
45
  ref: string;
43
46
  quote?: string | undefined;
44
47
  }>;
@@ -59,7 +62,7 @@ export type CharterProvenance = z.infer<typeof CharterProvenanceSchema>;
59
62
  */
60
63
  export declare const CharterSchema: z.ZodObject<{
61
64
  charter_id: z.ZodString;
62
- kind: z.ZodEnum<["stated", "inferred", "revealed", "true"]>;
65
+ kind: z.ZodEnum<["stated", "structural", "revealed", "true"]>;
63
66
  /** Purpose in telos terms, never mechanism. */
64
67
  purpose: z.ZodString;
65
68
  /** May be `[]` for a `true` nomination (the ideal cites no source). */
@@ -68,11 +71,11 @@ export declare const CharterSchema: z.ZodObject<{
68
71
  ref: z.ZodString;
69
72
  quote: z.ZodOptional<z.ZodString>;
70
73
  }, "strict", z.ZodTypeAny, {
71
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
74
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
72
75
  ref: string;
73
76
  quote?: string | undefined;
74
77
  }, {
75
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
78
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
76
79
  ref: string;
77
80
  quote?: string | undefined;
78
81
  }>, "many">;
@@ -83,11 +86,11 @@ export declare const CharterSchema: z.ZodObject<{
83
86
  nominated_cost: z.ZodOptional<z.ZodString>;
84
87
  }, "strict", z.ZodTypeAny, {
85
88
  confidence: "high" | "low" | "medium";
86
- kind: "stated" | "inferred" | "revealed" | "true";
89
+ kind: "stated" | "structural" | "revealed" | "true";
87
90
  charter_id: string;
88
91
  purpose: string;
89
92
  provenance: {
90
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
93
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
91
94
  ref: string;
92
95
  quote?: string | undefined;
93
96
  }[];
@@ -95,11 +98,11 @@ export declare const CharterSchema: z.ZodObject<{
95
98
  nominated_cost?: string | undefined;
96
99
  }, {
97
100
  confidence: "high" | "low" | "medium";
98
- kind: "stated" | "inferred" | "revealed" | "true";
101
+ kind: "stated" | "structural" | "revealed" | "true";
99
102
  charter_id: string;
100
103
  purpose: string;
101
104
  provenance: {
102
- kind: "code" | "inferred" | "doc" | "intent_checkpoint" | "user_feedback" | "comment";
105
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
103
106
  ref: string;
104
107
  quote?: string | undefined;
105
108
  }[];
@@ -212,33 +215,105 @@ export type Ceiling = z.infer<typeof CeilingSchema>;
212
215
  /**
213
216
  * A routed pairwise charter delta — the product of the overlay-and-delta operator at
214
217
  * the charter layer (produced in Phase C). `pair` is a SYMMETRIC tuple of the two
215
- * charter kinds compared: the design forbids anointing Stated as ground truth, so a
216
- * delta is never modeled as `{ from: stated, to: X }`. `routed_to` names who acts on
217
- * it (a low-confidence side forces `human` regardless of kind gateCharterDelta):
218
- * - `unstated_assumption` (inferred stated) `clarification`.
219
- * - `spec_drift` (stated revealed) `remediator`.
220
- * - `wrong_goal` (revealed − true / stated − true) → `human` (provocation only).
218
+ * charter kinds compared: the design forbids anointing any single estimator as
219
+ * ground truth, so a delta is never modeled as `{ from: stated, to: X }`. Each
220
+ * channel PAIR has one defined meaning; `routed_to` names who acts on it (a
221
+ * low-confidence side forces `human` regardless of kind gateCharterDelta):
222
+ * - `doc_rot` (stated structural: testimony vs organization — doc rot / naming
223
+ * drift) → `remediator`.
224
+ * - `says_does_drift` (stated ↔ revealed: testimony vs behavior) → `remediator`.
225
+ * - `architecture_betrayal` (structural ↔ revealed: the organization's promise vs
226
+ * what the implementation actually does) → `clarification` (which governs?).
227
+ * - `wrong_goal` (any estimator ↔ true) → `human` (provocation only; `deepest`).
221
228
  */
222
229
  export declare const CharterDeltaSchema: z.ZodObject<{
223
230
  delta_id: z.ZodString;
224
- pair: z.ZodTuple<[z.ZodEnum<["stated", "inferred", "revealed", "true"]>, z.ZodEnum<["stated", "inferred", "revealed", "true"]>], null>;
225
- kind: z.ZodEnum<["unstated_assumption", "spec_drift", "wrong_goal"]>;
231
+ pair: z.ZodTuple<[z.ZodEnum<["stated", "structural", "revealed", "true"]>, z.ZodEnum<["stated", "structural", "revealed", "true"]>], null>;
232
+ kind: z.ZodEnum<["doc_rot", "says_does_drift", "architecture_betrayal", "wrong_goal"]>;
226
233
  routed_to: z.ZodEnum<["remediator", "clarification", "human"]>;
227
234
  summary: z.ZodString;
228
235
  }, "strict", z.ZodTypeAny, {
229
- kind: "unstated_assumption" | "spec_drift" | "wrong_goal";
236
+ kind: "doc_rot" | "says_does_drift" | "architecture_betrayal" | "wrong_goal";
230
237
  summary: string;
231
238
  delta_id: string;
232
- pair: ["stated" | "inferred" | "revealed" | "true", "stated" | "inferred" | "revealed" | "true"];
239
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
233
240
  routed_to: "remediator" | "clarification" | "human";
234
241
  }, {
235
- kind: "unstated_assumption" | "spec_drift" | "wrong_goal";
242
+ kind: "doc_rot" | "says_does_drift" | "architecture_betrayal" | "wrong_goal";
236
243
  summary: string;
237
244
  delta_id: string;
238
- pair: ["stated" | "inferred" | "revealed" | "true", "stated" | "inferred" | "revealed" | "true"];
245
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
239
246
  routed_to: "remediator" | "clarification" | "human";
240
247
  }>;
241
248
  export type CharterDelta = z.infer<typeof CharterDeltaSchema>;
249
+ /**
250
+ * One node of a kind's self-organized leveled teleology. The lane organizes its
251
+ * OWN view of the repo's purposes — `premise_height` is the emergent level
252
+ * (0 = the telos, higher = closer to a leaf mechanism; an integer, NEVER a fixed
253
+ * L0/L1/L2 enum), and `files` is the node's FILE SCOPE: content-derived join keys
254
+ * no agent can mangle. The tool joins teleologies to each other and to the
255
+ * decomposition hint mechanically by file-set overlap (assembleCharters).
256
+ */
257
+ export declare const TeleologyNodeSchema: z.ZodObject<{
258
+ /** Purpose in telos terms, never mechanism (same discipline as `Charter`). */
259
+ purpose: z.ZodString;
260
+ /** Emergent level: 0 = the telos, higher = nearer a leaf mechanism. */
261
+ premise_height: z.ZodNumber;
262
+ /** The node's file scope — the join key. At least one repo-relative path. */
263
+ files: z.ZodArray<z.ZodString, "many">;
264
+ }, "strict", z.ZodTypeAny, {
265
+ files: string[];
266
+ purpose: string;
267
+ premise_height: number;
268
+ }, {
269
+ files: string[];
270
+ purpose: string;
271
+ premise_height: number;
272
+ }>;
273
+ export type TeleologyNode = z.infer<typeof TeleologyNodeSchema>;
274
+ /**
275
+ * The delta miner's TRIANGULATED TELOS for one subsystem — a unified opinion the
276
+ * owner reacts to, distilled from the three blind estimators. A LEAD, never a
277
+ * reconciliation: the charters stay held un-merged, the deltas stay the primary
278
+ * product, and no consumer may treat this as ground truth (the spec's
279
+ * "never reconciled into one truth" boundary; the rejected thing is a merge that
280
+ * DESTROYS the deltas, and this preserves them).
281
+ */
282
+ export declare const TriangulatedTelosSchema: z.ZodObject<{
283
+ /** The subsystem (joined unit) this estimate belongs to. */
284
+ node_id: z.ZodString;
285
+ /** The unified best-estimate telos, in telos terms. */
286
+ telos: z.ZodString;
287
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
288
+ }, "strict", z.ZodTypeAny, {
289
+ confidence: "high" | "low" | "medium";
290
+ node_id: string;
291
+ telos: string;
292
+ }, {
293
+ confidence: "high" | "low" | "medium";
294
+ node_id: string;
295
+ telos: string;
296
+ }>;
297
+ export type TriangulatedTelos = z.infer<typeof TriangulatedTelosSchema>;
298
+ /**
299
+ * Tool-computed disagreement density: how many deltas one subsystem carries per
300
+ * channel pair — the quantitative surface for "which parts of the triangulation
301
+ * need clarification." Deterministic (counted at assembly), never host-supplied.
302
+ */
303
+ export declare const ChannelDisagreementSchema: z.ZodObject<{
304
+ node_id: z.ZodString;
305
+ pair: z.ZodTuple<[z.ZodEnum<["stated", "structural", "revealed", "true"]>, z.ZodEnum<["stated", "structural", "revealed", "true"]>], null>;
306
+ count: z.ZodNumber;
307
+ }, "strict", z.ZodTypeAny, {
308
+ node_id: string;
309
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
310
+ count: number;
311
+ }, {
312
+ node_id: string;
313
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
314
+ count: number;
315
+ }>;
316
+ export type ChannelDisagreement = z.infer<typeof ChannelDisagreementSchema>;
242
317
  /**
243
318
  * How answerable a charter question is — the axes the VOI ranking scores. A
244
319
  * `blast_radius` is how far up the goal DAG the answer ripples (goals are a DAG,
@@ -277,7 +352,7 @@ export declare const CharterClarificationRequestSchema: z.ZodObject<{
277
352
  /** The subsystem the delta belongs to (for grouping + reporting). */
278
353
  node_id: z.ZodString;
279
354
  /** The symmetric charter pair in tension. */
280
- pair: z.ZodTuple<[z.ZodEnum<["stated", "inferred", "revealed", "true"]>, z.ZodEnum<["stated", "inferred", "revealed", "true"]>], null>;
355
+ pair: z.ZodTuple<[z.ZodEnum<["stated", "structural", "revealed", "true"]>, z.ZodEnum<["stated", "structural", "revealed", "true"]>], null>;
281
356
  /** The decidable question ("code optimizes X, docs say Y — which governs?"). */
282
357
  question: z.ZodString;
283
358
  /** The VOI axes this question is ranked on. */
@@ -309,7 +384,7 @@ export declare const CharterClarificationRequestSchema: z.ZodObject<{
309
384
  };
310
385
  node_id: string;
311
386
  delta_id: string;
312
- pair: ["stated" | "inferred" | "revealed" | "true", "stated" | "inferred" | "revealed" | "true"];
387
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
313
388
  request_id: string;
314
389
  question: string;
315
390
  disposition: "interactive" | "finding_only";
@@ -321,7 +396,7 @@ export declare const CharterClarificationRequestSchema: z.ZodObject<{
321
396
  };
322
397
  node_id: string;
323
398
  delta_id: string;
324
- pair: ["stated" | "inferred" | "revealed" | "true", "stated" | "inferred" | "revealed" | "true"];
399
+ pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
325
400
  request_id: string;
326
401
  question: string;
327
402
  disposition: "interactive" | "finding_only";
@@ -1 +1 @@
1
- {"version":3,"file":"charter.d.ts","sourceRoot":"","sources":["../../../src/shared/types/charter.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,uDAAqD,CAAC;AACpF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,sCAAoC,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAazB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa;;;IAItB,+CAA+C;;IAE/C,uEAAuE;;;;;;;;;;;;;;;IAGvE,yEAAyE;;IAEzE,4EAA4E;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrE,CAAC;AACZ,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;EAMhB,CAAC;AACZ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;EAKhB,CAAC;AACZ,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAA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nD,qEAAqE;;IAErE,6CAA6C;;IAE7C,gFAAgF;;IAEhF,+CAA+C;;QAtC/C,6EAA6E;;QAE7E,4EAA4E;;;;;;;;;IAsC5E;;;;;OAKG;;IAEH,4EAA4E;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrE,CAAC;AACZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC"}
@@ -2,25 +2,34 @@
2
2
  // conceptual-design-review build; design of record: spec/conceptual-design-review-design.md).
3
3
  //
4
4
  // This module is the deterministic, tool-owned data model every later phase plugs
5
- // into: the four charters (Stated/Inferred/Revealed/True), the goal DAG, the
6
- // ceiling (consent) meta-intent, and the routed pairwise CharterDelta. No LLM
7
- // content lives here extraction and delta emission are Phase C. Language-neutral
8
- // by contract: goals/charters are telos statements, never code, model, provider,
9
- // or ecosystem literals.
5
+ // into: the channel-pure estimator charters (Stated/Structural/Revealed) plus the
6
+ // downstream-nominated True, per-kind leveled teleologies with file scopes, the
7
+ // goal DAG, the ceiling (consent) meta-intent, the routed pairwise CharterDelta,
8
+ // and the miner's triangulated telos. No LLM content lives here — extraction and
9
+ // delta emission are Phase C. Language-neutral by contract: goals/charters are
10
+ // telos statements, never code, model, provider, or ecosystem literals.
10
11
  import { z } from "zod";
11
12
  /**
12
- * The four charters, mined for their PAIRWISE DELTAS (never reconciled into one
13
- * truth). Each states a subsystem's purpose in telos terms:
14
- * - `stated`: user-expressed (docs, feedback) the anchor of intent.
15
- * - `inferred`: the LLM's model of that intent `inferred stated` = an unstated
16
- * assumption / miscommunication.
17
- * - `revealed`: what the code actually optimizes for the objective anchor;
18
- * `stated revealed` = spec drift.
13
+ * The charter kinds. The first three are CHANNEL-PURE ESTIMATORS of a subsystem's
14
+ * telos each fed a disjoint evidence channel (blindness is a property of the
15
+ * INPUT packet, never an instruction), held un-merged and mined for their pairwise
16
+ * deltas. The deltas stay the primary product; the miner's triangulated telos is a
17
+ * downstream ESTIMATE (a lead the owner reacts to), never a reconciliation.
18
+ * - `stated`: testimony docs + extracted comments (what the authors SAY).
19
+ * - `structural`: intent frozen into organization — file tree / exports /
20
+ * signatures / names / import graph; no bodies, no docs, no comments.
21
+ * - `revealed`: behavior — comment-stripped code bodies (what the code DOES).
19
22
  * - `true`: the "shining city" ideal, possibly inexpressible and the user may be
20
- * unaware of it `revealed/stated true` = serving the wrong goal. Nominatable,
21
- * never assertable (see the True-charter gate in validation/charterGate.ts).
23
+ * unaware of it. Nominatable, never assertable (True-charter gate in
24
+ * validation/charterGate.ts); nominated by the delta miner DOWNSTREAM of
25
+ * triangulation, at the `deepest` ceiling only — never an extraction lane.
22
26
  */
23
- export const CharterKindSchema = z.enum(["stated", "inferred", "revealed", "true"]);
27
+ export const CharterKindSchema = z.enum([
28
+ "stated",
29
+ "structural",
30
+ "revealed",
31
+ "true",
32
+ ]);
24
33
  /**
25
34
  * Source confidence of a charter. Defined SEPARATELY from `FindingConfidence`
26
35
  * even though the enum values coincide today: the semantics differ (charter-source
@@ -127,22 +136,78 @@ export const CeilingSchema = z
127
136
  /**
128
137
  * A routed pairwise charter delta — the product of the overlay-and-delta operator at
129
138
  * the charter layer (produced in Phase C). `pair` is a SYMMETRIC tuple of the two
130
- * charter kinds compared: the design forbids anointing Stated as ground truth, so a
131
- * delta is never modeled as `{ from: stated, to: X }`. `routed_to` names who acts on
132
- * it (a low-confidence side forces `human` regardless of kind gateCharterDelta):
133
- * - `unstated_assumption` (inferred stated) `clarification`.
134
- * - `spec_drift` (stated revealed) `remediator`.
135
- * - `wrong_goal` (revealed − true / stated − true) → `human` (provocation only).
139
+ * charter kinds compared: the design forbids anointing any single estimator as
140
+ * ground truth, so a delta is never modeled as `{ from: stated, to: X }`. Each
141
+ * channel PAIR has one defined meaning; `routed_to` names who acts on it (a
142
+ * low-confidence side forces `human` regardless of kind gateCharterDelta):
143
+ * - `doc_rot` (stated structural: testimony vs organization — doc rot / naming
144
+ * drift) → `remediator`.
145
+ * - `says_does_drift` (stated ↔ revealed: testimony vs behavior) → `remediator`.
146
+ * - `architecture_betrayal` (structural ↔ revealed: the organization's promise vs
147
+ * what the implementation actually does) → `clarification` (which governs?).
148
+ * - `wrong_goal` (any estimator ↔ true) → `human` (provocation only; `deepest`).
136
149
  */
137
150
  export const CharterDeltaSchema = z
138
151
  .object({
139
152
  delta_id: z.string(),
140
153
  pair: z.tuple([CharterKindSchema, CharterKindSchema]),
141
- kind: z.enum(["unstated_assumption", "spec_drift", "wrong_goal"]),
154
+ kind: z.enum([
155
+ "doc_rot",
156
+ "says_does_drift",
157
+ "architecture_betrayal",
158
+ "wrong_goal",
159
+ ]),
142
160
  routed_to: z.enum(["remediator", "clarification", "human"]),
143
161
  summary: z.string(),
144
162
  })
145
163
  .strict();
164
+ /**
165
+ * One node of a kind's self-organized leveled teleology. The lane organizes its
166
+ * OWN view of the repo's purposes — `premise_height` is the emergent level
167
+ * (0 = the telos, higher = closer to a leaf mechanism; an integer, NEVER a fixed
168
+ * L0/L1/L2 enum), and `files` is the node's FILE SCOPE: content-derived join keys
169
+ * no agent can mangle. The tool joins teleologies to each other and to the
170
+ * decomposition hint mechanically by file-set overlap (assembleCharters).
171
+ */
172
+ export const TeleologyNodeSchema = z
173
+ .object({
174
+ /** Purpose in telos terms, never mechanism (same discipline as `Charter`). */
175
+ purpose: z.string(),
176
+ /** Emergent level: 0 = the telos, higher = nearer a leaf mechanism. */
177
+ premise_height: z.number().int().min(0),
178
+ /** The node's file scope — the join key. At least one repo-relative path. */
179
+ files: z.array(z.string()).min(1),
180
+ })
181
+ .strict();
182
+ /**
183
+ * The delta miner's TRIANGULATED TELOS for one subsystem — a unified opinion the
184
+ * owner reacts to, distilled from the three blind estimators. A LEAD, never a
185
+ * reconciliation: the charters stay held un-merged, the deltas stay the primary
186
+ * product, and no consumer may treat this as ground truth (the spec's
187
+ * "never reconciled into one truth" boundary; the rejected thing is a merge that
188
+ * DESTROYS the deltas, and this preserves them).
189
+ */
190
+ export const TriangulatedTelosSchema = z
191
+ .object({
192
+ /** The subsystem (joined unit) this estimate belongs to. */
193
+ node_id: z.string(),
194
+ /** The unified best-estimate telos, in telos terms. */
195
+ telos: z.string(),
196
+ confidence: CharterConfidenceSchema,
197
+ })
198
+ .strict();
199
+ /**
200
+ * Tool-computed disagreement density: how many deltas one subsystem carries per
201
+ * channel pair — the quantitative surface for "which parts of the triangulation
202
+ * need clarification." Deterministic (counted at assembly), never host-supplied.
203
+ */
204
+ export const ChannelDisagreementSchema = z
205
+ .object({
206
+ node_id: z.string(),
207
+ pair: z.tuple([CharterKindSchema, CharterKindSchema]),
208
+ count: z.number().int().min(1),
209
+ })
210
+ .strict();
146
211
  // ── Phase D — the charter-alignment clarification / triangulation loop ──────────
147
212
  //
148
213
  // The True charter is inexpressible cold; the review converts it into a decidable
@@ -1 +1 @@
1
- {"version":3,"file":"charter.js","sourceRoot":"","sources":["../../../src/shared/types/charter.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8FAA8F;AAC9F,EAAE;AACF,kFAAkF;AAClF,6EAA6E;AAC7E,8EAA8E;AAC9E,mFAAmF;AACnF,iFAAiF;AACjF,yBAAyB;AAEzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;AAGpF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAGzE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;QACX,KAAK;QACL,mBAAmB;QACnB,eAAe;QACf,MAAM;QACN,S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