audit-tools 0.42.1 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dispatch/merge-results.mjs +229 -140
  2. package/dispatch/validate-result.mjs +98 -40
  3. package/dist/audit/cli/conceptualDispatch.d.ts.map +1 -1
  4. package/dist/audit/cli/conceptualDispatch.js +35 -3
  5. package/dist/audit/cli/conceptualDispatch.js.map +1 -1
  6. package/dist/audit/cli/dispatch/hostHandoff.d.ts +9 -1
  7. package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -1
  8. package/dist/audit/cli/dispatch/hostHandoff.js +94 -38
  9. package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -1
  10. package/dist/audit/cli/nextStepCommand.d.ts +64 -0
  11. package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
  12. package/dist/audit/cli/nextStepCommand.js +877 -783
  13. package/dist/audit/cli/nextStepCommand.js.map +1 -1
  14. package/dist/audit/cli/nextStepHelpers.d.ts +12 -0
  15. package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
  16. package/dist/audit/cli/nextStepHelpers.js +34 -1
  17. package/dist/audit/cli/nextStepHelpers.js.map +1 -1
  18. package/dist/audit/cli/steps.d.ts +2 -2
  19. package/dist/audit/extractors/graph.d.ts +28 -2
  20. package/dist/audit/extractors/graph.d.ts.map +1 -1
  21. package/dist/audit/extractors/graph.js +122 -11
  22. package/dist/audit/extractors/graph.js.map +1 -1
  23. package/dist/audit/extractors/graphRoutes.d.ts +8 -0
  24. package/dist/audit/extractors/graphRoutes.d.ts.map +1 -1
  25. package/dist/audit/extractors/graphRoutes.js +71 -4
  26. package/dist/audit/extractors/graphRoutes.js.map +1 -1
  27. package/dist/audit/io/artifacts.d.ts +55 -0
  28. package/dist/audit/io/artifacts.d.ts.map +1 -1
  29. package/dist/audit/io/artifacts.js +189 -12
  30. package/dist/audit/io/artifacts.js.map +1 -1
  31. package/dist/audit/io/toolingManifest.d.ts +11 -0
  32. package/dist/audit/io/toolingManifest.d.ts.map +1 -1
  33. package/dist/audit/io/toolingManifest.js +13 -3
  34. package/dist/audit/io/toolingManifest.js.map +1 -1
  35. package/dist/audit/orchestrator/advance.d.ts +64 -0
  36. package/dist/audit/orchestrator/advance.d.ts.map +1 -1
  37. package/dist/audit/orchestrator/advance.js +191 -57
  38. package/dist/audit/orchestrator/advance.js.map +1 -1
  39. package/dist/audit/orchestrator/charterClarificationExecutor.d.ts.map +1 -1
  40. package/dist/audit/orchestrator/charterClarificationExecutor.js +55 -21
  41. package/dist/audit/orchestrator/charterClarificationExecutor.js.map +1 -1
  42. package/dist/audit/orchestrator/flowCoverage.d.ts.map +1 -1
  43. package/dist/audit/orchestrator/flowCoverage.js +7 -10
  44. package/dist/audit/orchestrator/flowCoverage.js.map +1 -1
  45. package/dist/audit/orchestrator/flowPlanning.d.ts +54 -1
  46. package/dist/audit/orchestrator/flowPlanning.d.ts.map +1 -1
  47. package/dist/audit/orchestrator/flowPlanning.js +77 -18
  48. package/dist/audit/orchestrator/flowPlanning.js.map +1 -1
  49. package/dist/audit/orchestrator/flowRequeue.d.ts.map +1 -1
  50. package/dist/audit/orchestrator/flowRequeue.js +6 -10
  51. package/dist/audit/orchestrator/flowRequeue.js.map +1 -1
  52. package/dist/audit/orchestrator/requeueFold.d.ts.map +1 -1
  53. package/dist/audit/orchestrator/requeueFold.js +18 -5
  54. package/dist/audit/orchestrator/requeueFold.js.map +1 -1
  55. package/dist/audit/orchestrator/staleness.d.ts +24 -1
  56. package/dist/audit/orchestrator/staleness.d.ts.map +1 -1
  57. package/dist/audit/orchestrator/staleness.js +147 -16
  58. package/dist/audit/orchestrator/staleness.js.map +1 -1
  59. package/dist/audit/orchestrator/syntaxResolutionExecutor.d.ts +26 -0
  60. package/dist/audit/orchestrator/syntaxResolutionExecutor.d.ts.map +1 -1
  61. package/dist/audit/orchestrator/syntaxResolutionExecutor.js +97 -12
  62. package/dist/audit/orchestrator/syntaxResolutionExecutor.js.map +1 -1
  63. package/dist/audit/orchestrator/taskBuilder.d.ts.map +1 -1
  64. package/dist/audit/orchestrator/taskBuilder.js +111 -21
  65. package/dist/audit/orchestrator/taskBuilder.js.map +1 -1
  66. package/dist/audit/orchestrator/trivialAudit.d.ts +17 -1
  67. package/dist/audit/orchestrator/trivialAudit.d.ts.map +1 -1
  68. package/dist/audit/orchestrator/trivialAudit.js +31 -4
  69. package/dist/audit/orchestrator/trivialAudit.js.map +1 -1
  70. package/dist/audit/types/analyzerCapability.d.ts +6 -6
  71. package/dist/audit/types/charterRegister.d.ts +30 -12
  72. package/dist/audit/types/charterRegister.d.ts.map +1 -1
  73. package/dist/audit/types/charterRegister.js +22 -9
  74. package/dist/audit/types/charterRegister.js.map +1 -1
  75. package/dist/audit/validation/anchorGrounding.d.ts.map +1 -1
  76. package/dist/audit/validation/anchorGrounding.js +17 -0
  77. package/dist/audit/validation/anchorGrounding.js.map +1 -1
  78. package/dist/audit/validation/auditResults.d.ts +17 -0
  79. package/dist/audit/validation/auditResults.d.ts.map +1 -1
  80. package/dist/audit/validation/auditResults.js +50 -17
  81. package/dist/audit/validation/auditResults.js.map +1 -1
  82. package/dist/remediate/contractPipeline/cyclicSeamResolution.d.ts +48 -0
  83. package/dist/remediate/contractPipeline/cyclicSeamResolution.d.ts.map +1 -1
  84. package/dist/remediate/contractPipeline/cyclicSeamResolution.js +128 -0
  85. package/dist/remediate/contractPipeline/cyclicSeamResolution.js.map +1 -1
  86. package/dist/remediate/contractPipeline/derive.d.ts +8 -5
  87. package/dist/remediate/contractPipeline/derive.d.ts.map +1 -1
  88. package/dist/remediate/contractPipeline/derive.js +8 -16
  89. package/dist/remediate/contractPipeline/derive.js.map +1 -1
  90. package/dist/remediate/index.d.ts.map +1 -1
  91. package/dist/remediate/index.js +43 -2
  92. package/dist/remediate/index.js.map +1 -1
  93. package/dist/remediate/intent/intentOrdering.d.ts +13 -5
  94. package/dist/remediate/intent/intentOrdering.d.ts.map +1 -1
  95. package/dist/remediate/intent/intentOrdering.js +56 -25
  96. package/dist/remediate/intent/intentOrdering.js.map +1 -1
  97. package/dist/remediate/phases/close.d.ts +57 -2
  98. package/dist/remediate/phases/close.d.ts.map +1 -1
  99. package/dist/remediate/phases/close.js +260 -36
  100. package/dist/remediate/phases/close.js.map +1 -1
  101. package/dist/remediate/state/disposition.d.ts +26 -4
  102. package/dist/remediate/state/disposition.d.ts.map +1 -1
  103. package/dist/remediate/state/itemStatus.d.ts +33 -6
  104. package/dist/remediate/state/itemStatus.d.ts.map +1 -1
  105. package/dist/remediate/state/itemStatus.js +154 -39
  106. package/dist/remediate/state/itemStatus.js.map +1 -1
  107. package/dist/remediate/state/types.d.ts +41 -2
  108. package/dist/remediate/state/types.d.ts.map +1 -1
  109. package/dist/remediate/state/types.js.map +1 -1
  110. package/dist/remediate/steps/contractPipeline.d.ts +287 -15
  111. package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
  112. package/dist/remediate/steps/contractPipeline.js +1655 -981
  113. package/dist/remediate/steps/contractPipeline.js.map +1 -1
  114. package/dist/remediate/steps/dispatch/hostHandoff.d.ts +137 -2
  115. package/dist/remediate/steps/dispatch/hostHandoff.d.ts.map +1 -1
  116. package/dist/remediate/steps/dispatch/hostHandoff.js +713 -59
  117. package/dist/remediate/steps/dispatch/hostHandoff.js.map +1 -1
  118. package/dist/remediate/steps/finalGate.d.ts +136 -37
  119. package/dist/remediate/steps/finalGate.d.ts.map +1 -1
  120. package/dist/remediate/steps/finalGate.js +120 -86
  121. package/dist/remediate/steps/finalGate.js.map +1 -1
  122. package/dist/remediate/steps/gateCommands.d.ts +8 -0
  123. package/dist/remediate/steps/gateCommands.d.ts.map +1 -1
  124. package/dist/remediate/steps/gateCommands.js +40 -11
  125. package/dist/remediate/steps/gateCommands.js.map +1 -1
  126. package/dist/remediate/steps/nextStep.d.ts +96 -5
  127. package/dist/remediate/steps/nextStep.d.ts.map +1 -1
  128. package/dist/remediate/steps/nextStep.js +668 -147
  129. package/dist/remediate/steps/nextStep.js.map +1 -1
  130. package/dist/remediate/steps/types.d.ts +4 -1
  131. package/dist/remediate/steps/types.d.ts.map +1 -1
  132. package/dist/remediate/steps/types.js +10 -0
  133. package/dist/remediate/steps/types.js.map +1 -1
  134. package/dist/remediate/validation/artifacts.d.ts +20 -0
  135. package/dist/remediate/validation/artifacts.d.ts.map +1 -1
  136. package/dist/remediate/validation/artifacts.js +239 -13
  137. package/dist/remediate/validation/artifacts.js.map +1 -1
  138. package/dist/remediate/validation/contractPipelineGates.d.ts +58 -0
  139. package/dist/remediate/validation/contractPipelineGates.d.ts.map +1 -1
  140. package/dist/remediate/validation/contractPipelineGates.js +143 -27
  141. package/dist/remediate/validation/contractPipelineGates.js.map +1 -1
  142. package/dist/shared/analyzers/acquisitionEngine.d.ts +72 -25
  143. package/dist/shared/analyzers/acquisitionEngine.d.ts.map +1 -1
  144. package/dist/shared/analyzers/acquisitionEngine.js +149 -15
  145. package/dist/shared/analyzers/acquisitionEngine.js.map +1 -1
  146. package/dist/shared/analyzers/binaryAcquisition.d.ts +27 -2
  147. package/dist/shared/analyzers/binaryAcquisition.d.ts.map +1 -1
  148. package/dist/shared/analyzers/binaryAcquisition.js +149 -43
  149. package/dist/shared/analyzers/binaryAcquisition.js.map +1 -1
  150. package/dist/shared/analyzers/candidates.d.ts +9 -8
  151. package/dist/shared/analyzers/candidates.d.ts.map +1 -1
  152. package/dist/shared/analyzers/candidates.js +96 -64
  153. package/dist/shared/analyzers/candidates.js.map +1 -1
  154. package/dist/shared/analyzers/normalizeExternal.d.ts +40 -12
  155. package/dist/shared/analyzers/normalizeExternal.d.ts.map +1 -1
  156. package/dist/shared/analyzers/normalizeExternal.js +74 -18
  157. package/dist/shared/analyzers/normalizeExternal.js.map +1 -1
  158. package/dist/shared/analyzers/rubocop.d.ts +14 -13
  159. package/dist/shared/analyzers/rubocop.d.ts.map +1 -1
  160. package/dist/shared/analyzers/rubocop.js +29 -6
  161. package/dist/shared/analyzers/rubocop.js.map +1 -1
  162. package/dist/shared/analyzers/types.d.ts +196 -13
  163. package/dist/shared/analyzers/types.d.ts.map +1 -1
  164. package/dist/shared/analyzers/types.js +122 -9
  165. package/dist/shared/analyzers/types.js.map +1 -1
  166. package/dist/shared/decompose/charterClarification.d.ts +12 -1
  167. package/dist/shared/decompose/charterClarification.d.ts.map +1 -1
  168. package/dist/shared/decompose/charterClarification.js +11 -4
  169. package/dist/shared/decompose/charterClarification.js.map +1 -1
  170. package/dist/shared/decompose/charterExtraction.d.ts +20 -10
  171. package/dist/shared/decompose/charterExtraction.d.ts.map +1 -1
  172. package/dist/shared/decompose/charterExtraction.js +52 -23
  173. package/dist/shared/decompose/charterExtraction.js.map +1 -1
  174. package/dist/shared/intent/freeFormIntentInterpreter.d.ts +12 -2
  175. package/dist/shared/intent/freeFormIntentInterpreter.d.ts.map +1 -1
  176. package/dist/shared/intent/freeFormIntentInterpreter.js +27 -22
  177. package/dist/shared/intent/freeFormIntentInterpreter.js.map +1 -1
  178. package/dist/shared/intent/pathScope.d.ts +12 -1
  179. package/dist/shared/intent/pathScope.d.ts.map +1 -1
  180. package/dist/shared/intent/pathScope.js +56 -19
  181. package/dist/shared/intent/pathScope.js.map +1 -1
  182. package/dist/shared/intent/sharedIntentData.d.ts +19 -1
  183. package/dist/shared/intent/sharedIntentData.d.ts.map +1 -1
  184. package/dist/shared/intent/sharedIntentData.js +33 -8
  185. package/dist/shared/intent/sharedIntentData.js.map +1 -1
  186. package/dist/shared/io/fileLock.d.ts +12 -0
  187. package/dist/shared/io/fileLock.d.ts.map +1 -1
  188. package/dist/shared/io/fileLock.js +48 -5
  189. package/dist/shared/io/fileLock.js.map +1 -1
  190. package/dist/shared/io/json.d.ts +13 -0
  191. package/dist/shared/io/json.d.ts.map +1 -1
  192. package/dist/shared/io/json.js +19 -1
  193. package/dist/shared/io/json.js.map +1 -1
  194. package/dist/shared/steps/stepEmissionScaffold.d.ts +69 -0
  195. package/dist/shared/steps/stepEmissionScaffold.d.ts.map +1 -0
  196. package/dist/shared/steps/stepEmissionScaffold.js +83 -0
  197. package/dist/shared/steps/stepEmissionScaffold.js.map +1 -0
  198. package/dist/shared/submission/handRecovery.d.ts.map +1 -1
  199. package/dist/shared/submission/handRecovery.js +69 -4
  200. package/dist/shared/submission/handRecovery.js.map +1 -1
  201. package/dist/shared/submission/submissionIdentity.d.ts +10 -1
  202. package/dist/shared/submission/submissionIdentity.d.ts.map +1 -1
  203. package/dist/shared/submission/submissionIdentity.js +12 -3
  204. package/dist/shared/submission/submissionIdentity.js.map +1 -1
  205. package/dist/shared/submission/submissionLedger.d.ts +43 -2
  206. package/dist/shared/submission/submissionLedger.d.ts.map +1 -1
  207. package/dist/shared/submission/submissionLedger.js +50 -7
  208. package/dist/shared/submission/submissionLedger.js.map +1 -1
  209. package/dist/shared/tooling/allowlistedExec.d.ts +9 -0
  210. package/dist/shared/tooling/allowlistedExec.d.ts.map +1 -1
  211. package/dist/shared/tooling/allowlistedExec.js +19 -2
  212. package/dist/shared/tooling/allowlistedExec.js.map +1 -1
  213. package/dist/shared/types/charter.d.ts +24 -0
  214. package/dist/shared/types/charter.d.ts.map +1 -1
  215. package/dist/shared/types/charter.js +9 -0
  216. package/dist/shared/types/charter.js.map +1 -1
  217. package/dist/shared/types/remediationOutcome.d.ts +282 -9
  218. package/dist/shared/types/remediationOutcome.d.ts.map +1 -1
  219. package/dist/shared/types/remediationOutcome.js +174 -1
  220. package/dist/shared/types/remediationOutcome.js.map +1 -1
  221. package/package.json +2 -1
  222. package/remediate-code.mjs +15 -0
  223. package/wrapper/remediate-code-wrapper-install-hosts.mjs +45 -4
  224. package/wrapper/remediate-code-wrapper-install-renderers.mjs +12 -2
@@ -2,6 +2,8 @@ import { z } from "zod";
2
2
  import type { RemediationItemStatus } from "./itemStatus.js";
3
3
  import type { Finding, RemediationOutcome, MechanicalVerification } from "audit-tools/shared";
4
4
  export type { Finding };
5
+ import type { Evidence } from "../../shared/types/remediationOutcome.js";
6
+ import type { PerFindingDisposition } from "./disposition.js";
5
7
  export declare const RemediationBlockSchema: z.ZodObject<{
6
8
  block_id: z.ZodString;
7
9
  items: z.ZodArray<z.ZodString, "many">;
@@ -475,7 +477,6 @@ export declare const RemediationPlanSchema: z.ZodObject<{
475
477
  rule?: string | undefined;
476
478
  } | undefined;
477
479
  }[];
478
- plan_id: string;
479
480
  blocks: {
480
481
  items: string[];
481
482
  block_id: string;
@@ -487,6 +488,7 @@ export declare const RemediationPlanSchema: z.ZodObject<{
487
488
  phase_ordinal?: number | undefined;
488
489
  cofile_parallel_safe?: boolean | undefined;
489
490
  }[];
491
+ plan_id: string;
490
492
  project_type: string;
491
493
  candidate_closing_actions: ("push" | "custom" | "none" | "tag" | "commit" | "open-pr" | "publish")[];
492
494
  themes?: {
@@ -557,7 +559,6 @@ export declare const RemediationPlanSchema: z.ZodObject<{
557
559
  rule?: string | undefined;
558
560
  } | undefined;
559
561
  }[];
560
- plan_id: string;
561
562
  blocks: {
562
563
  items: string[];
563
564
  block_id: string;
@@ -569,6 +570,7 @@ export declare const RemediationPlanSchema: z.ZodObject<{
569
570
  phase_ordinal?: number | undefined;
570
571
  cofile_parallel_safe?: boolean | undefined;
571
572
  }[];
573
+ plan_id: string;
572
574
  project_type: string;
573
575
  candidate_closing_actions: ("push" | "custom" | "none" | "tag" | "commit" | "open-pr" | "publish")[];
574
576
  themes?: {
@@ -916,5 +918,42 @@ export interface RemediationItemState {
916
918
  * the cap is hit) instead of re-dispatching the same worker indefinitely.
917
919
  */
918
920
  incomplete_coverage_attempts?: number;
921
+ /**
922
+ * CDC-25/CDC-26 — SOURCE-SIDE SHAPE. The per-finding verification-evidence
923
+ * triple (file/line/mechanism) a producing module RECORDS onto this item at
924
+ * its OWN phase (INV-COVERAGE's "evidence producer" half) before the single
925
+ * run-terminal `runClosePhase` PERSISTS it (INV-ISC-EVIDENCE-EMITTED). A
926
+ * runtime data flow through this already-existing state item, not a
927
+ * build-phase dependency: no cross-phase artifact token is minted for it.
928
+ * This field lives here — inside item-status-partition-and-close's own
929
+ * file_scope — and is therefore owned BY SCOPE, not by a clause 1(c)
930
+ * declaration (that channel is only for a file outside every module's
931
+ * file_scope, as `src/shared/types/remediationOutcome.ts` needed one for the
932
+ * matching widened record shape). No other module edits this file.
933
+ */
934
+ evidence?: Evidence;
935
+ /**
936
+ * CDC-25 — which module recorded {@link evidence} (and, where set,
937
+ * {@link disposition_override}) for this finding. Carried byte-exact into the
938
+ * emitted outcome record's `recorded_by_module` (the ATTRIBUTION ROUND-TRIP)
939
+ * so the 26 INV-COVERAGE joins' condition (3) can still tell which module
940
+ * closed which id — the writer must never re-derive this or drop it.
941
+ */
942
+ recorded_by_module?: string;
943
+ /**
944
+ * CDC-25 — a producing module's own-phase determination that this finding's
945
+ * true disposition is `verified_already_fixed` or `refuted` rather than the
946
+ * disposition ordinarily derived from {@link status} alone.
947
+ * `RemediationItemStatus` stays a closed 12-member enum with no
948
+ * `verified_already_fixed`/`refuted` values of its own; the two new
949
+ * `PerFindingDisposition` members are reached ONLY through this explicit
950
+ * override (see `resolveDisposition` in `itemStatus.ts`), and only honoured
951
+ * by the writer when this item's {@link status} is terminal and its
952
+ * {@link evidence} triple is complete (INV-ISC-EVIDENCE-EMITTED) — an
953
+ * incomplete triple makes the writer refuse the override and fall back to a
954
+ * non-terminal, force-closed outcome instead of a green close on assertion
955
+ * alone.
956
+ */
957
+ disposition_override?: PerFindingDisposition;
919
958
  }
920
959
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/remediate/state/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAM7D,OAAO,KAAK,EACV,OAAO,EACP,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EAAE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AAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;IAC/B,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C;;;;OAIG;IACH,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtC;;;;OAIG;IACH,sBAAsB,EAAE,0BAA0B,CAAC,QAAQ,EAAE;CAC9D,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import { type ValidationIssue, type JudgeReport, type WorkBlock, type WorkBlockSeam } from "audit-tools/shared";
2
+ import { readIntakeRiskSignal, type AdversarialDepth } from "../riskSignal.js";
3
+ import { type ContractPipelineCrossGateInputs, type GateOutcome } from "../validation/contractPipelineGates.js";
2
4
  import type { Finding } from "audit-tools/shared";
3
5
  import type { ContractPipelineArtifactName } from "../contractPipeline/artifactStore.js";
4
6
  import type { RemediationStep } from "./types.js";
7
+ import { intakePaths } from "../intake.js";
5
8
  /**
6
9
  * Runaway backstop for the judge↔repair loop — the LOUD exception path, NOT the
7
10
  * normal terminator. The loop normally terminates by *convergence*: it keeps
@@ -24,11 +27,17 @@ export declare const MAX_DAG_REGENERATION_ATTEMPTS = 2;
24
27
  export declare const MAX_CYCLIC_SEAM_RESOLUTION_ATTEMPTS = 2;
25
28
  export interface CyclicSeamRepairState {
26
29
  schema_version: "remediate-code-contract-pipeline/cyclic-seam-repair-state/v1alpha1";
27
- /** Each attempt to resolve the detected cycles (keyed by obligation_ledger hash). */
30
+ /**
31
+ * Each attempt to resolve the detected cycles (keyed by obligation_ledger
32
+ * hash). `recheck_reason` records WHY the re-check rejected an attempt, so the
33
+ * next resolution prompt can state it instead of re-asking for the same claim
34
+ * and burning the attempt cap on an unexplained retry.
35
+ */
28
36
  attempts: {
29
37
  ledger_hash: string;
30
38
  at: string;
31
39
  recheck_passed: boolean;
40
+ recheck_reason?: string;
32
41
  }[];
33
42
  /** Whether a user-decision step has been emitted. */
34
43
  user_decision_emitted: boolean;
@@ -116,6 +125,15 @@ export interface ContractPipelineStepOptions {
116
125
  artifactsDir: string;
117
126
  runId: string;
118
127
  sourcePaths?: string[];
128
+ /**
129
+ * The same DI seam {@link archiveContractArtifact} already exposes, lifted to
130
+ * the entry point so a FAILED history move is reachable from an end-to-end
131
+ * test. Undefined uses `node:fs/promises` rename, so production behavior is
132
+ * unchanged. It exists because the archive-failure branch (COR-114e4941) is a
133
+ * correctness gate whose whole point is what the pipeline does when the move
134
+ * does not succeed — a branch no fixture can reach by arranging files.
135
+ */
136
+ renameFn?: (from: string, to: string) => Promise<void>;
119
137
  }
120
138
  export interface PathASeed {
121
139
  schema_version: "remediate-code-contract-pipeline/path-a-seed/v1alpha2";
@@ -135,6 +153,24 @@ export interface PathASeed {
135
153
  work_blocks: WorkBlock[];
136
154
  /** Explicit cross-block overlaps; required seams must be prepared before refactors. */
137
155
  work_block_seams: WorkBlockSeam[];
156
+ /**
157
+ * Seed source-digest binding. One sha256 per source path the seed was built
158
+ * FROM, recorded at seed-build time: the audit-findings file itself plus every
159
+ * `affected_files` path that existed on disk. `buildNextContractPipelineStep`
160
+ * re-hashes each on entry and refuses when one no longer matches, instead of
161
+ * spending a whole design pipeline on content that no longer holds the
162
+ * findings the seed enumerates.
163
+ *
164
+ * OPTIONAL for READING, always written for WRITING: a seed persisted before
165
+ * this field existed carries none, and an absent list binds nothing rather
166
+ * than blocking a run mid-flight. Paths are stored exactly as the seed knows
167
+ * them — the findings path absolute, `affected_files` repo-relative — and the
168
+ * verifier resolves a relative entry against the repo root it is handed.
169
+ */
170
+ source_digests?: Array<{
171
+ path: string;
172
+ sha256: string;
173
+ }>;
138
174
  created_at: string;
139
175
  }
140
176
  /**
@@ -144,6 +180,22 @@ export interface PathASeed {
144
180
  * include its contents so every pipeline node traces to an auditor finding.
145
181
  */
146
182
  export declare function writePathASeedFromFindings(artifactsDir: string, auditFindingsPath: string, auditFindings: unknown): Promise<void>;
183
+ /** One seed-recorded source path whose content no longer matches its digest. */
184
+ export interface SeedSourceDigestMismatch {
185
+ path: string;
186
+ expected: string;
187
+ /** The path's current sha256, or `null` when it is no longer readable. */
188
+ actual: string | null;
189
+ }
190
+ /**
191
+ * Seed source-digest binding — re-hash every path the path_a seed recorded and
192
+ * report the ones that moved. Pure over (root, seed): the caller decides what a
193
+ * mismatch means, so this is directly red-green testable without a pipeline.
194
+ *
195
+ * A seed with no `source_digests` (written before the field existed) binds
196
+ * nothing and yields no mismatches.
197
+ */
198
+ export declare function detectSeedSourceDigestMismatches(root: string, seed: PathASeed | undefined): Promise<SeedSourceDigestMismatch[]>;
147
199
  /**
148
200
  * When a judge report omits `repair_directive`, infer the repair target from
149
201
  * the failing classifications. Post-redesign the default is
@@ -212,18 +264,18 @@ export interface ContractObligationsGateResult {
212
264
  }
213
265
  /**
214
266
  * Run the fail-closed contract-obligation gates against the persisted contract
215
- * artifacts. Aggregates:
216
- * - validatePairedObligations (obligation_ledger × test_validator_plan)
217
- * - validateEvidenceThreaded (assessment × judge × implementation_dag)
218
- * - validateDigestCoverage (goal_spec.source_type × finding-enumeration × ledger)
219
- * - validateReconciliationDerivation (seam report × finalized contracts)
267
+ * artifacts: paired obligations, evidence threading, source-scoped digest
268
+ * coverage, and INV-CO-12 reconciliation derivation.
220
269
  *
221
- * Only error-severity issues fail the gate. Each gate is individually tolerant
222
- * of an absent input artifact (the upstream phase order guarantees presence by
223
- * the time this runs, except the source-scoped digest-coverage check which is
224
- * vacuous for non-enumerable sources).
270
+ * Branch on `evaluated` before trusting emptiness. This no longer flattens four `ValidationIssue[]`
271
+ * into one array, where a gate that never RAN and a gate that ran CLEAN both
272
+ * contributed nothing and were indistinguishable. It consumes the shared
273
+ * gate-outcome record and branches on `evaluated` first: at this boundary every
274
+ * phase artifact exists, so a skipped gate is a violation, not a pass. See
275
+ * {@link consumeGateOutcomes} for the per-boundary `required` policy and the one
276
+ * declared exception (`digest_coverage`).
225
277
  */
226
- export declare function evaluateContractObligationsPromotionGate(artifactsDir: string): Promise<ContractObligationsGateResult>;
278
+ export declare function evaluateContractObligationsPromotionGate(artifactsDir: string, root?: string, inputs?: ContractPipelineCrossGateInputs): Promise<ContractObligationsGateResult>;
227
279
  /**
228
280
  * Pre-adversarial structural floor (S5). The subset of the contract-obligation
229
281
  * gates whose inputs all exist by the time the critic phase is reached
@@ -238,10 +290,13 @@ export declare function evaluateContractObligationsPromotionGate(artifactsDir: s
238
290
  * at promotion as the fail-closed backstop; this gate never replaces it.
239
291
  *
240
292
  * Returns the first failing gate's responsible phase + rendered error lines, or
241
- * null when the structural floor is clean. Each underlying validator is tolerant
242
- * of an absent input, so this is safe to call at the critic boundary.
293
+ * null when the structural floor is clean. Branches on each outcome's
294
+ * `evaluated` before its empty issue list is allowed to mean clean
295
+ * (the branch-on-evaluated rule); `contract_finalization`, `seam_reconciliation`
296
+ * and `test_validator_plan` all precede `critic` in the phase order, so a
297
+ * skipped gate here is a malformed payload rather than an absent one.
243
298
  */
244
- export declare function evaluatePreCriticStructuralGate(artifactsDir: string): Promise<{
299
+ export declare function evaluatePreCriticStructuralGate(artifactsDir: string, root?: string, inputs?: ContractPipelineCrossGateInputs): Promise<{
245
300
  phase: "contract_finalization" | "test_validator_plan";
246
301
  errorLines: string[];
247
302
  } | null>;
@@ -258,16 +313,233 @@ declare const PARALLEL_MODULE_PHASES: {
258
313
  };
259
314
  type ParallelModulePhase = keyof typeof PARALLEL_MODULE_PHASES;
260
315
  export declare function isParallelModulePhase(phase: string): phase is ParallelModulePhase;
316
+ /**
317
+ * Everything a gate is handed. Assembled once per invocation, then passed to
318
+ * every gate in the walk, so each gate is a module-level function that can be
319
+ * called and tested on its own.
320
+ *
321
+ * Two fields are deliberately MUTABLE, each written by exactly one gate:
322
+ * • `artifactsSettled` — set by the staleness gate once this invocation's own
323
+ * ingestion + archive pass has run. {@link readCrossGatePayloads} REFUSES
324
+ * before it is set, which is how the branch-on-evaluated invariant's freshness
325
+ * half is enforced mechanically instead of by a caller remembering to
326
+ * re-read: a payload cached from before the pass is unrepresentable.
327
+ * • `nextPhase` — the phase frontier, resolved AFTER the archive pass because
328
+ * archiving a stale artifact re-opens its producing phase.
329
+ */
330
+ export interface ContractGateContext {
331
+ readonly options: ContractPipelineStepOptions;
332
+ readonly root: string;
333
+ readonly artifactsDir: string;
334
+ readonly runId: string;
335
+ readonly sourcePaths?: string[];
336
+ readonly paths: ReturnType<typeof intakePaths>;
337
+ readonly artifactPaths: Partial<Record<ContractPipelineArtifactName, string>>;
338
+ /** Present only for structured_audit (path-A) runs. */
339
+ readonly pathASeedPath?: string;
340
+ readonly riskSignal: Awaited<ReturnType<typeof readIntakeRiskSignal>>;
341
+ readonly adversarialDepth: AdversarialDepth | undefined;
342
+ artifactsSettled: boolean;
343
+ nextPhase: string | null;
344
+ }
345
+ /** The verdict a call site derives from a subset of the shared gate outcomes. */
346
+ export interface CrossGateVerdict {
347
+ ok: boolean;
348
+ violations: string[];
349
+ }
350
+ /**
351
+ * Consume a subset of the shared cross-gate outcomes, branching on `evaluated`
352
+ * BEFORE an empty `issues` array is allowed to mean "clean".
353
+ *
354
+ * `required` is DECLARED PER CALL SITE, as data, because "did not run" means
355
+ * different things at different boundaries. At a boundary whose upstream phase
356
+ * order guarantees the gate's input exists, a skip is a refusal — its empty
357
+ * issue list is proof of nothing. Earlier in the pipeline the same skip means
358
+ * "not applicable yet", and the gate is simply not required there.
359
+ *
360
+ * THE UNCOVERED HALF, stated rather than implied: `digest_coverage` is the one
361
+ * gate of the eight whose skip is a DOMAIN non-applicability (a source that is
362
+ * not finding-enumerable) rather than a missing payload, so no boundary lists
363
+ * it as required and a genuinely absent finding-enumeration file for an
364
+ * enumerable source still skips silently. Closing that needs the gate module to
365
+ * expose its enumerability predicate — an edit outside this work item's write
366
+ * scope.
367
+ */
368
+ export declare function consumeGateOutcomes(outcomes: readonly GateOutcome[], selected: readonly GateOutcome["gate"][], required: ReadonlySet<GateOutcome["gate"]>): CrossGateVerdict;
369
+ /**
370
+ * The gate walk order, exported so a drift guard reads the real set instead of
371
+ * reconstructing one by reflecting over a chain of `if` statements.
372
+ *
373
+ * This and the scaffold's `handledKeys` are BOTH `Object.keys` of the SAME
374
+ * object literal, and the walk consumes `handledKeys` directly — so the two
375
+ * agree by construction, not by a test that compares them. No such test exists,
376
+ * and none is needed: there is no second list to drift from.
377
+ */
378
+ export declare const CONTRACT_PIPELINE_GATE_ORDER: readonly string[];
261
379
  /**
262
380
  * Build and write the next contract-pipeline step.
263
381
  * Returns null when the pipeline is complete and the extracted plan is ready.
264
382
  */
265
383
  export declare function buildNextContractPipelineStep(options: ContractPipelineStepOptions): Promise<RemediationStep | null>;
384
+ /**
385
+ * The obligation-kind vocabulary, in priority order (higher index = higher
386
+ * priority; `invariant` is highest).
387
+ *
388
+ * MNT-114e4941-3: this used to be a THIRD independent copy of the vocabulary —
389
+ * a local `type ObligationKind` union beside derive.ts's `TESTABLE_KINDS` and
390
+ * contractPipelineGates.ts's `TESTABLE_OBLIGATION_KINDS`, with nothing forcing
391
+ * the three to agree, while the ledger's own `obligation.kind` is typed as a
392
+ * bare `string`. The consequence was not theoretical: an unrecognized kind was
393
+ * CAST to this union, scored -1 by `indexOf`, and then indexed the lens map to
394
+ * `undefined` — so a ledger kind outside these four promoted a finding with
395
+ * `lens: undefined`.
396
+ *
397
+ * It is now single-sourced two ways at once:
398
+ * • MEMBERSHIP — {@link obligationKindVocabularyDivergence} reconciles this
399
+ * list against the gate module's exported `TESTABLE_OBLIGATION_KINDS`, so a
400
+ * kind added there and not here is a red contract test rather than a silent
401
+ * misclassification;
402
+ * • SEMANTICS — an unrecognized kind is not dropped or cast. It is routed
403
+ * through the gate module's own `isTestablePhaseObligation` predicate, so
404
+ * the two modules answer "is this kind testable?" with ONE implementation.
405
+ */
406
+ export declare const OBLIGATION_KIND_PRIORITY: readonly ["test", "structural", "behavioral", "invariant"];
407
+ export type ObligationKind = (typeof OBLIGATION_KIND_PRIORITY)[number];
408
+ /**
409
+ * Classify a raw ledger `kind` string (which the ledger types as a bare
410
+ * `string`) into this module's vocabulary. A recognized kind maps to itself; an
411
+ * unrecognized one is classified by the SHARED testability predicate rather
412
+ * than guessed here — testable ⇒ `behavioral` (the testable default, so it
413
+ * carries a real lens and a mid severity), otherwise ⇒ `structural`.
414
+ */
415
+ export declare function classifyObligationKind(kind: string): ObligationKind;
416
+ /**
417
+ * Kinds the gate module declares TESTABLE that this module's vocabulary does
418
+ * not carry — the drift MNT-114e4941-3 names, reported as data so a contract
419
+ * test can go red on it instead of a reviewer having to notice.
420
+ * Empty when the two agree.
421
+ */
422
+ export declare function obligationKindVocabularyDivergence(): string[];
423
+ /**
424
+ * Normalize one block's declared write scope into repo-relative, forward-slashed,
425
+ * unique, sorted paths, refusing outright anything that leaves the repository.
426
+ *
427
+ * Case is PRESERVED (`repoRelativePath`, not the lowercasing
428
+ * `normalizeRepoPath`): this string is the write scope a host enforces against a
429
+ * landed diff on a case-sensitive filesystem, so lowercasing it would make a
430
+ * legitimate edit look out of scope. Lowercasing is used only as a MATCH key,
431
+ * never as the stored value.
432
+ *
433
+ * The tracked-tree half is NOT here: see
434
+ * {@link evaluatePromotedPlanWriteScope}, which runs at this same promotion
435
+ * boundary with a bounded re-emit instead of an unrecoverable throw.
436
+ */
437
+ export interface BlockWriteScopeNormalization {
438
+ /** The entries that normalized cleanly, repo-relative, unique and sorted. */
439
+ touched_files: string[];
440
+ /** One line per REFUSED entry. Non-empty ⇒ the caller must not promote. */
441
+ refusals: string[];
442
+ }
443
+ export declare function normalizeBlockTouchedFiles(root: string, files: readonly string[], blockId: string): BlockWriteScopeNormalization;
444
+ /**
445
+ * The tracked-tree half of The normalized-write-scope invariant, run against
446
+ * the PROMOTED plan so a violation takes the same bounded re-emit path the M-B3
447
+ * citation gate takes, rather than throwing out of the promotion.
448
+ *
449
+ * It exists because the citation gate is NOT a superset: a finding grounds if
450
+ * ANY cited path OR SYMBOL is real, so a node whose prose names a real symbol
451
+ * can ground while its declared write scope is still fabricated — and the write
452
+ * scope is what a host binds a worker to.
453
+ *
454
+ * A path that is not tracked but whose parent directory IS stays legal: a
455
+ * remediation block legitimately creates new files, and dropping a declared
456
+ * write target is the failure mode that strands an implementer with an
457
+ * obligation it has no scope to discharge. Fail-open on an unreadable tree, as
458
+ * the citation gate does.
459
+ */
460
+ export declare function evaluatePromotedPlanWriteScope(artifactsDir: string, root: string): Promise<{
461
+ violations: string[];
462
+ } | null>;
463
+ /**
464
+ * Refuse a targeted command that leaves the declared shape — a single
465
+ * invocation with no shell chaining, substitution or redirection. Deliberately
466
+ * ecosystem-neutral: this module never asserts WHICH runner is legitimate
467
+ * (language-neutral by contract), only that the string handed to a shell cannot
468
+ * do more than invoke one command.
469
+ *
470
+ * Refusals are RETURNED, never thrown: the promotion boundary turns them into
471
+ * the same bounded re-emit every other promotion rejection takes, so a
472
+ * malformed command re-emits implementation_planning instead of wedging every
473
+ * subsequent next-step with an unclassified stack.
474
+ */
475
+ export interface BlockCommandNormalization {
476
+ targeted_commands: string[];
477
+ /** One line per REFUSED command. Non-empty ⇒ the caller must not promote. */
478
+ refusals: string[];
479
+ }
480
+ export declare function normalizeBlockTargetedCommands(commands: readonly string[], blockId: string): BlockCommandNormalization;
481
+ /**
482
+ * Collect every write-scope and command refusal the promotion WOULD hit, before
483
+ * a plan is written. Runs the same two normalizers over the same derived node
484
+ * scope the promoter uses, so this pre-check and the promotion cannot disagree
485
+ * about what is refusable — and the refusal reaches the host as the bounded
486
+ * `implementation_planning` re-emit every other promotion rejection takes,
487
+ * rather than as a thrown stack that wedges every subsequent next-step.
488
+ */
489
+ export declare function collectDagWriteScopeRefusals(artifactsDir: string, root: string): Promise<string[]>;
266
490
  /**
267
491
  * Convert a completed ImplementationDAG into the extracted-plan.json format
268
492
  * that the existing handlePendingExtractedPlan/applyPlanPipeline path consumes.
493
+ *
494
+ * `root` defaults to the repository that owns `artifactsDir`, so the existing
495
+ * one-argument callers keep working while the pipeline passes the run's real
496
+ * root for write-scope normalization.
497
+ */
498
+ export declare function promoteImplementationDagToExtractedPlan(artifactsDir: string, root?: string): Promise<void>;
499
+ /**
500
+ * The PINNED shape of everything this module's two planning producers decide —
501
+ * `promoteImplementationDagToExtractedPlan`'s canonical block membership and
502
+ * normalized write scope, and `writePathASeedFromFindings`' sha256 baselines —
503
+ * exported as ONE record so the regression guard that pins them imports a real
504
+ * contract instead of re-deriving the plan's internals from JSON by hand.
505
+ *
506
+ * CDC-03: the guard consumes this token, so the phase deriver places it adjacent
507
+ * to this module rather than four phases later, and a change to block membership
508
+ * goes red in the phase immediately after this one.
509
+ *
510
+ * `estimated_tokens` is byte-derived and LOCAL (`estimateTokensFromBytes`) — it
511
+ * describes content size only and is never a backend-fit claim; audit-tools does
512
+ * not route.
513
+ */
514
+ export interface ContractPipelinePlanningOutputs {
515
+ /** Canonical membership + normalized write scope, in block-id order. */
516
+ block_membership: Array<{
517
+ block_id: string;
518
+ items: string[];
519
+ touched_files: string[];
520
+ targeted_commands: string[];
521
+ }>;
522
+ /** Every promoted finding id, and whether each is claimed by exactly one block. */
523
+ coverage: {
524
+ finding_ids: string[];
525
+ exhaustive_once: boolean;
526
+ };
527
+ /** Byte-derived per-block estimate over the findings the block claims. */
528
+ token_estimates: Array<{
529
+ block_id: string;
530
+ estimated_tokens: number;
531
+ }>;
532
+ /** The path_a seed's recorded per-path sha256 baselines, path-sorted. */
533
+ seed_source_digests: Array<{
534
+ path: string;
535
+ sha256: string;
536
+ }>;
537
+ }
538
+ /**
539
+ * Read the pinned planning outputs for a run, or null when no plan has been
540
+ * promoted yet.
269
541
  */
270
- export declare function promoteImplementationDagToExtractedPlan(artifactsDir: string): Promise<void>;
542
+ export declare function readContractPipelinePlanningOutputs(artifactsDir: string): Promise<ContractPipelinePlanningOutputs | null>;
271
543
  /** Source tag stamped on a lean-fast-path extracted plan (distinguishes it from `contract_pipeline`). */
272
544
  export declare const LEAN_FAST_PATH_SOURCE = "lean_fast_path";
273
545
  /** The minimal `extracted-plan.json` shape the lean path emits. */
@@ -1 +1 @@
1
- {"version":3,"file":"contractPipeline.d.ts","sourceRoot":"","sources":["../../../src/remediate/steps/contractPipeline.ts"],"names":[],"mappings":"AAwBA,OAAO,EAOL,KAAK,eAAe,EACpB,KAAK,WAAW,EAIhB,KAAK,SAAS,EACd,KAAK,aAAa,EAGnB,MAAM,oBAAoB,CAAC;AAgF5B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA6ClD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD,8EAA8E;AAC9E,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,mCAAmC,IAAI,CAAC;AAuErD,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,oEAAoE,CAAC;IACrF,qFAAqF;IACrF,QAAQ,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IACzE,qDAAqD;IACrD,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAMD,wBAAsB,yBAAyB,CAC7C,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,qBAAqB,CAAC,CAWhC;AAED,wBAAsB,0BAA0B,CAC9C,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAGf;AAi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;AAyRD;;;GAGG;AACH,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAs1CjC;AAkED;;;GAGG;AACH,wBAAsB,uCAAuC,CAC3D,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CA8Sf;AAgBD,yGAAyG;AACzG,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,mEAAmE;AACnE,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,qBAAqB,CAAC;IACrC,yBAAyB,EAAE,MAAM,EAAE,CAAC;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,OAAO,EAAE,EACnB,MAAM,EAAE,MAAM,GACb,iBAAiB,CAQnB"}
1
+ {"version":3,"file":"contractPipeline.d.ts","sourceRoot":"","sources":["../../../src/remediate/steps/contractPipeline.ts"],"names":[],"mappings":"AAwBA,OAAO,EAOL,KAAK,eAAe,EACpB,KAAK,WAAW,EAIhB,KAAK,SAAS,EACd,KAAK,aAAa,EAOnB,MAAM,oBAAoB,CAAC;AAuB5B,OAAO,EACL,oBAAoB,EAKpB,KAAK,gBAAgB,EAEtB,MAAM,kBAAkB,CAAC;AAyD1B,OAAO,EAML,KAAK,+BAA+B,EACpC,KAAK,WAAW,EACjB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AA2C3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8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