audit-tools 0.56.1 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -22
- package/dist/audit/cli/args.d.ts +0 -1
- package/dist/audit/cli/args.d.ts.map +1 -1
- package/dist/audit/cli/args.js +0 -14
- package/dist/audit/cli/args.js.map +1 -1
- package/dist/audit/cli/auditStep.d.ts +0 -59
- package/dist/audit/cli/auditStep.d.ts.map +1 -1
- package/dist/audit/cli/auditStep.js +2 -136
- package/dist/audit/cli/auditStep.js.map +1 -1
- package/dist/audit/cli/cleanup.d.ts.map +1 -1
- package/dist/audit/cli/cleanup.js +4 -1
- package/dist/audit/cli/cleanup.js.map +1 -1
- package/dist/audit/cli/confirmIntentStep.d.ts.map +1 -1
- package/dist/audit/cli/confirmIntentStep.js +16 -31
- package/dist/audit/cli/confirmIntentStep.js.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts +414 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.js +223 -1
- package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -1
- package/dist/audit/cli/dispatch/questionReviewAcceptance.d.ts +254 -0
- package/dist/audit/cli/dispatch/questionReviewAcceptance.d.ts.map +1 -0
- package/dist/audit/cli/dispatch/questionReviewAcceptance.js +181 -0
- package/dist/audit/cli/dispatch/questionReviewAcceptance.js.map +1 -0
- package/dist/audit/cli/functionalPreflight.d.ts +4 -4
- package/dist/audit/cli/laneSubmissions.d.ts +4 -4
- package/dist/audit/cli/nextStepCommand.d.ts +3 -20
- package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
- package/dist/audit/cli/nextStepCommand.js +39 -133
- package/dist/audit/cli/nextStepCommand.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts +10 -72
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +95 -363
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/cli/prompts.d.ts +0 -2
- package/dist/audit/cli/prompts.d.ts.map +1 -1
- package/dist/audit/cli/prompts.js +3 -14
- package/dist/audit/cli/prompts.js.map +1 -1
- package/dist/audit/cli/questionReviewCycle.d.ts +239 -0
- package/dist/audit/cli/questionReviewCycle.d.ts.map +1 -0
- package/dist/audit/cli/questionReviewCycle.js +55 -0
- package/dist/audit/cli/questionReviewCycle.js.map +1 -0
- package/dist/audit/cli/questionReviewSession.d.ts +7 -0
- package/dist/audit/cli/questionReviewSession.d.ts.map +1 -0
- package/dist/audit/cli/questionReviewSession.js +46 -0
- package/dist/audit/cli/questionReviewSession.js.map +1 -0
- package/dist/audit/cli/questionWorkloadBindings.d.ts +7 -0
- package/dist/audit/cli/questionWorkloadBindings.d.ts.map +1 -0
- package/dist/audit/cli/questionWorkloadBindings.js +66 -0
- package/dist/audit/cli/questionWorkloadBindings.js.map +1 -0
- package/dist/audit/cli/resynthesizeCommand.d.ts +1 -0
- package/dist/audit/cli/resynthesizeCommand.d.ts.map +1 -1
- package/dist/audit/cli/resynthesizeCommand.js +52 -51
- package/dist/audit/cli/resynthesizeCommand.js.map +1 -1
- package/dist/audit/cli/sampleRunCommand.d.ts +565 -160
- package/dist/audit/cli/sampleRunCommand.d.ts.map +1 -1
- package/dist/audit/cli/sampleRunCommand.js +66 -152
- package/dist/audit/cli/sampleRunCommand.js.map +1 -1
- package/dist/audit/cli/statusCommand.d.ts.map +1 -1
- package/dist/audit/cli/statusCommand.js +20 -14
- package/dist/audit/cli/statusCommand.js.map +1 -1
- package/dist/audit/cli/steps.d.ts +10 -10
- package/dist/audit/cli/submitCommand.d.ts +11 -6
- package/dist/audit/cli/submitCommand.d.ts.map +1 -1
- package/dist/audit/cli/submitCommand.js +91 -24
- package/dist/audit/cli/submitCommand.js.map +1 -1
- package/dist/audit/cli.d.ts.map +1 -1
- package/dist/audit/cli.js +6 -17
- package/dist/audit/cli.js.map +1 -1
- package/dist/audit/contracts/findingContractPrompt.d.ts +4 -4
- package/dist/audit/contracts/workerSchemas.d.ts +69 -68
- package/dist/audit/contracts/workerSchemas.d.ts.map +1 -1
- package/dist/audit/contracts/workerSchemas.js +8 -1
- package/dist/audit/contracts/workerSchemas.js.map +1 -1
- package/dist/audit/contracts/wrapperResponse.d.ts +13 -13
- package/dist/audit/contracts/wrapperResponse.d.ts.map +1 -1
- package/dist/audit/contracts/wrapperResponse.js +0 -1
- package/dist/audit/contracts/wrapperResponse.js.map +1 -1
- package/dist/audit/extractors/designAssessment.js +2 -2
- package/dist/audit/extractors/designAssessment.js.map +1 -1
- package/dist/audit/io/artifacts.d.ts +31 -9
- package/dist/audit/io/artifacts.d.ts.map +1 -1
- package/dist/audit/io/artifacts.js +197 -31
- package/dist/audit/io/artifacts.js.map +1 -1
- package/dist/audit/io/rollover.d.ts.map +1 -1
- package/dist/audit/io/rollover.js +7 -16
- package/dist/audit/io/rollover.js.map +1 -1
- package/dist/audit/io/runSnapshot.d.ts +1 -1
- package/dist/audit/io/runSnapshot.js +1 -1
- package/dist/audit/orchestrator/architectureDiscovery.d.ts +9 -10
- package/dist/audit/orchestrator/architectureDiscovery.d.ts.map +1 -1
- package/dist/audit/orchestrator/architectureDiscovery.js +95 -13
- package/dist/audit/orchestrator/architectureDiscovery.js.map +1 -1
- package/dist/audit/orchestrator/charterPacketArchive.d.ts +3 -0
- package/dist/audit/orchestrator/charterPacketArchive.d.ts.map +1 -1
- package/dist/audit/orchestrator/charterPacketArchive.js +31 -2
- package/dist/audit/orchestrator/charterPacketArchive.js.map +1 -1
- package/dist/audit/orchestrator/dependencyMap.d.ts +2 -8
- package/dist/audit/orchestrator/dependencyMap.d.ts.map +1 -1
- package/dist/audit/orchestrator/dependencyMap.js +10 -105
- package/dist/audit/orchestrator/dependencyMap.js.map +1 -1
- package/dist/audit/orchestrator/dependencySlices.d.ts +2 -3
- package/dist/audit/orchestrator/dependencySlices.d.ts.map +1 -1
- package/dist/audit/orchestrator/dependencySlices.js +2 -35
- package/dist/audit/orchestrator/dependencySlices.js.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.js +24 -14
- package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
- package/dist/audit/orchestrator/executorRunners.d.ts +1 -1
- package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
- package/dist/audit/orchestrator/executorRunners.js +14 -21
- package/dist/audit/orchestrator/executorRunners.js.map +1 -1
- package/dist/audit/orchestrator/executors.d.ts.map +1 -1
- package/dist/audit/orchestrator/executors.js +1 -131
- package/dist/audit/orchestrator/executors.js.map +1 -1
- package/dist/audit/orchestrator/flowPlanning.d.ts +1 -1
- package/dist/audit/orchestrator/flowPlanning.js +1 -1
- package/dist/audit/orchestrator/ingestionExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/ingestionExecutors.js +19 -12
- package/dist/audit/orchestrator/ingestionExecutors.js.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts +2 -2
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.js +37 -36
- package/dist/audit/orchestrator/intentCheckpointExecutor.js.map +1 -1
- package/dist/audit/orchestrator/lensSelection.d.ts +6 -37
- package/dist/audit/orchestrator/lensSelection.d.ts.map +1 -1
- package/dist/audit/orchestrator/lensSelection.js +42 -68
- package/dist/audit/orchestrator/lensSelection.js.map +1 -1
- package/dist/audit/orchestrator/nextStep.d.ts.map +1 -1
- package/dist/audit/orchestrator/nextStep.js +1 -4
- package/dist/audit/orchestrator/nextStep.js.map +1 -1
- package/dist/audit/orchestrator/questionEvidence.d.ts +67 -0
- package/dist/audit/orchestrator/questionEvidence.d.ts.map +1 -0
- package/dist/audit/orchestrator/questionEvidence.js +177 -0
- package/dist/audit/orchestrator/questionEvidence.js.map +1 -0
- package/dist/audit/orchestrator/questionPlanExecutor.d.ts +10 -0
- package/dist/audit/orchestrator/questionPlanExecutor.d.ts.map +1 -0
- package/dist/audit/orchestrator/questionPlanExecutor.js +23 -0
- package/dist/audit/orchestrator/questionPlanExecutor.js.map +1 -0
- package/dist/audit/orchestrator/questionPlanning.d.ts +48 -0
- package/dist/audit/orchestrator/questionPlanning.d.ts.map +1 -0
- package/dist/audit/orchestrator/questionPlanning.js +326 -0
- package/dist/audit/orchestrator/questionPlanning.js.map +1 -0
- package/dist/audit/orchestrator/reviewLensPlaybooks.d.ts +11 -0
- package/dist/audit/orchestrator/reviewLensPlaybooks.d.ts.map +1 -0
- package/dist/audit/orchestrator/reviewLensPlaybooks.js +11 -0
- package/dist/audit/orchestrator/reviewLensPlaybooks.js.map +1 -0
- package/dist/audit/orchestrator/runtimeValidation.d.ts.map +1 -1
- package/dist/audit/orchestrator/runtimeValidation.js +14 -0
- package/dist/audit/orchestrator/runtimeValidation.js.map +1 -1
- package/dist/audit/orchestrator/runtimeValidationUpdate.d.ts +1 -1
- package/dist/audit/orchestrator/runtimeValidationUpdate.d.ts.map +1 -1
- package/dist/audit/orchestrator/runtimeValidationUpdate.js +13 -4
- package/dist/audit/orchestrator/runtimeValidationUpdate.js.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/conflict.js +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/conflict.js.map +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/index.js +1 -1
- package/dist/audit/orchestrator/selectiveDeepening/index.js.map +1 -1
- package/dist/audit/orchestrator/state.d.ts.map +1 -1
- package/dist/audit/orchestrator/state.js +8 -60
- package/dist/audit/orchestrator/state.js.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.d.ts +15 -1
- package/dist/audit/orchestrator/synthesisExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.js +76 -25
- package/dist/audit/orchestrator/synthesisExecutors.js.map +1 -1
- package/dist/audit/orchestrator/systemicChallengeExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/systemicChallengeExecutor.js +11 -6
- package/dist/audit/orchestrator/systemicChallengeExecutor.js.map +1 -1
- package/dist/audit/orchestrator/taskAffinityGraph.d.ts +4 -4
- package/dist/audit/reporting/questionReport.d.ts +27 -0
- package/dist/audit/reporting/questionReport.d.ts.map +1 -0
- package/dist/audit/reporting/questionReport.js +183 -0
- package/dist/audit/reporting/questionReport.js.map +1 -0
- package/dist/audit/reporting/synthesis.d.ts +10 -1
- package/dist/audit/reporting/synthesis.d.ts.map +1 -1
- package/dist/audit/reporting/synthesis.js +161 -24
- package/dist/audit/reporting/synthesis.js.map +1 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.d.ts +4 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.d.ts.map +1 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.js +5 -1
- package/dist/audit/reporting/synthesisNarrativePrompt.js.map +1 -1
- package/dist/audit/supervisor/operatorHandoff.d.ts +2 -3
- package/dist/audit/supervisor/operatorHandoff.d.ts.map +1 -1
- package/dist/audit/supervisor/operatorHandoff.js +3 -18
- package/dist/audit/supervisor/operatorHandoff.js.map +1 -1
- package/dist/audit/systemic/aggregateMetricsDigest.d.ts.map +1 -1
- package/dist/audit/systemic/aggregateMetricsDigest.js +0 -2
- package/dist/audit/systemic/aggregateMetricsDigest.js.map +1 -1
- package/dist/audit/types/artifactMetadata.d.ts +1 -2
- package/dist/audit/types/artifactMetadata.d.ts.map +1 -1
- package/dist/audit/types/auditState.d.ts +6 -6
- package/dist/audit/types/conceptualAdjudication.d.ts +708 -50
- package/dist/audit/types/conceptualAdjudication.d.ts.map +1 -1
- package/dist/audit/types/conceptualAdjudication.js +2 -0
- package/dist/audit/types/conceptualAdjudication.js.map +1 -1
- package/dist/audit/types/runtimeValidation.d.ts +58 -6
- package/dist/audit/types/runtimeValidation.d.ts.map +1 -1
- package/dist/audit/types/runtimeValidation.js +8 -0
- package/dist/audit/types/runtimeValidation.js.map +1 -1
- package/dist/audit/types.d.ts +539 -22
- package/dist/audit/types.d.ts.map +1 -1
- package/dist/audit/validation/auditResults.d.ts +1 -1
- package/dist/audit/validation/auditResults.js +1 -1
- package/dist/audit/validation/ingestIssueCodes.d.ts.map +1 -1
- package/dist/audit/validation/ingestIssueCodes.js +0 -1
- package/dist/audit/validation/ingestIssueCodes.js.map +1 -1
- package/dist/remediate/contractPipeline/executionPlan.d.ts +679 -52
- package/dist/remediate/contractPipeline/executionPlan.d.ts.map +1 -1
- package/dist/remediate/contractPipeline/executionPlan.js +23 -0
- package/dist/remediate/contractPipeline/executionPlan.js.map +1 -1
- package/dist/remediate/findingFilter.d.ts.map +1 -1
- package/dist/remediate/findingFilter.js +6 -2
- package/dist/remediate/findingFilter.js.map +1 -1
- package/dist/remediate/intake.d.ts +4 -4
- package/dist/remediate/phases/close.d.ts.map +1 -1
- package/dist/remediate/phases/close.js +15 -5
- package/dist/remediate/phases/close.js.map +1 -1
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.d.ts +5 -0
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.d.ts.map +1 -1
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.js +37 -8
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.js.map +1 -1
- package/dist/remediate/state/types.d.ts +619 -26
- package/dist/remediate/state/types.d.ts.map +1 -1
- package/dist/remediate/state/types.js +2 -1
- package/dist/remediate/state/types.js.map +1 -1
- package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipeline.js +2 -0
- package/dist/remediate/steps/contractPipeline.js.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipelinePrompts.js +2 -0
- package/dist/remediate/steps/contractPipelinePrompts.js.map +1 -1
- package/dist/remediate/steps/dispatch/contractConformanceReview.d.ts +3 -3
- package/dist/remediate/steps/intakeResolver.d.ts.map +1 -1
- package/dist/remediate/steps/intakeResolver.js +31 -6
- 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 +31 -40
- package/dist/remediate/steps/nextStep.js.map +1 -1
- package/dist/remediate/steps/prompts.d.ts.map +1 -1
- package/dist/remediate/steps/prompts.js +3 -0
- package/dist/remediate/steps/prompts.js.map +1 -1
- package/dist/shared/analyzers/types.d.ts +18 -18
- package/dist/shared/contentKey.d.ts +1 -1
- package/dist/shared/contentKey.js +1 -1
- package/dist/shared/decompose/charterClarification.d.ts +4 -4
- package/dist/shared/decompose/charterExtraction.d.ts +30 -30
- package/dist/shared/decompose/contentCoherence.d.ts +1 -1
- package/dist/shared/decompose/contentCoherence.js +1 -1
- package/dist/shared/decompose/systemicChallenge.d.ts +629 -18
- package/dist/shared/decompose/systemicChallenge.d.ts.map +1 -1
- package/dist/shared/engine/obligationEngine.d.ts +2 -2
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +2 -0
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/io/stepContractWriter.js +1 -1
- package/dist/shared/io/stepContractWriter.js.map +1 -1
- package/dist/shared/loopCorePaths.d.ts.map +1 -1
- package/dist/shared/loopCorePaths.js +5 -2
- package/dist/shared/loopCorePaths.js.map +1 -1
- package/dist/shared/mcp/submitServer.d.ts +1 -0
- package/dist/shared/mcp/submitServer.d.ts.map +1 -1
- package/dist/shared/mcp/submitServer.js +1 -1
- package/dist/shared/mcp/submitServer.js.map +1 -1
- package/dist/shared/submission/hostResultOutcomes.js +1 -1
- package/dist/shared/submission/hostResultOutcomes.js.map +1 -1
- package/dist/shared/tooling/exec.js +1 -1
- package/dist/shared/tooling/exec.js.map +1 -1
- package/dist/shared/types/charter.d.ts +38 -38
- package/dist/shared/types/contractPropertyShapes.d.ts.map +1 -1
- package/dist/shared/types/contractPropertyShapes.js +7 -0
- package/dist/shared/types/contractPropertyShapes.js.map +1 -1
- package/dist/shared/types/executionPlan.d.ts +88 -12
- package/dist/shared/types/executionPlan.d.ts.map +1 -1
- package/dist/shared/types/executionPlan.js +1 -0
- package/dist/shared/types/executionPlan.js.map +1 -1
- package/dist/shared/types/finding.d.ts +1721 -56
- package/dist/shared/types/finding.d.ts.map +1 -1
- package/dist/shared/types/finding.js +7 -10
- package/dist/shared/types/finding.js.map +1 -1
- package/dist/shared/types/findingVocabulary.d.ts +8 -0
- package/dist/shared/types/findingVocabulary.d.ts.map +1 -0
- package/dist/shared/types/findingVocabulary.js +13 -0
- package/dist/shared/types/findingVocabulary.js.map +1 -0
- package/dist/shared/types/intentCheckpoint.d.ts +8 -3
- package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
- package/dist/shared/types/intentCheckpoint.js +4 -3
- package/dist/shared/types/intentCheckpoint.js.map +1 -1
- package/dist/shared/types/questionReviewReport.d.ts +9912 -0
- package/dist/shared/types/questionReviewReport.d.ts.map +1 -0
- package/dist/shared/types/questionReviewReport.js +185 -0
- package/dist/shared/types/questionReviewReport.js.map +1 -0
- package/dist/shared/types/remediationOutcome.d.ts +1379 -148
- package/dist/shared/types/remediationOutcome.d.ts.map +1 -1
- package/dist/shared/types/remediationOutcome.js +5 -0
- package/dist/shared/types/remediationOutcome.js.map +1 -1
- package/dist/shared/types/reviewIndependence.d.ts +24 -24
- package/dist/shared/types/reviewQuestion.d.ts +4359 -0
- package/dist/shared/types/reviewQuestion.d.ts.map +1 -0
- package/dist/shared/types/reviewQuestion.js +182 -0
- package/dist/shared/types/reviewQuestion.js.map +1 -0
- package/dist/shared/types/stepContract.js +1 -1
- package/dist/shared/types/stepContract.js.map +1 -1
- package/dist/shared/validation/designFindingGrounding.js +1 -1
- package/dist/shared/validation/designFindingGrounding.js.map +1 -1
- package/dist/shared/validation/findingsReport.d.ts.map +1 -1
- package/dist/shared/validation/findingsReport.js +19 -4
- package/dist/shared/validation/findingsReport.js.map +1 -1
- package/docs/audit-pkg/contracts.md +27 -56
- package/docs/audit-pkg/operator-guide.md +31 -17
- package/docs/audit-pkg/product.md +17 -23
- package/package.json +1 -1
- package/schemas/audit-code-v1alpha1.schema.json +0 -1
- package/schemas/review_submission.schema.json +514 -0
- package/scripts/postinstall.mjs +16 -9
- package/skills/audit-code/audit-code.prompt.md +7 -5
- package/wrapper/audit-code-wrapper-lib.mjs +1 -5
- package/wrapper/installer-verb-help.mjs +1 -1
- package/dist/audit/cli/explainTaskCommand.d.ts +0 -4
- package/dist/audit/cli/explainTaskCommand.d.ts.map +0 -1
- package/dist/audit/cli/explainTaskCommand.js +0 -45
- package/dist/audit/cli/explainTaskCommand.js.map +0 -1
- package/dist/audit/cli/ingestResultsCommand.d.ts +0 -2
- package/dist/audit/cli/ingestResultsCommand.d.ts.map +0 -1
- package/dist/audit/cli/ingestResultsCommand.js +0 -42
- package/dist/audit/cli/ingestResultsCommand.js.map +0 -1
- package/dist/audit/cli/requeueCommand.d.ts +0 -2
- package/dist/audit/cli/requeueCommand.d.ts.map +0 -1
- package/dist/audit/cli/requeueCommand.js +0 -12
- package/dist/audit/cli/requeueCommand.js.map +0 -1
- package/dist/audit/cli/semanticReviewStep.d.ts +0 -41
- package/dist/audit/cli/semanticReviewStep.d.ts.map +0 -1
- package/dist/audit/cli/semanticReviewStep.js +0 -185
- package/dist/audit/cli/semanticReviewStep.js.map +0 -1
- package/dist/audit/cli/unacceptResultsCommand.d.ts +0 -19
- package/dist/audit/cli/unacceptResultsCommand.d.ts.map +0 -1
- package/dist/audit/cli/unacceptResultsCommand.js +0 -52
- package/dist/audit/cli/unacceptResultsCommand.js.map +0 -1
- package/dist/audit/cli/updateRuntimeValidationCommand.d.ts +0 -2
- package/dist/audit/cli/updateRuntimeValidationCommand.d.ts.map +0 -1
- package/dist/audit/cli/updateRuntimeValidationCommand.js +0 -18
- package/dist/audit/cli/updateRuntimeValidationCommand.js.map +0 -1
- package/dist/audit/cli/validateResultsCommand.d.ts +0 -13
- package/dist/audit/cli/validateResultsCommand.d.ts.map +0 -1
- package/dist/audit/cli/validateResultsCommand.js +0 -87
- package/dist/audit/cli/validateResultsCommand.js.map +0 -1
- package/dist/audit/cli/workerResult.d.ts +0 -2
- package/dist/audit/cli/workerResult.d.ts.map +0 -1
- package/dist/audit/cli/workerResult.js +0 -6
- package/dist/audit/cli/workerResult.js.map +0 -1
- package/dist/audit/orchestrator/coverageElementBaseline.d.ts +0 -54
- package/dist/audit/orchestrator/coverageElementBaseline.d.ts.map +0 -1
- package/dist/audit/orchestrator/coverageElementBaseline.js +0 -136
- package/dist/audit/orchestrator/coverageElementBaseline.js.map +0 -1
- package/dist/audit/orchestrator/planning.d.ts +0 -5
- package/dist/audit/orchestrator/planning.d.ts.map +0 -1
- package/dist/audit/orchestrator/planning.js +0 -79
- package/dist/audit/orchestrator/planning.js.map +0 -1
- package/dist/audit/orchestrator/planningExecutors.d.ts +0 -21
- package/dist/audit/orchestrator/planningExecutors.d.ts.map +0 -1
- package/dist/audit/orchestrator/planningExecutors.js +0 -273
- package/dist/audit/orchestrator/planningExecutors.js.map +0 -1
- package/dist/audit/orchestrator/taskBuilder.d.ts +0 -62
- package/dist/audit/orchestrator/taskBuilder.d.ts.map +0 -1
- package/dist/audit/orchestrator/taskBuilder.js +0 -412
- package/dist/audit/orchestrator/taskBuilder.js.map +0 -1
- package/dist/audit/orchestrator/trivialAudit.d.ts +0 -21
- package/dist/audit/orchestrator/trivialAudit.d.ts.map +0 -1
- package/dist/audit/orchestrator/trivialAudit.js +0 -80
- package/dist/audit/orchestrator/trivialAudit.js.map +0 -1
|
@@ -18,14 +18,32 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
18
18
|
kind: z.ZodEnum<["positive", "negative"]>;
|
|
19
19
|
description: z.ZodString;
|
|
20
20
|
scope_paths: z.ZodArray<z.ZodString, "many">;
|
|
21
|
+
source_obligation: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
finding_id: z.ZodString;
|
|
23
|
+
obligation_id: z.ZodString;
|
|
24
|
+
}, "strict", z.ZodTypeAny, {
|
|
25
|
+
obligation_id: string;
|
|
26
|
+
finding_id: string;
|
|
27
|
+
}, {
|
|
28
|
+
obligation_id: string;
|
|
29
|
+
finding_id: string;
|
|
30
|
+
}>>;
|
|
21
31
|
}, "strict", z.ZodTypeAny, {
|
|
22
32
|
kind: "positive" | "negative";
|
|
23
33
|
description: string;
|
|
24
34
|
scope_paths: string[];
|
|
35
|
+
source_obligation?: {
|
|
36
|
+
obligation_id: string;
|
|
37
|
+
finding_id: string;
|
|
38
|
+
} | undefined;
|
|
25
39
|
}, {
|
|
26
40
|
kind: "positive" | "negative";
|
|
27
41
|
description: string;
|
|
28
42
|
scope_paths: string[];
|
|
43
|
+
source_obligation?: {
|
|
44
|
+
obligation_id: string;
|
|
45
|
+
finding_id: string;
|
|
46
|
+
} | undefined;
|
|
29
47
|
}>, "many">;
|
|
30
48
|
inapplicable_reason: z.ZodOptional<z.ZodString>;
|
|
31
49
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -37,6 +55,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
37
55
|
kind: "positive" | "negative";
|
|
38
56
|
description: string;
|
|
39
57
|
scope_paths: string[];
|
|
58
|
+
source_obligation?: {
|
|
59
|
+
obligation_id: string;
|
|
60
|
+
finding_id: string;
|
|
61
|
+
} | undefined;
|
|
40
62
|
}[];
|
|
41
63
|
inapplicable_reason?: string | undefined;
|
|
42
64
|
}, {
|
|
@@ -48,6 +70,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
48
70
|
kind: "positive" | "negative";
|
|
49
71
|
description: string;
|
|
50
72
|
scope_paths: string[];
|
|
73
|
+
source_obligation?: {
|
|
74
|
+
obligation_id: string;
|
|
75
|
+
finding_id: string;
|
|
76
|
+
} | undefined;
|
|
51
77
|
}[];
|
|
52
78
|
inapplicable_reason?: string | undefined;
|
|
53
79
|
}>, {
|
|
@@ -59,6 +85,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
59
85
|
kind: "positive" | "negative";
|
|
60
86
|
description: string;
|
|
61
87
|
scope_paths: string[];
|
|
88
|
+
source_obligation?: {
|
|
89
|
+
obligation_id: string;
|
|
90
|
+
finding_id: string;
|
|
91
|
+
} | undefined;
|
|
62
92
|
}[];
|
|
63
93
|
inapplicable_reason?: string | undefined;
|
|
64
94
|
}, {
|
|
@@ -70,6 +100,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
70
100
|
kind: "positive" | "negative";
|
|
71
101
|
description: string;
|
|
72
102
|
scope_paths: string[];
|
|
103
|
+
source_obligation?: {
|
|
104
|
+
obligation_id: string;
|
|
105
|
+
finding_id: string;
|
|
106
|
+
} | undefined;
|
|
73
107
|
}[];
|
|
74
108
|
inapplicable_reason?: string | undefined;
|
|
75
109
|
}>, "many">;
|
|
@@ -99,10 +133,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
99
133
|
id: string;
|
|
100
134
|
read_paths: string[];
|
|
101
135
|
title: string;
|
|
136
|
+
dependencies: string[];
|
|
102
137
|
description: string;
|
|
103
138
|
source_finding_ids: string[];
|
|
104
139
|
requirement_ids: string[];
|
|
105
|
-
dependencies: string[];
|
|
106
140
|
allowed_files: string[];
|
|
107
141
|
required_tests: string[];
|
|
108
142
|
affected_interfaces: {
|
|
@@ -115,10 +149,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
115
149
|
id: string;
|
|
116
150
|
read_paths: string[];
|
|
117
151
|
title: string;
|
|
152
|
+
dependencies: string[];
|
|
118
153
|
description: string;
|
|
119
154
|
source_finding_ids: string[];
|
|
120
155
|
requirement_ids: string[];
|
|
121
|
-
dependencies: string[];
|
|
122
156
|
allowed_files: string[];
|
|
123
157
|
required_tests: string[];
|
|
124
158
|
addresses_counterexample_ids: string[];
|
|
@@ -134,12 +168,12 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
134
168
|
reason: z.ZodString;
|
|
135
169
|
evidence: z.ZodArray<z.ZodString, "many">;
|
|
136
170
|
}, "strict", z.ZodTypeAny, {
|
|
137
|
-
status: "
|
|
171
|
+
status: "deferred" | "already_fixed" | "refuted";
|
|
138
172
|
reason: string;
|
|
139
173
|
evidence: string[];
|
|
140
174
|
finding_id: string;
|
|
141
175
|
}, {
|
|
142
|
-
status: "
|
|
176
|
+
status: "deferred" | "already_fixed" | "refuted";
|
|
143
177
|
reason: string;
|
|
144
178
|
evidence: string[];
|
|
145
179
|
finding_id: string;
|
|
@@ -298,6 +332,335 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
298
332
|
contract_obligation_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
333
|
verification_obligation_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
334
|
targeted_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
335
|
+
question_review_sources: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
336
|
+
question_id: z.ZodEffects<z.ZodString, string, string>;
|
|
337
|
+
revision_id: z.ZodEffects<z.ZodString, string, string>;
|
|
338
|
+
finding_id: z.ZodEffects<z.ZodString, string, string>;
|
|
339
|
+
kind: z.ZodEnum<["confirmed_defect", "design_opportunity", "lead"]>;
|
|
340
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
341
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
342
|
+
claim: z.ZodString;
|
|
343
|
+
consequence: z.ZodString;
|
|
344
|
+
next_step: z.ZodString;
|
|
345
|
+
evidence_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
346
|
+
observation_ids: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
347
|
+
source_refs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
348
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
349
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
350
|
+
start_line: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
end_line: z.ZodOptional<z.ZodNumber>;
|
|
352
|
+
}, "strict", z.ZodTypeAny, {
|
|
353
|
+
path: string;
|
|
354
|
+
symbol?: string | undefined;
|
|
355
|
+
start_line?: number | undefined;
|
|
356
|
+
end_line?: number | undefined;
|
|
357
|
+
}, {
|
|
358
|
+
path: string;
|
|
359
|
+
symbol?: string | undefined;
|
|
360
|
+
start_line?: number | undefined;
|
|
361
|
+
end_line?: number | undefined;
|
|
362
|
+
}>, {
|
|
363
|
+
path: string;
|
|
364
|
+
symbol?: string | undefined;
|
|
365
|
+
start_line?: number | undefined;
|
|
366
|
+
end_line?: number | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
path: string;
|
|
369
|
+
symbol?: string | undefined;
|
|
370
|
+
start_line?: number | undefined;
|
|
371
|
+
end_line?: number | undefined;
|
|
372
|
+
}>, "many">;
|
|
373
|
+
verification: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
374
|
+
kind: z.ZodLiteral<"analyzer">;
|
|
375
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
376
|
+
provenance: z.ZodObject<{
|
|
377
|
+
analyzer_id: z.ZodString;
|
|
378
|
+
rule: z.ZodOptional<z.ZodString>;
|
|
379
|
+
path: z.ZodString;
|
|
380
|
+
snippet_hash: z.ZodString;
|
|
381
|
+
}, "strict", z.ZodTypeAny, {
|
|
382
|
+
path: string;
|
|
383
|
+
analyzer_id: string;
|
|
384
|
+
snippet_hash: string;
|
|
385
|
+
rule?: string | undefined;
|
|
386
|
+
}, {
|
|
387
|
+
path: string;
|
|
388
|
+
analyzer_id: string;
|
|
389
|
+
snippet_hash: string;
|
|
390
|
+
rule?: string | undefined;
|
|
391
|
+
}>;
|
|
392
|
+
}, "strict", z.ZodTypeAny, {
|
|
393
|
+
kind: "analyzer";
|
|
394
|
+
obligation_id: string;
|
|
395
|
+
provenance: {
|
|
396
|
+
path: string;
|
|
397
|
+
analyzer_id: string;
|
|
398
|
+
snippet_hash: string;
|
|
399
|
+
rule?: string | undefined;
|
|
400
|
+
};
|
|
401
|
+
}, {
|
|
402
|
+
kind: "analyzer";
|
|
403
|
+
obligation_id: string;
|
|
404
|
+
provenance: {
|
|
405
|
+
path: string;
|
|
406
|
+
analyzer_id: string;
|
|
407
|
+
snippet_hash: string;
|
|
408
|
+
rule?: string | undefined;
|
|
409
|
+
};
|
|
410
|
+
}>, z.ZodObject<{
|
|
411
|
+
kind: z.ZodLiteral<"assertion">;
|
|
412
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
413
|
+
expected: z.ZodString;
|
|
414
|
+
source_refs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
415
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
416
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
417
|
+
start_line: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
end_line: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
}, "strict", z.ZodTypeAny, {
|
|
420
|
+
path: string;
|
|
421
|
+
symbol?: string | undefined;
|
|
422
|
+
start_line?: number | undefined;
|
|
423
|
+
end_line?: number | undefined;
|
|
424
|
+
}, {
|
|
425
|
+
path: string;
|
|
426
|
+
symbol?: string | undefined;
|
|
427
|
+
start_line?: number | undefined;
|
|
428
|
+
end_line?: number | undefined;
|
|
429
|
+
}>, {
|
|
430
|
+
path: string;
|
|
431
|
+
symbol?: string | undefined;
|
|
432
|
+
start_line?: number | undefined;
|
|
433
|
+
end_line?: number | undefined;
|
|
434
|
+
}, {
|
|
435
|
+
path: string;
|
|
436
|
+
symbol?: string | undefined;
|
|
437
|
+
start_line?: number | undefined;
|
|
438
|
+
end_line?: number | undefined;
|
|
439
|
+
}>, "many">;
|
|
440
|
+
}, "strict", z.ZodTypeAny, {
|
|
441
|
+
expected: string;
|
|
442
|
+
kind: "assertion";
|
|
443
|
+
source_refs: {
|
|
444
|
+
path: string;
|
|
445
|
+
symbol?: string | undefined;
|
|
446
|
+
start_line?: number | undefined;
|
|
447
|
+
end_line?: number | undefined;
|
|
448
|
+
}[];
|
|
449
|
+
obligation_id: string;
|
|
450
|
+
}, {
|
|
451
|
+
expected: string;
|
|
452
|
+
kind: "assertion";
|
|
453
|
+
source_refs: {
|
|
454
|
+
path: string;
|
|
455
|
+
symbol?: string | undefined;
|
|
456
|
+
start_line?: number | undefined;
|
|
457
|
+
end_line?: number | undefined;
|
|
458
|
+
}[];
|
|
459
|
+
obligation_id: string;
|
|
460
|
+
}>, z.ZodObject<{
|
|
461
|
+
kind: z.ZodLiteral<"disposition">;
|
|
462
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
463
|
+
disposition: z.ZodEnum<["implemented", "deferred", "rejected", "already_fixed", "out_of_scope"]>;
|
|
464
|
+
reason: z.ZodString;
|
|
465
|
+
}, "strict", z.ZodTypeAny, {
|
|
466
|
+
reason: string;
|
|
467
|
+
kind: "disposition";
|
|
468
|
+
obligation_id: string;
|
|
469
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
470
|
+
}, {
|
|
471
|
+
reason: string;
|
|
472
|
+
kind: "disposition";
|
|
473
|
+
obligation_id: string;
|
|
474
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
475
|
+
}>]>, "many">;
|
|
476
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
477
|
+
divergence: z.ZodOptional<z.ZodString>;
|
|
478
|
+
schema_version: z.ZodLiteral<"audit-tools/question-review/v1">;
|
|
479
|
+
}, "strict", z.ZodTypeAny, {
|
|
480
|
+
confidence: "high" | "low" | "medium";
|
|
481
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
482
|
+
source_refs: {
|
|
483
|
+
path: string;
|
|
484
|
+
symbol?: string | undefined;
|
|
485
|
+
start_line?: number | undefined;
|
|
486
|
+
end_line?: number | undefined;
|
|
487
|
+
}[];
|
|
488
|
+
question_id: string;
|
|
489
|
+
revision_id: string;
|
|
490
|
+
schema_version: "audit-tools/question-review/v1";
|
|
491
|
+
finding_id: string;
|
|
492
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
493
|
+
claim: string;
|
|
494
|
+
consequence: string;
|
|
495
|
+
next_step: string;
|
|
496
|
+
evidence_ids: string[];
|
|
497
|
+
verification: ({
|
|
498
|
+
kind: "analyzer";
|
|
499
|
+
obligation_id: string;
|
|
500
|
+
provenance: {
|
|
501
|
+
path: string;
|
|
502
|
+
analyzer_id: string;
|
|
503
|
+
snippet_hash: string;
|
|
504
|
+
rule?: string | undefined;
|
|
505
|
+
};
|
|
506
|
+
} | {
|
|
507
|
+
expected: string;
|
|
508
|
+
kind: "assertion";
|
|
509
|
+
source_refs: {
|
|
510
|
+
path: string;
|
|
511
|
+
symbol?: string | undefined;
|
|
512
|
+
start_line?: number | undefined;
|
|
513
|
+
end_line?: number | undefined;
|
|
514
|
+
}[];
|
|
515
|
+
obligation_id: string;
|
|
516
|
+
} | {
|
|
517
|
+
reason: string;
|
|
518
|
+
kind: "disposition";
|
|
519
|
+
obligation_id: string;
|
|
520
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
521
|
+
})[];
|
|
522
|
+
observation_ids?: string[] | undefined;
|
|
523
|
+
purpose?: string | undefined;
|
|
524
|
+
divergence?: string | undefined;
|
|
525
|
+
}, {
|
|
526
|
+
confidence: "high" | "low" | "medium";
|
|
527
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
528
|
+
source_refs: {
|
|
529
|
+
path: string;
|
|
530
|
+
symbol?: string | undefined;
|
|
531
|
+
start_line?: number | undefined;
|
|
532
|
+
end_line?: number | undefined;
|
|
533
|
+
}[];
|
|
534
|
+
question_id: string;
|
|
535
|
+
revision_id: string;
|
|
536
|
+
schema_version: "audit-tools/question-review/v1";
|
|
537
|
+
finding_id: string;
|
|
538
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
539
|
+
claim: string;
|
|
540
|
+
consequence: string;
|
|
541
|
+
next_step: string;
|
|
542
|
+
evidence_ids: string[];
|
|
543
|
+
verification: ({
|
|
544
|
+
kind: "analyzer";
|
|
545
|
+
obligation_id: string;
|
|
546
|
+
provenance: {
|
|
547
|
+
path: string;
|
|
548
|
+
analyzer_id: string;
|
|
549
|
+
snippet_hash: string;
|
|
550
|
+
rule?: string | undefined;
|
|
551
|
+
};
|
|
552
|
+
} | {
|
|
553
|
+
expected: string;
|
|
554
|
+
kind: "assertion";
|
|
555
|
+
source_refs: {
|
|
556
|
+
path: string;
|
|
557
|
+
symbol?: string | undefined;
|
|
558
|
+
start_line?: number | undefined;
|
|
559
|
+
end_line?: number | undefined;
|
|
560
|
+
}[];
|
|
561
|
+
obligation_id: string;
|
|
562
|
+
} | {
|
|
563
|
+
reason: string;
|
|
564
|
+
kind: "disposition";
|
|
565
|
+
obligation_id: string;
|
|
566
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
567
|
+
})[];
|
|
568
|
+
observation_ids?: string[] | undefined;
|
|
569
|
+
purpose?: string | undefined;
|
|
570
|
+
divergence?: string | undefined;
|
|
571
|
+
}>, {
|
|
572
|
+
confidence: "high" | "low" | "medium";
|
|
573
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
574
|
+
source_refs: {
|
|
575
|
+
path: string;
|
|
576
|
+
symbol?: string | undefined;
|
|
577
|
+
start_line?: number | undefined;
|
|
578
|
+
end_line?: number | undefined;
|
|
579
|
+
}[];
|
|
580
|
+
question_id: string;
|
|
581
|
+
revision_id: string;
|
|
582
|
+
schema_version: "audit-tools/question-review/v1";
|
|
583
|
+
finding_id: string;
|
|
584
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
585
|
+
claim: string;
|
|
586
|
+
consequence: string;
|
|
587
|
+
next_step: string;
|
|
588
|
+
evidence_ids: string[];
|
|
589
|
+
verification: ({
|
|
590
|
+
kind: "analyzer";
|
|
591
|
+
obligation_id: string;
|
|
592
|
+
provenance: {
|
|
593
|
+
path: string;
|
|
594
|
+
analyzer_id: string;
|
|
595
|
+
snippet_hash: string;
|
|
596
|
+
rule?: string | undefined;
|
|
597
|
+
};
|
|
598
|
+
} | {
|
|
599
|
+
expected: string;
|
|
600
|
+
kind: "assertion";
|
|
601
|
+
source_refs: {
|
|
602
|
+
path: string;
|
|
603
|
+
symbol?: string | undefined;
|
|
604
|
+
start_line?: number | undefined;
|
|
605
|
+
end_line?: number | undefined;
|
|
606
|
+
}[];
|
|
607
|
+
obligation_id: string;
|
|
608
|
+
} | {
|
|
609
|
+
reason: string;
|
|
610
|
+
kind: "disposition";
|
|
611
|
+
obligation_id: string;
|
|
612
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
613
|
+
})[];
|
|
614
|
+
observation_ids?: string[] | undefined;
|
|
615
|
+
purpose?: string | undefined;
|
|
616
|
+
divergence?: string | undefined;
|
|
617
|
+
}, {
|
|
618
|
+
confidence: "high" | "low" | "medium";
|
|
619
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
620
|
+
source_refs: {
|
|
621
|
+
path: string;
|
|
622
|
+
symbol?: string | undefined;
|
|
623
|
+
start_line?: number | undefined;
|
|
624
|
+
end_line?: number | undefined;
|
|
625
|
+
}[];
|
|
626
|
+
question_id: string;
|
|
627
|
+
revision_id: string;
|
|
628
|
+
schema_version: "audit-tools/question-review/v1";
|
|
629
|
+
finding_id: string;
|
|
630
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
631
|
+
claim: string;
|
|
632
|
+
consequence: string;
|
|
633
|
+
next_step: string;
|
|
634
|
+
evidence_ids: string[];
|
|
635
|
+
verification: ({
|
|
636
|
+
kind: "analyzer";
|
|
637
|
+
obligation_id: string;
|
|
638
|
+
provenance: {
|
|
639
|
+
path: string;
|
|
640
|
+
analyzer_id: string;
|
|
641
|
+
snippet_hash: string;
|
|
642
|
+
rule?: string | undefined;
|
|
643
|
+
};
|
|
644
|
+
} | {
|
|
645
|
+
expected: string;
|
|
646
|
+
kind: "assertion";
|
|
647
|
+
source_refs: {
|
|
648
|
+
path: string;
|
|
649
|
+
symbol?: string | undefined;
|
|
650
|
+
start_line?: number | undefined;
|
|
651
|
+
end_line?: number | undefined;
|
|
652
|
+
}[];
|
|
653
|
+
obligation_id: string;
|
|
654
|
+
} | {
|
|
655
|
+
reason: string;
|
|
656
|
+
kind: "disposition";
|
|
657
|
+
obligation_id: string;
|
|
658
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
659
|
+
})[];
|
|
660
|
+
observation_ids?: string[] | undefined;
|
|
661
|
+
purpose?: string | undefined;
|
|
662
|
+
divergence?: string | undefined;
|
|
663
|
+
}>, "many">>;
|
|
301
664
|
analyzer_provenance: z.ZodOptional<z.ZodObject<{
|
|
302
665
|
analyzer_id: z.ZodString;
|
|
303
666
|
rule: z.ZodOptional<z.ZodString>;
|
|
@@ -331,9 +694,9 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
331
694
|
id: string;
|
|
332
695
|
confidence: "high" | "low" | "medium";
|
|
333
696
|
title: string;
|
|
334
|
-
category: string;
|
|
335
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
336
697
|
lens: string;
|
|
698
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
699
|
+
category: string;
|
|
337
700
|
summary: string;
|
|
338
701
|
affected_files: {
|
|
339
702
|
path: string;
|
|
@@ -344,10 +707,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
344
707
|
no_quotable_span?: string | undefined;
|
|
345
708
|
hash_at_plan_time?: string | undefined;
|
|
346
709
|
}[];
|
|
710
|
+
evidence?: string[] | undefined;
|
|
347
711
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
348
712
|
impact?: string | undefined;
|
|
349
713
|
likelihood?: string | undefined;
|
|
350
|
-
evidence?: string[] | undefined;
|
|
351
714
|
reproduction?: string[] | undefined;
|
|
352
715
|
systemic?: boolean | undefined;
|
|
353
716
|
related_findings?: string[] | undefined;
|
|
@@ -379,6 +742,53 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
379
742
|
contract_obligation_ids?: string[] | undefined;
|
|
380
743
|
verification_obligation_ids?: string[] | undefined;
|
|
381
744
|
targeted_commands?: string[] | undefined;
|
|
745
|
+
question_review_sources?: {
|
|
746
|
+
confidence: "high" | "low" | "medium";
|
|
747
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
748
|
+
source_refs: {
|
|
749
|
+
path: string;
|
|
750
|
+
symbol?: string | undefined;
|
|
751
|
+
start_line?: number | undefined;
|
|
752
|
+
end_line?: number | undefined;
|
|
753
|
+
}[];
|
|
754
|
+
question_id: string;
|
|
755
|
+
revision_id: string;
|
|
756
|
+
schema_version: "audit-tools/question-review/v1";
|
|
757
|
+
finding_id: string;
|
|
758
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
759
|
+
claim: string;
|
|
760
|
+
consequence: string;
|
|
761
|
+
next_step: string;
|
|
762
|
+
evidence_ids: string[];
|
|
763
|
+
verification: ({
|
|
764
|
+
kind: "analyzer";
|
|
765
|
+
obligation_id: string;
|
|
766
|
+
provenance: {
|
|
767
|
+
path: string;
|
|
768
|
+
analyzer_id: string;
|
|
769
|
+
snippet_hash: string;
|
|
770
|
+
rule?: string | undefined;
|
|
771
|
+
};
|
|
772
|
+
} | {
|
|
773
|
+
expected: string;
|
|
774
|
+
kind: "assertion";
|
|
775
|
+
source_refs: {
|
|
776
|
+
path: string;
|
|
777
|
+
symbol?: string | undefined;
|
|
778
|
+
start_line?: number | undefined;
|
|
779
|
+
end_line?: number | undefined;
|
|
780
|
+
}[];
|
|
781
|
+
obligation_id: string;
|
|
782
|
+
} | {
|
|
783
|
+
reason: string;
|
|
784
|
+
kind: "disposition";
|
|
785
|
+
obligation_id: string;
|
|
786
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
787
|
+
})[];
|
|
788
|
+
observation_ids?: string[] | undefined;
|
|
789
|
+
purpose?: string | undefined;
|
|
790
|
+
divergence?: string | undefined;
|
|
791
|
+
}[] | undefined;
|
|
382
792
|
analyzer_provenance?: {
|
|
383
793
|
path: string;
|
|
384
794
|
analyzer_id: string;
|
|
@@ -394,9 +804,9 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
394
804
|
id: string;
|
|
395
805
|
confidence: "high" | "low" | "medium";
|
|
396
806
|
title: string;
|
|
397
|
-
category: string;
|
|
398
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
399
807
|
lens: string;
|
|
808
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
809
|
+
category: string;
|
|
400
810
|
summary: string;
|
|
401
811
|
affected_files: {
|
|
402
812
|
path: string;
|
|
@@ -407,10 +817,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
407
817
|
no_quotable_span?: string | undefined;
|
|
408
818
|
hash_at_plan_time?: string | undefined;
|
|
409
819
|
}[];
|
|
820
|
+
evidence?: string[] | undefined;
|
|
410
821
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
411
822
|
impact?: string | undefined;
|
|
412
823
|
likelihood?: string | undefined;
|
|
413
|
-
evidence?: string[] | undefined;
|
|
414
824
|
reproduction?: string[] | undefined;
|
|
415
825
|
systemic?: boolean | undefined;
|
|
416
826
|
related_findings?: string[] | undefined;
|
|
@@ -442,6 +852,53 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
442
852
|
contract_obligation_ids?: string[] | undefined;
|
|
443
853
|
verification_obligation_ids?: string[] | undefined;
|
|
444
854
|
targeted_commands?: string[] | undefined;
|
|
855
|
+
question_review_sources?: {
|
|
856
|
+
confidence: "high" | "low" | "medium";
|
|
857
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
858
|
+
source_refs: {
|
|
859
|
+
path: string;
|
|
860
|
+
symbol?: string | undefined;
|
|
861
|
+
start_line?: number | undefined;
|
|
862
|
+
end_line?: number | undefined;
|
|
863
|
+
}[];
|
|
864
|
+
question_id: string;
|
|
865
|
+
revision_id: string;
|
|
866
|
+
schema_version: "audit-tools/question-review/v1";
|
|
867
|
+
finding_id: string;
|
|
868
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
869
|
+
claim: string;
|
|
870
|
+
consequence: string;
|
|
871
|
+
next_step: string;
|
|
872
|
+
evidence_ids: string[];
|
|
873
|
+
verification: ({
|
|
874
|
+
kind: "analyzer";
|
|
875
|
+
obligation_id: string;
|
|
876
|
+
provenance: {
|
|
877
|
+
path: string;
|
|
878
|
+
analyzer_id: string;
|
|
879
|
+
snippet_hash: string;
|
|
880
|
+
rule?: string | undefined;
|
|
881
|
+
};
|
|
882
|
+
} | {
|
|
883
|
+
expected: string;
|
|
884
|
+
kind: "assertion";
|
|
885
|
+
source_refs: {
|
|
886
|
+
path: string;
|
|
887
|
+
symbol?: string | undefined;
|
|
888
|
+
start_line?: number | undefined;
|
|
889
|
+
end_line?: number | undefined;
|
|
890
|
+
}[];
|
|
891
|
+
obligation_id: string;
|
|
892
|
+
} | {
|
|
893
|
+
reason: string;
|
|
894
|
+
kind: "disposition";
|
|
895
|
+
obligation_id: string;
|
|
896
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
897
|
+
})[];
|
|
898
|
+
observation_ids?: string[] | undefined;
|
|
899
|
+
purpose?: string | undefined;
|
|
900
|
+
divergence?: string | undefined;
|
|
901
|
+
}[] | undefined;
|
|
445
902
|
analyzer_provenance?: {
|
|
446
903
|
path: string;
|
|
447
904
|
analyzer_id: string;
|
|
@@ -514,9 +971,9 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
514
971
|
id: string;
|
|
515
972
|
confidence: "high" | "low" | "medium";
|
|
516
973
|
title: string;
|
|
517
|
-
category: string;
|
|
518
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
519
974
|
lens: string;
|
|
975
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
976
|
+
category: string;
|
|
520
977
|
summary: string;
|
|
521
978
|
affected_files: {
|
|
522
979
|
path: string;
|
|
@@ -527,10 +984,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
527
984
|
no_quotable_span?: string | undefined;
|
|
528
985
|
hash_at_plan_time?: string | undefined;
|
|
529
986
|
}[];
|
|
987
|
+
evidence?: string[] | undefined;
|
|
530
988
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
531
989
|
impact?: string | undefined;
|
|
532
990
|
likelihood?: string | undefined;
|
|
533
|
-
evidence?: string[] | undefined;
|
|
534
991
|
reproduction?: string[] | undefined;
|
|
535
992
|
systemic?: boolean | undefined;
|
|
536
993
|
related_findings?: string[] | undefined;
|
|
@@ -562,6 +1019,53 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
562
1019
|
contract_obligation_ids?: string[] | undefined;
|
|
563
1020
|
verification_obligation_ids?: string[] | undefined;
|
|
564
1021
|
targeted_commands?: string[] | undefined;
|
|
1022
|
+
question_review_sources?: {
|
|
1023
|
+
confidence: "high" | "low" | "medium";
|
|
1024
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1025
|
+
source_refs: {
|
|
1026
|
+
path: string;
|
|
1027
|
+
symbol?: string | undefined;
|
|
1028
|
+
start_line?: number | undefined;
|
|
1029
|
+
end_line?: number | undefined;
|
|
1030
|
+
}[];
|
|
1031
|
+
question_id: string;
|
|
1032
|
+
revision_id: string;
|
|
1033
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1034
|
+
finding_id: string;
|
|
1035
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1036
|
+
claim: string;
|
|
1037
|
+
consequence: string;
|
|
1038
|
+
next_step: string;
|
|
1039
|
+
evidence_ids: string[];
|
|
1040
|
+
verification: ({
|
|
1041
|
+
kind: "analyzer";
|
|
1042
|
+
obligation_id: string;
|
|
1043
|
+
provenance: {
|
|
1044
|
+
path: string;
|
|
1045
|
+
analyzer_id: string;
|
|
1046
|
+
snippet_hash: string;
|
|
1047
|
+
rule?: string | undefined;
|
|
1048
|
+
};
|
|
1049
|
+
} | {
|
|
1050
|
+
expected: string;
|
|
1051
|
+
kind: "assertion";
|
|
1052
|
+
source_refs: {
|
|
1053
|
+
path: string;
|
|
1054
|
+
symbol?: string | undefined;
|
|
1055
|
+
start_line?: number | undefined;
|
|
1056
|
+
end_line?: number | undefined;
|
|
1057
|
+
}[];
|
|
1058
|
+
obligation_id: string;
|
|
1059
|
+
} | {
|
|
1060
|
+
reason: string;
|
|
1061
|
+
kind: "disposition";
|
|
1062
|
+
obligation_id: string;
|
|
1063
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1064
|
+
})[];
|
|
1065
|
+
observation_ids?: string[] | undefined;
|
|
1066
|
+
purpose?: string | undefined;
|
|
1067
|
+
divergence?: string | undefined;
|
|
1068
|
+
}[] | undefined;
|
|
565
1069
|
analyzer_provenance?: {
|
|
566
1070
|
path: string;
|
|
567
1071
|
analyzer_id: string;
|
|
@@ -586,6 +1090,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
586
1090
|
kind: "positive" | "negative";
|
|
587
1091
|
description: string;
|
|
588
1092
|
scope_paths: string[];
|
|
1093
|
+
source_obligation?: {
|
|
1094
|
+
obligation_id: string;
|
|
1095
|
+
finding_id: string;
|
|
1096
|
+
} | undefined;
|
|
589
1097
|
}[];
|
|
590
1098
|
inapplicable_reason?: string | undefined;
|
|
591
1099
|
}[];
|
|
@@ -593,10 +1101,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
593
1101
|
id: string;
|
|
594
1102
|
read_paths: string[];
|
|
595
1103
|
title: string;
|
|
1104
|
+
dependencies: string[];
|
|
596
1105
|
description: string;
|
|
597
1106
|
source_finding_ids: string[];
|
|
598
1107
|
requirement_ids: string[];
|
|
599
|
-
dependencies: string[];
|
|
600
1108
|
allowed_files: string[];
|
|
601
1109
|
required_tests: string[];
|
|
602
1110
|
affected_interfaces: {
|
|
@@ -607,7 +1115,7 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
607
1115
|
phase_ordinal?: number | undefined;
|
|
608
1116
|
}[];
|
|
609
1117
|
source_dispositions: {
|
|
610
|
-
status: "
|
|
1118
|
+
status: "deferred" | "already_fixed" | "refuted";
|
|
611
1119
|
reason: string;
|
|
612
1120
|
evidence: string[];
|
|
613
1121
|
finding_id: string;
|
|
@@ -624,6 +1132,7 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
624
1132
|
reproduction_steps: string[];
|
|
625
1133
|
actual: string;
|
|
626
1134
|
}[];
|
|
1135
|
+
source?: string | undefined;
|
|
627
1136
|
audit_read?: {
|
|
628
1137
|
commit: string;
|
|
629
1138
|
dirty_paths: string[];
|
|
@@ -638,7 +1147,6 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
638
1147
|
text: string;
|
|
639
1148
|
source_paths: string[];
|
|
640
1149
|
} | undefined;
|
|
641
|
-
source?: string | undefined;
|
|
642
1150
|
goal_id?: string | undefined;
|
|
643
1151
|
test_command?: string | undefined;
|
|
644
1152
|
e2e_command?: string | undefined;
|
|
@@ -649,9 +1157,9 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
649
1157
|
id: string;
|
|
650
1158
|
confidence: "high" | "low" | "medium";
|
|
651
1159
|
title: string;
|
|
652
|
-
category: string;
|
|
653
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
654
1160
|
lens: string;
|
|
1161
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1162
|
+
category: string;
|
|
655
1163
|
summary: string;
|
|
656
1164
|
affected_files: {
|
|
657
1165
|
path: string;
|
|
@@ -662,10 +1170,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
662
1170
|
no_quotable_span?: string | undefined;
|
|
663
1171
|
hash_at_plan_time?: string | undefined;
|
|
664
1172
|
}[];
|
|
1173
|
+
evidence?: string[] | undefined;
|
|
665
1174
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
666
1175
|
impact?: string | undefined;
|
|
667
1176
|
likelihood?: string | undefined;
|
|
668
|
-
evidence?: string[] | undefined;
|
|
669
1177
|
reproduction?: string[] | undefined;
|
|
670
1178
|
systemic?: boolean | undefined;
|
|
671
1179
|
related_findings?: string[] | undefined;
|
|
@@ -697,6 +1205,53 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
697
1205
|
contract_obligation_ids?: string[] | undefined;
|
|
698
1206
|
verification_obligation_ids?: string[] | undefined;
|
|
699
1207
|
targeted_commands?: string[] | undefined;
|
|
1208
|
+
question_review_sources?: {
|
|
1209
|
+
confidence: "high" | "low" | "medium";
|
|
1210
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1211
|
+
source_refs: {
|
|
1212
|
+
path: string;
|
|
1213
|
+
symbol?: string | undefined;
|
|
1214
|
+
start_line?: number | undefined;
|
|
1215
|
+
end_line?: number | undefined;
|
|
1216
|
+
}[];
|
|
1217
|
+
question_id: string;
|
|
1218
|
+
revision_id: string;
|
|
1219
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1220
|
+
finding_id: string;
|
|
1221
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1222
|
+
claim: string;
|
|
1223
|
+
consequence: string;
|
|
1224
|
+
next_step: string;
|
|
1225
|
+
evidence_ids: string[];
|
|
1226
|
+
verification: ({
|
|
1227
|
+
kind: "analyzer";
|
|
1228
|
+
obligation_id: string;
|
|
1229
|
+
provenance: {
|
|
1230
|
+
path: string;
|
|
1231
|
+
analyzer_id: string;
|
|
1232
|
+
snippet_hash: string;
|
|
1233
|
+
rule?: string | undefined;
|
|
1234
|
+
};
|
|
1235
|
+
} | {
|
|
1236
|
+
expected: string;
|
|
1237
|
+
kind: "assertion";
|
|
1238
|
+
source_refs: {
|
|
1239
|
+
path: string;
|
|
1240
|
+
symbol?: string | undefined;
|
|
1241
|
+
start_line?: number | undefined;
|
|
1242
|
+
end_line?: number | undefined;
|
|
1243
|
+
}[];
|
|
1244
|
+
obligation_id: string;
|
|
1245
|
+
} | {
|
|
1246
|
+
reason: string;
|
|
1247
|
+
kind: "disposition";
|
|
1248
|
+
obligation_id: string;
|
|
1249
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1250
|
+
})[];
|
|
1251
|
+
observation_ids?: string[] | undefined;
|
|
1252
|
+
purpose?: string | undefined;
|
|
1253
|
+
divergence?: string | undefined;
|
|
1254
|
+
}[] | undefined;
|
|
700
1255
|
analyzer_provenance?: {
|
|
701
1256
|
path: string;
|
|
702
1257
|
analyzer_id: string;
|
|
@@ -721,6 +1276,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
721
1276
|
kind: "positive" | "negative";
|
|
722
1277
|
description: string;
|
|
723
1278
|
scope_paths: string[];
|
|
1279
|
+
source_obligation?: {
|
|
1280
|
+
obligation_id: string;
|
|
1281
|
+
finding_id: string;
|
|
1282
|
+
} | undefined;
|
|
724
1283
|
}[];
|
|
725
1284
|
inapplicable_reason?: string | undefined;
|
|
726
1285
|
}[];
|
|
@@ -728,10 +1287,10 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
728
1287
|
id: string;
|
|
729
1288
|
read_paths: string[];
|
|
730
1289
|
title: string;
|
|
1290
|
+
dependencies: string[];
|
|
731
1291
|
description: string;
|
|
732
1292
|
source_finding_ids: string[];
|
|
733
1293
|
requirement_ids: string[];
|
|
734
|
-
dependencies: string[];
|
|
735
1294
|
allowed_files: string[];
|
|
736
1295
|
required_tests: string[];
|
|
737
1296
|
addresses_counterexample_ids: string[];
|
|
@@ -744,12 +1303,13 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
744
1303
|
candidate_closing_actions: ("push" | "custom" | "commit" | "none" | "open-pr" | "publish" | "tag")[];
|
|
745
1304
|
project_type: string;
|
|
746
1305
|
review_revision_sha256: string;
|
|
1306
|
+
source?: string | undefined;
|
|
747
1307
|
audit_read?: {
|
|
748
1308
|
commit: string;
|
|
749
1309
|
dirty_paths: string[];
|
|
750
1310
|
} | null | undefined;
|
|
751
1311
|
source_dispositions?: {
|
|
752
|
-
status: "
|
|
1312
|
+
status: "deferred" | "already_fixed" | "refuted";
|
|
753
1313
|
reason: string;
|
|
754
1314
|
evidence: string[];
|
|
755
1315
|
finding_id: string;
|
|
@@ -764,7 +1324,6 @@ export declare const RemediationPlanSchema: z.ZodObject<{
|
|
|
764
1324
|
text: string;
|
|
765
1325
|
source_paths: string[];
|
|
766
1326
|
} | undefined;
|
|
767
|
-
source?: string | undefined;
|
|
768
1327
|
goal_id?: string | undefined;
|
|
769
1328
|
review_counterexamples?: {
|
|
770
1329
|
expected: string;
|
|
@@ -813,6 +1372,26 @@ export declare const SourceVerificationSchema: z.ZodObject<{
|
|
|
813
1372
|
analyzer_id: string;
|
|
814
1373
|
reason?: string | undefined;
|
|
815
1374
|
}>>;
|
|
1375
|
+
mechanical_obligation_verifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1376
|
+
status: z.ZodEnum<["verified_mechanically", "lead_persists", "skipped"]>;
|
|
1377
|
+
analyzer_id: z.ZodString;
|
|
1378
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
} & {
|
|
1380
|
+
source_finding_id: z.ZodString;
|
|
1381
|
+
obligation_id: z.ZodString;
|
|
1382
|
+
}, "strict", z.ZodTypeAny, {
|
|
1383
|
+
status: "verified_mechanically" | "lead_persists" | "skipped";
|
|
1384
|
+
analyzer_id: string;
|
|
1385
|
+
obligation_id: string;
|
|
1386
|
+
source_finding_id: string;
|
|
1387
|
+
reason?: string | undefined;
|
|
1388
|
+
}, {
|
|
1389
|
+
status: "verified_mechanically" | "lead_persists" | "skipped";
|
|
1390
|
+
analyzer_id: string;
|
|
1391
|
+
obligation_id: string;
|
|
1392
|
+
source_finding_id: string;
|
|
1393
|
+
reason?: string | undefined;
|
|
1394
|
+
}>, "many">>;
|
|
816
1395
|
review_revision_sha256: z.ZodOptional<z.ZodString>;
|
|
817
1396
|
source_sha256: z.ZodOptional<z.ZodString>;
|
|
818
1397
|
head_commit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -828,10 +1407,17 @@ export declare const SourceVerificationSchema: z.ZodObject<{
|
|
|
828
1407
|
analyzer_id: string;
|
|
829
1408
|
reason?: string | undefined;
|
|
830
1409
|
} | undefined;
|
|
1410
|
+
mechanical_obligation_verifications?: {
|
|
1411
|
+
status: "verified_mechanically" | "lead_persists" | "skipped";
|
|
1412
|
+
analyzer_id: string;
|
|
1413
|
+
obligation_id: string;
|
|
1414
|
+
source_finding_id: string;
|
|
1415
|
+
reason?: string | undefined;
|
|
1416
|
+
}[] | undefined;
|
|
831
1417
|
recorded_by_module?: string | undefined;
|
|
832
1418
|
source_sha256?: string | undefined;
|
|
833
1419
|
review_revision_sha256?: string | undefined;
|
|
834
|
-
disposition_override?: "
|
|
1420
|
+
disposition_override?: "resolved" | "refuted" | "ignored" | "verified_already_fixed" | "resolved_no_change" | "deemed_inappropriate" | "abandoned" | undefined;
|
|
835
1421
|
head_commit?: string | null | undefined;
|
|
836
1422
|
}, {
|
|
837
1423
|
evidence?: {
|
|
@@ -845,10 +1431,17 @@ export declare const SourceVerificationSchema: z.ZodObject<{
|
|
|
845
1431
|
analyzer_id: string;
|
|
846
1432
|
reason?: string | undefined;
|
|
847
1433
|
} | undefined;
|
|
1434
|
+
mechanical_obligation_verifications?: {
|
|
1435
|
+
status: "verified_mechanically" | "lead_persists" | "skipped";
|
|
1436
|
+
analyzer_id: string;
|
|
1437
|
+
obligation_id: string;
|
|
1438
|
+
source_finding_id: string;
|
|
1439
|
+
reason?: string | undefined;
|
|
1440
|
+
}[] | undefined;
|
|
848
1441
|
recorded_by_module?: string | undefined;
|
|
849
1442
|
source_sha256?: string | undefined;
|
|
850
1443
|
review_revision_sha256?: string | undefined;
|
|
851
|
-
disposition_override?: "
|
|
1444
|
+
disposition_override?: "resolved" | "refuted" | "ignored" | "verified_already_fixed" | "resolved_no_change" | "deemed_inappropriate" | "abandoned" | undefined;
|
|
852
1445
|
head_commit?: string | null | undefined;
|
|
853
1446
|
}>;
|
|
854
1447
|
export type SourceVerification = z.infer<typeof SourceVerificationSchema>;
|
|
@@ -913,13 +1506,13 @@ export declare const ClarificationRequestSchema: z.ZodObject<{
|
|
|
913
1506
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
914
1507
|
}, "strict", z.ZodTypeAny, {
|
|
915
1508
|
unit_id: string;
|
|
916
|
-
category: "public_contract" | "behavioral_semantics" | "scope_of_fix" | "dependency_introduction" | "compatibility_policy" | "intent_vs_symptom" | "issue_appropriateness";
|
|
917
1509
|
description: string;
|
|
1510
|
+
category: "public_contract" | "behavioral_semantics" | "scope_of_fix" | "dependency_introduction" | "compatibility_policy" | "intent_vs_symptom" | "issue_appropriateness";
|
|
918
1511
|
options?: string[] | undefined;
|
|
919
1512
|
}, {
|
|
920
1513
|
unit_id: string;
|
|
921
|
-
category: "public_contract" | "behavioral_semantics" | "scope_of_fix" | "dependency_introduction" | "compatibility_policy" | "intent_vs_symptom" | "issue_appropriateness";
|
|
922
1514
|
description: string;
|
|
1515
|
+
category: "public_contract" | "behavioral_semantics" | "scope_of_fix" | "dependency_introduction" | "compatibility_policy" | "intent_vs_symptom" | "issue_appropriateness";
|
|
923
1516
|
options?: string[] | undefined;
|
|
924
1517
|
}>;
|
|
925
1518
|
export type ClarificationRequest = z.infer<typeof ClarificationRequestSchema>;
|