audit-tools 0.52.0 → 0.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit/cli/auditStep.d.ts.map +1 -1
- package/dist/audit/cli/auditStep.js +2 -2
- package/dist/audit/cli/auditStep.js.map +1 -1
- package/dist/audit/cli/charterClarificationPrompt.d.ts +16 -8
- package/dist/audit/cli/charterClarificationPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterClarificationPrompt.js +95 -42
- package/dist/audit/cli/charterClarificationPrompt.js.map +1 -1
- package/dist/audit/cli/charterComparisonPrompt.d.ts +16 -6
- package/dist/audit/cli/charterComparisonPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterComparisonPrompt.js +76 -29
- package/dist/audit/cli/charterComparisonPrompt.js.map +1 -1
- package/dist/audit/cli/charterExtractionPrompt.d.ts +5 -4
- package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterExtractionPrompt.js +64 -42
- package/dist/audit/cli/charterExtractionPrompt.js.map +1 -1
- package/dist/audit/cli/charterFidelityPrompt.d.ts +17 -4
- package/dist/audit/cli/charterFidelityPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterFidelityPrompt.js +72 -21
- package/dist/audit/cli/charterFidelityPrompt.js.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts +23 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.js +204 -41
- package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -1
- package/dist/audit/cli/dispatch/packetFilter.d.ts +8 -0
- package/dist/audit/cli/dispatch/packetFilter.d.ts.map +1 -1
- package/dist/audit/cli/fanoutLanes.d.ts.map +1 -1
- package/dist/audit/cli/fanoutLanes.js +20 -4
- package/dist/audit/cli/fanoutLanes.js.map +1 -1
- package/dist/audit/cli/laneValidators.d.ts +19 -7
- package/dist/audit/cli/laneValidators.d.ts.map +1 -1
- package/dist/audit/cli/laneValidators.js +73 -18
- package/dist/audit/cli/laneValidators.js.map +1 -1
- package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
- package/dist/audit/cli/nextStepCommand.js +13 -6
- package/dist/audit/cli/nextStepCommand.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts +25 -2
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +105 -35
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/cli/recoverSubmissionCommand.d.ts.map +1 -1
- package/dist/audit/cli/recoverSubmissionCommand.js +89 -4
- package/dist/audit/cli/recoverSubmissionCommand.js.map +1 -1
- package/dist/audit/cli/sampleRunCommand.d.ts +10 -0
- package/dist/audit/cli/sampleRunCommand.d.ts.map +1 -1
- package/dist/audit/cli/semanticReviewStep.d.ts +4 -4
- package/dist/audit/cli/semanticReviewStep.d.ts.map +1 -1
- package/dist/audit/cli/semanticReviewStep.js +35 -71
- package/dist/audit/cli/semanticReviewStep.js.map +1 -1
- package/dist/audit/contracts/findingContractPrompt.d.ts.map +1 -1
- package/dist/audit/contracts/findingContractPrompt.js +7 -1
- package/dist/audit/contracts/findingContractPrompt.js.map +1 -1
- package/dist/audit/contracts/workerSchemas.d.ts +280 -4
- package/dist/audit/contracts/workerSchemas.d.ts.map +1 -1
- package/dist/audit/contracts/workerSchemas.js +24 -2
- package/dist/audit/contracts/workerSchemas.js.map +1 -1
- package/dist/audit/orchestrator/charterClarificationExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterClarificationExecutor.js +39 -0
- package/dist/audit/orchestrator/charterClarificationExecutor.js.map +1 -1
- package/dist/audit/orchestrator/charterExtractionExecutor.d.ts +12 -5
- package/dist/audit/orchestrator/charterExtractionExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterExtractionExecutor.js +39 -9
- package/dist/audit/orchestrator/charterExtractionExecutor.js.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.d.ts +7 -0
- package/dist/audit/orchestrator/designReviewPrompt.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.js +174 -19
- package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointGate.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointGate.js +1 -5
- package/dist/audit/orchestrator/intentCheckpointGate.js.map +1 -1
- package/dist/audit/orchestrator/requeueCommand.d.ts +8 -0
- package/dist/audit/orchestrator/requeueCommand.d.ts.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/lensVerification.d.ts.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/lensVerification.js +94 -71
- package/dist/audit/orchestrator/selectiveDeepening/lensVerification.js.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/shared.d.ts +0 -2
- package/dist/audit/orchestrator/selectiveDeepening/shared.d.ts.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/shared.js +9 -2
- package/dist/audit/orchestrator/selectiveDeepening/shared.js.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/stewardFollowup.d.ts.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/stewardFollowup.js +28 -4
- package/dist/audit/orchestrator/selectiveDeepening/stewardFollowup.js.map +1 -1
- package/dist/audit/reporting/synthesis.d.ts +16 -3
- package/dist/audit/reporting/synthesis.d.ts.map +1 -1
- package/dist/audit/reporting/synthesis.js +40 -11
- package/dist/audit/reporting/synthesis.js.map +1 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.d.ts +26 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.d.ts.map +1 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.js +53 -13
- package/dist/audit/reporting/synthesisNarrativePrompt.js.map +1 -1
- package/dist/audit/systemic/secondOrderAdversaryPrompt.d.ts.map +1 -1
- package/dist/audit/systemic/secondOrderAdversaryPrompt.js +67 -40
- package/dist/audit/systemic/secondOrderAdversaryPrompt.js.map +1 -1
- package/dist/audit/systemic/systemicChallengeLoop.d.ts.map +1 -1
- package/dist/audit/systemic/systemicChallengeLoop.js +13 -1
- package/dist/audit/systemic/systemicChallengeLoop.js.map +1 -1
- package/dist/audit/types/conceptualAdjudication.d.ts +26 -2
- package/dist/audit/types/conceptualAdjudication.d.ts.map +1 -1
- package/dist/audit/types/conceptualAdjudication.js +26 -7
- package/dist/audit/types/conceptualAdjudication.js.map +1 -1
- package/dist/audit/types.d.ts +279 -0
- package/dist/audit/types.d.ts.map +1 -1
- package/dist/audit/types.js +52 -0
- package/dist/audit/types.js.map +1 -1
- package/dist/audit/validation/auditResults.d.ts.map +1 -1
- package/dist/audit/validation/auditResults.js +51 -6
- package/dist/audit/validation/auditResults.js.map +1 -1
- package/dist/audit/validation/ingestIssueCodes.d.ts +3 -1
- package/dist/audit/validation/ingestIssueCodes.d.ts.map +1 -1
- package/dist/audit/validation/ingestIssueCodes.js +27 -15
- package/dist/audit/validation/ingestIssueCodes.js.map +1 -1
- package/dist/remediate/contractPipeline/sketchSource.d.ts +13 -3
- package/dist/remediate/contractPipeline/sketchSource.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/sketchSource.js +14 -8
- package/dist/remediate/contractPipeline/sketchSource.js.map +1 -1
- package/dist/remediate/intake.d.ts +140 -36
- package/dist/remediate/intake.d.ts.map +1 -1
- package/dist/remediate/intake.js +159 -38
- package/dist/remediate/intake.js.map +1 -1
- package/dist/remediate/intent/checkpointFilter.d.ts +1 -2
- package/dist/remediate/intent/checkpointFilter.d.ts.map +1 -1
- package/dist/remediate/intent/checkpointFilter.js +1 -5
- package/dist/remediate/intent/checkpointFilter.js.map +1 -1
- package/dist/remediate/phases/close.d.ts.map +1 -1
- package/dist/remediate/phases/close.js +2 -2
- package/dist/remediate/phases/close.js.map +1 -1
- package/dist/remediate/phases/plan.d.ts +1 -1
- package/dist/remediate/review/reviewGate.d.ts +68 -39
- package/dist/remediate/review/reviewGate.d.ts.map +1 -1
- package/dist/remediate/review/reviewGate.js +133 -50
- package/dist/remediate/review/reviewGate.js.map +1 -1
- package/dist/remediate/state/store.d.ts +1 -2
- package/dist/remediate/state/store.d.ts.map +1 -1
- package/dist/remediate/state/store.js +124 -3
- package/dist/remediate/state/store.js.map +1 -1
- package/dist/remediate/state/types.d.ts +28 -4
- package/dist/remediate/state/types.d.ts.map +1 -1
- package/dist/remediate/state/types.js.map +1 -1
- package/dist/remediate/steps/contractPipeline.d.ts +17 -1
- package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipeline.js +100 -52
- package/dist/remediate/steps/contractPipeline.js.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.d.ts +32 -8
- package/dist/remediate/steps/contractPipelinePrompts.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.js +145 -131
- package/dist/remediate/steps/contractPipelinePrompts.js.map +1 -1
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts +6 -4
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/hostHandoff.js +291 -155
- package/dist/remediate/steps/dispatch/hostHandoff.js.map +1 -1
- package/dist/remediate/steps/intakeResolver.d.ts +1 -1
- package/dist/remediate/steps/intakeResolver.d.ts.map +1 -1
- package/dist/remediate/steps/intakeResolver.js +50 -49
- package/dist/remediate/steps/intakeResolver.js.map +1 -1
- package/dist/remediate/steps/nextStep.d.ts.map +1 -1
- package/dist/remediate/steps/nextStep.js +315 -288
- package/dist/remediate/steps/nextStep.js.map +1 -1
- package/dist/remediate/steps/prompts.d.ts +10 -3
- package/dist/remediate/steps/prompts.d.ts.map +1 -1
- package/dist/remediate/steps/prompts.js +191 -228
- package/dist/remediate/steps/prompts.js.map +1 -1
- package/dist/remediate/steps/types.d.ts +2 -2
- package/dist/remediate/steps/types.d.ts.map +1 -1
- package/dist/remediate/steps/types.js +10 -3
- package/dist/remediate/steps/types.js.map +1 -1
- package/dist/remediate/validation/artifacts.d.ts.map +1 -1
- package/dist/remediate/validation/artifacts.js +5 -22
- package/dist/remediate/validation/artifacts.js.map +1 -1
- package/dist/remediate/validation/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/validation/contractPipeline.js +25 -8
- package/dist/remediate/validation/contractPipeline.js.map +1 -1
- package/dist/remediate/validation/remediationState.d.ts +0 -1
- package/dist/remediate/validation/remediationState.d.ts.map +1 -1
- package/dist/remediate/validation/remediationState.js +1 -20
- package/dist/remediate/validation/remediationState.js.map +1 -1
- package/dist/shared/decompose/charterClarification.d.ts +7 -0
- package/dist/shared/decompose/charterClarification.d.ts.map +1 -1
- package/dist/shared/decompose/charterClarification.js +8 -1
- package/dist/shared/decompose/charterClarification.js.map +1 -1
- package/dist/shared/decompose/charterExtraction.d.ts +204 -16
- package/dist/shared/decompose/charterExtraction.d.ts.map +1 -1
- package/dist/shared/decompose/charterExtraction.js +70 -13
- package/dist/shared/decompose/charterExtraction.js.map +1 -1
- package/dist/shared/decompose/systemicChallenge.d.ts +42 -1
- package/dist/shared/decompose/systemicChallenge.d.ts.map +1 -1
- package/dist/shared/decompose/systemicChallenge.js +51 -0
- package/dist/shared/decompose/systemicChallenge.js.map +1 -1
- package/dist/shared/index.d.ts +14 -11
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +16 -9
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/io/stepContractWriter.d.ts.map +1 -1
- package/dist/shared/io/stepContractWriter.js +13 -4
- package/dist/shared/io/stepContractWriter.js.map +1 -1
- package/dist/shared/submission/hostHandoffCore.d.ts +7 -0
- package/dist/shared/submission/hostHandoffCore.d.ts.map +1 -1
- package/dist/shared/submission/hostHandoffCore.js +15 -2
- package/dist/shared/submission/hostHandoffCore.js.map +1 -1
- package/dist/shared/submission/hostResultOutcomes.d.ts +60 -10
- package/dist/shared/submission/hostResultOutcomes.d.ts.map +1 -1
- package/dist/shared/submission/hostResultOutcomes.js +42 -10
- package/dist/shared/submission/hostResultOutcomes.js.map +1 -1
- package/dist/shared/submission/ingestReport.d.ts +54 -0
- package/dist/shared/submission/ingestReport.d.ts.map +1 -0
- package/dist/shared/submission/ingestReport.js +44 -0
- package/dist/shared/submission/ingestReport.js.map +1 -0
- package/dist/shared/submission/ingestionChecks.d.ts +8 -13
- package/dist/shared/submission/ingestionChecks.d.ts.map +1 -1
- package/dist/shared/submission/ingestionChecks.js +9 -14
- package/dist/shared/submission/ingestionChecks.js.map +1 -1
- package/dist/shared/submission/submissionClassifier.d.ts +6 -0
- package/dist/shared/submission/submissionClassifier.d.ts.map +1 -1
- package/dist/shared/submission/submissionClassifier.js +16 -0
- package/dist/shared/submission/submissionClassifier.js.map +1 -1
- package/dist/shared/submission/workerPromptBinding.d.ts +18 -0
- package/dist/shared/submission/workerPromptBinding.d.ts.map +1 -0
- package/dist/shared/submission/workerPromptBinding.js +38 -0
- package/dist/shared/submission/workerPromptBinding.js.map +1 -0
- package/dist/shared/tooling/exec.d.ts +24 -0
- package/dist/shared/tooling/exec.d.ts.map +1 -1
- package/dist/shared/tooling/exec.js +30 -0
- package/dist/shared/tooling/exec.js.map +1 -1
- package/dist/shared/types/charter.d.ts +143 -7
- package/dist/shared/types/charter.d.ts.map +1 -1
- package/dist/shared/types/charter.js +63 -7
- package/dist/shared/types/charter.js.map +1 -1
- package/dist/shared/types/charterPacket.d.ts +13 -0
- package/dist/shared/types/charterPacket.d.ts.map +1 -1
- package/dist/shared/types/charterPacket.js.map +1 -1
- package/dist/shared/types/contractPipeline/obligations.d.ts +30 -11
- package/dist/shared/types/contractPipeline/obligations.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline/obligations.js +6 -1
- package/dist/shared/types/contractPipeline/obligations.js.map +1 -1
- package/dist/shared/types/contractPropertyShapes.d.ts.map +1 -1
- package/dist/shared/types/contractPropertyShapes.js +13 -0
- package/dist/shared/types/contractPropertyShapes.js.map +1 -1
- package/dist/shared/types/finding.d.ts +154 -15
- package/dist/shared/types/finding.d.ts.map +1 -1
- package/dist/shared/types/finding.js +41 -5
- package/dist/shared/types/finding.js.map +1 -1
- package/dist/shared/types/intentCheckpoint.d.ts +26 -40
- package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
- package/dist/shared/types/intentCheckpoint.js +30 -33
- package/dist/shared/types/intentCheckpoint.js.map +1 -1
- package/dist/shared/types/remediationOutcome.d.ts +8 -8
- package/dist/shared/validation/citationGrounding.d.ts +29 -5
- package/dist/shared/validation/citationGrounding.d.ts.map +1 -1
- package/dist/shared/validation/citationGrounding.js +56 -9
- package/dist/shared/validation/citationGrounding.js.map +1 -1
- package/dist/shared/validation/designFindingGrounding.d.ts +30 -9
- package/dist/shared/validation/designFindingGrounding.d.ts.map +1 -1
- package/dist/shared/validation/designFindingGrounding.js +32 -12
- package/dist/shared/validation/designFindingGrounding.js.map +1 -1
- package/docs/audit-pkg/contracts.md +4 -5
- package/package.json +1 -1
- package/schemas/audit_result.schema.json +51 -0
- package/schemas/audit_results.schema.json +51 -0
- package/schemas/audit_task.schema.json +44 -0
- package/schemas/finding.schema.json +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/remediate/state/types.ts"],"names":[],"mappings":"AACA,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,OAAO,EAAE,CAAC;AAWxB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAIzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,sBAAsB;;;IAI/B;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;;;;OAQG;;IAEH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,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"}
|
|
@@ -261,7 +261,7 @@ export declare function detectSeedSourceDigestMismatches(root: string, seed: Pat
|
|
|
261
261
|
* the failing classifications. Post-redesign the default is
|
|
262
262
|
* `finalized_module_contracts` (not `design_spec`).
|
|
263
263
|
*/
|
|
264
|
-
type ExtendedRepairTarget = Exclude<JudgeRepairTarget, "
|
|
264
|
+
type ExtendedRepairTarget = Exclude<JudgeRepairTarget, "design_spec">;
|
|
265
265
|
/**
|
|
266
266
|
* Infer the most appropriate repair target from judge classifications when no
|
|
267
267
|
* explicit repair_directive is provided. Examines only accepted classifications
|
|
@@ -426,6 +426,22 @@ export interface CrossGateVerdict {
|
|
|
426
426
|
* scope.
|
|
427
427
|
*/
|
|
428
428
|
export declare function consumeGateOutcomes(outcomes: readonly GateOutcome[], selected: readonly GateOutcome["gate"][], required: ReadonlySet<GateOutcome["gate"]>): CrossGateVerdict;
|
|
429
|
+
/**
|
|
430
|
+
* The ONE worker prompt for cyclic-seam resolution. The gate emits it for each
|
|
431
|
+
* attempt, and every generic re-emit of the phase (a refused ingestion, a stale
|
|
432
|
+
* archive, a goal-id mismatch) emits it too — a second, shorter text used to
|
|
433
|
+
* reach the worker on those re-emits and left out the ledger rewrite that the
|
|
434
|
+
* re-check requires, so the retry was refused for a rule it was never told.
|
|
435
|
+
*
|
|
436
|
+
* The worker writes only `resolved`: `no_cycles` is the tool's own record, and
|
|
437
|
+
* the re-check refuses any record while the ledger still has a cycle.
|
|
438
|
+
*/
|
|
439
|
+
export declare function renderCyclicSeamResolutionPrompt(params: {
|
|
440
|
+
cycleDescriptions: string;
|
|
441
|
+
ledgerInputPath: string;
|
|
442
|
+
outputPath: string;
|
|
443
|
+
extraSection?: string;
|
|
444
|
+
}): string;
|
|
429
445
|
/**
|
|
430
446
|
* The gate walk order, exported so a drift guard reads the real set instead of
|
|
431
447
|
* reconstructing one by reflecting over a chain of `if` statements.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contractPipeline.d.ts","sourceRoot":"","sources":["../../../src/remediate/steps/contractPipeline.ts"],"names":[],"mappings":"AA4BA,OAAO,EAOL,KAAK,eAAe,EACpB,KAAK,WAAW,EAGhB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EAWf,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EACL,wBAAwB,EACxB,KAAK,cAAc,EACpB,MAAM,wCAAwC,CAAC;AAmBhD,OAAO,EACL,oBAAoB,EAKpB,KAAK,gBAAgB,EAEtB,MAAM,kBAAkB,CAAC;AAqC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"contractPipeline.d.ts","sourceRoot":"","sources":["../../../src/remediate/steps/contractPipeline.ts"],"names":[],"mappings":"AA4BA,OAAO,EAOL,KAAK,eAAe,EACpB,KAAK,WAAW,EAGhB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EAWf,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EACL,wBAAwB,EACxB,KAAK,cAAc,EACpB,MAAM,wCAAwC,CAAC;AAmBhD,OAAO,EACL,oBAAoB,EAKpB,KAAK,gBAAgB,EAEtB,MAAM,kBAAkB,CAAC;AAqC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAwC5D,OAAO,EAKL,KAAK,+BAA+B,EACpC,KAAK,WAAW,EACjB,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;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AAC,MAAM,EAAE,CAAC,CAsBnB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAuBvF;AAED;;;;;;;GAOG;AACH,wBAAsB,uCAAuC,CAC3D,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,MAA2C,GAChD,OAAO,CAAC,IAAI,CAAC,CAgWf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// sites-pinned: tests/remediate/contract-pipeline.test.ts, tests/remediate/dc3.test.ts
|
|
1
|
+
// sites-pinned: tests/remediate/contract-pipeline.test.ts, tests/remediate/dc3.test.ts, tests/remediate/contract-pipeline-adversarial.test.ts, tests/remediate/step-prompt-sketch-drift.test.ts
|
|
2
2
|
// contract-pipeline: the promotion computes no finding field FindingSchema would drop.
|
|
3
3
|
// dc3: the fan-out wording (needs, not mechanism) and the TRANSPORT report for a
|
|
4
4
|
// partially returned wave.
|
|
@@ -38,7 +38,7 @@ import { deriveObligationLedger, deriveFinalizedModuleContracts, buildTestValida
|
|
|
38
38
|
import { ensureNodeId, toBlockId } from "../contractPipeline/idRegistry.js";
|
|
39
39
|
import { captureReviewSnapshot, computeReReviewDelta, isReviewArtifact, readReviewSnapshot, renderReReviewSection, reviewSnapshotExists, } from "../contractPipeline/reviewSnapshot.js";
|
|
40
40
|
import { captureTestPlanCarry, readTestPlanCarry, } from "../contractPipeline/testPlanCarry.js";
|
|
41
|
-
import { CYCLIC_SEAM_BREAK_STRATEGIES,
|
|
41
|
+
import { CYCLIC_SEAM_BREAK_STRATEGIES, CYCLIC_SEAM_RESOLUTION_STATUSES_OFFERED, isCyclicSeamBreakStrategy, sketchValues, } from "../contractPipeline/sketchSource.js";
|
|
42
42
|
import { readRepairState, writeRepairState, counterexamplesByIdOf, counterexampleKeyOf, counterexampleWaiversPath, foldCounterexampleWaivers, waivedAcceptedIds, waivedJudgeAcceptedIds, } from "../contractPipeline/repairState.js";
|
|
43
43
|
import { renderContractPipelinePrompt, renderContractRepairPrompt, CONTRACT_PIPELINE_PHASE_ORDER, PHASE_TO_ARTIFACT, } from "./contractPipelinePrompts.js";
|
|
44
44
|
// The seven cross-artifact validators this module used to call one by one are
|
|
@@ -47,7 +47,7 @@ import { renderContractPipelinePrompt, renderContractRepairPrompt, CONTRACT_PIPE
|
|
|
47
47
|
// gate's issue array without also seeing whether the gate RAN
|
|
48
48
|
// (the branch-on-evaluated rule). What remains here are the checks that are not
|
|
49
49
|
// part of that eight-gate set.
|
|
50
|
-
import { CONTRACT_PIPELINE_VALIDATORS, CP_MODULE_CONTRACTS_VERSION, validateGoalIdConsistency, validateWorkBlockSeamPreparation, validateContractCitationGrounding, } from "../validation/contractPipeline.js";
|
|
50
|
+
import { CONTRACT_PIPELINE_VALIDATORS, CP_MODULE_CONTRACTS_VERSION, validateGoalIdConsistency, validateWorkBlockSeamPreparation, validateContractCitationGrounding, validateDecompositionFileScope, } from "../validation/contractPipeline.js";
|
|
51
51
|
// Imported from the owning gate module directly (as derive.ts does): this
|
|
52
52
|
// loop-core path consumes the single outcome-based entry point and its
|
|
53
53
|
// evaluated/skipped vocabulary together.
|
|
@@ -66,7 +66,6 @@ const ARTIFACT_TO_PHASE = {
|
|
|
66
66
|
};
|
|
67
67
|
// ── Phase → step kind mapping ──────────────────────────────────────────────────
|
|
68
68
|
const CONTRACT_STEP_KIND = "contract_pipeline";
|
|
69
|
-
const PRE_IMPLEMENTATION_PHASE_ORDER = CONTRACT_PIPELINE_PHASE_ORDER.filter((phase) => phase !== "closing");
|
|
70
69
|
/**
|
|
71
70
|
* Granularity collapse GROUPS (T1 slice 4b). Each group is a run of CONSECUTIVE
|
|
72
71
|
* phases that folds into ONE round-trip at the `collapsed` granularity — i.e.
|
|
@@ -165,7 +164,7 @@ async function buildScaffoldSection(phase, artifactsDir) {
|
|
|
165
164
|
: "";
|
|
166
165
|
return `## Pre-filled Skeleton — fill only the blank slots
|
|
167
166
|
|
|
168
|
-
The obligation ledger was derived deterministically. Below is the test-plan skeleton: one spec per testable obligation, with \`obligation_id\`, \`name\`, \`kind\`, and \`scope_anchors\` already filled. Fill ONLY each \`assertions\` array — every spec needs at least one positive (satisfied-path) assertion AND one negative (failure-path) assertion. The negative assertion MUST name one of the spec's \`scope_anchors\` (the touched symbol/file) and must not be an unscoped repo-wide scan, or it fails the negative-scoping gate. Do not add, remove, or rename specs. If an obligation is genuinely untestable,
|
|
167
|
+
The obligation ledger was derived deterministically. Below is the test-plan skeleton: one spec per testable obligation, with \`obligation_id\`, \`name\`, \`kind\`, and \`scope_anchors\` already filled. Fill ONLY each \`assertions\` array — every spec needs at least one positive (satisfied-path) assertion AND one negative (failure-path) assertion. The negative assertion MUST name one of the spec's \`scope_anchors\` (the touched symbol/file) and must not be an unscoped repo-wide scan, or it fails the negative-scoping gate. Do not add, remove, or rename specs. If an obligation is genuinely untestable, keep the spec's \`obligation_id\` and \`name\`, and replace its \`kind\`, \`scope_anchors\` and \`assertions\` with \`"inapplicable_claim": { "obligation_id": "<the same obligation_id>", "reason": "<a reason the ledger can disprove>" }\`.${carryNote}
|
|
169
168
|
|
|
170
169
|
\`\`\`json
|
|
171
170
|
${JSON.stringify(scaffold, null, 2)}
|
|
@@ -371,7 +370,7 @@ export function shouldEnterContractPipeline(artifactsDir, _intakeSourceType) {
|
|
|
371
370
|
}
|
|
372
371
|
/** Return the first pipeline phase whose output artifact does not exist. */
|
|
373
372
|
export function nextMissingContractPhase(artifactsDir) {
|
|
374
|
-
for (const phase of
|
|
373
|
+
for (const phase of CONTRACT_PIPELINE_PHASE_ORDER) {
|
|
375
374
|
const artifactName = PHASE_TO_ARTIFACT[phase];
|
|
376
375
|
if (!artifactName)
|
|
377
376
|
continue;
|
|
@@ -684,24 +683,14 @@ async function evaluateJudgeGate(artifactsDir) {
|
|
|
684
683
|
const alreadyHandled = repairState.repairs.some((repair) => repair.judge_hash === judgeHash);
|
|
685
684
|
// Map judge.repair_directive.target if present; if absent, infer from classifications.
|
|
686
685
|
//
|
|
687
|
-
//
|
|
688
|
-
//
|
|
689
|
-
//
|
|
690
|
-
//
|
|
691
|
-
// value the validator accepts. The branch that rewrote it used to be the only
|
|
692
|
-
// thing keeping a legacy name working, and carried a cast that erased the very
|
|
693
|
-
// check it was performing.
|
|
694
|
-
//
|
|
695
|
-
// `counterexample` is admitted by the contract and refused HERE, at the one
|
|
696
|
-
// place that would have to act on it: this loop's repair renderer has a schema
|
|
697
|
-
// sketch for the three contract artifacts only (see REPAIR_TARGET_SCHEMA), so a
|
|
698
|
-
// directive naming the critic's own report falls back to the inferred contract
|
|
699
|
-
// repair rather than being carried into a renderer that cannot honour it.
|
|
686
|
+
// The validator admits only the three contract artifacts plus the legacy
|
|
687
|
+
// `design_spec` alias (a report from an older release); `counterexample` is
|
|
688
|
+
// refused at ingestion with its reason, never swapped here. The legacy alias
|
|
689
|
+
// falls through to the inferred target, as it always has.
|
|
700
690
|
const rawDirective = judge.repair_directive;
|
|
701
691
|
const directive = rawDirective
|
|
702
692
|
? {
|
|
703
|
-
target: rawDirective.target === "
|
|
704
|
-
rawDirective.target === "design_spec"
|
|
693
|
+
target: rawDirective.target === "design_spec"
|
|
705
694
|
? inferRepairDirective(judge).target
|
|
706
695
|
: rawDirective.target,
|
|
707
696
|
instruction: rawDirective.instruction,
|
|
@@ -1009,7 +998,12 @@ async function evaluatePreCriticCitationGrounding(artifactsDir, repoRoot) {
|
|
|
1009
998
|
if (citations.length === 0)
|
|
1010
999
|
return null;
|
|
1011
1000
|
const result = await validateContractCitationGrounding(citations, repoRoot);
|
|
1012
|
-
|
|
1001
|
+
// The same boundary owns the re-export-shim rule: a file_scope that grounds
|
|
1002
|
+
// only at a barrel is as unfixable downstream as one that does not ground at
|
|
1003
|
+
// all, and the decomposition prompt states the rule as binding.
|
|
1004
|
+
// Its tree-readability issue repeats the citation gate's own, so it is dropped.
|
|
1005
|
+
const shimIssues = (await validateDecompositionFileScope(decomposition, repoRoot)).filter((issue) => issue.path !== "decomposition_file_scope.repo_tree");
|
|
1006
|
+
const errors = [...result.issues, ...shimIssues].filter((issue) => issue.severity === "error");
|
|
1013
1007
|
if (errors.length === 0)
|
|
1014
1008
|
return null;
|
|
1015
1009
|
return { errorLines: errors.map((issue) => `- [${issue.path}] ${issue.message}`) };
|
|
@@ -1414,7 +1408,23 @@ After writing the output file, run:
|
|
|
1414
1408
|
artifactPaths: contractStepArtifactPaths(ctx, params.outputPath),
|
|
1415
1409
|
});
|
|
1416
1410
|
}
|
|
1417
|
-
function writeContractPhaseStep(ctx, phase, extraSection) {
|
|
1411
|
+
async function writeContractPhaseStep(ctx, phase, extraSection) {
|
|
1412
|
+
if (phase === "cyclic_seam_resolution") {
|
|
1413
|
+
// One text for this phase: a generic re-emit carries the same ledger-rewrite
|
|
1414
|
+
// instructions as the gate's own attempt (see renderCyclicSeamResolutionPrompt).
|
|
1415
|
+
const graph = await readSeamObligationGraph(ctx.artifactsDir);
|
|
1416
|
+
const outputPath = contractInputFilePath(ctx.artifactsDir, "cyclic_seam_resolution");
|
|
1417
|
+
return writeContractPromptStep(ctx, {
|
|
1418
|
+
prompt: renderCyclicSeamResolutionPrompt({
|
|
1419
|
+
cycleDescriptions: renderCycleDescriptions(detectCyclicSeamObligations(graph.nodes)),
|
|
1420
|
+
ledgerInputPath: contractInputFilePath(ctx.artifactsDir, "obligation_ledger"),
|
|
1421
|
+
outputPath,
|
|
1422
|
+
extraSection: extraSection ? `\n${extraSection}` : undefined,
|
|
1423
|
+
}),
|
|
1424
|
+
outputPath,
|
|
1425
|
+
stopCondition: CYCLIC_SEAM_RESOLUTION_STOP,
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1418
1428
|
const rendered = renderContractPipelinePrompt({
|
|
1419
1429
|
role: phase,
|
|
1420
1430
|
artifactPaths: ctx.artifactPaths,
|
|
@@ -1484,7 +1494,7 @@ async function writeCollapsedRoundTripStep(ctx, phases) {
|
|
|
1484
1494
|
|
|
1485
1495
|
This is a low-complexity change, so these ${phases.length} coherent authoring phases are combined into a SINGLE round-trip. Complete EVERY section below — author them top-down, writing each artifact to its named path (each later section's inputs are the files you write in the earlier sections of this same round-trip). Then run next-step ONCE.
|
|
1486
1496
|
|
|
1487
|
-
Treat any per-section "Stop after
|
|
1497
|
+
Treat any per-section "Stop after you write the output file" / "Do not start the next phase" instruction as scoped to that section only — it does NOT mean stop the round-trip. Finish all sections first.
|
|
1488
1498
|
|
|
1489
1499
|
If you cannot complete a section (an artifact would be malformed), write the ones you can and run next-step: the pipeline re-emits any missing or invalid artifact as its own fine-grained step, so no work is lost.
|
|
1490
1500
|
|
|
@@ -2595,20 +2605,43 @@ Manually rewrite the obligation_ledger to remove circular depends_on references,
|
|
|
2595
2605
|
await writeCyclicSeamRepairState(ctx.artifactsDir, repairState);
|
|
2596
2606
|
return {
|
|
2597
2607
|
via: "step",
|
|
2598
|
-
prompt:
|
|
2608
|
+
prompt: renderCyclicSeamResolutionPrompt({
|
|
2609
|
+
cycleDescriptions,
|
|
2610
|
+
ledgerInputPath,
|
|
2611
|
+
outputPath,
|
|
2612
|
+
extraSection: rejectionSection,
|
|
2613
|
+
}),
|
|
2614
|
+
outputPath,
|
|
2615
|
+
stopCondition: CYCLIC_SEAM_RESOLUTION_STOP,
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
const CYCLIC_SEAM_RESOLUTION_STOP = "Stop after rewriting the obligation_ledger, writing the cyclic_seam_resolution output file, and running next-step.";
|
|
2619
|
+
/**
|
|
2620
|
+
* The ONE worker prompt for cyclic-seam resolution. The gate emits it for each
|
|
2621
|
+
* attempt, and every generic re-emit of the phase (a refused ingestion, a stale
|
|
2622
|
+
* archive, a goal-id mismatch) emits it too — a second, shorter text used to
|
|
2623
|
+
* reach the worker on those re-emits and left out the ledger rewrite that the
|
|
2624
|
+
* re-check requires, so the retry was refused for a rule it was never told.
|
|
2625
|
+
*
|
|
2626
|
+
* The worker writes only `resolved`: `no_cycles` is the tool's own record, and
|
|
2627
|
+
* the re-check refuses any record while the ledger still has a cycle.
|
|
2628
|
+
*/
|
|
2629
|
+
export function renderCyclicSeamResolutionPrompt(params) {
|
|
2630
|
+
const { cycleDescriptions, ledgerInputPath, outputPath } = params;
|
|
2631
|
+
return `# Cyclic Seam Resolution
|
|
2599
2632
|
|
|
2600
|
-
|
|
2633
|
+
The obligation ledger has circular interface-definition obligations. Break each cycle with one of the two strategies below. Then rewrite the ledger and write the resolution record.
|
|
2601
2634
|
|
|
2602
2635
|
## Detected Cycles
|
|
2603
2636
|
|
|
2604
2637
|
${cycleDescriptions}
|
|
2605
|
-
${
|
|
2606
|
-
##
|
|
2638
|
+
${params.extraSection ?? ""}
|
|
2639
|
+
## Break Strategies
|
|
2607
2640
|
|
|
2608
2641
|
For each cycle, choose one:
|
|
2609
2642
|
|
|
2610
|
-
1. **Mediator
|
|
2611
|
-
2. **Single authority** — Designate one of the cycle's own obligations as the
|
|
2643
|
+
1. **Mediator** — Designate a third obligation that both sides depend on. The mediator owns the shared primitive; neither original obligation defines an interface for the other. The mediator must exist in the ledger and must not be a member of the cycle.
|
|
2644
|
+
2. **Single authority** — Designate one of the cycle's own obligations as the owner of the interface. The others become consumers only. Name the scoped exception in \`exception_registration\`.
|
|
2612
2645
|
|
|
2613
2646
|
## Required Inputs
|
|
2614
2647
|
|
|
@@ -2616,10 +2649,10 @@ For each cycle, choose one:
|
|
|
2616
2649
|
|
|
2617
2650
|
## Your Task
|
|
2618
2651
|
|
|
2619
|
-
|
|
2652
|
+
Write two files. The record alone does not break a cycle:
|
|
2620
2653
|
|
|
2621
|
-
1. **Rewrite \`${ledgerInputPath}\`** so
|
|
2622
|
-
2. **Write the resolution record** to exactly \`${outputPath}\`,
|
|
2654
|
+
1. **Rewrite \`${ledgerInputPath}\`** so each cycle's \`depends_on\` edges route through the obligation you designate. The tool runs cycle detection again on the ledger you leave; it refuses the record while any cycle remains.
|
|
2655
|
+
2. **Write the resolution record** to exactly \`${outputPath}\`, with one entry per cycle:
|
|
2623
2656
|
|
|
2624
2657
|
\`\`\`json
|
|
2625
2658
|
{
|
|
@@ -2629,23 +2662,18 @@ Two files, both required — the record alone is not a break:
|
|
|
2629
2662
|
{
|
|
2630
2663
|
"members": ["<obligation-id>", "..."],
|
|
2631
2664
|
"break_strategy": "${sketchValues(CYCLIC_SEAM_BREAK_STRATEGIES)}",
|
|
2632
|
-
"designated_obligation_id": "<the
|
|
2665
|
+
"designated_obligation_id": "<the mediator, or the single authority — must exist in the rewritten ledger>",
|
|
2633
2666
|
"resolution_description": "<what was changed and why>",
|
|
2634
2667
|
"exception_registration": "<if single_authority: the named scoped exception; otherwise null>"
|
|
2635
2668
|
}
|
|
2636
2669
|
],
|
|
2637
|
-
"status": "${sketchValues(
|
|
2670
|
+
"status": "${sketchValues(CYCLIC_SEAM_RESOLUTION_STATUSES_OFFERED)}"
|
|
2638
2671
|
}
|
|
2639
2672
|
\`\`\`
|
|
2640
2673
|
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
`,
|
|
2645
|
-
outputPath,
|
|
2646
|
-
stopCondition: "Stop after rewriting the obligation_ledger, writing the cyclic_seam_resolution output file, and running next-step.",
|
|
2647
|
-
};
|
|
2648
|
-
};
|
|
2674
|
+
**Stop after you write the two files.** Do not edit source files. Do not start the next phase.
|
|
2675
|
+
`;
|
|
2676
|
+
}
|
|
2649
2677
|
/**
|
|
2650
2678
|
* Cyclic-seam RE-CHECK. The worker has written a `resolved` record; verify the
|
|
2651
2679
|
* break it actually authored against the obligation graph as it actually
|
|
@@ -2666,15 +2694,29 @@ const cyclicSeamRecheckGate = async (ctx) => {
|
|
|
2666
2694
|
if (!resolutionEnvelope)
|
|
2667
2695
|
return null;
|
|
2668
2696
|
const resolution = envelopePayload(resolutionEnvelope);
|
|
2669
|
-
if (!resolution
|
|
2670
|
-
resolution.status !== "resolved" ||
|
|
2671
|
-
!Array.isArray(resolution.cycles) ||
|
|
2672
|
-
resolution.cycles.length === 0) {
|
|
2697
|
+
if (!resolution)
|
|
2673
2698
|
return null;
|
|
2674
|
-
|
|
2699
|
+
// The record never decides whether cycles remain — the live ledger does. A
|
|
2700
|
+
// `no_cycles` record (the tool's own, or a worker's) passes only while the
|
|
2701
|
+
// ledger is acyclic, and a `resolved` record passes only when every per-cycle
|
|
2702
|
+
// break holds AND no cycle is left anywhere. Before, any status other than
|
|
2703
|
+
// `resolved`, or a `resolved` record with an empty `cycles` list, advanced the
|
|
2704
|
+
// pipeline with the cycles still in the ledger.
|
|
2675
2705
|
const graph = await readSeamObligationGraph(ctx.artifactsDir);
|
|
2706
|
+
const remaining = detectCyclicSeamObligations(graph.nodes);
|
|
2676
2707
|
let rejection;
|
|
2677
|
-
|
|
2708
|
+
if (resolution.status !== "resolved") {
|
|
2709
|
+
if (remaining.length === 0)
|
|
2710
|
+
return null;
|
|
2711
|
+
rejection =
|
|
2712
|
+
`The resolution record says status ${JSON.stringify(resolution.status ?? null)}, but the ` +
|
|
2713
|
+
`obligation ledger still has ${remaining.length} cycle(s):\n\n${renderCycleDescriptions(remaining)}\n\n` +
|
|
2714
|
+
`Break each cycle in the ledger, then write status "resolved" with one entry per cycle.`;
|
|
2715
|
+
}
|
|
2716
|
+
const cycleRecords = !rejection && Array.isArray(resolution.cycles)
|
|
2717
|
+
? resolution.cycles
|
|
2718
|
+
: [];
|
|
2719
|
+
for (const cycleRecord of cycleRecords) {
|
|
2678
2720
|
if (!Array.isArray(cycleRecord.members))
|
|
2679
2721
|
continue;
|
|
2680
2722
|
const members = cycleRecord.members.filter((member) => typeof member === "string");
|
|
@@ -2701,6 +2743,12 @@ const cyclicSeamRecheckGate = async (ctx) => {
|
|
|
2701
2743
|
break;
|
|
2702
2744
|
}
|
|
2703
2745
|
}
|
|
2746
|
+
if (!rejection && remaining.length > 0) {
|
|
2747
|
+
rejection =
|
|
2748
|
+
`The obligation ledger still has ${remaining.length} cycle(s) that no accepted break ` +
|
|
2749
|
+
`removed:\n\n${renderCycleDescriptions(remaining)}\n\nBreak each of them in the ledger, ` +
|
|
2750
|
+
`and record one entry per cycle.`;
|
|
2751
|
+
}
|
|
2704
2752
|
if (!rejection)
|
|
2705
2753
|
return null;
|
|
2706
2754
|
const repairState = await readCyclicSeamRepairState(ctx.artifactsDir);
|
|
@@ -2830,15 +2878,15 @@ ${preCriticGate.errorLines.join("\n")}
|
|
|
2830
2878
|
eventType: "phase_reemit",
|
|
2831
2879
|
discriminator: "decomposition:citation_grounding:pre_critic",
|
|
2832
2880
|
note: "decomposition re-emitted: a module's file_scope cited a component " +
|
|
2833
|
-
"that does not exist in the working tree
|
|
2881
|
+
"that does not exist in the working tree, or only re-export shims.",
|
|
2834
2882
|
category: "trap",
|
|
2835
2883
|
}, "remediate-code");
|
|
2836
2884
|
return {
|
|
2837
2885
|
via: "phase",
|
|
2838
2886
|
phase: "decomposition",
|
|
2839
|
-
extraSection: `##
|
|
2887
|
+
extraSection: `## Module File Scope Errors
|
|
2840
2888
|
|
|
2841
|
-
A module's file_scope
|
|
2889
|
+
A module's file_scope does not point at real logic in the working tree. Fix each path below in the decomposition: every path must exist, and each module must own at least one file that holds its logic, not only files that re-export:
|
|
2842
2890
|
|
|
2843
2891
|
${preCriticCitationGate.errorLines.join("\n")}
|
|
2844
2892
|
`,
|