audit-tools 0.52.3 → 0.52.4
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/README.md +31 -1
- package/dist/audit/cli/args.d.ts.map +1 -1
- package/dist/audit/cli/args.js +6 -2
- package/dist/audit/cli/args.js.map +1 -1
- package/dist/audit/cli/argumentContract.d.ts +11 -0
- package/dist/audit/cli/argumentContract.d.ts.map +1 -0
- package/dist/audit/cli/argumentContract.js +45 -0
- package/dist/audit/cli/argumentContract.js.map +1 -0
- package/dist/audit/cli/auditReviewBindings.d.ts +49 -0
- package/dist/audit/cli/auditReviewBindings.d.ts.map +1 -0
- package/dist/audit/cli/auditReviewBindings.js +61 -0
- package/dist/audit/cli/auditReviewBindings.js.map +1 -0
- package/dist/audit/cli/auditStep.d.ts +1 -27
- package/dist/audit/cli/auditStep.d.ts.map +1 -1
- package/dist/audit/cli/auditStep.js +7 -32
- package/dist/audit/cli/auditStep.js.map +1 -1
- package/dist/audit/cli/charterComparisonPrompt.d.ts +2 -0
- package/dist/audit/cli/charterComparisonPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterComparisonPrompt.js +9 -0
- package/dist/audit/cli/charterComparisonPrompt.js.map +1 -1
- package/dist/audit/cli/charterExtractionPrompt.d.ts.map +1 -1
- package/dist/audit/cli/charterExtractionPrompt.js +17 -3
- package/dist/audit/cli/charterExtractionPrompt.js.map +1 -1
- package/dist/audit/cli/conceptualDispatch.d.ts +1 -1
- package/dist/audit/cli/conceptualDispatch.d.ts.map +1 -1
- package/dist/audit/cli/conceptualDispatch.js +15 -2
- package/dist/audit/cli/conceptualDispatch.js.map +1 -1
- package/dist/audit/cli/confirmIntentStep.d.ts.map +1 -1
- package/dist/audit/cli/confirmIntentStep.js +10 -17
- package/dist/audit/cli/confirmIntentStep.js.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.js +231 -229
- package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -1
- package/dist/audit/cli/explainTaskCommand.d.ts.map +1 -1
- package/dist/audit/cli/explainTaskCommand.js +3 -1
- package/dist/audit/cli/explainTaskCommand.js.map +1 -1
- package/dist/audit/cli/fanoutLanes.d.ts +10 -14
- package/dist/audit/cli/fanoutLanes.d.ts.map +1 -1
- package/dist/audit/cli/fanoutLanes.js +50 -16
- package/dist/audit/cli/fanoutLanes.js.map +1 -1
- package/dist/audit/cli/functionalPreflight.d.ts +96 -0
- package/dist/audit/cli/functionalPreflight.d.ts.map +1 -0
- package/dist/audit/cli/functionalPreflight.js +103 -0
- package/dist/audit/cli/functionalPreflight.js.map +1 -0
- package/dist/audit/cli/laneSubmissions.d.ts +5 -1
- package/dist/audit/cli/laneSubmissions.d.ts.map +1 -1
- package/dist/audit/cli/laneSubmissions.js +45 -34
- package/dist/audit/cli/laneSubmissions.js.map +1 -1
- package/dist/audit/cli/nextStepCommand.d.ts +1 -9
- package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
- package/dist/audit/cli/nextStepCommand.js +101 -38
- package/dist/audit/cli/nextStepCommand.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts +10 -25
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +57 -67
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/cli/prompts.d.ts.map +1 -1
- package/dist/audit/cli/prompts.js +9 -4
- package/dist/audit/cli/prompts.js.map +1 -1
- package/dist/audit/cli/recoverSubmissionCommand.d.ts.map +1 -1
- package/dist/audit/cli/recoverSubmissionCommand.js +8 -1
- package/dist/audit/cli/recoverSubmissionCommand.js.map +1 -1
- package/dist/audit/cli/reviewRun.js +1 -1
- package/dist/audit/cli/reviewRun.js.map +1 -1
- package/dist/audit/cli/reviewSubmission.d.ts +24 -0
- package/dist/audit/cli/reviewSubmission.d.ts.map +1 -0
- package/dist/audit/cli/reviewSubmission.js +97 -0
- package/dist/audit/cli/reviewSubmission.js.map +1 -0
- package/dist/audit/cli/sampleRunCommand.d.ts +3 -3
- package/dist/audit/cli/steps.d.ts +18 -18
- package/dist/audit/cli/steps.d.ts.map +1 -1
- package/dist/audit/cli/steps.js +1 -0
- package/dist/audit/cli/steps.js.map +1 -1
- package/dist/audit/cli/unacceptResultsCommand.d.ts.map +1 -1
- package/dist/audit/cli/unacceptResultsCommand.js +2 -1
- package/dist/audit/cli/unacceptResultsCommand.js.map +1 -1
- package/dist/audit/cli.d.ts +2 -1
- package/dist/audit/cli.d.ts.map +1 -1
- package/dist/audit/cli.js +27 -19
- package/dist/audit/cli.js.map +1 -1
- package/dist/audit/contracts/workerSchemas.d.ts +10 -10
- package/dist/audit/contracts/wrapperResponse.d.ts +34 -34
- package/dist/audit/extractors/commentDecomposition.d.ts +14 -0
- package/dist/audit/extractors/commentDecomposition.d.ts.map +1 -1
- package/dist/audit/extractors/commentDecomposition.js +2 -1
- package/dist/audit/extractors/commentDecomposition.js.map +1 -1
- package/dist/audit/extractors/graph.d.ts +1 -1
- package/dist/audit/extractors/graph.d.ts.map +1 -1
- package/dist/audit/extractors/graph.js +12 -7
- package/dist/audit/extractors/graph.js.map +1 -1
- package/dist/audit/extractors/graphPythonImports.d.ts +3 -0
- package/dist/audit/extractors/graphPythonImports.d.ts.map +1 -1
- package/dist/audit/extractors/graphPythonImports.js +24 -5
- package/dist/audit/extractors/graphPythonImports.js.map +1 -1
- package/dist/audit/extractors/graphRouteSources.d.ts +7 -0
- package/dist/audit/extractors/graphRouteSources.d.ts.map +1 -0
- package/dist/audit/extractors/graphRouteSources.js +208 -0
- package/dist/audit/extractors/graphRouteSources.js.map +1 -0
- package/dist/audit/extractors/graphRoutes.d.ts +1 -1
- package/dist/audit/extractors/graphRoutes.d.ts.map +1 -1
- package/dist/audit/extractors/graphRoutes.js +65 -68
- package/dist/audit/extractors/graphRoutes.js.map +1 -1
- package/dist/audit/io/artifacts.d.ts +1 -0
- package/dist/audit/io/artifacts.d.ts.map +1 -1
- package/dist/audit/io/artifacts.js +29 -10
- package/dist/audit/io/artifacts.js.map +1 -1
- package/dist/audit/io/runArtifacts.d.ts +1 -1
- package/dist/audit/io/runArtifacts.d.ts.map +1 -1
- package/dist/audit/io/runArtifacts.js +3 -0
- package/dist/audit/io/runArtifacts.js.map +1 -1
- package/dist/audit/io/toolingManifest.d.ts.map +1 -1
- package/dist/audit/io/toolingManifest.js +11 -32
- package/dist/audit/io/toolingManifest.js.map +1 -1
- package/dist/audit/orchestrator/acquisitionExecutor.d.ts +2 -3
- package/dist/audit/orchestrator/acquisitionExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/acquisitionExecutor.js.map +1 -1
- package/dist/audit/orchestrator/advanceTypes.d.ts +1 -2
- package/dist/audit/orchestrator/advanceTypes.d.ts.map +1 -1
- package/dist/audit/orchestrator/autoFixExecutor.d.ts +2 -2
- package/dist/audit/orchestrator/autoFixExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/autoFixExecutor.js +2 -2
- package/dist/audit/orchestrator/autoFixExecutor.js.map +1 -1
- package/dist/audit/orchestrator/charterFidelityPacket.d.ts +2 -0
- package/dist/audit/orchestrator/charterFidelityPacket.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterFidelityPacket.js +6 -1
- package/dist/audit/orchestrator/charterFidelityPacket.js.map +1 -1
- package/dist/audit/orchestrator/charterPackets.d.ts +2 -0
- package/dist/audit/orchestrator/charterPackets.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterPackets.js +6 -0
- package/dist/audit/orchestrator/charterPackets.js.map +1 -1
- package/dist/audit/orchestrator/designReviewProjection.d.ts +5 -8
- package/dist/audit/orchestrator/designReviewProjection.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewProjection.js +7 -1
- package/dist/audit/orchestrator/designReviewProjection.js.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.d.ts +3 -47
- package/dist/audit/orchestrator/designReviewPrompt.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.js +28 -135
- package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
- package/dist/audit/orchestrator/designReviewSnapshot.d.ts +24 -1
- package/dist/audit/orchestrator/designReviewSnapshot.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewSnapshot.js +8 -2
- package/dist/audit/orchestrator/designReviewSnapshot.js.map +1 -1
- package/dist/audit/orchestrator/designReviewTask.d.ts +46 -0
- package/dist/audit/orchestrator/designReviewTask.d.ts.map +1 -0
- package/dist/audit/orchestrator/designReviewTask.js +44 -0
- package/dist/audit/orchestrator/designReviewTask.js.map +1 -0
- package/dist/audit/orchestrator/intentCheckpointGate.d.ts +1 -1
- package/dist/audit/orchestrator/intentCheckpointGate.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointGate.js +4 -2
- package/dist/audit/orchestrator/intentCheckpointGate.js.map +1 -1
- package/dist/audit/orchestrator/intentEquivalenceExecutor.d.ts +3 -0
- package/dist/audit/orchestrator/intentEquivalenceExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentEquivalenceExecutor.js +2 -0
- package/dist/audit/orchestrator/intentEquivalenceExecutor.js.map +1 -1
- package/dist/audit/orchestrator/intentInterpreter.d.ts +1 -9
- package/dist/audit/orchestrator/intentInterpreter.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentInterpreter.js +6 -11
- package/dist/audit/orchestrator/intentInterpreter.js.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/shared.d.ts +2 -2
- package/dist/audit/orchestrator/selectiveDeepening/shared.d.ts.map +1 -1
- package/dist/audit/orchestrator/staleness.d.ts.map +1 -1
- package/dist/audit/orchestrator/staleness.js +32 -40
- package/dist/audit/orchestrator/staleness.js.map +1 -1
- package/dist/audit/orchestrator/state.d.ts.map +1 -1
- package/dist/audit/orchestrator/state.js +8 -14
- package/dist/audit/orchestrator/state.js.map +1 -1
- package/dist/audit/orchestrator/systemicChallengeExecutor.d.ts +19 -0
- package/dist/audit/orchestrator/systemicChallengeExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/systemicChallengeExecutor.js +15 -1
- package/dist/audit/orchestrator/systemicChallengeExecutor.js.map +1 -1
- package/dist/audit/reporting/criticalFlowFallbackPrompt.d.ts +1 -1
- package/dist/audit/reporting/criticalFlowFallbackPrompt.d.ts.map +1 -1
- package/dist/audit/reporting/criticalFlowFallbackPrompt.js +4 -2
- package/dist/audit/reporting/criticalFlowFallbackPrompt.js.map +1 -1
- package/dist/audit/reporting/mergeFindings.d.ts.map +1 -1
- package/dist/audit/reporting/mergeFindings.js +43 -2
- package/dist/audit/reporting/mergeFindings.js.map +1 -1
- package/dist/audit/types/auditScope.d.ts +2 -2
- package/dist/audit/types/auditState.d.ts +6 -6
- package/dist/audit/types/conceptualAdjudication.d.ts +19 -19
- package/dist/audit/types/conceptualAdjudication.d.ts.map +1 -1
- package/dist/audit/types/conceptualAdjudication.js +3 -3
- package/dist/audit/types/conceptualAdjudication.js.map +1 -1
- package/dist/audit/types.d.ts +17 -19
- package/dist/audit/types.d.ts.map +1 -1
- package/dist/audit/types.js +19 -20
- package/dist/audit/types.js.map +1 -1
- package/dist/remediate/contractPipeline/artifactStore.d.ts +3 -1
- package/dist/remediate/contractPipeline/artifactStore.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/artifactStore.js +26 -31
- package/dist/remediate/contractPipeline/artifactStore.js.map +1 -1
- package/dist/remediate/contractPipeline/changeClassification.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/changeClassification.js +20 -8
- package/dist/remediate/contractPipeline/changeClassification.js.map +1 -1
- package/dist/remediate/contractPipeline/contractReviewBinding.d.ts +28 -0
- package/dist/remediate/contractPipeline/contractReviewBinding.d.ts.map +1 -0
- package/dist/remediate/contractPipeline/contractReviewBinding.js +75 -0
- package/dist/remediate/contractPipeline/contractReviewBinding.js.map +1 -0
- package/dist/remediate/contractPipeline/repairState.d.ts +3 -1
- package/dist/remediate/contractPipeline/repairState.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/repairState.js +1 -0
- package/dist/remediate/contractPipeline/repairState.js.map +1 -1
- package/dist/remediate/contractPipeline/sketchSource.d.ts +1 -0
- package/dist/remediate/contractPipeline/sketchSource.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/sketchSource.js +1 -0
- package/dist/remediate/contractPipeline/sketchSource.js.map +1 -1
- package/dist/remediate/dedup/crossLensDedup.d.ts +1 -2
- package/dist/remediate/dedup/crossLensDedup.d.ts.map +1 -1
- package/dist/remediate/dedup/crossLensDedup.js +1 -0
- package/dist/remediate/dedup/crossLensDedup.js.map +1 -1
- package/dist/remediate/index.d.ts.map +1 -1
- package/dist/remediate/index.js +92 -52
- package/dist/remediate/index.js.map +1 -1
- package/dist/remediate/intake.d.ts +54 -0
- package/dist/remediate/intake.d.ts.map +1 -1
- package/dist/remediate/intake.js +15 -1
- package/dist/remediate/intake.js.map +1 -1
- package/dist/remediate/intakeSelection.d.ts +27 -0
- package/dist/remediate/intakeSelection.d.ts.map +1 -0
- package/dist/remediate/intakeSelection.js +37 -0
- package/dist/remediate/intakeSelection.js.map +1 -0
- package/dist/remediate/intent/intentPersistence.d.ts +41 -0
- package/dist/remediate/intent/intentPersistence.d.ts.map +1 -0
- package/dist/remediate/intent/intentPersistence.js +129 -0
- package/dist/remediate/intent/intentPersistence.js.map +1 -0
- package/dist/remediate/phases/close.d.ts +2 -1
- package/dist/remediate/phases/close.d.ts.map +1 -1
- package/dist/remediate/phases/close.js +19 -2
- package/dist/remediate/phases/close.js.map +1 -1
- package/dist/remediate/phases/closeReviewProvenance.d.ts +4 -0
- package/dist/remediate/phases/closeReviewProvenance.d.ts.map +1 -0
- package/dist/remediate/phases/closeReviewProvenance.js +16 -0
- package/dist/remediate/phases/closeReviewProvenance.js.map +1 -0
- package/dist/remediate/phases/triage.d.ts.map +1 -1
- package/dist/remediate/phases/triage.js +3 -1
- package/dist/remediate/phases/triage.js.map +1 -1
- package/dist/remediate/review/filterDispositions.d.ts +13 -0
- package/dist/remediate/review/filterDispositions.d.ts.map +1 -0
- package/dist/remediate/review/filterDispositions.js +32 -0
- package/dist/remediate/review/filterDispositions.js.map +1 -0
- package/dist/remediate/state/runIdentity.d.ts +27 -0
- package/dist/remediate/state/runIdentity.d.ts.map +1 -0
- package/dist/remediate/state/runIdentity.js +38 -0
- package/dist/remediate/state/runIdentity.js.map +1 -0
- package/dist/remediate/state/store.d.ts +80 -1
- package/dist/remediate/state/store.d.ts.map +1 -1
- package/dist/remediate/state/store.js +82 -1
- package/dist/remediate/state/store.js.map +1 -1
- package/dist/remediate/state/types.d.ts +215 -42
- package/dist/remediate/state/types.d.ts.map +1 -1
- package/dist/remediate/state/types.js +11 -3
- package/dist/remediate/state/types.js.map +1 -1
- package/dist/remediate/steps/contractPipeline.d.ts +61 -3
- package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipeline.js +121 -47
- package/dist/remediate/steps/contractPipeline.js.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.d.ts +27 -4
- package/dist/remediate/steps/contractPipelinePrompts.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.js +34 -32
- package/dist/remediate/steps/contractPipelinePrompts.js.map +1 -1
- package/dist/remediate/steps/dispatch/contractConformanceReview.d.ts +31 -0
- package/dist/remediate/steps/dispatch/contractConformanceReview.d.ts.map +1 -0
- package/dist/remediate/steps/dispatch/contractConformanceReview.js +98 -0
- package/dist/remediate/steps/dispatch/contractConformanceReview.js.map +1 -0
- package/dist/remediate/steps/dispatch/hostContracts.d.ts +133 -0
- package/dist/remediate/steps/dispatch/hostContracts.d.ts.map +1 -0
- package/dist/remediate/steps/dispatch/hostContracts.js +104 -0
- package/dist/remediate/steps/dispatch/hostContracts.js.map +1 -0
- package/dist/remediate/steps/dispatch/hostCorroboration.d.ts +70 -0
- package/dist/remediate/steps/dispatch/hostCorroboration.d.ts.map +1 -0
- package/dist/remediate/steps/dispatch/hostCorroboration.js +350 -0
- package/dist/remediate/steps/dispatch/hostCorroboration.js.map +1 -0
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts +8 -162
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/hostHandoff.js +137 -690
- package/dist/remediate/steps/dispatch/hostHandoff.js.map +1 -1
- package/dist/remediate/steps/dispatch/requiredTests.d.ts +83 -0
- package/dist/remediate/steps/dispatch/requiredTests.d.ts.map +1 -0
- package/dist/remediate/steps/dispatch/requiredTests.js +262 -0
- package/dist/remediate/steps/dispatch/requiredTests.js.map +1 -0
- package/dist/remediate/steps/finalGate.d.ts +8 -7
- package/dist/remediate/steps/finalGate.d.ts.map +1 -1
- package/dist/remediate/steps/finalGate.js +14 -11
- package/dist/remediate/steps/finalGate.js.map +1 -1
- package/dist/remediate/steps/frictionCloseout.d.ts +34 -0
- package/dist/remediate/steps/frictionCloseout.d.ts.map +1 -0
- package/dist/remediate/steps/frictionCloseout.js +113 -0
- package/dist/remediate/steps/frictionCloseout.js.map +1 -0
- package/dist/remediate/steps/gateCommands.d.ts +7 -9
- package/dist/remediate/steps/gateCommands.d.ts.map +1 -1
- package/dist/remediate/steps/gateCommands.js +37 -11
- package/dist/remediate/steps/gateCommands.js.map +1 -1
- package/dist/remediate/steps/intakeResolver.d.ts +2 -0
- package/dist/remediate/steps/intakeResolver.d.ts.map +1 -1
- package/dist/remediate/steps/intakeResolver.js +36 -11
- package/dist/remediate/steps/intakeResolver.js.map +1 -1
- package/dist/remediate/steps/nextStep.d.ts +23 -110
- package/dist/remediate/steps/nextStep.d.ts.map +1 -1
- package/dist/remediate/steps/nextStep.js +232 -508
- package/dist/remediate/steps/nextStep.js.map +1 -1
- package/dist/remediate/steps/prompts.d.ts +1 -1
- package/dist/remediate/steps/prompts.d.ts.map +1 -1
- package/dist/remediate/steps/prompts.js +7 -2
- package/dist/remediate/steps/prompts.js.map +1 -1
- package/dist/remediate/steps/recoverIngest.d.ts +57 -0
- package/dist/remediate/steps/recoverIngest.d.ts.map +1 -0
- package/dist/remediate/steps/recoverIngest.js +171 -0
- package/dist/remediate/steps/recoverIngest.js.map +1 -0
- package/dist/remediate/steps/stepWriter.d.ts +5 -4
- package/dist/remediate/steps/stepWriter.d.ts.map +1 -1
- package/dist/remediate/steps/stepWriter.js +2 -1
- package/dist/remediate/steps/stepWriter.js.map +1 -1
- package/dist/remediate/steps/types.d.ts +2 -3
- package/dist/remediate/steps/types.d.ts.map +1 -1
- 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 -12
- 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 +10 -7
- package/dist/remediate/validation/contractPipeline.js.map +1 -1
- package/dist/remediate/validation/contractPipelineGates.d.ts +13 -67
- package/dist/remediate/validation/contractPipelineGates.d.ts.map +1 -1
- package/dist/remediate/validation/contractPipelineGates.js +65 -139
- package/dist/remediate/validation/contractPipelineGates.js.map +1 -1
- package/dist/remediate/validation/remediationState.d.ts.map +1 -1
- package/dist/remediate/validation/remediationState.js +9 -3
- package/dist/remediate/validation/remediationState.js.map +1 -1
- package/dist/shared/agentReflections.d.ts +2 -2
- package/dist/shared/analyzerPolicy.d.ts +2 -16
- package/dist/shared/analyzerPolicy.d.ts.map +1 -1
- package/dist/shared/analyzerPolicy.js +22 -24
- package/dist/shared/analyzerPolicy.js.map +1 -1
- package/dist/shared/analyzerRunConsent.d.ts +33 -0
- package/dist/shared/analyzerRunConsent.d.ts.map +1 -0
- package/dist/shared/analyzerRunConsent.js +42 -0
- package/dist/shared/analyzerRunConsent.js.map +1 -0
- package/dist/shared/analyzers/acquisitionEngine.d.ts +3 -8
- package/dist/shared/analyzers/acquisitionEngine.d.ts.map +1 -1
- package/dist/shared/analyzers/acquisitionEngine.js +1 -0
- package/dist/shared/analyzers/acquisitionEngine.js.map +1 -1
- package/dist/shared/decompose/charterExtraction.d.ts +8 -8
- package/dist/shared/decompose/systemicChallenge.d.ts +12 -12
- package/dist/shared/engine/obligationEngine.d.ts +2 -2
- package/dist/shared/findings/dedupe.d.ts.map +1 -1
- package/dist/shared/findings/dedupe.js +16 -0
- package/dist/shared/findings/dedupe.js.map +1 -1
- package/dist/shared/graph/orderedReachability.d.ts +9 -0
- package/dist/shared/graph/orderedReachability.d.ts.map +1 -0
- package/dist/shared/graph/orderedReachability.js +21 -0
- package/dist/shared/graph/orderedReachability.js.map +1 -0
- package/dist/shared/index.d.ts +9 -3
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +6 -3
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/intake/guidanceBootstrap.d.ts +2 -0
- package/dist/shared/intake/guidanceBootstrap.d.ts.map +1 -1
- package/dist/shared/intake/guidanceBootstrap.js +10 -1
- package/dist/shared/intake/guidanceBootstrap.js.map +1 -1
- package/dist/shared/intent/constraintClauses.d.ts +3 -0
- package/dist/shared/intent/constraintClauses.d.ts.map +1 -1
- package/dist/shared/intent/constraintClauses.js +9 -0
- package/dist/shared/intent/constraintClauses.js.map +1 -1
- package/dist/shared/io/artifactTreeHold.d.ts +5 -0
- package/dist/shared/io/artifactTreeHold.d.ts.map +1 -0
- package/dist/shared/io/artifactTreeHold.js +13 -0
- package/dist/shared/io/artifactTreeHold.js.map +1 -0
- package/dist/shared/io/auditToolsPaths.d.ts +3 -1
- package/dist/shared/io/auditToolsPaths.d.ts.map +1 -1
- package/dist/shared/io/auditToolsPaths.js +6 -1
- package/dist/shared/io/auditToolsPaths.js.map +1 -1
- package/dist/shared/io/collectFilesSorted.d.ts +10 -0
- package/dist/shared/io/collectFilesSorted.d.ts.map +1 -0
- package/dist/shared/io/collectFilesSorted.js +38 -0
- package/dist/shared/io/collectFilesSorted.js.map +1 -0
- package/dist/shared/io/json.d.ts.map +1 -1
- package/dist/shared/io/json.js +11 -4
- package/dist/shared/io/json.js.map +1 -1
- package/dist/shared/io/stepContractWriter.d.ts.map +1 -1
- package/dist/shared/io/stepContractWriter.js +8 -0
- package/dist/shared/io/stepContractWriter.js.map +1 -1
- package/dist/shared/loopCorePaths.d.ts.map +1 -1
- package/dist/shared/loopCorePaths.js +9 -0
- package/dist/shared/loopCorePaths.js.map +1 -1
- package/dist/shared/observability/rootLogObservations.d.ts +10 -0
- package/dist/shared/observability/rootLogObservations.d.ts.map +1 -0
- package/dist/shared/observability/rootLogObservations.js +147 -0
- package/dist/shared/observability/rootLogObservations.js.map +1 -0
- package/dist/shared/prompts.d.ts +7 -7
- package/dist/shared/prompts.d.ts.map +1 -1
- package/dist/shared/prompts.js +11 -11
- package/dist/shared/prompts.js.map +1 -1
- package/dist/shared/submission/submissionLedger.d.ts +7 -1
- package/dist/shared/submission/submissionLedger.d.ts.map +1 -1
- package/dist/shared/submission/submissionLedger.js +8 -0
- package/dist/shared/submission/submissionLedger.js.map +1 -1
- package/dist/shared/tooling/testCommand.d.ts +1 -0
- package/dist/shared/tooling/testCommand.d.ts.map +1 -1
- package/dist/shared/tooling/testCommand.js +4 -0
- package/dist/shared/tooling/testCommand.js.map +1 -1
- package/dist/shared/types/charter.d.ts +8 -8
- package/dist/shared/types/conceptualPerspective.d.ts +66 -0
- package/dist/shared/types/conceptualPerspective.d.ts.map +1 -0
- package/dist/shared/types/conceptualPerspective.js +135 -0
- package/dist/shared/types/conceptualPerspective.js.map +1 -0
- package/dist/shared/types/contractPipeline/design.d.ts +5 -0
- package/dist/shared/types/contractPipeline/design.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline/design.js +6 -0
- package/dist/shared/types/contractPipeline/design.js.map +1 -1
- package/dist/shared/types/contractPipeline/implementation.d.ts +54 -0
- package/dist/shared/types/contractPipeline/implementation.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline/implementation.js +10 -5
- package/dist/shared/types/contractPipeline/implementation.js.map +1 -1
- package/dist/shared/types/contractPipeline/obligations.d.ts +21 -10
- package/dist/shared/types/contractPipeline/obligations.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline/obligations.js +13 -1
- package/dist/shared/types/contractPipeline/obligations.js.map +1 -1
- package/dist/shared/types/disposition.d.ts +6 -6
- package/dist/shared/types/finding.d.ts +50 -50
- package/dist/shared/types/intentCheckpoint.d.ts +66 -11
- package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
- package/dist/shared/types/intentCheckpoint.js +10 -2
- package/dist/shared/types/intentCheckpoint.js.map +1 -1
- package/dist/shared/types/remediationOutcome.d.ts +252 -24
- package/dist/shared/types/remediationOutcome.d.ts.map +1 -1
- package/dist/shared/types/remediationOutcome.js +4 -0
- package/dist/shared/types/remediationOutcome.js.map +1 -1
- package/dist/shared/types/reviewIndependence.d.ts +225 -0
- package/dist/shared/types/reviewIndependence.d.ts.map +1 -0
- package/dist/shared/types/reviewIndependence.js +67 -0
- package/dist/shared/types/reviewIndependence.js.map +1 -0
- package/dist/shared/types/stepContract.d.ts +8 -2
- package/dist/shared/types/stepContract.d.ts.map +1 -1
- package/dist/shared/types/stepContract.js +4 -1
- package/dist/shared/types/stepContract.js.map +1 -1
- package/dist/shared/validation/findingsReport.d.ts.map +1 -1
- package/dist/shared/validation/findingsReport.js +13 -0
- package/dist/shared/validation/findingsReport.js.map +1 -1
- package/docs/audit-pkg/contracts.md +38 -2
- package/docs/audit-pkg/operator-guide.md +59 -4
- package/package.json +5 -5
- package/skills/audit-code/audit-code.prompt.md +1 -31
- package/skills/remediate-code/remediate-code.prompt.md +12 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
/**
|
|
2
3
|
* Contract-pipeline artifact: obligations phase.
|
|
3
4
|
*
|
|
@@ -148,19 +149,29 @@ export interface ContractAssessmentReport {
|
|
|
148
149
|
created_at: string;
|
|
149
150
|
}
|
|
150
151
|
/** A concrete example produced by the adversarial critic that falsifies a design claim. */
|
|
151
|
-
export
|
|
152
|
-
|
|
152
|
+
export declare const CounterexampleSchema: z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
claim: z.ZodString;
|
|
155
|
+
reproduction_steps: z.ZodArray<z.ZodString, "many">;
|
|
156
|
+
expected: z.ZodString;
|
|
157
|
+
actual: z.ZodString;
|
|
158
|
+
violated_obligation_ids: z.ZodArray<z.ZodString, "many">;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
expected: string;
|
|
153
161
|
id: string;
|
|
154
|
-
/** The design claim being falsified. */
|
|
155
162
|
claim: string;
|
|
156
|
-
/** Concrete steps that reproduce the failure. */
|
|
157
163
|
reproduction_steps: string[];
|
|
158
|
-
|
|
164
|
+
actual: string;
|
|
165
|
+
violated_obligation_ids: string[];
|
|
166
|
+
}, {
|
|
159
167
|
expected: string;
|
|
168
|
+
id: string;
|
|
169
|
+
claim: string;
|
|
170
|
+
reproduction_steps: string[];
|
|
160
171
|
actual: string;
|
|
161
|
-
/** Which obligation(s) this counterexample violates. */
|
|
162
172
|
violated_obligation_ids: string[];
|
|
163
|
-
}
|
|
173
|
+
}>;
|
|
174
|
+
export type Counterexample = z.infer<typeof CounterexampleSchema>;
|
|
164
175
|
/** The critic phase's output artifact: all counterexamples found against the design. */
|
|
165
176
|
export interface CounterexampleReport {
|
|
166
177
|
contract_version: typeof CONTRACT_PIPELINE_COUNTEREXAMPLE_VERSION;
|
|
@@ -196,10 +207,10 @@ export interface JudgedCounterexample {
|
|
|
196
207
|
*
|
|
197
208
|
* `counterexample` is NOT a member. The judge rules on the critic's report, so
|
|
198
209
|
* it cannot order that report rewritten, and the repair loop can regenerate only
|
|
199
|
-
* the
|
|
210
|
+
* the declared owning contract artifacts. It was admitted once and then swapped for an
|
|
200
211
|
* inferred target in silence; the validator now refuses it with that reason.
|
|
201
212
|
*/
|
|
202
|
-
export declare const CONTRACT_REPAIR_TARGETS: readonly ["finalized_module_contracts", "obligation_ledger", "contract_assessment_report", "design_spec"];
|
|
213
|
+
export declare const CONTRACT_REPAIR_TARGETS: readonly ["module_decomposition", "finalized_module_contracts", "obligation_ledger", "contract_assessment_report", "design_spec"];
|
|
203
214
|
/**
|
|
204
215
|
* The values a validator still ACCEPTS but no sketch OFFERS — the
|
|
205
216
|
* accept-legacy / emit-current split, declared as data.
|
|
@@ -226,7 +237,7 @@ export declare const CONTRACT_REPAIR_TARGETS_LEGACY: readonly ["design_spec"];
|
|
|
226
237
|
* {@link CONTRACT_REPAIR_TARGETS}, so adding a target adds it to the sketch
|
|
227
238
|
* automatically and removing one cannot leave a stale alternation behind.
|
|
228
239
|
*/
|
|
229
|
-
export declare const CONTRACT_REPAIR_TARGETS_OFFERED: ("design_spec" | "finalized_module_contracts" | "obligation_ledger" | "contract_assessment_report")[];
|
|
240
|
+
export declare const CONTRACT_REPAIR_TARGETS_OFFERED: ("design_spec" | "module_decomposition" | "finalized_module_contracts" | "obligation_ledger" | "contract_assessment_report")[];
|
|
230
241
|
/**
|
|
231
242
|
* Contract artifacts the judge may order regenerated — DERIVED from the one
|
|
232
243
|
* declaration above, which the validator and every prompt sketch also read.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"obligations.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/contractPipeline/obligations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"obligations.d.ts","sourceRoot":"","sources":["../../../../src/shared/types/contractPipeline/obligations.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
// sites-pinned: tests/remediate/step-prompt-sketch-drift.test.ts, tests/remediate/contract-pipeline.test.ts
|
|
2
3
|
/**
|
|
3
4
|
* Contract-pipeline artifact: obligations phase.
|
|
@@ -14,6 +15,16 @@ export const CONTRACT_PIPELINE_TEST_VALIDATOR_PLAN_VERSION = "remediate-code-con
|
|
|
14
15
|
export const CONTRACT_PIPELINE_CONTRACT_ASSESSMENT_REPORT_VERSION = "remediate-code-contract-pipeline/contract-assessment-report/v1alpha1";
|
|
15
16
|
export const CONTRACT_PIPELINE_COUNTEREXAMPLE_VERSION = "remediate-code-contract-pipeline/counterexample/v1alpha1";
|
|
16
17
|
export const CONTRACT_PIPELINE_JUDGE_REPORT_VERSION = "remediate-code-contract-pipeline/judge-report/v1alpha1";
|
|
18
|
+
// ── Counterexample ────────────────────────────────────────────────────────────
|
|
19
|
+
/** A concrete example produced by the adversarial critic that falsifies a design claim. */
|
|
20
|
+
export const CounterexampleSchema = z.object({
|
|
21
|
+
id: z.string().min(1),
|
|
22
|
+
claim: z.string().min(1),
|
|
23
|
+
reproduction_steps: z.array(z.string()),
|
|
24
|
+
expected: z.string().min(1),
|
|
25
|
+
actual: z.string().min(1),
|
|
26
|
+
violated_obligation_ids: z.array(z.string()),
|
|
27
|
+
});
|
|
17
28
|
/**
|
|
18
29
|
* `judge_report.repair_directive.target` — the artifacts a repair may name.
|
|
19
30
|
*
|
|
@@ -33,10 +44,11 @@ export const CONTRACT_PIPELINE_JUDGE_REPORT_VERSION = "remediate-code-contract-p
|
|
|
33
44
|
*
|
|
34
45
|
* `counterexample` is NOT a member. The judge rules on the critic's report, so
|
|
35
46
|
* it cannot order that report rewritten, and the repair loop can regenerate only
|
|
36
|
-
* the
|
|
47
|
+
* the declared owning contract artifacts. It was admitted once and then swapped for an
|
|
37
48
|
* inferred target in silence; the validator now refuses it with that reason.
|
|
38
49
|
*/
|
|
39
50
|
export const CONTRACT_REPAIR_TARGETS = [
|
|
51
|
+
"module_decomposition",
|
|
40
52
|
"finalized_module_contracts",
|
|
41
53
|
"obligation_ledger",
|
|
42
54
|
"contract_assessment_report",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"obligations.js","sourceRoot":"","sources":["../../../../src/shared/types/contractPipeline/obligations.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G;;;;;;;;GAQG;AAEH,gFAAgF;AAEhF,MAAM,CAAC,MAAM,2CAA2C,GACtD,6DAAsE,CAAC;AAEzE,MAAM,CAAC,MAAM,6CAA6C,GACxD,+DAAwE,CAAC;AAE3E,MAAM,CAAC,MAAM,oDAAoD,GAC/D,sEAA+E,CAAC;AAElF,MAAM,CAAC,MAAM,wCAAwC,GACnD,0DAAmE,CAAC;AAEtE,MAAM,CAAC,MAAM,sCAAsC,GACjD,wDAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"obligations.js","sourceRoot":"","sources":["../../../../src/shared/types/contractPipeline/obligations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,4GAA4G;AAC5G;;;;;;;;GAQG;AAEH,gFAAgF;AAEhF,MAAM,CAAC,MAAM,2CAA2C,GACtD,6DAAsE,CAAC;AAEzE,MAAM,CAAC,MAAM,6CAA6C,GACxD,+DAAwE,CAAC;AAE3E,MAAM,CAAC,MAAM,oDAAoD,GAC/D,sEAA+E,CAAC;AAElF,MAAM,CAAC,MAAM,wCAAwC,GACnD,0DAAmE,CAAC;AAEtE,MAAM,CAAC,MAAM,sCAAsC,GACjD,wDAAiE,CAAC;AA6JpE,iFAAiF;AAEjF,2FAA2F;AAC3F,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC7C,CAAC,CAAC;AA6BH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,sBAAsB;IACtB,4BAA4B;IAC5B,mBAAmB;IACnB,4BAA4B;IAC5B,aAAa;CACL,CAAC;AAEX;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,aAAa,CAAU,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAC3E,CAAC,MAAM,EAAE,EAAE,CACT,CAAE,8BAAoD,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC1E,CAAC"}
|
|
@@ -7,11 +7,11 @@ export declare const FileDispositionItemSchema: z.ZodObject<{
|
|
|
7
7
|
reason: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
9
|
path: string;
|
|
10
|
-
status: "
|
|
10
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
11
11
|
reason?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
path: string;
|
|
14
|
-
status: "
|
|
14
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
15
15
|
reason?: string | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export type FileDispositionItem = z.infer<typeof FileDispositionItemSchema>;
|
|
@@ -22,23 +22,23 @@ export declare const FileDispositionSchema: z.ZodObject<{
|
|
|
22
22
|
reason: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, "strict", z.ZodTypeAny, {
|
|
24
24
|
path: string;
|
|
25
|
-
status: "
|
|
25
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
26
26
|
reason?: string | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
path: string;
|
|
29
|
-
status: "
|
|
29
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
30
30
|
reason?: string | undefined;
|
|
31
31
|
}>, "many">;
|
|
32
32
|
}, "strict", z.ZodTypeAny, {
|
|
33
33
|
files: {
|
|
34
34
|
path: string;
|
|
35
|
-
status: "
|
|
35
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
36
36
|
reason?: string | undefined;
|
|
37
37
|
}[];
|
|
38
38
|
}, {
|
|
39
39
|
files: {
|
|
40
40
|
path: string;
|
|
41
|
-
status: "
|
|
41
|
+
status: "binary" | "included" | "excluded" | "generated" | "vendor" | "doc_only";
|
|
42
42
|
reason?: string | undefined;
|
|
43
43
|
}[];
|
|
44
44
|
}>;
|
|
@@ -711,7 +711,7 @@ export declare const FindingSchema: z.ZodObject<{
|
|
|
711
711
|
confidence: "high" | "low" | "medium";
|
|
712
712
|
title: string;
|
|
713
713
|
category: string;
|
|
714
|
-
severity: "
|
|
714
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
715
715
|
lens: string;
|
|
716
716
|
summary: string;
|
|
717
717
|
affected_files: {
|
|
@@ -723,7 +723,7 @@ export declare const FindingSchema: z.ZodObject<{
|
|
|
723
723
|
no_quotable_span?: string | undefined;
|
|
724
724
|
hash_at_plan_time?: string | undefined;
|
|
725
725
|
}[];
|
|
726
|
-
severity_downgraded_from?: "
|
|
726
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
727
727
|
impact?: string | undefined;
|
|
728
728
|
likelihood?: string | undefined;
|
|
729
729
|
evidence?: string[] | undefined;
|
|
@@ -774,7 +774,7 @@ export declare const FindingSchema: z.ZodObject<{
|
|
|
774
774
|
confidence: "high" | "low" | "medium";
|
|
775
775
|
title: string;
|
|
776
776
|
category: string;
|
|
777
|
-
severity: "
|
|
777
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
778
778
|
lens: string;
|
|
779
779
|
summary: string;
|
|
780
780
|
affected_files: {
|
|
@@ -786,7 +786,7 @@ export declare const FindingSchema: z.ZodObject<{
|
|
|
786
786
|
no_quotable_span?: string | undefined;
|
|
787
787
|
hash_at_plan_time?: string | undefined;
|
|
788
788
|
}[];
|
|
789
|
-
severity_downgraded_from?: "
|
|
789
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
790
790
|
impact?: string | undefined;
|
|
791
791
|
likelihood?: string | undefined;
|
|
792
792
|
evidence?: string[] | undefined;
|
|
@@ -853,7 +853,7 @@ export declare const WorkBlockSchema: z.ZodObject<{
|
|
|
853
853
|
finding_ids: string[];
|
|
854
854
|
owned_files: string[];
|
|
855
855
|
role: "implementation" | "coordination";
|
|
856
|
-
max_severity: "
|
|
856
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
857
857
|
rationale: string;
|
|
858
858
|
depends_on: string[];
|
|
859
859
|
token_estimate?: number | undefined;
|
|
@@ -863,7 +863,7 @@ export declare const WorkBlockSchema: z.ZodObject<{
|
|
|
863
863
|
finding_ids: string[];
|
|
864
864
|
owned_files: string[];
|
|
865
865
|
role: "implementation" | "coordination";
|
|
866
|
-
max_severity: "
|
|
866
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
867
867
|
rationale: string;
|
|
868
868
|
depends_on: string[];
|
|
869
869
|
token_estimate?: number | undefined;
|
|
@@ -1049,15 +1049,15 @@ export declare const LensCoverageEntrySchema: z.ZodObject<{
|
|
|
1049
1049
|
findings_count: z.ZodNumber;
|
|
1050
1050
|
outcome: z.ZodEnum<["clean", "findings", "degraded", "not_run", "not_applicable"]>;
|
|
1051
1051
|
}, "strict", z.ZodTypeAny, {
|
|
1052
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1052
1053
|
lens: string;
|
|
1053
1054
|
selected: boolean;
|
|
1054
1055
|
findings_count: number;
|
|
1055
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1056
1056
|
}, {
|
|
1057
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1057
1058
|
lens: string;
|
|
1058
1059
|
selected: boolean;
|
|
1059
1060
|
findings_count: number;
|
|
1060
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1061
1061
|
}>;
|
|
1062
1062
|
export type LensCoverageEntry = z.infer<typeof LensCoverageEntrySchema>;
|
|
1063
1063
|
export declare const AuditFindingsSummarySchema: z.ZodObject<{
|
|
@@ -1106,15 +1106,15 @@ export declare const AuditFindingsSummarySchema: z.ZodObject<{
|
|
|
1106
1106
|
findings_count: z.ZodNumber;
|
|
1107
1107
|
outcome: z.ZodEnum<["clean", "findings", "degraded", "not_run", "not_applicable"]>;
|
|
1108
1108
|
}, "strict", z.ZodTypeAny, {
|
|
1109
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1109
1110
|
lens: string;
|
|
1110
1111
|
selected: boolean;
|
|
1111
1112
|
findings_count: number;
|
|
1112
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1113
1113
|
}, {
|
|
1114
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1114
1115
|
lens: string;
|
|
1115
1116
|
selected: boolean;
|
|
1116
1117
|
findings_count: number;
|
|
1117
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1118
1118
|
}>, "many">>;
|
|
1119
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1120
1120
|
finding_count: number;
|
|
@@ -1127,10 +1127,10 @@ export declare const AuditFindingsSummarySchema: z.ZodObject<{
|
|
|
1127
1127
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
1128
1128
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
1129
1129
|
lens_coverage?: {
|
|
1130
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1130
1131
|
lens: string;
|
|
1131
1132
|
selected: boolean;
|
|
1132
1133
|
findings_count: number;
|
|
1133
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1134
1134
|
}[] | undefined;
|
|
1135
1135
|
}, {
|
|
1136
1136
|
finding_count: number;
|
|
@@ -1143,10 +1143,10 @@ export declare const AuditFindingsSummarySchema: z.ZodObject<{
|
|
|
1143
1143
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
1144
1144
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
1145
1145
|
lens_coverage?: {
|
|
1146
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1146
1147
|
lens: string;
|
|
1147
1148
|
selected: boolean;
|
|
1148
1149
|
findings_count: number;
|
|
1149
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1150
1150
|
}[] | undefined;
|
|
1151
1151
|
}>;
|
|
1152
1152
|
export type AuditFindingsSummary = z.infer<typeof AuditFindingsSummarySchema>;
|
|
@@ -1243,15 +1243,15 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1243
1243
|
findings_count: z.ZodNumber;
|
|
1244
1244
|
outcome: z.ZodEnum<["clean", "findings", "degraded", "not_run", "not_applicable"]>;
|
|
1245
1245
|
}, "strict", z.ZodTypeAny, {
|
|
1246
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1246
1247
|
lens: string;
|
|
1247
1248
|
selected: boolean;
|
|
1248
1249
|
findings_count: number;
|
|
1249
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1250
1250
|
}, {
|
|
1251
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1251
1252
|
lens: string;
|
|
1252
1253
|
selected: boolean;
|
|
1253
1254
|
findings_count: number;
|
|
1254
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1255
1255
|
}>, "many">>;
|
|
1256
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1257
|
finding_count: number;
|
|
@@ -1264,10 +1264,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1264
1264
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
1265
1265
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
1266
1266
|
lens_coverage?: {
|
|
1267
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1267
1268
|
lens: string;
|
|
1268
1269
|
selected: boolean;
|
|
1269
1270
|
findings_count: number;
|
|
1270
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1271
1271
|
}[] | undefined;
|
|
1272
1272
|
}, {
|
|
1273
1273
|
finding_count: number;
|
|
@@ -1280,10 +1280,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1280
1280
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
1281
1281
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
1282
1282
|
lens_coverage?: {
|
|
1283
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1283
1284
|
lens: string;
|
|
1284
1285
|
selected: boolean;
|
|
1285
1286
|
findings_count: number;
|
|
1286
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
1287
1287
|
}[] | undefined;
|
|
1288
1288
|
}>;
|
|
1289
1289
|
findings: z.ZodArray<z.ZodObject<{
|
|
@@ -1581,7 +1581,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1581
1581
|
confidence: "high" | "low" | "medium";
|
|
1582
1582
|
title: string;
|
|
1583
1583
|
category: string;
|
|
1584
|
-
severity: "
|
|
1584
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1585
1585
|
lens: string;
|
|
1586
1586
|
summary: string;
|
|
1587
1587
|
affected_files: {
|
|
@@ -1593,7 +1593,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1593
1593
|
no_quotable_span?: string | undefined;
|
|
1594
1594
|
hash_at_plan_time?: string | undefined;
|
|
1595
1595
|
}[];
|
|
1596
|
-
severity_downgraded_from?: "
|
|
1596
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
1597
1597
|
impact?: string | undefined;
|
|
1598
1598
|
likelihood?: string | undefined;
|
|
1599
1599
|
evidence?: string[] | undefined;
|
|
@@ -1644,7 +1644,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1644
1644
|
confidence: "high" | "low" | "medium";
|
|
1645
1645
|
title: string;
|
|
1646
1646
|
category: string;
|
|
1647
|
-
severity: "
|
|
1647
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1648
1648
|
lens: string;
|
|
1649
1649
|
summary: string;
|
|
1650
1650
|
affected_files: {
|
|
@@ -1656,7 +1656,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1656
1656
|
no_quotable_span?: string | undefined;
|
|
1657
1657
|
hash_at_plan_time?: string | undefined;
|
|
1658
1658
|
}[];
|
|
1659
|
-
severity_downgraded_from?: "
|
|
1659
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
1660
1660
|
impact?: string | undefined;
|
|
1661
1661
|
likelihood?: string | undefined;
|
|
1662
1662
|
evidence?: string[] | undefined;
|
|
@@ -1761,7 +1761,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1761
1761
|
finding_ids: string[];
|
|
1762
1762
|
owned_files: string[];
|
|
1763
1763
|
role: "implementation" | "coordination";
|
|
1764
|
-
max_severity: "
|
|
1764
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1765
1765
|
rationale: string;
|
|
1766
1766
|
depends_on: string[];
|
|
1767
1767
|
token_estimate?: number | undefined;
|
|
@@ -1771,7 +1771,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1771
1771
|
finding_ids: string[];
|
|
1772
1772
|
owned_files: string[];
|
|
1773
1773
|
role: "implementation" | "coordination";
|
|
1774
|
-
max_severity: "
|
|
1774
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1775
1775
|
rationale: string;
|
|
1776
1776
|
depends_on: string[];
|
|
1777
1777
|
token_estimate?: number | undefined;
|
|
@@ -2124,7 +2124,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2124
2124
|
confidence: "high" | "low" | "medium";
|
|
2125
2125
|
title: string;
|
|
2126
2126
|
category: string;
|
|
2127
|
-
severity: "
|
|
2127
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2128
2128
|
lens: string;
|
|
2129
2129
|
summary: string;
|
|
2130
2130
|
affected_files: {
|
|
@@ -2136,7 +2136,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2136
2136
|
no_quotable_span?: string | undefined;
|
|
2137
2137
|
hash_at_plan_time?: string | undefined;
|
|
2138
2138
|
}[];
|
|
2139
|
-
severity_downgraded_from?: "
|
|
2139
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2140
2140
|
impact?: string | undefined;
|
|
2141
2141
|
likelihood?: string | undefined;
|
|
2142
2142
|
evidence?: string[] | undefined;
|
|
@@ -2187,7 +2187,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2187
2187
|
confidence: "high" | "low" | "medium";
|
|
2188
2188
|
title: string;
|
|
2189
2189
|
category: string;
|
|
2190
|
-
severity: "
|
|
2190
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2191
2191
|
lens: string;
|
|
2192
2192
|
summary: string;
|
|
2193
2193
|
affected_files: {
|
|
@@ -2199,7 +2199,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2199
2199
|
no_quotable_span?: string | undefined;
|
|
2200
2200
|
hash_at_plan_time?: string | undefined;
|
|
2201
2201
|
}[];
|
|
2202
|
-
severity_downgraded_from?: "
|
|
2202
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2203
2203
|
impact?: string | undefined;
|
|
2204
2204
|
likelihood?: string | undefined;
|
|
2205
2205
|
evidence?: string[] | undefined;
|
|
@@ -2284,7 +2284,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2284
2284
|
confidence: "high" | "low" | "medium";
|
|
2285
2285
|
title: string;
|
|
2286
2286
|
category: string;
|
|
2287
|
-
severity: "
|
|
2287
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2288
2288
|
lens: string;
|
|
2289
2289
|
summary: string;
|
|
2290
2290
|
affected_files: {
|
|
@@ -2296,7 +2296,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2296
2296
|
no_quotable_span?: string | undefined;
|
|
2297
2297
|
hash_at_plan_time?: string | undefined;
|
|
2298
2298
|
}[];
|
|
2299
|
-
severity_downgraded_from?: "
|
|
2299
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2300
2300
|
impact?: string | undefined;
|
|
2301
2301
|
likelihood?: string | undefined;
|
|
2302
2302
|
evidence?: string[] | undefined;
|
|
@@ -2354,10 +2354,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2354
2354
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
2355
2355
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
2356
2356
|
lens_coverage?: {
|
|
2357
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2357
2358
|
lens: string;
|
|
2358
2359
|
selected: boolean;
|
|
2359
2360
|
findings_count: number;
|
|
2360
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2361
2361
|
}[] | undefined;
|
|
2362
2362
|
};
|
|
2363
2363
|
contract_version: string;
|
|
@@ -2381,7 +2381,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2381
2381
|
finding_ids: string[];
|
|
2382
2382
|
owned_files: string[];
|
|
2383
2383
|
role: "implementation" | "coordination";
|
|
2384
|
-
max_severity: "
|
|
2384
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2385
2385
|
rationale: string;
|
|
2386
2386
|
depends_on: string[];
|
|
2387
2387
|
token_estimate?: number | undefined;
|
|
@@ -2408,7 +2408,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2408
2408
|
confidence: "high" | "low" | "medium";
|
|
2409
2409
|
title: string;
|
|
2410
2410
|
category: string;
|
|
2411
|
-
severity: "
|
|
2411
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2412
2412
|
lens: string;
|
|
2413
2413
|
summary: string;
|
|
2414
2414
|
affected_files: {
|
|
@@ -2420,7 +2420,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
2420
|
no_quotable_span?: string | undefined;
|
|
2421
2421
|
hash_at_plan_time?: string | undefined;
|
|
2422
2422
|
}[];
|
|
2423
|
-
severity_downgraded_from?: "
|
|
2423
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2424
2424
|
impact?: string | undefined;
|
|
2425
2425
|
likelihood?: string | undefined;
|
|
2426
2426
|
evidence?: string[] | undefined;
|
|
@@ -2477,7 +2477,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2477
2477
|
confidence: "high" | "low" | "medium";
|
|
2478
2478
|
title: string;
|
|
2479
2479
|
category: string;
|
|
2480
|
-
severity: "
|
|
2480
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2481
2481
|
lens: string;
|
|
2482
2482
|
summary: string;
|
|
2483
2483
|
affected_files: {
|
|
@@ -2489,7 +2489,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2489
2489
|
no_quotable_span?: string | undefined;
|
|
2490
2490
|
hash_at_plan_time?: string | undefined;
|
|
2491
2491
|
}[];
|
|
2492
|
-
severity_downgraded_from?: "
|
|
2492
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2493
2493
|
impact?: string | undefined;
|
|
2494
2494
|
likelihood?: string | undefined;
|
|
2495
2495
|
evidence?: string[] | undefined;
|
|
@@ -2547,10 +2547,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2547
2547
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
2548
2548
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
2549
2549
|
lens_coverage?: {
|
|
2550
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2550
2551
|
lens: string;
|
|
2551
2552
|
selected: boolean;
|
|
2552
2553
|
findings_count: number;
|
|
2553
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2554
2554
|
}[] | undefined;
|
|
2555
2555
|
};
|
|
2556
2556
|
contract_version: string;
|
|
@@ -2574,7 +2574,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2574
2574
|
finding_ids: string[];
|
|
2575
2575
|
owned_files: string[];
|
|
2576
2576
|
role: "implementation" | "coordination";
|
|
2577
|
-
max_severity: "
|
|
2577
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2578
2578
|
rationale: string;
|
|
2579
2579
|
depends_on: string[];
|
|
2580
2580
|
token_estimate?: number | undefined;
|
|
@@ -2601,7 +2601,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2601
2601
|
confidence: "high" | "low" | "medium";
|
|
2602
2602
|
title: string;
|
|
2603
2603
|
category: string;
|
|
2604
|
-
severity: "
|
|
2604
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2605
2605
|
lens: string;
|
|
2606
2606
|
summary: string;
|
|
2607
2607
|
affected_files: {
|
|
@@ -2613,7 +2613,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2613
2613
|
no_quotable_span?: string | undefined;
|
|
2614
2614
|
hash_at_plan_time?: string | undefined;
|
|
2615
2615
|
}[];
|
|
2616
|
-
severity_downgraded_from?: "
|
|
2616
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2617
2617
|
impact?: string | undefined;
|
|
2618
2618
|
likelihood?: string | undefined;
|
|
2619
2619
|
evidence?: string[] | undefined;
|
|
@@ -2670,7 +2670,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2670
2670
|
confidence: "high" | "low" | "medium";
|
|
2671
2671
|
title: string;
|
|
2672
2672
|
category: string;
|
|
2673
|
-
severity: "
|
|
2673
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2674
2674
|
lens: string;
|
|
2675
2675
|
summary: string;
|
|
2676
2676
|
affected_files: {
|
|
@@ -2682,7 +2682,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2682
2682
|
no_quotable_span?: string | undefined;
|
|
2683
2683
|
hash_at_plan_time?: string | undefined;
|
|
2684
2684
|
}[];
|
|
2685
|
-
severity_downgraded_from?: "
|
|
2685
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2686
2686
|
impact?: string | undefined;
|
|
2687
2687
|
likelihood?: string | undefined;
|
|
2688
2688
|
evidence?: string[] | undefined;
|
|
@@ -2740,10 +2740,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2740
2740
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
2741
2741
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
2742
2742
|
lens_coverage?: {
|
|
2743
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2743
2744
|
lens: string;
|
|
2744
2745
|
selected: boolean;
|
|
2745
2746
|
findings_count: number;
|
|
2746
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2747
2747
|
}[] | undefined;
|
|
2748
2748
|
};
|
|
2749
2749
|
contract_version: string;
|
|
@@ -2767,7 +2767,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2767
2767
|
finding_ids: string[];
|
|
2768
2768
|
owned_files: string[];
|
|
2769
2769
|
role: "implementation" | "coordination";
|
|
2770
|
-
max_severity: "
|
|
2770
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2771
2771
|
rationale: string;
|
|
2772
2772
|
depends_on: string[];
|
|
2773
2773
|
token_estimate?: number | undefined;
|
|
@@ -2794,7 +2794,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2794
2794
|
confidence: "high" | "low" | "medium";
|
|
2795
2795
|
title: string;
|
|
2796
2796
|
category: string;
|
|
2797
|
-
severity: "
|
|
2797
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2798
2798
|
lens: string;
|
|
2799
2799
|
summary: string;
|
|
2800
2800
|
affected_files: {
|
|
@@ -2806,7 +2806,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2806
2806
|
no_quotable_span?: string | undefined;
|
|
2807
2807
|
hash_at_plan_time?: string | undefined;
|
|
2808
2808
|
}[];
|
|
2809
|
-
severity_downgraded_from?: "
|
|
2809
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2810
2810
|
impact?: string | undefined;
|
|
2811
2811
|
likelihood?: string | undefined;
|
|
2812
2812
|
evidence?: string[] | undefined;
|
|
@@ -2863,7 +2863,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2863
2863
|
confidence: "high" | "low" | "medium";
|
|
2864
2864
|
title: string;
|
|
2865
2865
|
category: string;
|
|
2866
|
-
severity: "
|
|
2866
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2867
2867
|
lens: string;
|
|
2868
2868
|
summary: string;
|
|
2869
2869
|
affected_files: {
|
|
@@ -2875,7 +2875,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2875
2875
|
no_quotable_span?: string | undefined;
|
|
2876
2876
|
hash_at_plan_time?: string | undefined;
|
|
2877
2877
|
}[];
|
|
2878
|
-
severity_downgraded_from?: "
|
|
2878
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
2879
2879
|
impact?: string | undefined;
|
|
2880
2880
|
likelihood?: string | undefined;
|
|
2881
2881
|
evidence?: string[] | undefined;
|
|
@@ -2933,10 +2933,10 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2933
2933
|
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
2934
2934
|
verification_status_breakdown?: Record<string, number> | undefined;
|
|
2935
2935
|
lens_coverage?: {
|
|
2936
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2936
2937
|
lens: string;
|
|
2937
2938
|
selected: boolean;
|
|
2938
2939
|
findings_count: number;
|
|
2939
|
-
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
2940
2940
|
}[] | undefined;
|
|
2941
2941
|
};
|
|
2942
2942
|
contract_version: string;
|
|
@@ -2960,7 +2960,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2960
2960
|
finding_ids: string[];
|
|
2961
2961
|
owned_files: string[];
|
|
2962
2962
|
role: "implementation" | "coordination";
|
|
2963
|
-
max_severity: "
|
|
2963
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2964
2964
|
rationale: string;
|
|
2965
2965
|
depends_on: string[];
|
|
2966
2966
|
token_estimate?: number | undefined;
|
|
@@ -2987,7 +2987,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2987
2987
|
confidence: "high" | "low" | "medium";
|
|
2988
2988
|
title: string;
|
|
2989
2989
|
category: string;
|
|
2990
|
-
severity: "
|
|
2990
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
2991
2991
|
lens: string;
|
|
2992
2992
|
summary: string;
|
|
2993
2993
|
affected_files: {
|
|
@@ -2999,7 +2999,7 @@ export declare const AuditFindingsReportSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2999
2999
|
no_quotable_span?: string | undefined;
|
|
3000
3000
|
hash_at_plan_time?: string | undefined;
|
|
3001
3001
|
}[];
|
|
3002
|
-
severity_downgraded_from?: "
|
|
3002
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
3003
3003
|
impact?: string | undefined;
|
|
3004
3004
|
likelihood?: string | undefined;
|
|
3005
3005
|
evidence?: string[] | undefined;
|