audit-tools 0.51.7 → 0.51.9

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 (665) hide show
  1. package/dist/audit/clarification/blastRadius.d.ts +17 -16
  2. package/dist/audit/clarification/blastRadius.d.ts.map +1 -1
  3. package/dist/audit/clarification/blastRadius.js +48 -44
  4. package/dist/audit/clarification/blastRadius.js.map +1 -1
  5. package/dist/audit/clarification/dials.d.ts +4 -4
  6. package/dist/audit/clarification/dials.d.ts.map +1 -1
  7. package/dist/audit/clarification/dials.js +1 -0
  8. package/dist/audit/clarification/dials.js.map +1 -1
  9. package/dist/audit/clarification/partition.d.ts +12 -21
  10. package/dist/audit/clarification/partition.d.ts.map +1 -1
  11. package/dist/audit/clarification/partition.js +52 -59
  12. package/dist/audit/clarification/partition.js.map +1 -1
  13. package/dist/audit/clarification/riskGate.d.ts +2 -2
  14. package/dist/audit/clarification/riskGate.d.ts.map +1 -1
  15. package/dist/audit/clarification/riskGate.js +1 -0
  16. package/dist/audit/clarification/riskGate.js.map +1 -1
  17. package/dist/audit/clarification/voiQueue.d.ts +3 -3
  18. package/dist/audit/clarification/voiQueue.d.ts.map +1 -1
  19. package/dist/audit/clarification/voiQueue.js +1 -0
  20. package/dist/audit/clarification/voiQueue.js.map +1 -1
  21. package/dist/audit/cli/auditStep.d.ts +14 -2
  22. package/dist/audit/cli/auditStep.d.ts.map +1 -1
  23. package/dist/audit/cli/auditStep.js +13 -5
  24. package/dist/audit/cli/auditStep.js.map +1 -1
  25. package/dist/audit/cli/charterClarificationPrompt.d.ts +6 -9
  26. package/dist/audit/cli/charterClarificationPrompt.d.ts.map +1 -1
  27. package/dist/audit/cli/charterClarificationPrompt.js +35 -47
  28. package/dist/audit/cli/charterClarificationPrompt.js.map +1 -1
  29. package/dist/audit/cli/charterComparisonPrompt.d.ts +14 -0
  30. package/dist/audit/cli/charterComparisonPrompt.d.ts.map +1 -0
  31. package/dist/audit/cli/charterComparisonPrompt.js +111 -0
  32. package/dist/audit/cli/charterComparisonPrompt.js.map +1 -0
  33. package/dist/audit/cli/charterExtractionPrompt.d.ts +14 -17
  34. package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -1
  35. package/dist/audit/cli/charterExtractionPrompt.js +81 -104
  36. package/dist/audit/cli/charterExtractionPrompt.js.map +1 -1
  37. package/dist/audit/cli/charterFidelityPrompt.d.ts +14 -0
  38. package/dist/audit/cli/charterFidelityPrompt.d.ts.map +1 -0
  39. package/dist/audit/cli/charterFidelityPrompt.js +58 -0
  40. package/dist/audit/cli/charterFidelityPrompt.js.map +1 -0
  41. package/dist/audit/cli/conceptualDispatch.d.ts +39 -6
  42. package/dist/audit/cli/conceptualDispatch.d.ts.map +1 -1
  43. package/dist/audit/cli/conceptualDispatch.js +59 -12
  44. package/dist/audit/cli/conceptualDispatch.js.map +1 -1
  45. package/dist/audit/cli/confirmIntentStep.d.ts.map +1 -1
  46. package/dist/audit/cli/confirmIntentStep.js +46 -2
  47. package/dist/audit/cli/confirmIntentStep.js.map +1 -1
  48. package/dist/audit/cli/dispatch/hostHandoff.d.ts +18 -6
  49. package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -1
  50. package/dist/audit/cli/dispatch/hostHandoff.js +525 -67
  51. package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -1
  52. package/dist/audit/cli/fanoutLanes.d.ts +24 -0
  53. package/dist/audit/cli/fanoutLanes.d.ts.map +1 -1
  54. package/dist/audit/cli/fanoutLanes.js +9 -1
  55. package/dist/audit/cli/fanoutLanes.js.map +1 -1
  56. package/dist/audit/cli/foldTransaction.d.ts.map +1 -1
  57. package/dist/audit/cli/foldTransaction.js +14 -3
  58. package/dist/audit/cli/foldTransaction.js.map +1 -1
  59. package/dist/audit/cli/forceSynthesisCommand.d.ts.map +1 -1
  60. package/dist/audit/cli/forceSynthesisCommand.js +4 -1
  61. package/dist/audit/cli/forceSynthesisCommand.js.map +1 -1
  62. package/dist/audit/cli/intakeCommand.d.ts.map +1 -1
  63. package/dist/audit/cli/intakeCommand.js +1 -0
  64. package/dist/audit/cli/intakeCommand.js.map +1 -1
  65. package/dist/audit/cli/laneSubmissions.d.ts +18 -12
  66. package/dist/audit/cli/laneSubmissions.d.ts.map +1 -1
  67. package/dist/audit/cli/laneSubmissions.js +40 -4
  68. package/dist/audit/cli/laneSubmissions.js.map +1 -1
  69. package/dist/audit/cli/laneValidators.d.ts.map +1 -1
  70. package/dist/audit/cli/laneValidators.js +14 -14
  71. package/dist/audit/cli/laneValidators.js.map +1 -1
  72. package/dist/audit/cli/nextStepCommand.d.ts +7 -0
  73. package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
  74. package/dist/audit/cli/nextStepCommand.js +206 -31
  75. package/dist/audit/cli/nextStepCommand.js.map +1 -1
  76. package/dist/audit/cli/nextStepHelpers.d.ts +92 -28
  77. package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
  78. package/dist/audit/cli/nextStepHelpers.js +363 -126
  79. package/dist/audit/cli/nextStepHelpers.js.map +1 -1
  80. package/dist/audit/cli/prompts.d.ts +10 -0
  81. package/dist/audit/cli/prompts.d.ts.map +1 -1
  82. package/dist/audit/cli/prompts.js +3 -1
  83. package/dist/audit/cli/prompts.js.map +1 -1
  84. package/dist/audit/cli/reviewRun.d.ts +12 -0
  85. package/dist/audit/cli/reviewRun.d.ts.map +1 -1
  86. package/dist/audit/cli/reviewRun.js +242 -29
  87. package/dist/audit/cli/reviewRun.js.map +1 -1
  88. package/dist/audit/cli/sampleRunCommand.d.ts +12 -4
  89. package/dist/audit/cli/sampleRunCommand.d.ts.map +1 -1
  90. package/dist/audit/cli/semanticReviewStep.d.ts +9 -0
  91. package/dist/audit/cli/semanticReviewStep.d.ts.map +1 -1
  92. package/dist/audit/cli/semanticReviewStep.js +71 -30
  93. package/dist/audit/cli/semanticReviewStep.js.map +1 -1
  94. package/dist/audit/cli/statusCommand.d.ts.map +1 -1
  95. package/dist/audit/cli/statusCommand.js +29 -66
  96. package/dist/audit/cli/statusCommand.js.map +1 -1
  97. package/dist/audit/cli/stepScaffold.d.ts +43 -2
  98. package/dist/audit/cli/stepScaffold.d.ts.map +1 -1
  99. package/dist/audit/cli/stepScaffold.js +24 -10
  100. package/dist/audit/cli/stepScaffold.js.map +1 -1
  101. package/dist/audit/cli/steps.d.ts +52 -29
  102. package/dist/audit/cli/steps.d.ts.map +1 -1
  103. package/dist/audit/cli/steps.js +44 -14
  104. package/dist/audit/cli/steps.js.map +1 -1
  105. package/dist/audit/cli/synthesizeCommand.d.ts.map +1 -1
  106. package/dist/audit/cli/synthesizeCommand.js +4 -1
  107. package/dist/audit/cli/synthesizeCommand.js.map +1 -1
  108. package/dist/audit/contracts/workerSchemas.d.ts +65 -16
  109. package/dist/audit/contracts/workerSchemas.d.ts.map +1 -1
  110. package/dist/audit/contracts/workerSchemas.js +89 -8
  111. package/dist/audit/contracts/workerSchemas.js.map +1 -1
  112. package/dist/audit/contracts/wrapperResponse.d.ts +14 -21
  113. package/dist/audit/contracts/wrapperResponse.d.ts.map +1 -1
  114. package/dist/audit/contracts/wrapperResponse.js +0 -1
  115. package/dist/audit/contracts/wrapperResponse.js.map +1 -1
  116. package/dist/audit/decompose/findings.d.ts.map +1 -1
  117. package/dist/audit/decompose/findings.js +10 -2
  118. package/dist/audit/decompose/findings.js.map +1 -1
  119. package/dist/audit/extractors/designAssessment.d.ts.map +1 -1
  120. package/dist/audit/extractors/designAssessment.js +13 -4
  121. package/dist/audit/extractors/designAssessment.js.map +1 -1
  122. package/dist/audit/extractors/disposition.d.ts.map +1 -1
  123. package/dist/audit/extractors/disposition.js +17 -5
  124. package/dist/audit/extractors/disposition.js.map +1 -1
  125. package/dist/audit/extractors/graph.d.ts +1 -1
  126. package/dist/audit/extractors/graph.js +1 -1
  127. package/dist/audit/extractors/graphRoutes.d.ts.map +1 -1
  128. package/dist/audit/extractors/graphRoutes.js +224 -17
  129. package/dist/audit/extractors/graphRoutes.js.map +1 -1
  130. package/dist/audit/extractors/leadLineage.d.ts +10 -0
  131. package/dist/audit/extractors/leadLineage.d.ts.map +1 -0
  132. package/dist/audit/extractors/leadLineage.js +44 -0
  133. package/dist/audit/extractors/leadLineage.js.map +1 -0
  134. package/dist/audit/io/artifacts.d.ts.map +1 -1
  135. package/dist/audit/io/artifacts.js +25 -8
  136. package/dist/audit/io/artifacts.js.map +1 -1
  137. package/dist/audit/io/runArtifacts.d.ts +76 -1
  138. package/dist/audit/io/runArtifacts.d.ts.map +1 -1
  139. package/dist/audit/io/runArtifacts.js +113 -20
  140. package/dist/audit/io/runArtifacts.js.map +1 -1
  141. package/dist/audit/io/toolingManifest.d.ts +15 -0
  142. package/dist/audit/io/toolingManifest.d.ts.map +1 -1
  143. package/dist/audit/io/toolingManifest.js +158 -11
  144. package/dist/audit/io/toolingManifest.js.map +1 -1
  145. package/dist/audit/orchestrator/advance.d.ts.map +1 -1
  146. package/dist/audit/orchestrator/advance.js +30 -4
  147. package/dist/audit/orchestrator/advance.js.map +1 -1
  148. package/dist/audit/orchestrator/advanceTypes.d.ts +28 -5
  149. package/dist/audit/orchestrator/advanceTypes.d.ts.map +1 -1
  150. package/dist/audit/orchestrator/artifactMetadata.d.ts.map +1 -1
  151. package/dist/audit/orchestrator/artifactMetadata.js +39 -1
  152. package/dist/audit/orchestrator/artifactMetadata.js.map +1 -1
  153. package/dist/audit/orchestrator/auditTaskUtils.d.ts.map +1 -1
  154. package/dist/audit/orchestrator/auditTaskUtils.js +4 -1
  155. package/dist/audit/orchestrator/auditTaskUtils.js.map +1 -1
  156. package/dist/audit/orchestrator/charterClarificationExecutor.d.ts +11 -17
  157. package/dist/audit/orchestrator/charterClarificationExecutor.d.ts.map +1 -1
  158. package/dist/audit/orchestrator/charterClarificationExecutor.js +61 -93
  159. package/dist/audit/orchestrator/charterClarificationExecutor.js.map +1 -1
  160. package/dist/audit/orchestrator/charterComparisonExecutor.d.ts +24 -0
  161. package/dist/audit/orchestrator/charterComparisonExecutor.d.ts.map +1 -0
  162. package/dist/audit/orchestrator/charterComparisonExecutor.js +110 -0
  163. package/dist/audit/orchestrator/charterComparisonExecutor.js.map +1 -0
  164. package/dist/audit/orchestrator/charterExtractionExecutor.d.ts +34 -20
  165. package/dist/audit/orchestrator/charterExtractionExecutor.d.ts.map +1 -1
  166. package/dist/audit/orchestrator/charterExtractionExecutor.js +80 -106
  167. package/dist/audit/orchestrator/charterExtractionExecutor.js.map +1 -1
  168. package/dist/audit/orchestrator/charterFidelityExecutor.d.ts +20 -0
  169. package/dist/audit/orchestrator/charterFidelityExecutor.d.ts.map +1 -0
  170. package/dist/audit/orchestrator/charterFidelityExecutor.js +76 -0
  171. package/dist/audit/orchestrator/charterFidelityExecutor.js.map +1 -0
  172. package/dist/audit/orchestrator/charterFidelityPacket.d.ts +7 -0
  173. package/dist/audit/orchestrator/charterFidelityPacket.d.ts.map +1 -0
  174. package/dist/audit/orchestrator/charterFidelityPacket.js +68 -0
  175. package/dist/audit/orchestrator/charterFidelityPacket.js.map +1 -0
  176. package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
  177. package/dist/audit/orchestrator/dependencyMap.js +9 -8
  178. package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
  179. package/dist/audit/orchestrator/dependencySlices.d.ts.map +1 -1
  180. package/dist/audit/orchestrator/dependencySlices.js +7 -6
  181. package/dist/audit/orchestrator/dependencySlices.js.map +1 -1
  182. package/dist/audit/orchestrator/designReviewProjection.d.ts.map +1 -1
  183. package/dist/audit/orchestrator/designReviewProjection.js +7 -0
  184. package/dist/audit/orchestrator/designReviewProjection.js.map +1 -1
  185. package/dist/audit/orchestrator/designReviewPrompt.d.ts.map +1 -1
  186. package/dist/audit/orchestrator/designReviewPrompt.js +58 -19
  187. package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
  188. package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
  189. package/dist/audit/orchestrator/executorRunners.js +6 -2
  190. package/dist/audit/orchestrator/executorRunners.js.map +1 -1
  191. package/dist/audit/orchestrator/executors.d.ts.map +1 -1
  192. package/dist/audit/orchestrator/executors.js +22 -8
  193. package/dist/audit/orchestrator/executors.js.map +1 -1
  194. package/dist/audit/orchestrator/hostInputPause.js +1 -0
  195. package/dist/audit/orchestrator/hostInputPause.js.map +1 -1
  196. package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts +40 -0
  197. package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts.map +1 -1
  198. package/dist/audit/orchestrator/intentCheckpointExecutor.js +32 -2
  199. package/dist/audit/orchestrator/intentCheckpointExecutor.js.map +1 -1
  200. package/dist/audit/orchestrator/intentCheckpointGate.d.ts +5 -3
  201. package/dist/audit/orchestrator/intentCheckpointGate.d.ts.map +1 -1
  202. package/dist/audit/orchestrator/intentCheckpointGate.js +34 -5
  203. package/dist/audit/orchestrator/intentCheckpointGate.js.map +1 -1
  204. package/dist/audit/orchestrator/intentEquivalenceExecutor.d.ts +2 -2
  205. package/dist/audit/orchestrator/intentInterpreter.d.ts +1 -1
  206. package/dist/audit/orchestrator/intentInterpreter.js +1 -1
  207. package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
  208. package/dist/audit/orchestrator/nextStep.js +3 -1
  209. package/dist/audit/orchestrator/nextStep.js.map +1 -1
  210. package/dist/audit/orchestrator/obligationPolicy.d.ts +2 -1
  211. package/dist/audit/orchestrator/obligationPolicy.d.ts.map +1 -1
  212. package/dist/audit/orchestrator/obligationPolicy.js +19 -7
  213. package/dist/audit/orchestrator/obligationPolicy.js.map +1 -1
  214. package/dist/audit/orchestrator/partitionTaskGraph.d.ts.map +1 -1
  215. package/dist/audit/orchestrator/partitionTaskGraph.js +1 -0
  216. package/dist/audit/orchestrator/partitionTaskGraph.js.map +1 -1
  217. package/dist/audit/orchestrator/resultIngestion.d.ts.map +1 -1
  218. package/dist/audit/orchestrator/resultIngestion.js +3 -1
  219. package/dist/audit/orchestrator/resultIngestion.js.map +1 -1
  220. package/dist/audit/orchestrator/runtimeCommand.d.ts +72 -0
  221. package/dist/audit/orchestrator/runtimeCommand.d.ts.map +1 -1
  222. package/dist/audit/orchestrator/runtimeCommand.js +177 -20
  223. package/dist/audit/orchestrator/runtimeCommand.js.map +1 -1
  224. package/dist/audit/orchestrator/scopeIndexBaseline.d.ts +56 -0
  225. package/dist/audit/orchestrator/scopeIndexBaseline.d.ts.map +1 -0
  226. package/dist/audit/orchestrator/scopeIndexBaseline.js +114 -0
  227. package/dist/audit/orchestrator/scopeIndexBaseline.js.map +1 -0
  228. package/dist/audit/orchestrator/staleness.d.ts +70 -1
  229. package/dist/audit/orchestrator/staleness.d.ts.map +1 -1
  230. package/dist/audit/orchestrator/staleness.js +171 -21
  231. package/dist/audit/orchestrator/staleness.js.map +1 -1
  232. package/dist/audit/orchestrator/state.d.ts.map +1 -1
  233. package/dist/audit/orchestrator/state.js +49 -25
  234. package/dist/audit/orchestrator/state.js.map +1 -1
  235. package/dist/audit/orchestrator/structureExecutors.d.ts.map +1 -1
  236. package/dist/audit/orchestrator/structureExecutors.js +7 -5
  237. package/dist/audit/orchestrator/structureExecutors.js.map +1 -1
  238. package/dist/audit/orchestrator/syntaxResolutionExecutor.d.ts.map +1 -1
  239. package/dist/audit/orchestrator/syntaxResolutionExecutor.js +1 -0
  240. package/dist/audit/orchestrator/syntaxResolutionExecutor.js.map +1 -1
  241. package/dist/audit/orchestrator/systemicChallengeExecutor.d.ts +13 -2
  242. package/dist/audit/orchestrator/systemicChallengeExecutor.d.ts.map +1 -1
  243. package/dist/audit/orchestrator/systemicChallengeExecutor.js +166 -12
  244. package/dist/audit/orchestrator/systemicChallengeExecutor.js.map +1 -1
  245. package/dist/audit/reporting/mergeFindings.d.ts.map +1 -1
  246. package/dist/audit/reporting/mergeFindings.js +6 -5
  247. package/dist/audit/reporting/mergeFindings.js.map +1 -1
  248. package/dist/audit/reporting/synthesis.d.ts +117 -0
  249. package/dist/audit/reporting/synthesis.d.ts.map +1 -1
  250. package/dist/audit/reporting/synthesis.js +277 -10
  251. package/dist/audit/reporting/synthesis.js.map +1 -1
  252. package/dist/audit/supervisor/operatorHandoff.d.ts +0 -2
  253. package/dist/audit/supervisor/operatorHandoff.d.ts.map +1 -1
  254. package/dist/audit/supervisor/operatorHandoff.js +0 -3
  255. package/dist/audit/supervisor/operatorHandoff.js.map +1 -1
  256. package/dist/audit/systemic/coveredThemes.d.ts +28 -0
  257. package/dist/audit/systemic/coveredThemes.d.ts.map +1 -0
  258. package/dist/audit/systemic/coveredThemes.js +52 -0
  259. package/dist/audit/systemic/coveredThemes.js.map +1 -0
  260. package/dist/audit/systemic/reviewFileMap.d.ts +81 -0
  261. package/dist/audit/systemic/reviewFileMap.d.ts.map +1 -0
  262. package/dist/audit/systemic/reviewFileMap.js +169 -0
  263. package/dist/audit/systemic/reviewFileMap.js.map +1 -0
  264. package/dist/audit/systemic/secondOrderAdversaryPrompt.d.ts.map +1 -1
  265. package/dist/audit/systemic/secondOrderAdversaryPrompt.js +149 -26
  266. package/dist/audit/systemic/secondOrderAdversaryPrompt.js.map +1 -1
  267. package/dist/audit/systemic/systemicChallengeLoop.d.ts +44 -4
  268. package/dist/audit/systemic/systemicChallengeLoop.d.ts.map +1 -1
  269. package/dist/audit/systemic/systemicChallengeLoop.js +114 -10
  270. package/dist/audit/systemic/systemicChallengeLoop.js.map +1 -1
  271. package/dist/audit/types/auditState.d.ts +6 -6
  272. package/dist/audit/types/charterClarification.d.ts +9 -4
  273. package/dist/audit/types/charterClarification.d.ts.map +1 -1
  274. package/dist/audit/types/charterRegister.d.ts +48 -93
  275. package/dist/audit/types/charterRegister.d.ts.map +1 -1
  276. package/dist/audit/types/charterRegister.js +15 -26
  277. package/dist/audit/types/charterRegister.js.map +1 -1
  278. package/dist/audit/types/conceptualAdjudication.d.ts +88 -18
  279. package/dist/audit/types/conceptualAdjudication.d.ts.map +1 -1
  280. package/dist/audit/types/conceptualAdjudication.js +77 -16
  281. package/dist/audit/types/conceptualAdjudication.js.map +1 -1
  282. package/dist/audit/types/designAssessment.d.ts +8 -6
  283. package/dist/audit/types/designAssessment.d.ts.map +1 -1
  284. package/dist/audit/types/reviewPlanning.d.ts +2 -2
  285. package/dist/audit/types/systemicChallenge.d.ts +43 -7
  286. package/dist/audit/types/systemicChallenge.d.ts.map +1 -1
  287. package/dist/audit/types.d.ts +71 -10
  288. package/dist/audit/types.d.ts.map +1 -1
  289. package/dist/audit/types.js +23 -2
  290. package/dist/audit/types.js.map +1 -1
  291. package/dist/audit/validation/auditResults.d.ts +30 -0
  292. package/dist/audit/validation/auditResults.d.ts.map +1 -1
  293. package/dist/audit/validation/auditResults.js +50 -8
  294. package/dist/audit/validation/auditResults.js.map +1 -1
  295. package/dist/audit/validation/ingestIssueCodes.d.ts +1 -1
  296. package/dist/audit/validation/ingestIssueCodes.d.ts.map +1 -1
  297. package/dist/audit/validation/ingestIssueCodes.js +14 -0
  298. package/dist/audit/validation/ingestIssueCodes.js.map +1 -1
  299. package/dist/remediate/contractPipeline/artifactStore.d.ts +97 -2
  300. package/dist/remediate/contractPipeline/artifactStore.d.ts.map +1 -1
  301. package/dist/remediate/contractPipeline/artifactStore.js +163 -9
  302. package/dist/remediate/contractPipeline/artifactStore.js.map +1 -1
  303. package/dist/remediate/contractPipeline/changeClassification.d.ts.map +1 -1
  304. package/dist/remediate/contractPipeline/changeClassification.js +93 -3
  305. package/dist/remediate/contractPipeline/changeClassification.js.map +1 -1
  306. package/dist/remediate/contractPipeline/cyclicSeamResolution.d.ts.map +1 -1
  307. package/dist/remediate/contractPipeline/cyclicSeamResolution.js +31 -0
  308. package/dist/remediate/contractPipeline/cyclicSeamResolution.js.map +1 -1
  309. package/dist/remediate/contractPipeline/derive.d.ts +0 -14
  310. package/dist/remediate/contractPipeline/derive.d.ts.map +1 -1
  311. package/dist/remediate/contractPipeline/derive.js +52 -24
  312. package/dist/remediate/contractPipeline/derive.js.map +1 -1
  313. package/dist/remediate/contractPipeline/finalizedContractFields.d.ts +50 -0
  314. package/dist/remediate/contractPipeline/finalizedContractFields.d.ts.map +1 -0
  315. package/dist/remediate/contractPipeline/finalizedContractFields.js +77 -0
  316. package/dist/remediate/contractPipeline/finalizedContractFields.js.map +1 -0
  317. package/dist/remediate/contractPipeline/idRegistry.d.ts +85 -0
  318. package/dist/remediate/contractPipeline/idRegistry.d.ts.map +1 -1
  319. package/dist/remediate/contractPipeline/idRegistry.js +147 -0
  320. package/dist/remediate/contractPipeline/idRegistry.js.map +1 -1
  321. package/dist/remediate/contractPipeline/phaseCut.d.ts +13 -16
  322. package/dist/remediate/contractPipeline/phaseCut.d.ts.map +1 -1
  323. package/dist/remediate/contractPipeline/phaseCut.js +15 -30
  324. package/dist/remediate/contractPipeline/phaseCut.js.map +1 -1
  325. package/dist/remediate/contractPipeline/reviewSnapshot.d.ts +20 -1
  326. package/dist/remediate/contractPipeline/reviewSnapshot.d.ts.map +1 -1
  327. package/dist/remediate/contractPipeline/reviewSnapshot.js +23 -7
  328. package/dist/remediate/contractPipeline/reviewSnapshot.js.map +1 -1
  329. package/dist/remediate/contractPipeline/semanticProjection.d.ts +17 -0
  330. package/dist/remediate/contractPipeline/semanticProjection.d.ts.map +1 -1
  331. package/dist/remediate/contractPipeline/semanticProjection.js +6 -9
  332. package/dist/remediate/contractPipeline/semanticProjection.js.map +1 -1
  333. package/dist/remediate/contractPipeline/sketchSource.d.ts +183 -0
  334. package/dist/remediate/contractPipeline/sketchSource.d.ts.map +1 -0
  335. package/dist/remediate/contractPipeline/sketchSource.js +255 -0
  336. package/dist/remediate/contractPipeline/sketchSource.js.map +1 -0
  337. package/dist/remediate/findingFilter.d.ts.map +1 -1
  338. package/dist/remediate/findingFilter.js +1 -0
  339. package/dist/remediate/findingFilter.js.map +1 -1
  340. package/dist/remediate/index.d.ts +81 -0
  341. package/dist/remediate/index.d.ts.map +1 -1
  342. package/dist/remediate/index.js +162 -53
  343. package/dist/remediate/index.js.map +1 -1
  344. package/dist/remediate/intake.d.ts +43 -0
  345. package/dist/remediate/intake.d.ts.map +1 -1
  346. package/dist/remediate/intake.js +82 -13
  347. package/dist/remediate/intake.js.map +1 -1
  348. package/dist/remediate/phases/close.d.ts +33 -2
  349. package/dist/remediate/phases/close.d.ts.map +1 -1
  350. package/dist/remediate/phases/close.js +227 -13
  351. package/dist/remediate/phases/close.js.map +1 -1
  352. package/dist/remediate/phases/closeVerifyHeadEvidence.d.ts +154 -0
  353. package/dist/remediate/phases/closeVerifyHeadEvidence.d.ts.map +1 -0
  354. package/dist/remediate/phases/closeVerifyHeadEvidence.js +242 -0
  355. package/dist/remediate/phases/closeVerifyHeadEvidence.js.map +1 -0
  356. package/dist/remediate/state/runStatus.d.ts +35 -0
  357. package/dist/remediate/state/runStatus.d.ts.map +1 -0
  358. package/dist/remediate/state/runStatus.js +46 -0
  359. package/dist/remediate/state/runStatus.js.map +1 -0
  360. package/dist/remediate/state/store.d.ts +52 -2
  361. package/dist/remediate/state/store.d.ts.map +1 -1
  362. package/dist/remediate/state/store.js +124 -21
  363. package/dist/remediate/state/store.js.map +1 -1
  364. package/dist/remediate/state/types.d.ts +83 -13
  365. package/dist/remediate/state/types.d.ts.map +1 -1
  366. package/dist/remediate/steps/contractPipeline.d.ts +65 -1
  367. package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
  368. package/dist/remediate/steps/contractPipeline.js +302 -85
  369. package/dist/remediate/steps/contractPipeline.js.map +1 -1
  370. package/dist/remediate/steps/contractPipelinePrompts.d.ts.map +1 -1
  371. package/dist/remediate/steps/contractPipelinePrompts.js +58 -21
  372. package/dist/remediate/steps/contractPipelinePrompts.js.map +1 -1
  373. package/dist/remediate/steps/dispatch/hostHandoff.d.ts +87 -2
  374. package/dist/remediate/steps/dispatch/hostHandoff.d.ts.map +1 -1
  375. package/dist/remediate/steps/dispatch/hostHandoff.js +344 -44
  376. package/dist/remediate/steps/dispatch/hostHandoff.js.map +1 -1
  377. package/dist/remediate/steps/finalGate.d.ts +109 -5
  378. package/dist/remediate/steps/finalGate.d.ts.map +1 -1
  379. package/dist/remediate/steps/finalGate.js +135 -27
  380. package/dist/remediate/steps/finalGate.js.map +1 -1
  381. package/dist/remediate/steps/gateCommands.d.ts +167 -0
  382. package/dist/remediate/steps/gateCommands.d.ts.map +1 -1
  383. package/dist/remediate/steps/gateCommands.js +428 -1
  384. package/dist/remediate/steps/gateCommands.js.map +1 -1
  385. package/dist/remediate/steps/intakeResolver.d.ts +2 -13
  386. package/dist/remediate/steps/intakeResolver.d.ts.map +1 -1
  387. package/dist/remediate/steps/intakeResolver.js +22 -4
  388. package/dist/remediate/steps/intakeResolver.js.map +1 -1
  389. package/dist/remediate/steps/nextStep.d.ts +44 -40
  390. package/dist/remediate/steps/nextStep.d.ts.map +1 -1
  391. package/dist/remediate/steps/nextStep.js +501 -106
  392. package/dist/remediate/steps/nextStep.js.map +1 -1
  393. package/dist/remediate/steps/stepWriter.d.ts +1 -1
  394. package/dist/remediate/steps/stepWriter.d.ts.map +1 -1
  395. package/dist/remediate/steps/stepWriter.js +1 -0
  396. package/dist/remediate/steps/stepWriter.js.map +1 -1
  397. package/dist/remediate/steps/types.d.ts +32 -1
  398. package/dist/remediate/steps/types.d.ts.map +1 -1
  399. package/dist/remediate/steps/types.js +1 -0
  400. package/dist/remediate/steps/types.js.map +1 -1
  401. package/dist/remediate/types/options.d.ts +8 -0
  402. package/dist/remediate/types/options.d.ts.map +1 -1
  403. package/dist/remediate/utils/fileIntegrity.d.ts +8 -0
  404. package/dist/remediate/utils/fileIntegrity.d.ts.map +1 -1
  405. package/dist/remediate/utils/fileIntegrity.js +12 -1
  406. package/dist/remediate/utils/fileIntegrity.js.map +1 -1
  407. package/dist/remediate/validation/artifacts.d.ts +1 -1
  408. package/dist/remediate/validation/artifacts.d.ts.map +1 -1
  409. package/dist/remediate/validation/artifacts.js +19 -2
  410. package/dist/remediate/validation/artifacts.js.map +1 -1
  411. package/dist/remediate/validation/contractPipeline.d.ts.map +1 -1
  412. package/dist/remediate/validation/contractPipeline.js +26 -39
  413. package/dist/remediate/validation/contractPipeline.js.map +1 -1
  414. package/dist/remediate/validation/contractPipelineGates.d.ts +18 -1
  415. package/dist/remediate/validation/contractPipelineGates.d.ts.map +1 -1
  416. package/dist/remediate/validation/contractPipelineGates.js +33 -5
  417. package/dist/remediate/validation/contractPipelineGates.js.map +1 -1
  418. package/dist/shared/analyzers/acquisitionEngine.d.ts +83 -5
  419. package/dist/shared/analyzers/acquisitionEngine.d.ts.map +1 -1
  420. package/dist/shared/analyzers/acquisitionEngine.js +46 -14
  421. package/dist/shared/analyzers/acquisitionEngine.js.map +1 -1
  422. package/dist/shared/analyzers/binaryAcquisition.d.ts +35 -2
  423. package/dist/shared/analyzers/binaryAcquisition.d.ts.map +1 -1
  424. package/dist/shared/analyzers/binaryAcquisition.js +5 -5
  425. package/dist/shared/analyzers/binaryAcquisition.js.map +1 -1
  426. package/dist/shared/analyzers/candidates.d.ts.map +1 -1
  427. package/dist/shared/analyzers/candidates.js +1 -0
  428. package/dist/shared/analyzers/candidates.js.map +1 -1
  429. package/dist/shared/analyzers/clippy.d.ts +9 -1
  430. package/dist/shared/analyzers/clippy.d.ts.map +1 -1
  431. package/dist/shared/analyzers/clippy.js +10 -2
  432. package/dist/shared/analyzers/clippy.js.map +1 -1
  433. package/dist/shared/analyzers/normalizeExternal.d.ts.map +1 -1
  434. package/dist/shared/analyzers/normalizeExternal.js +1 -0
  435. package/dist/shared/analyzers/normalizeExternal.js.map +1 -1
  436. package/dist/shared/analyzers/rubocop.d.ts +7 -1
  437. package/dist/shared/analyzers/rubocop.d.ts.map +1 -1
  438. package/dist/shared/analyzers/rubocop.js +8 -2
  439. package/dist/shared/analyzers/rubocop.js.map +1 -1
  440. package/dist/shared/analyzers/types.d.ts +24 -24
  441. package/dist/shared/analyzers/types.d.ts.map +1 -1
  442. package/dist/shared/analyzers/types.js +15 -0
  443. package/dist/shared/analyzers/types.js.map +1 -1
  444. package/dist/shared/artifactFreshness.d.ts.map +1 -1
  445. package/dist/shared/artifactFreshness.js +42 -7
  446. package/dist/shared/artifactFreshness.js.map +1 -1
  447. package/dist/shared/chunkByBudget.d.ts.map +1 -1
  448. package/dist/shared/chunkByBudget.js.map +1 -1
  449. package/dist/shared/continuityScore.d.ts.map +1 -1
  450. package/dist/shared/continuityScore.js +12 -4
  451. package/dist/shared/continuityScore.js.map +1 -1
  452. package/dist/shared/decompose/charterClarification.d.ts +49 -45
  453. package/dist/shared/decompose/charterClarification.d.ts.map +1 -1
  454. package/dist/shared/decompose/charterClarification.js +50 -57
  455. package/dist/shared/decompose/charterClarification.js.map +1 -1
  456. package/dist/shared/decompose/charterExtraction.d.ts +616 -342
  457. package/dist/shared/decompose/charterExtraction.d.ts.map +1 -1
  458. package/dist/shared/decompose/charterExtraction.js +590 -488
  459. package/dist/shared/decompose/charterExtraction.js.map +1 -1
  460. package/dist/shared/decompose/contentCoherence.d.ts +36 -2
  461. package/dist/shared/decompose/contentCoherence.d.ts.map +1 -1
  462. package/dist/shared/decompose/contentCoherence.js +45 -5
  463. package/dist/shared/decompose/contentCoherence.js.map +1 -1
  464. package/dist/shared/decompose/modularity.d.ts +98 -1
  465. package/dist/shared/decompose/modularity.d.ts.map +1 -1
  466. package/dist/shared/decompose/modularity.js +89 -8
  467. package/dist/shared/decompose/modularity.js.map +1 -1
  468. package/dist/shared/decompose/systemicChallenge.d.ts +111 -0
  469. package/dist/shared/decompose/systemicChallenge.d.ts.map +1 -1
  470. package/dist/shared/decompose/systemicChallenge.js +28 -0
  471. package/dist/shared/decompose/systemicChallenge.js.map +1 -1
  472. package/dist/shared/engine/obligationEngine.d.ts +2 -2
  473. package/dist/shared/engine/obligationEngine.d.ts.map +1 -1
  474. package/dist/shared/engine/obligationEngine.js +8 -2
  475. package/dist/shared/engine/obligationEngine.js.map +1 -1
  476. package/dist/shared/findingSimilarity.d.ts +8 -0
  477. package/dist/shared/findingSimilarity.d.ts.map +1 -1
  478. package/dist/shared/findingSimilarity.js +10 -3
  479. package/dist/shared/findingSimilarity.js.map +1 -1
  480. package/dist/shared/findings/dedupe.d.ts +15 -0
  481. package/dist/shared/findings/dedupe.d.ts.map +1 -1
  482. package/dist/shared/findings/dedupe.js +137 -1
  483. package/dist/shared/findings/dedupe.js.map +1 -1
  484. package/dist/shared/friction/frictionRecord.d.ts.map +1 -1
  485. package/dist/shared/friction/frictionRecord.js +14 -1
  486. package/dist/shared/friction/frictionRecord.js.map +1 -1
  487. package/dist/shared/friction/triage.d.ts +4 -0
  488. package/dist/shared/friction/triage.d.ts.map +1 -1
  489. package/dist/shared/friction/triage.js +41 -29
  490. package/dist/shared/friction/triage.js.map +1 -1
  491. package/dist/shared/git.d.ts +14 -0
  492. package/dist/shared/git.d.ts.map +1 -1
  493. package/dist/shared/git.js +22 -0
  494. package/dist/shared/git.js.map +1 -1
  495. package/dist/shared/index.d.ts +42 -38
  496. package/dist/shared/index.d.ts.map +1 -1
  497. package/dist/shared/index.js +35 -23
  498. package/dist/shared/index.js.map +1 -1
  499. package/dist/shared/intent/clauseBoundaries.d.ts +75 -0
  500. package/dist/shared/intent/clauseBoundaries.d.ts.map +1 -0
  501. package/dist/shared/intent/clauseBoundaries.js +134 -0
  502. package/dist/shared/intent/clauseBoundaries.js.map +1 -0
  503. package/dist/shared/intent/clauseInterpreter.d.ts +11 -5
  504. package/dist/shared/intent/clauseInterpreter.d.ts.map +1 -1
  505. package/dist/shared/intent/clauseInterpreter.js +16 -41
  506. package/dist/shared/intent/clauseInterpreter.js.map +1 -1
  507. package/dist/shared/intent/freeFormIntentInterpreter.d.ts +11 -0
  508. package/dist/shared/intent/freeFormIntentInterpreter.d.ts.map +1 -1
  509. package/dist/shared/intent/freeFormIntentInterpreter.js +31 -17
  510. package/dist/shared/intent/freeFormIntentInterpreter.js.map +1 -1
  511. package/dist/shared/io/fileLock.d.ts.map +1 -1
  512. package/dist/shared/io/fileLock.js +18 -6
  513. package/dist/shared/io/fileLock.js.map +1 -1
  514. package/dist/shared/io/frictionCapture.d.ts +25 -5
  515. package/dist/shared/io/frictionCapture.d.ts.map +1 -1
  516. package/dist/shared/io/frictionCapture.js +30 -9
  517. package/dist/shared/io/frictionCapture.js.map +1 -1
  518. package/dist/shared/io/schemaVersion.d.ts +4 -3
  519. package/dist/shared/io/schemaVersion.d.ts.map +1 -1
  520. package/dist/shared/io/schemaVersion.js +27 -4
  521. package/dist/shared/io/schemaVersion.js.map +1 -1
  522. package/dist/shared/io/stepContractWriter.d.ts +38 -4
  523. package/dist/shared/io/stepContractWriter.d.ts.map +1 -1
  524. package/dist/shared/io/stepContractWriter.js +59 -1
  525. package/dist/shared/io/stepContractWriter.js.map +1 -1
  526. package/dist/shared/loopCorePaths.d.ts.map +1 -1
  527. package/dist/shared/loopCorePaths.js +8 -0
  528. package/dist/shared/loopCorePaths.js.map +1 -1
  529. package/dist/shared/opencodePermissions.d.ts +27 -3
  530. package/dist/shared/opencodePermissions.d.ts.map +1 -1
  531. package/dist/shared/opencodePermissions.js +77 -26
  532. package/dist/shared/opencodePermissions.js.map +1 -1
  533. package/dist/shared/prompts.d.ts +12 -1
  534. package/dist/shared/prompts.d.ts.map +1 -1
  535. package/dist/shared/prompts.js +11 -1
  536. package/dist/shared/prompts.js.map +1 -1
  537. package/dist/shared/reReview/projectionDiff.d.ts +13 -0
  538. package/dist/shared/reReview/projectionDiff.d.ts.map +1 -1
  539. package/dist/shared/reReview/projectionDiff.js +1 -1
  540. package/dist/shared/reReview/projectionDiff.js.map +1 -1
  541. package/dist/shared/reporting/findingDisplay.d.ts +7 -0
  542. package/dist/shared/reporting/findingDisplay.d.ts.map +1 -1
  543. package/dist/shared/reporting/findingDisplay.js +8 -1
  544. package/dist/shared/reporting/findingDisplay.js.map +1 -1
  545. package/dist/shared/steps/stepEmissionScaffold.d.ts +15 -3
  546. package/dist/shared/steps/stepEmissionScaffold.d.ts.map +1 -1
  547. package/dist/shared/steps/stepEmissionScaffold.js +8 -6
  548. package/dist/shared/steps/stepEmissionScaffold.js.map +1 -1
  549. package/dist/shared/submission/hostHandoffCore.d.ts +37 -12
  550. package/dist/shared/submission/hostHandoffCore.d.ts.map +1 -1
  551. package/dist/shared/submission/hostHandoffCore.js +81 -18
  552. package/dist/shared/submission/hostHandoffCore.js.map +1 -1
  553. package/dist/shared/submission/hostResultOutcomes.d.ts +70 -1
  554. package/dist/shared/submission/hostResultOutcomes.d.ts.map +1 -1
  555. package/dist/shared/submission/hostResultOutcomes.js +66 -1
  556. package/dist/shared/submission/hostResultOutcomes.js.map +1 -1
  557. package/dist/shared/submission/submissionLedger.d.ts +86 -1
  558. package/dist/shared/submission/submissionLedger.d.ts.map +1 -1
  559. package/dist/shared/submission/submissionLedger.js +108 -0
  560. package/dist/shared/submission/submissionLedger.js.map +1 -1
  561. package/dist/shared/submission/submissionScan.d.ts.map +1 -1
  562. package/dist/shared/submission/submissionScan.js +1 -0
  563. package/dist/shared/submission/submissionScan.js.map +1 -1
  564. package/dist/shared/tooling/analyzerDeps.d.ts +14 -0
  565. package/dist/shared/tooling/analyzerDeps.d.ts.map +1 -1
  566. package/dist/shared/tooling/analyzerDeps.js +23 -0
  567. package/dist/shared/tooling/analyzerDeps.js.map +1 -1
  568. package/dist/shared/tooling/commandShape.d.ts +35 -1
  569. package/dist/shared/tooling/commandShape.d.ts.map +1 -1
  570. package/dist/shared/tooling/commandShape.js +66 -4
  571. package/dist/shared/tooling/commandShape.js.map +1 -1
  572. package/dist/shared/tooling/exec.d.ts +62 -4
  573. package/dist/shared/tooling/exec.d.ts.map +1 -1
  574. package/dist/shared/tooling/exec.js +127 -8
  575. package/dist/shared/tooling/exec.js.map +1 -1
  576. package/dist/shared/types/charter.d.ts +674 -156
  577. package/dist/shared/types/charter.d.ts.map +1 -1
  578. package/dist/shared/types/charter.js +172 -118
  579. package/dist/shared/types/charter.js.map +1 -1
  580. package/dist/shared/types/closingActions.d.ts +25 -0
  581. package/dist/shared/types/closingActions.d.ts.map +1 -1
  582. package/dist/shared/types/closingActions.js +26 -0
  583. package/dist/shared/types/closingActions.js.map +1 -1
  584. package/dist/shared/types/contractPipeline/obligations.d.ts +63 -2
  585. package/dist/shared/types/contractPipeline/obligations.d.ts.map +1 -1
  586. package/dist/shared/types/contractPipeline/obligations.js +51 -0
  587. package/dist/shared/types/contractPipeline/obligations.js.map +1 -1
  588. package/dist/shared/types/contractPipeline.d.ts +1 -0
  589. package/dist/shared/types/contractPipeline.d.ts.map +1 -1
  590. package/dist/shared/types/contractPipeline.js +1 -0
  591. package/dist/shared/types/contractPipeline.js.map +1 -1
  592. package/dist/shared/types/contractPropertyShapes.d.ts +34 -0
  593. package/dist/shared/types/contractPropertyShapes.d.ts.map +1 -0
  594. package/dist/shared/types/contractPropertyShapes.js +255 -0
  595. package/dist/shared/types/contractPropertyShapes.js.map +1 -0
  596. package/dist/shared/types/finding.d.ts +376 -18
  597. package/dist/shared/types/finding.d.ts.map +1 -1
  598. package/dist/shared/types/finding.js +111 -0
  599. package/dist/shared/types/finding.js.map +1 -1
  600. package/dist/shared/types/intentCheckpoint.d.ts +214 -2
  601. package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
  602. package/dist/shared/types/intentCheckpoint.js +273 -0
  603. package/dist/shared/types/intentCheckpoint.js.map +1 -1
  604. package/dist/shared/types/intentInterpretation.d.ts +1 -1
  605. package/dist/shared/types/intentInterpretation.js +1 -1
  606. package/dist/shared/types/remediationOutcome.d.ts +294 -30
  607. package/dist/shared/types/remediationOutcome.d.ts.map +1 -1
  608. package/dist/shared/types/remediationOutcome.js +96 -7
  609. package/dist/shared/types/remediationOutcome.js.map +1 -1
  610. package/dist/shared/types/stepContract.d.ts +47 -0
  611. package/dist/shared/types/stepContract.d.ts.map +1 -1
  612. package/dist/shared/types/stepContract.js +113 -0
  613. package/dist/shared/types/stepContract.js.map +1 -1
  614. package/dist/shared/validation/charterGate.d.ts +13 -28
  615. package/dist/shared/validation/charterGate.d.ts.map +1 -1
  616. package/dist/shared/validation/charterGate.js +13 -35
  617. package/dist/shared/validation/charterGate.js.map +1 -1
  618. package/dist/shared/validation/contractConstructionSites.d.ts +116 -0
  619. package/dist/shared/validation/contractConstructionSites.d.ts.map +1 -0
  620. package/dist/shared/validation/contractConstructionSites.js +277 -0
  621. package/dist/shared/validation/contractConstructionSites.js.map +1 -0
  622. package/dist/shared/validation/designFindingGrounding.d.ts +33 -4
  623. package/dist/shared/validation/designFindingGrounding.d.ts.map +1 -1
  624. package/dist/shared/validation/designFindingGrounding.js +40 -6
  625. package/dist/shared/validation/designFindingGrounding.js.map +1 -1
  626. package/dist/shared/validation/findingGrounding.d.ts.map +1 -1
  627. package/dist/shared/validation/findingGrounding.js +11 -1
  628. package/dist/shared/validation/findingGrounding.js.map +1 -1
  629. package/dist/shared/validation/findingsReport.d.ts.map +1 -1
  630. package/dist/shared/validation/findingsReport.js +5 -0
  631. package/dist/shared/validation/findingsReport.js.map +1 -1
  632. package/docs/audit-pkg/contracts.md +8 -2
  633. package/opencode.json +29 -29
  634. package/package.json +16 -3
  635. package/schemas/audit-code-v1alpha1.schema.json +0 -4
  636. package/scripts/audit/postinstall.mjs +81 -96
  637. package/scripts/remediate/postinstall.mjs +43 -83
  638. package/scripts/shared/host-asset-plan.mjs +176 -0
  639. package/scripts/shared/install-host-assets.mjs +44 -1
  640. package/scripts/shared/primitives.mjs +89 -0
  641. package/skills/audit-code/SKILL.md +4 -4
  642. package/skills/audit-code/audit-code.prompt.md +14 -10
  643. package/skills/remediate-code/SKILL.md +9 -5
  644. package/skills/remediate-code/remediate-code.prompt.md +11 -4
  645. package/wrapper/audit-code-wrapper-build.mjs +6 -3
  646. package/dist/audit/cli/charterDeltaPrompt.d.ts +0 -18
  647. package/dist/audit/cli/charterDeltaPrompt.d.ts.map +0 -1
  648. package/dist/audit/cli/charterDeltaPrompt.js +0 -150
  649. package/dist/audit/cli/charterDeltaPrompt.js.map +0 -1
  650. package/dist/audit/orchestrator/charterDeltaExecutor.d.ts +0 -24
  651. package/dist/audit/orchestrator/charterDeltaExecutor.d.ts.map +0 -1
  652. package/dist/audit/orchestrator/charterDeltaExecutor.js +0 -128
  653. package/dist/audit/orchestrator/charterDeltaExecutor.js.map +0 -1
  654. package/dist/audit/supervisor/runLedger.d.ts +0 -3
  655. package/dist/audit/supervisor/runLedger.d.ts.map +0 -1
  656. package/dist/audit/supervisor/runLedger.js +0 -69
  657. package/dist/audit/supervisor/runLedger.js.map +0 -1
  658. package/dist/shared/types/executionRecord.d.ts +0 -58
  659. package/dist/shared/types/executionRecord.d.ts.map +0 -1
  660. package/dist/shared/types/executionRecord.js +0 -26
  661. package/dist/shared/types/executionRecord.js.map +0 -1
  662. package/dist/shared/types/runLedger.d.ts +0 -17
  663. package/dist/shared/types/runLedger.d.ts.map +0 -1
  664. package/dist/shared/types/runLedger.js +0 -7
  665. package/dist/shared/types/runLedger.js.map +0 -1
@@ -1,18 +1,17 @@
1
1
  import { z } from "zod";
2
- import { type Charter, type CharterKind, type CharterDelta, type ChannelDisagreement, type GoalGraph, type TeleologyNode, type TriangulatedTelos } from "../types/charter.js";
2
+ import { type CharterLaneGraph, type CharterLaneKind, type CorrespondenceCandidate, type CharterCorrespondence, type CharterDifference, type CharterProvenance, type DifferenceRoute } from "../types/charter.js";
3
3
  import type { Finding } from "../types/finding.js";
4
4
  /**
5
- * The charter-EXTRACTION submission (Phase C.1): ONE blind lane's self-organized
6
- * teleology. Deltas are NOT authored here — the independent delta miner mines
7
- * them in a second pass over the joined charters, so no author marks its own
8
- * homework. Lanes from every kind are merged (concatenated) before assembly;
9
- * the join is by file-set overlap, so lanes never need to agree on node ids.
5
+ * The charter-EXTRACTION submission (step 1): ONE blind lane's goal DAG. The lane
6
+ * mints local ids; `premise_height` is not asked for (the tool derives it);
7
+ * `files` is optional (the Stated lane cites provenance only).
10
8
  */
11
9
  export declare const CharterSubmissionSchema: z.ZodObject<{
12
- nodes: z.ZodDefault<z.ZodArray<z.ZodObject<Omit<{
13
- charter_id: z.ZodString;
14
- kind: z.ZodEnum<["stated", "structural", "revealed", "true"]>;
10
+ kind: z.ZodEnum<["stated", "structural", "revealed"]>;
11
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
12
+ node_id: z.ZodString;
15
13
  purpose: z.ZodString;
14
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
15
  provenance: z.ZodArray<z.ZodObject<{
17
16
  kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
18
17
  ref: z.ZodString;
@@ -27,126 +26,333 @@ export declare const CharterSubmissionSchema: z.ZodObject<{
27
26
  quote?: string | undefined;
28
27
  }>, "many">;
29
28
  confidence: z.ZodEnum<["high", "medium", "low"]>;
30
- nominated_alternative: z.ZodOptional<z.ZodString>;
31
- nominated_cost: z.ZodOptional<z.ZodString>;
32
- }, "charter_id"> & Omit<{
33
- purpose: z.ZodString;
34
- premise_height: z.ZodNumber;
35
- files: z.ZodArray<z.ZodString, "many">;
36
- }, "purpose">, "strict", z.ZodTypeAny, {
37
- files: string[];
29
+ }, "strict", z.ZodTypeAny, {
38
30
  confidence: "high" | "low" | "medium";
39
- kind: "stated" | "structural" | "revealed" | "true";
40
31
  purpose: string;
41
32
  provenance: {
42
33
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
43
34
  ref: string;
44
35
  quote?: string | undefined;
45
36
  }[];
46
- premise_height: number;
47
- nominated_alternative?: string | undefined;
48
- nominated_cost?: string | undefined;
37
+ node_id: string;
38
+ files?: string[] | undefined;
49
39
  }, {
50
- files: string[];
51
40
  confidence: "high" | "low" | "medium";
52
- kind: "stated" | "structural" | "revealed" | "true";
53
41
  purpose: string;
54
42
  provenance: {
55
43
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
56
44
  ref: string;
57
45
  quote?: string | undefined;
58
46
  }[];
59
- premise_height: number;
60
- nominated_alternative?: string | undefined;
61
- nominated_cost?: string | undefined;
47
+ node_id: string;
48
+ files?: string[] | undefined;
49
+ }>, "many">>;
50
+ edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
51
+ from: z.ZodString;
52
+ to: z.ZodString;
53
+ provenance: z.ZodArray<z.ZodObject<{
54
+ kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
55
+ ref: z.ZodString;
56
+ quote: z.ZodOptional<z.ZodString>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
59
+ ref: string;
60
+ quote?: string | undefined;
61
+ }, {
62
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
63
+ ref: string;
64
+ quote?: string | undefined;
65
+ }>, "many">;
66
+ }, "strict", z.ZodTypeAny, {
67
+ from: string;
68
+ to: string;
69
+ provenance: {
70
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
71
+ ref: string;
72
+ quote?: string | undefined;
73
+ }[];
74
+ }, {
75
+ from: string;
76
+ to: string;
77
+ provenance: {
78
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
79
+ ref: string;
80
+ quote?: string | undefined;
81
+ }[];
62
82
  }>, "many">>;
63
83
  }, "strict", z.ZodTypeAny, {
84
+ kind: "stated" | "structural" | "revealed";
64
85
  nodes: {
65
- files: string[];
66
86
  confidence: "high" | "low" | "medium";
67
- kind: "stated" | "structural" | "revealed" | "true";
68
87
  purpose: string;
69
88
  provenance: {
70
89
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
71
90
  ref: string;
72
91
  quote?: string | undefined;
73
92
  }[];
74
- premise_height: number;
75
- nominated_alternative?: string | undefined;
76
- nominated_cost?: string | undefined;
93
+ node_id: string;
94
+ files?: string[] | undefined;
95
+ }[];
96
+ edges: {
97
+ from: string;
98
+ to: string;
99
+ provenance: {
100
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
101
+ ref: string;
102
+ quote?: string | undefined;
103
+ }[];
77
104
  }[];
78
105
  }, {
106
+ kind: "stated" | "structural" | "revealed";
79
107
  nodes?: {
80
- files: string[];
81
108
  confidence: "high" | "low" | "medium";
82
- kind: "stated" | "structural" | "revealed" | "true";
83
109
  purpose: string;
84
110
  provenance: {
85
111
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
86
112
  ref: string;
87
113
  quote?: string | undefined;
88
114
  }[];
89
- premise_height: number;
90
- nominated_alternative?: string | undefined;
91
- nominated_cost?: string | undefined;
115
+ node_id: string;
116
+ files?: string[] | undefined;
117
+ }[] | undefined;
118
+ edges?: {
119
+ from: string;
120
+ to: string;
121
+ provenance: {
122
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
123
+ ref: string;
124
+ quote?: string | undefined;
125
+ }[];
92
126
  }[] | undefined;
93
127
  }>;
94
128
  export type CharterSubmission = z.infer<typeof CharterSubmissionSchema>;
95
- /**
96
- * The charter-DELTA submission (Phase C.2): the independent miner's channel-pair
97
- * gaps across the already-joined charters, its TRIANGULATED TELOS per subsystem
98
- * (a unified opinion the owner reacts to — a lead, never a reconciliation), any
99
- * True nominations (deepest only), plus the goal DAG it reads off all subsystems
100
- * (it is the only pass that sees every joined unit, so it owns `goal_graph`).
101
- */
102
- export declare const CharterDeltaSubmissionSchema: z.ZodEffects<z.ZodObject<{
103
- subsystems: z.ZodDefault<z.ZodArray<z.ZodObject<{
104
- node_id: z.ZodString;
105
- deltas: z.ZodDefault<z.ZodArray<z.ZodObject<{
106
- pair: z.ZodTuple<[z.ZodEnum<["stated", "structural", "revealed", "true"]>, z.ZodEnum<["stated", "structural", "revealed", "true"]>], null>;
107
- summary: z.ZodString;
129
+ /** The TOOL-merged extraction submission: every lane's DAG, handed to the executor by path. */
130
+ export declare const CharterExtractionMergedSchema: z.ZodObject<{
131
+ lanes: z.ZodArray<z.ZodObject<{
132
+ kind: z.ZodEnum<["stated", "structural", "revealed"]>;
133
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
134
+ node_id: z.ZodString;
135
+ purpose: z.ZodString;
136
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
+ provenance: z.ZodArray<z.ZodObject<{
138
+ kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
139
+ ref: z.ZodString;
140
+ quote: z.ZodOptional<z.ZodString>;
141
+ }, "strict", z.ZodTypeAny, {
142
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
143
+ ref: string;
144
+ quote?: string | undefined;
145
+ }, {
146
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
147
+ ref: string;
148
+ quote?: string | undefined;
149
+ }>, "many">;
150
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
151
+ }, "strict", z.ZodTypeAny, {
152
+ confidence: "high" | "low" | "medium";
153
+ purpose: string;
154
+ provenance: {
155
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
156
+ ref: string;
157
+ quote?: string | undefined;
158
+ }[];
159
+ node_id: string;
160
+ files?: string[] | undefined;
161
+ }, {
162
+ confidence: "high" | "low" | "medium";
163
+ purpose: string;
164
+ provenance: {
165
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
166
+ ref: string;
167
+ quote?: string | undefined;
168
+ }[];
169
+ node_id: string;
170
+ files?: string[] | undefined;
171
+ }>, "many">>;
172
+ edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
173
+ from: z.ZodString;
174
+ to: z.ZodString;
175
+ provenance: z.ZodArray<z.ZodObject<{
176
+ kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
177
+ ref: z.ZodString;
178
+ quote: z.ZodOptional<z.ZodString>;
179
+ }, "strict", z.ZodTypeAny, {
180
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
181
+ ref: string;
182
+ quote?: string | undefined;
183
+ }, {
184
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
185
+ ref: string;
186
+ quote?: string | undefined;
187
+ }>, "many">;
108
188
  }, "strict", z.ZodTypeAny, {
109
- summary: string;
110
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
189
+ from: string;
190
+ to: string;
191
+ provenance: {
192
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
193
+ ref: string;
194
+ quote?: string | undefined;
195
+ }[];
111
196
  }, {
112
- summary: string;
113
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
197
+ from: string;
198
+ to: string;
199
+ provenance: {
200
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
201
+ ref: string;
202
+ quote?: string | undefined;
203
+ }[];
114
204
  }>, "many">>;
115
205
  }, "strict", z.ZodTypeAny, {
116
- node_id: string;
117
- deltas: {
118
- summary: string;
119
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
206
+ kind: "stated" | "structural" | "revealed";
207
+ nodes: {
208
+ confidence: "high" | "low" | "medium";
209
+ purpose: string;
210
+ provenance: {
211
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
212
+ ref: string;
213
+ quote?: string | undefined;
214
+ }[];
215
+ node_id: string;
216
+ files?: string[] | undefined;
217
+ }[];
218
+ edges: {
219
+ from: string;
220
+ to: string;
221
+ provenance: {
222
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
223
+ ref: string;
224
+ quote?: string | undefined;
225
+ }[];
120
226
  }[];
121
227
  }, {
122
- node_id: string;
123
- deltas?: {
124
- summary: string;
125
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
228
+ kind: "stated" | "structural" | "revealed";
229
+ nodes?: {
230
+ confidence: "high" | "low" | "medium";
231
+ purpose: string;
232
+ provenance: {
233
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
234
+ ref: string;
235
+ quote?: string | undefined;
236
+ }[];
237
+ node_id: string;
238
+ files?: string[] | undefined;
126
239
  }[] | undefined;
127
- }>, "many">>;
128
- triangulated: z.ZodDefault<z.ZodArray<z.ZodObject<{
129
- node_id: z.ZodString;
130
- telos: z.ZodString;
131
- confidence: z.ZodEnum<["high", "medium", "low"]>;
132
- }, "strict", z.ZodTypeAny, {
133
- confidence: "high" | "low" | "medium";
134
- node_id: string;
135
- telos: string;
136
- }, {
137
- confidence: "high" | "low" | "medium";
138
- node_id: string;
139
- telos: string;
140
- }>, "many">>;
141
- true_nominations: z.ZodDefault<z.ZodArray<z.ZodObject<{
142
- node_id: z.ZodString;
143
- /** The nominated ideal, in telos terms. */
144
- purpose: z.ZodString;
145
- nominated_alternative: z.ZodString;
146
- nominated_cost: z.ZodString;
147
- confidence: z.ZodEnum<["high", "medium", "low"]>;
148
- /** May be empty — the ideal cites no source. */
149
- provenance: z.ZodDefault<z.ZodArray<z.ZodObject<{
240
+ edges?: {
241
+ from: string;
242
+ to: string;
243
+ provenance: {
244
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
245
+ ref: string;
246
+ quote?: string | undefined;
247
+ }[];
248
+ }[] | undefined;
249
+ }>, "many">;
250
+ }, "strict", z.ZodTypeAny, {
251
+ lanes: {
252
+ kind: "stated" | "structural" | "revealed";
253
+ nodes: {
254
+ confidence: "high" | "low" | "medium";
255
+ purpose: string;
256
+ provenance: {
257
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
258
+ ref: string;
259
+ quote?: string | undefined;
260
+ }[];
261
+ node_id: string;
262
+ files?: string[] | undefined;
263
+ }[];
264
+ edges: {
265
+ from: string;
266
+ to: string;
267
+ provenance: {
268
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
269
+ ref: string;
270
+ quote?: string | undefined;
271
+ }[];
272
+ }[];
273
+ }[];
274
+ }, {
275
+ lanes: {
276
+ kind: "stated" | "structural" | "revealed";
277
+ nodes?: {
278
+ confidence: "high" | "low" | "medium";
279
+ purpose: string;
280
+ provenance: {
281
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
282
+ ref: string;
283
+ quote?: string | undefined;
284
+ }[];
285
+ node_id: string;
286
+ files?: string[] | undefined;
287
+ }[] | undefined;
288
+ edges?: {
289
+ from: string;
290
+ to: string;
291
+ provenance: {
292
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
293
+ ref: string;
294
+ quote?: string | undefined;
295
+ }[];
296
+ }[] | undefined;
297
+ }[];
298
+ }>;
299
+ export type CharterExtractionMerged = z.infer<typeof CharterExtractionMergedSchema>;
300
+ export interface AssembledLaneGraph {
301
+ graph: CharterLaneGraph;
302
+ validation_issues: string[];
303
+ }
304
+ /**
305
+ * Validate one lane's submission into its persisted DAG. Deterministic: same
306
+ * submission + same universe → same graph. Refusals, per node/edge, are recorded
307
+ * as validation issues (surfaced, never silent):
308
+ * - a duplicate `node_id` keeps the first and drops the rest;
309
+ * - an edge naming an unknown node, or a self-edge, is dropped;
310
+ * - a file outside the universe is dropped from the node's scope (a node left with
311
+ * an EMPTY declared scope keeps `files` absent, i.e. becomes provenance-only);
312
+ * - a CYCLE refuses the whole edge set: every edge on a cycle is dropped and the
313
+ * issue names the cycle, because a level cannot be derived from a cyclic graph
314
+ * and a silently broken cycle would hide which edge the lane drafted backwards
315
+ * ([[inverted-neighbor-edges-manufacture-a-cycle]]).
316
+ * `premise_height` = longest path from a ROOT (a node that serves nothing) down to
317
+ * the node, so 0 is a top-level purpose and a leaf mechanism sits deepest.
318
+ */
319
+ export declare function assembleLaneGraph(submission: CharterSubmission, params: {
320
+ universe: ReadonlySet<string>;
321
+ }): AssembledLaneGraph;
322
+ /** The path part of a provenance ref: `<path>#<symbol>` or `<path>:<line>` → `<path>`. */
323
+ export declare function provenancePath(ref: string): string;
324
+ /**
325
+ * Propose correspondence candidates between every pair of lanes. Two signals, both
326
+ * deterministic and content-derived:
327
+ * - `file_overlap`: the nodes' file scopes share ≥1 path;
328
+ * - `cross_ref`: a node's provenance cites a path (`<path>#<symbol>` / `<path>:<line>`)
329
+ * that lies in the other node's file scope (the Stated lane's usual key).
330
+ * A pair related by both is reported once, as `file_overlap` (the stronger signal),
331
+ * with the union of evidence paths. Candidate ids are content-keyed on the member
332
+ * set, so re-proposal never churns the artifact.
333
+ */
334
+ export declare function proposeCorrespondences(graphs: readonly CharterLaneGraph[]): CorrespondenceCandidate[];
335
+ /**
336
+ * The charter-COMPARISON submission (steps 2–3): the comparison reader's verdicts
337
+ * on the tool candidates (plus any it adds), and the typed differences. An empty
338
+ * result must affirm `no_correspondences: true` (a silent empty is indistinguishable
339
+ * from a reader that never ran).
340
+ */
341
+ export declare const CharterComparisonSubmissionSchema: z.ZodEffects<z.ZodObject<{
342
+ correspondences: z.ZodDefault<z.ZodArray<z.ZodObject<{
343
+ candidate_id: z.ZodOptional<z.ZodString>;
344
+ verdict: z.ZodEnum<["confirm", "reject", "widen"]>;
345
+ members: z.ZodArray<z.ZodObject<{
346
+ kind: z.ZodEnum<["stated", "structural", "revealed"]>;
347
+ node_ids: z.ZodArray<z.ZodString, "many">;
348
+ }, "strict", z.ZodTypeAny, {
349
+ kind: "stated" | "structural" | "revealed";
350
+ node_ids: string[];
351
+ }, {
352
+ kind: "stated" | "structural" | "revealed";
353
+ node_ids: string[];
354
+ }>, "many">;
355
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
150
356
  kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
151
357
  ref: z.ZodString;
152
358
  quote: z.ZodOptional<z.ZodString>;
@@ -160,323 +366,391 @@ export declare const CharterDeltaSubmissionSchema: z.ZodEffects<z.ZodObject<{
160
366
  quote?: string | undefined;
161
367
  }>, "many">>;
162
368
  }, "strict", z.ZodTypeAny, {
163
- confidence: "high" | "low" | "medium";
164
- purpose: string;
165
- provenance: {
369
+ members: {
370
+ kind: "stated" | "structural" | "revealed";
371
+ node_ids: string[];
372
+ }[];
373
+ evidence: {
166
374
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
167
375
  ref: string;
168
376
  quote?: string | undefined;
169
377
  }[];
170
- nominated_alternative: string;
171
- nominated_cost: string;
172
- node_id: string;
378
+ verdict: "confirm" | "reject" | "widen";
379
+ candidate_id?: string | undefined;
173
380
  }, {
174
- confidence: "high" | "low" | "medium";
175
- purpose: string;
176
- nominated_alternative: string;
177
- nominated_cost: string;
178
- node_id: string;
179
- provenance?: {
381
+ members: {
382
+ kind: "stated" | "structural" | "revealed";
383
+ node_ids: string[];
384
+ }[];
385
+ verdict: "confirm" | "reject" | "widen";
386
+ evidence?: {
180
387
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
181
388
  ref: string;
182
389
  quote?: string | undefined;
183
390
  }[] | undefined;
391
+ candidate_id?: string | undefined;
184
392
  }>, "many">>;
185
- goal_graph: z.ZodOptional<z.ZodObject<{
186
- nodes: z.ZodArray<z.ZodObject<{
187
- node_id: z.ZodString;
188
- premise_height: z.ZodNumber;
189
- statement: z.ZodString;
393
+ differences: z.ZodDefault<z.ZodArray<z.ZodObject<{
394
+ /** The candidate_id, or the 0-based index into `correspondences`, this rests on. */
395
+ correspondence: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
396
+ dimension: z.ZodEnum<["purpose", "presence", "responsibility", "hierarchy", "scope", "standing", "standard"]>;
397
+ relation: z.ZodEnum<["equivalent", "complementary", "incompatible"]>;
398
+ split: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
399
+ kind: z.ZodLiteral<"two_against_one">;
400
+ odd: z.ZodEnum<["stated", "structural", "revealed"]>;
190
401
  }, "strict", z.ZodTypeAny, {
191
- statement: string;
192
- node_id: string;
193
- premise_height: number;
402
+ kind: "two_against_one";
403
+ odd: "stated" | "structural" | "revealed";
194
404
  }, {
195
- statement: string;
196
- node_id: string;
197
- premise_height: number;
198
- }>, "many">;
199
- edges: z.ZodArray<z.ZodObject<{
200
- from: z.ZodString;
201
- to: z.ZodString;
405
+ kind: "two_against_one";
406
+ odd: "stated" | "structural" | "revealed";
407
+ }>, z.ZodObject<{
408
+ kind: z.ZodLiteral<"three_way">;
202
409
  }, "strict", z.ZodTypeAny, {
203
- from: string;
204
- to: string;
410
+ kind: "three_way";
205
411
  }, {
206
- from: string;
207
- to: string;
412
+ kind: "three_way";
413
+ }>]>>;
414
+ accounts: z.ZodArray<z.ZodObject<{
415
+ kind: z.ZodEnum<["stated", "structural", "revealed"]>;
416
+ claim: z.ZodString;
417
+ provenance: z.ZodArray<z.ZodObject<{
418
+ kind: z.ZodEnum<["doc", "intent_checkpoint", "user_feedback", "code", "comment", "inferred"]>;
419
+ ref: z.ZodString;
420
+ quote: z.ZodOptional<z.ZodString>;
421
+ }, "strict", z.ZodTypeAny, {
422
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
423
+ ref: string;
424
+ quote?: string | undefined;
425
+ }, {
426
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
427
+ ref: string;
428
+ quote?: string | undefined;
429
+ }>, "many">;
430
+ }, "strict", z.ZodTypeAny, {
431
+ kind: "stated" | "structural" | "revealed";
432
+ claim: string;
433
+ provenance: {
434
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
435
+ ref: string;
436
+ quote?: string | undefined;
437
+ }[];
438
+ }, {
439
+ kind: "stated" | "structural" | "revealed";
440
+ claim: string;
441
+ provenance: {
442
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
443
+ ref: string;
444
+ quote?: string | undefined;
445
+ }[];
208
446
  }>, "many">;
447
+ gap: z.ZodString;
448
+ covered_channel_gap: z.ZodOptional<z.ZodBoolean>;
209
449
  }, "strict", z.ZodTypeAny, {
210
- nodes: {
211
- statement: string;
212
- node_id: string;
213
- premise_height: number;
214
- }[];
215
- edges: {
216
- from: string;
217
- to: string;
450
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
451
+ relation: "equivalent" | "complementary" | "incompatible";
452
+ accounts: {
453
+ kind: "stated" | "structural" | "revealed";
454
+ claim: string;
455
+ provenance: {
456
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
457
+ ref: string;
458
+ quote?: string | undefined;
459
+ }[];
218
460
  }[];
461
+ gap: string;
462
+ correspondence: string | number;
463
+ split?: {
464
+ kind: "two_against_one";
465
+ odd: "stated" | "structural" | "revealed";
466
+ } | {
467
+ kind: "three_way";
468
+ } | undefined;
469
+ covered_channel_gap?: boolean | undefined;
219
470
  }, {
220
- nodes: {
221
- statement: string;
222
- node_id: string;
223
- premise_height: number;
471
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
472
+ relation: "equivalent" | "complementary" | "incompatible";
473
+ accounts: {
474
+ kind: "stated" | "structural" | "revealed";
475
+ claim: string;
476
+ provenance: {
477
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
478
+ ref: string;
479
+ quote?: string | undefined;
480
+ }[];
224
481
  }[];
225
- edges: {
226
- from: string;
227
- to: string;
228
- }[];
229
- }>>;
230
- /**
231
- * Explicit clean affirmation — "I mined every subsystem and found no deltas."
232
- * REQUIRED when the submission carries zero deltas, and REFUSED alongside any
233
- * delta, so a dead miner (which submits nothing) can never be mistaken for a
234
- * clean one (same contract as `reviewed_clean` on a zero-finding AuditResult).
235
- * Keyed to DELTAS only: a clean mine may still carry triangulated teloses.
236
- */
237
- no_deltas: z.ZodOptional<z.ZodBoolean>;
482
+ gap: string;
483
+ correspondence: string | number;
484
+ split?: {
485
+ kind: "two_against_one";
486
+ odd: "stated" | "structural" | "revealed";
487
+ } | {
488
+ kind: "three_way";
489
+ } | undefined;
490
+ covered_channel_gap?: boolean | undefined;
491
+ }>, "many">>;
492
+ no_correspondences: z.ZodOptional<z.ZodBoolean>;
238
493
  }, "strict", z.ZodTypeAny, {
239
- subsystems: {
240
- node_id: string;
241
- deltas: {
242
- summary: string;
243
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
494
+ correspondences: {
495
+ members: {
496
+ kind: "stated" | "structural" | "revealed";
497
+ node_ids: string[];
244
498
  }[];
245
- }[];
246
- triangulated: {
247
- confidence: "high" | "low" | "medium";
248
- node_id: string;
249
- telos: string;
250
- }[];
251
- true_nominations: {
252
- confidence: "high" | "low" | "medium";
253
- purpose: string;
254
- provenance: {
499
+ evidence: {
255
500
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
256
501
  ref: string;
257
502
  quote?: string | undefined;
258
503
  }[];
259
- nominated_alternative: string;
260
- nominated_cost: string;
261
- node_id: string;
504
+ verdict: "confirm" | "reject" | "widen";
505
+ candidate_id?: string | undefined;
262
506
  }[];
263
- goal_graph?: {
264
- nodes: {
265
- statement: string;
266
- node_id: string;
267
- premise_height: number;
268
- }[];
269
- edges: {
270
- from: string;
271
- to: string;
507
+ differences: {
508
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
509
+ relation: "equivalent" | "complementary" | "incompatible";
510
+ accounts: {
511
+ kind: "stated" | "structural" | "revealed";
512
+ claim: string;
513
+ provenance: {
514
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
515
+ ref: string;
516
+ quote?: string | undefined;
517
+ }[];
272
518
  }[];
273
- } | undefined;
274
- no_deltas?: boolean | undefined;
519
+ gap: string;
520
+ correspondence: string | number;
521
+ split?: {
522
+ kind: "two_against_one";
523
+ odd: "stated" | "structural" | "revealed";
524
+ } | {
525
+ kind: "three_way";
526
+ } | undefined;
527
+ covered_channel_gap?: boolean | undefined;
528
+ }[];
529
+ no_correspondences?: boolean | undefined;
275
530
  }, {
276
- subsystems?: {
277
- node_id: string;
278
- deltas?: {
279
- summary: string;
280
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
281
- }[] | undefined;
282
- }[] | undefined;
283
- triangulated?: {
284
- confidence: "high" | "low" | "medium";
285
- node_id: string;
286
- telos: string;
287
- }[] | undefined;
288
- true_nominations?: {
289
- confidence: "high" | "low" | "medium";
290
- purpose: string;
291
- nominated_alternative: string;
292
- nominated_cost: string;
293
- node_id: string;
294
- provenance?: {
531
+ correspondences?: {
532
+ members: {
533
+ kind: "stated" | "structural" | "revealed";
534
+ node_ids: string[];
535
+ }[];
536
+ verdict: "confirm" | "reject" | "widen";
537
+ evidence?: {
295
538
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
296
539
  ref: string;
297
540
  quote?: string | undefined;
298
541
  }[] | undefined;
542
+ candidate_id?: string | undefined;
299
543
  }[] | undefined;
300
- goal_graph?: {
301
- nodes: {
302
- statement: string;
303
- node_id: string;
304
- premise_height: number;
544
+ differences?: {
545
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
546
+ relation: "equivalent" | "complementary" | "incompatible";
547
+ accounts: {
548
+ kind: "stated" | "structural" | "revealed";
549
+ claim: string;
550
+ provenance: {
551
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
552
+ ref: string;
553
+ quote?: string | undefined;
554
+ }[];
305
555
  }[];
306
- edges: {
307
- from: string;
308
- to: string;
309
- }[];
310
- } | undefined;
311
- no_deltas?: boolean | undefined;
556
+ gap: string;
557
+ correspondence: string | number;
558
+ split?: {
559
+ kind: "two_against_one";
560
+ odd: "stated" | "structural" | "revealed";
561
+ } | {
562
+ kind: "three_way";
563
+ } | undefined;
564
+ covered_channel_gap?: boolean | undefined;
565
+ }[] | undefined;
566
+ no_correspondences?: boolean | undefined;
312
567
  }>, {
313
- subsystems: {
314
- node_id: string;
315
- deltas: {
316
- summary: string;
317
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
568
+ correspondences: {
569
+ members: {
570
+ kind: "stated" | "structural" | "revealed";
571
+ node_ids: string[];
318
572
  }[];
319
- }[];
320
- triangulated: {
321
- confidence: "high" | "low" | "medium";
322
- node_id: string;
323
- telos: string;
324
- }[];
325
- true_nominations: {
326
- confidence: "high" | "low" | "medium";
327
- purpose: string;
328
- provenance: {
573
+ evidence: {
329
574
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
330
575
  ref: string;
331
576
  quote?: string | undefined;
332
577
  }[];
333
- nominated_alternative: string;
334
- nominated_cost: string;
335
- node_id: string;
578
+ verdict: "confirm" | "reject" | "widen";
579
+ candidate_id?: string | undefined;
336
580
  }[];
337
- goal_graph?: {
338
- nodes: {
339
- statement: string;
340
- node_id: string;
341
- premise_height: number;
581
+ differences: {
582
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
583
+ relation: "equivalent" | "complementary" | "incompatible";
584
+ accounts: {
585
+ kind: "stated" | "structural" | "revealed";
586
+ claim: string;
587
+ provenance: {
588
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
589
+ ref: string;
590
+ quote?: string | undefined;
591
+ }[];
342
592
  }[];
343
- edges: {
344
- from: string;
345
- to: string;
346
- }[];
347
- } | undefined;
348
- no_deltas?: boolean | undefined;
593
+ gap: string;
594
+ correspondence: string | number;
595
+ split?: {
596
+ kind: "two_against_one";
597
+ odd: "stated" | "structural" | "revealed";
598
+ } | {
599
+ kind: "three_way";
600
+ } | undefined;
601
+ covered_channel_gap?: boolean | undefined;
602
+ }[];
603
+ no_correspondences?: boolean | undefined;
349
604
  }, {
350
- subsystems?: {
351
- node_id: string;
352
- deltas?: {
353
- summary: string;
354
- pair: ["stated" | "structural" | "revealed" | "true", "stated" | "structural" | "revealed" | "true"];
355
- }[] | undefined;
356
- }[] | undefined;
357
- triangulated?: {
358
- confidence: "high" | "low" | "medium";
359
- node_id: string;
360
- telos: string;
361
- }[] | undefined;
362
- true_nominations?: {
363
- confidence: "high" | "low" | "medium";
364
- purpose: string;
365
- nominated_alternative: string;
366
- nominated_cost: string;
367
- node_id: string;
368
- provenance?: {
605
+ correspondences?: {
606
+ members: {
607
+ kind: "stated" | "structural" | "revealed";
608
+ node_ids: string[];
609
+ }[];
610
+ verdict: "confirm" | "reject" | "widen";
611
+ evidence?: {
369
612
  kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
370
613
  ref: string;
371
614
  quote?: string | undefined;
372
615
  }[] | undefined;
616
+ candidate_id?: string | undefined;
373
617
  }[] | undefined;
374
- goal_graph?: {
375
- nodes: {
376
- statement: string;
377
- node_id: string;
378
- premise_height: number;
379
- }[];
380
- edges: {
381
- from: string;
382
- to: string;
618
+ differences?: {
619
+ dimension: "purpose" | "presence" | "responsibility" | "hierarchy" | "scope" | "standing" | "standard";
620
+ relation: "equivalent" | "complementary" | "incompatible";
621
+ accounts: {
622
+ kind: "stated" | "structural" | "revealed";
623
+ claim: string;
624
+ provenance: {
625
+ kind: "code" | "doc" | "intent_checkpoint" | "user_feedback" | "comment" | "inferred";
626
+ ref: string;
627
+ quote?: string | undefined;
628
+ }[];
383
629
  }[];
384
- } | undefined;
385
- no_deltas?: boolean | undefined;
630
+ gap: string;
631
+ correspondence: string | number;
632
+ split?: {
633
+ kind: "two_against_one";
634
+ odd: "stated" | "structural" | "revealed";
635
+ } | {
636
+ kind: "three_way";
637
+ } | undefined;
638
+ covered_channel_gap?: boolean | undefined;
639
+ }[] | undefined;
640
+ no_correspondences?: boolean | undefined;
386
641
  }>;
387
- export type CharterDeltaSubmission = z.infer<typeof CharterDeltaSubmissionSchema>;
642
+ export type CharterComparisonSubmission = z.infer<typeof CharterComparisonSubmissionSchema>;
643
+ export interface AssembledComparison {
644
+ correspondences: CharterCorrespondence[];
645
+ differences: CharterDifference[];
646
+ validation_issues: string[];
647
+ }
648
+ interface Route {
649
+ routed_to: DifferenceRoute;
650
+ severity: Finding["severity"];
651
+ }
388
652
  /**
389
- * One joined subsystem UNIT: its file members, the tool-selected per-kind
390
- * charters, and every lane's full teleology slice that joined into it (levels
391
- * preserved — the self-organized structure is the product, the charter is the
392
- * unit's best-overlap representative of it).
653
+ * The design's routing table (step 5), keyed on `(dimension, relation, split)`.
654
+ * The host never picks a route. Non-incompatible records route nowhere except a
655
+ * covered-channel Presence gap, which routes by the silent channel (Stated silent →
656
+ * doc rot for the remediator; a code channel silent → a clarification).
393
657
  */
394
- export interface CharterSubsystem {
395
- node_id: string;
396
- members: string[];
397
- charters: Charter[];
398
- teleologies: Partial<Record<CharterKind, TeleologyNode[]>>;
399
- }
658
+ export declare function routeDifference(input: {
659
+ dimension: CharterDifference["dimension"];
660
+ relation: CharterDifference["relation"];
661
+ split?: CharterDifference["split"];
662
+ covered_channel_gap?: boolean;
663
+ silent?: CharterLaneKind;
664
+ }): Route;
400
665
  /**
401
- * The assembled charter layer (Phase C.1): joined per-unit charters + a record
402
- * of everything the gates dropped (surfaced, never silently discarded).
666
+ * Assemble the confirmed correspondences and the difference records from the
667
+ * comparison submission. Refusals are validation issues, never silent:
668
+ * - a member naming a node absent from its lane's DAG;
669
+ * - a `confirm`/`widen` naming an unknown candidate;
670
+ * - a host-added correspondence (no candidate) with fewer than two evidence refs
671
+ * whose PATHS lie in the repo universe, or whose refs are all on one side;
672
+ * - a difference naming no confirmed correspondence, an account for a lane not in
673
+ * that correspondence, an `incompatible` relation without a `split`, or a split
674
+ * with a non-incompatible relation.
675
+ * Ids are content-keyed (member set / correspondence + dimension + gap).
403
676
  */
404
- export interface AssembledCharters {
405
- subsystems: CharterSubsystem[];
406
- validation_issues: string[];
407
- }
677
+ export declare function assembleComparison(submission: CharterComparisonSubmission, params: {
678
+ candidates: readonly CorrespondenceCandidate[];
679
+ graphs: readonly CharterLaneGraph[];
680
+ universe: ReadonlySet<string>;
681
+ }): AssembledComparison;
682
+ /** The fidelity lane's submission: one verdict per difference in its packet. */
683
+ export declare const CharterFidelitySubmissionSchema: z.ZodObject<{
684
+ verdicts: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
685
+ difference_id: z.ZodString;
686
+ verdict: z.ZodEnum<["supported", "interpretation", "unverifiable"]>;
687
+ over_read_side: z.ZodOptional<z.ZodEnum<["stated", "structural", "revealed"]>>;
688
+ rationale: z.ZodString;
689
+ }, "strict", z.ZodTypeAny, {
690
+ rationale: string;
691
+ verdict: "supported" | "interpretation" | "unverifiable";
692
+ difference_id: string;
693
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
694
+ }, {
695
+ rationale: string;
696
+ verdict: "supported" | "interpretation" | "unverifiable";
697
+ difference_id: string;
698
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
699
+ }>, {
700
+ rationale: string;
701
+ verdict: "supported" | "interpretation" | "unverifiable";
702
+ difference_id: string;
703
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
704
+ }, {
705
+ rationale: string;
706
+ verdict: "supported" | "interpretation" | "unverifiable";
707
+ difference_id: string;
708
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
709
+ }>, "many">>;
710
+ }, "strict", z.ZodTypeAny, {
711
+ verdicts: {
712
+ rationale: string;
713
+ verdict: "supported" | "interpretation" | "unverifiable";
714
+ difference_id: string;
715
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
716
+ }[];
717
+ }, {
718
+ verdicts?: {
719
+ rationale: string;
720
+ verdict: "supported" | "interpretation" | "unverifiable";
721
+ difference_id: string;
722
+ over_read_side?: "stated" | "structural" | "revealed" | undefined;
723
+ }[] | undefined;
724
+ }>;
725
+ export type CharterFidelitySubmission = z.infer<typeof CharterFidelitySubmissionSchema>;
408
726
  /**
409
- * A CharterDelta with its subsystem identity carried as EXPLICIT fields
410
- * (INV-CDI-EXPLICIT-NODE-FIELDS) — `delta_id` is therefore an OPAQUE identity,
411
- * free to gain a per-delta discriminator (see `assembleDeltas` below) without
412
- * any consumer, INCLUDING this module's own disagreement-density computation,
413
- * needing to parse it apart. Declared here as an extension of `CharterDelta`
414
- * rather than by widening `CharterDeltaSchema` itself
415
- * (src/shared/types/charter.ts, outside this module's write scope) — this is
416
- * the assembler's own return shape; the wire schema's `.strict()` boundary is
417
- * a separate, differently-owned concern (the seam
418
- * charter-clarification-ingestion--charter-delta-identity--node-id-recovery
419
- * names charter-clarification-ingestion as the consumer that reads these
420
- * fields once it stops parsing delta_id).
727
+ * The MECHANICAL pre-check (step 4, first half): given, per provenance ref, whether
728
+ * its quote was found at its ref on disk (`quoteFound(ref, quote)` — the ingest reads
729
+ * the files; this module never does), stamp `unverifiable` (decided_by `tool`) on
730
+ * every finding candidate that has a side whose cited quote is absent. Records with
731
+ * every quote present are left for the lane. Returns the differences with the tool
732
+ * verdicts stamped, plus the ids still owed a lane verdict.
421
733
  */
422
- export interface CharterDeltaWithIdentity extends CharterDelta {
423
- node_id: string;
424
- /** Present when `node_id` is linked into the mined goal graph. */
425
- goal_node_id?: string;
426
- }
734
+ export declare function precheckFidelity(differences: readonly CharterDifference[], quoteFound: (provenance: CharterProvenance) => boolean | undefined): {
735
+ differences: CharterDifference[];
736
+ pendingLane: string[];
737
+ };
427
738
  /**
428
- * The assembled delta layer (Phase C.2): the routed+gated deltas across all
429
- * units, the deltas surfaced as Finding leads, the triangulated teloses, the
430
- * tool-computed disagreement density, the (possibly True-augmented) subsystems,
431
- * the goal DAG, and the gate drops.
739
+ * Stamp the lane's verdicts (step 4, second half). A verdict naming an unknown
740
+ * difference, or a difference the tool already settled, is a validation issue; a
741
+ * finding candidate left without any verdict stays pending (never assumed
742
+ * `supported`).
432
743
  */
433
- export interface AssembledDeltas {
434
- subsystems: CharterSubsystem[];
435
- deltas: CharterDeltaWithIdentity[];
436
- findings: Finding[];
437
- triangulated: TriangulatedTelos[];
438
- disagreement: ChannelDisagreement[];
439
- goal_graph: GoalGraph;
744
+ export declare function applyFidelity(differences: readonly CharterDifference[], submission: CharterFidelitySubmission): {
745
+ differences: CharterDifference[];
440
746
  validation_issues: string[];
441
- }
442
- export interface AssembleChartersParams {
443
- /**
444
- * The decomposition HINT: consensus `node_id → members`. A scaffold
445
- * suggestion the join prefers when a node's scope overlaps it — never a
446
- * forced node list (a lane may organize boundaries the decomposition missed).
447
- */
448
- hint: Map<string, string[]>;
449
- /**
450
- * The repo file universe. Every teleology node's scope must ground here —
451
- * a node citing files outside the universe is dropped with an issue (the
452
- * host cannot conjure files the repo does not contain). The ingest
453
- * chokepoint additionally REFUSES such lanes loudly before assembly.
454
- */
455
- universe: ReadonlySet<string>;
456
- }
747
+ still_pending: string[];
748
+ };
457
749
  /**
458
- * Assemble the joined charter layer (Phase C.1) from the merged per-lane
459
- * submissions. Deterministic: same nodes + same hint + same universe always
460
- * yield the same units, ids, and charter selection.
461
- *
462
- * Join: each grounded node maps to the hint unit with the largest file overlap
463
- * (ties → lexicographically first hint id); nodes overlapping NO hint unit are
464
- * union-found into residual units on any shared file, across kinds. A unit's id
465
- * is its hint `node_id` when hinted, else the lexicographically first file of
466
- * its scope union (provably collision-free: a residual scope contains no hint
467
- * member, so its first file can never equal a hint id, which IS a hint member).
468
- * Per unit per kind, the best-overlap node becomes the kind's charter
469
- * (`charter_id = unit:kind`); every joined node persists in the unit's
470
- * teleology, levels intact.
750
+ * Surface every `supported` finding candidate as a Finding LEAD (leads-not-verdicts).
751
+ * `affected_files` = the union of the corresponding nodes' scopes (the report's
752
+ * grouping evidence); `confidence` = the weakest account's source confidence.
471
753
  */
472
- export declare function assembleCharters(submission: CharterSubmission, params: AssembleChartersParams): AssembledCharters;
473
- export interface AssembleDeltasParams {
474
- /**
475
- * Whether True nominations are admissible — true ONLY at the `deepest`
476
- * ceiling (the consent gate that used to live on the extraction lane set;
477
- * the executor derives this from the confirmed checkpoint's ceiling).
478
- */
479
- allowTrueNominations: boolean;
480
- }
481
- export declare function assembleDeltas(submission: CharterDeltaSubmission, subsystems: CharterSubsystem[], params: AssembleDeltasParams): AssembledDeltas;
754
+ export declare function differenceFindings(differences: readonly CharterDifference[], correspondences: readonly CharterCorrespondence[], graphs: readonly CharterLaneGraph[]): Finding[];
755
+ export {};
482
756
  //# sourceMappingURL=charterExtraction.d.ts.map