audit-tools 0.56.2 → 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/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
package/dist/audit/types.d.ts
CHANGED
|
@@ -842,6 +842,335 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
842
842
|
contract_obligation_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
843
843
|
verification_obligation_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
844
844
|
targeted_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
845
|
+
question_review_sources: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
846
|
+
question_id: z.ZodEffects<z.ZodString, string, string>;
|
|
847
|
+
revision_id: z.ZodEffects<z.ZodString, string, string>;
|
|
848
|
+
finding_id: z.ZodEffects<z.ZodString, string, string>;
|
|
849
|
+
kind: z.ZodEnum<["confirmed_defect", "design_opportunity", "lead"]>;
|
|
850
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
851
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
852
|
+
claim: z.ZodString;
|
|
853
|
+
consequence: z.ZodString;
|
|
854
|
+
next_step: z.ZodString;
|
|
855
|
+
evidence_ids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
856
|
+
observation_ids: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
857
|
+
source_refs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
858
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
859
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
860
|
+
start_line: z.ZodOptional<z.ZodNumber>;
|
|
861
|
+
end_line: z.ZodOptional<z.ZodNumber>;
|
|
862
|
+
}, "strict", z.ZodTypeAny, {
|
|
863
|
+
path: string;
|
|
864
|
+
symbol?: string | undefined;
|
|
865
|
+
start_line?: number | undefined;
|
|
866
|
+
end_line?: number | undefined;
|
|
867
|
+
}, {
|
|
868
|
+
path: string;
|
|
869
|
+
symbol?: string | undefined;
|
|
870
|
+
start_line?: number | undefined;
|
|
871
|
+
end_line?: number | undefined;
|
|
872
|
+
}>, {
|
|
873
|
+
path: string;
|
|
874
|
+
symbol?: string | undefined;
|
|
875
|
+
start_line?: number | undefined;
|
|
876
|
+
end_line?: number | undefined;
|
|
877
|
+
}, {
|
|
878
|
+
path: string;
|
|
879
|
+
symbol?: string | undefined;
|
|
880
|
+
start_line?: number | undefined;
|
|
881
|
+
end_line?: number | undefined;
|
|
882
|
+
}>, "many">;
|
|
883
|
+
verification: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
884
|
+
kind: z.ZodLiteral<"analyzer">;
|
|
885
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
886
|
+
provenance: z.ZodObject<{
|
|
887
|
+
analyzer_id: z.ZodString;
|
|
888
|
+
rule: z.ZodOptional<z.ZodString>;
|
|
889
|
+
path: z.ZodString;
|
|
890
|
+
snippet_hash: z.ZodString;
|
|
891
|
+
}, "strict", z.ZodTypeAny, {
|
|
892
|
+
path: string;
|
|
893
|
+
analyzer_id: string;
|
|
894
|
+
snippet_hash: string;
|
|
895
|
+
rule?: string | undefined;
|
|
896
|
+
}, {
|
|
897
|
+
path: string;
|
|
898
|
+
analyzer_id: string;
|
|
899
|
+
snippet_hash: string;
|
|
900
|
+
rule?: string | undefined;
|
|
901
|
+
}>;
|
|
902
|
+
}, "strict", z.ZodTypeAny, {
|
|
903
|
+
kind: "analyzer";
|
|
904
|
+
obligation_id: string;
|
|
905
|
+
provenance: {
|
|
906
|
+
path: string;
|
|
907
|
+
analyzer_id: string;
|
|
908
|
+
snippet_hash: string;
|
|
909
|
+
rule?: string | undefined;
|
|
910
|
+
};
|
|
911
|
+
}, {
|
|
912
|
+
kind: "analyzer";
|
|
913
|
+
obligation_id: string;
|
|
914
|
+
provenance: {
|
|
915
|
+
path: string;
|
|
916
|
+
analyzer_id: string;
|
|
917
|
+
snippet_hash: string;
|
|
918
|
+
rule?: string | undefined;
|
|
919
|
+
};
|
|
920
|
+
}>, z.ZodObject<{
|
|
921
|
+
kind: z.ZodLiteral<"assertion">;
|
|
922
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
923
|
+
expected: z.ZodString;
|
|
924
|
+
source_refs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
925
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
926
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
927
|
+
start_line: z.ZodOptional<z.ZodNumber>;
|
|
928
|
+
end_line: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
}, "strict", z.ZodTypeAny, {
|
|
930
|
+
path: string;
|
|
931
|
+
symbol?: string | undefined;
|
|
932
|
+
start_line?: number | undefined;
|
|
933
|
+
end_line?: number | undefined;
|
|
934
|
+
}, {
|
|
935
|
+
path: string;
|
|
936
|
+
symbol?: string | undefined;
|
|
937
|
+
start_line?: number | undefined;
|
|
938
|
+
end_line?: number | undefined;
|
|
939
|
+
}>, {
|
|
940
|
+
path: string;
|
|
941
|
+
symbol?: string | undefined;
|
|
942
|
+
start_line?: number | undefined;
|
|
943
|
+
end_line?: number | undefined;
|
|
944
|
+
}, {
|
|
945
|
+
path: string;
|
|
946
|
+
symbol?: string | undefined;
|
|
947
|
+
start_line?: number | undefined;
|
|
948
|
+
end_line?: number | undefined;
|
|
949
|
+
}>, "many">;
|
|
950
|
+
}, "strict", z.ZodTypeAny, {
|
|
951
|
+
expected: string;
|
|
952
|
+
kind: "assertion";
|
|
953
|
+
source_refs: {
|
|
954
|
+
path: string;
|
|
955
|
+
symbol?: string | undefined;
|
|
956
|
+
start_line?: number | undefined;
|
|
957
|
+
end_line?: number | undefined;
|
|
958
|
+
}[];
|
|
959
|
+
obligation_id: string;
|
|
960
|
+
}, {
|
|
961
|
+
expected: string;
|
|
962
|
+
kind: "assertion";
|
|
963
|
+
source_refs: {
|
|
964
|
+
path: string;
|
|
965
|
+
symbol?: string | undefined;
|
|
966
|
+
start_line?: number | undefined;
|
|
967
|
+
end_line?: number | undefined;
|
|
968
|
+
}[];
|
|
969
|
+
obligation_id: string;
|
|
970
|
+
}>, z.ZodObject<{
|
|
971
|
+
kind: z.ZodLiteral<"disposition">;
|
|
972
|
+
obligation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
973
|
+
disposition: z.ZodEnum<["implemented", "deferred", "rejected", "already_fixed", "out_of_scope"]>;
|
|
974
|
+
reason: z.ZodString;
|
|
975
|
+
}, "strict", z.ZodTypeAny, {
|
|
976
|
+
reason: string;
|
|
977
|
+
kind: "disposition";
|
|
978
|
+
obligation_id: string;
|
|
979
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
980
|
+
}, {
|
|
981
|
+
reason: string;
|
|
982
|
+
kind: "disposition";
|
|
983
|
+
obligation_id: string;
|
|
984
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
985
|
+
}>]>, "many">;
|
|
986
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
987
|
+
divergence: z.ZodOptional<z.ZodString>;
|
|
988
|
+
schema_version: z.ZodLiteral<"audit-tools/question-review/v1">;
|
|
989
|
+
}, "strict", z.ZodTypeAny, {
|
|
990
|
+
confidence: "high" | "low" | "medium";
|
|
991
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
992
|
+
source_refs: {
|
|
993
|
+
path: string;
|
|
994
|
+
symbol?: string | undefined;
|
|
995
|
+
start_line?: number | undefined;
|
|
996
|
+
end_line?: number | undefined;
|
|
997
|
+
}[];
|
|
998
|
+
question_id: string;
|
|
999
|
+
revision_id: string;
|
|
1000
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1001
|
+
finding_id: string;
|
|
1002
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1003
|
+
claim: string;
|
|
1004
|
+
consequence: string;
|
|
1005
|
+
next_step: string;
|
|
1006
|
+
evidence_ids: string[];
|
|
1007
|
+
verification: ({
|
|
1008
|
+
kind: "analyzer";
|
|
1009
|
+
obligation_id: string;
|
|
1010
|
+
provenance: {
|
|
1011
|
+
path: string;
|
|
1012
|
+
analyzer_id: string;
|
|
1013
|
+
snippet_hash: string;
|
|
1014
|
+
rule?: string | undefined;
|
|
1015
|
+
};
|
|
1016
|
+
} | {
|
|
1017
|
+
expected: string;
|
|
1018
|
+
kind: "assertion";
|
|
1019
|
+
source_refs: {
|
|
1020
|
+
path: string;
|
|
1021
|
+
symbol?: string | undefined;
|
|
1022
|
+
start_line?: number | undefined;
|
|
1023
|
+
end_line?: number | undefined;
|
|
1024
|
+
}[];
|
|
1025
|
+
obligation_id: string;
|
|
1026
|
+
} | {
|
|
1027
|
+
reason: string;
|
|
1028
|
+
kind: "disposition";
|
|
1029
|
+
obligation_id: string;
|
|
1030
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1031
|
+
})[];
|
|
1032
|
+
observation_ids?: string[] | undefined;
|
|
1033
|
+
purpose?: string | undefined;
|
|
1034
|
+
divergence?: string | undefined;
|
|
1035
|
+
}, {
|
|
1036
|
+
confidence: "high" | "low" | "medium";
|
|
1037
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1038
|
+
source_refs: {
|
|
1039
|
+
path: string;
|
|
1040
|
+
symbol?: string | undefined;
|
|
1041
|
+
start_line?: number | undefined;
|
|
1042
|
+
end_line?: number | undefined;
|
|
1043
|
+
}[];
|
|
1044
|
+
question_id: string;
|
|
1045
|
+
revision_id: string;
|
|
1046
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1047
|
+
finding_id: string;
|
|
1048
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1049
|
+
claim: string;
|
|
1050
|
+
consequence: string;
|
|
1051
|
+
next_step: string;
|
|
1052
|
+
evidence_ids: string[];
|
|
1053
|
+
verification: ({
|
|
1054
|
+
kind: "analyzer";
|
|
1055
|
+
obligation_id: string;
|
|
1056
|
+
provenance: {
|
|
1057
|
+
path: string;
|
|
1058
|
+
analyzer_id: string;
|
|
1059
|
+
snippet_hash: string;
|
|
1060
|
+
rule?: string | undefined;
|
|
1061
|
+
};
|
|
1062
|
+
} | {
|
|
1063
|
+
expected: string;
|
|
1064
|
+
kind: "assertion";
|
|
1065
|
+
source_refs: {
|
|
1066
|
+
path: string;
|
|
1067
|
+
symbol?: string | undefined;
|
|
1068
|
+
start_line?: number | undefined;
|
|
1069
|
+
end_line?: number | undefined;
|
|
1070
|
+
}[];
|
|
1071
|
+
obligation_id: string;
|
|
1072
|
+
} | {
|
|
1073
|
+
reason: string;
|
|
1074
|
+
kind: "disposition";
|
|
1075
|
+
obligation_id: string;
|
|
1076
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1077
|
+
})[];
|
|
1078
|
+
observation_ids?: string[] | undefined;
|
|
1079
|
+
purpose?: string | undefined;
|
|
1080
|
+
divergence?: string | undefined;
|
|
1081
|
+
}>, {
|
|
1082
|
+
confidence: "high" | "low" | "medium";
|
|
1083
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1084
|
+
source_refs: {
|
|
1085
|
+
path: string;
|
|
1086
|
+
symbol?: string | undefined;
|
|
1087
|
+
start_line?: number | undefined;
|
|
1088
|
+
end_line?: number | undefined;
|
|
1089
|
+
}[];
|
|
1090
|
+
question_id: string;
|
|
1091
|
+
revision_id: string;
|
|
1092
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1093
|
+
finding_id: string;
|
|
1094
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1095
|
+
claim: string;
|
|
1096
|
+
consequence: string;
|
|
1097
|
+
next_step: string;
|
|
1098
|
+
evidence_ids: string[];
|
|
1099
|
+
verification: ({
|
|
1100
|
+
kind: "analyzer";
|
|
1101
|
+
obligation_id: string;
|
|
1102
|
+
provenance: {
|
|
1103
|
+
path: string;
|
|
1104
|
+
analyzer_id: string;
|
|
1105
|
+
snippet_hash: string;
|
|
1106
|
+
rule?: string | undefined;
|
|
1107
|
+
};
|
|
1108
|
+
} | {
|
|
1109
|
+
expected: string;
|
|
1110
|
+
kind: "assertion";
|
|
1111
|
+
source_refs: {
|
|
1112
|
+
path: string;
|
|
1113
|
+
symbol?: string | undefined;
|
|
1114
|
+
start_line?: number | undefined;
|
|
1115
|
+
end_line?: number | undefined;
|
|
1116
|
+
}[];
|
|
1117
|
+
obligation_id: string;
|
|
1118
|
+
} | {
|
|
1119
|
+
reason: string;
|
|
1120
|
+
kind: "disposition";
|
|
1121
|
+
obligation_id: string;
|
|
1122
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1123
|
+
})[];
|
|
1124
|
+
observation_ids?: string[] | undefined;
|
|
1125
|
+
purpose?: string | undefined;
|
|
1126
|
+
divergence?: string | undefined;
|
|
1127
|
+
}, {
|
|
1128
|
+
confidence: "high" | "low" | "medium";
|
|
1129
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1130
|
+
source_refs: {
|
|
1131
|
+
path: string;
|
|
1132
|
+
symbol?: string | undefined;
|
|
1133
|
+
start_line?: number | undefined;
|
|
1134
|
+
end_line?: number | undefined;
|
|
1135
|
+
}[];
|
|
1136
|
+
question_id: string;
|
|
1137
|
+
revision_id: string;
|
|
1138
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1139
|
+
finding_id: string;
|
|
1140
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1141
|
+
claim: string;
|
|
1142
|
+
consequence: string;
|
|
1143
|
+
next_step: string;
|
|
1144
|
+
evidence_ids: string[];
|
|
1145
|
+
verification: ({
|
|
1146
|
+
kind: "analyzer";
|
|
1147
|
+
obligation_id: string;
|
|
1148
|
+
provenance: {
|
|
1149
|
+
path: string;
|
|
1150
|
+
analyzer_id: string;
|
|
1151
|
+
snippet_hash: string;
|
|
1152
|
+
rule?: string | undefined;
|
|
1153
|
+
};
|
|
1154
|
+
} | {
|
|
1155
|
+
expected: string;
|
|
1156
|
+
kind: "assertion";
|
|
1157
|
+
source_refs: {
|
|
1158
|
+
path: string;
|
|
1159
|
+
symbol?: string | undefined;
|
|
1160
|
+
start_line?: number | undefined;
|
|
1161
|
+
end_line?: number | undefined;
|
|
1162
|
+
}[];
|
|
1163
|
+
obligation_id: string;
|
|
1164
|
+
} | {
|
|
1165
|
+
reason: string;
|
|
1166
|
+
kind: "disposition";
|
|
1167
|
+
obligation_id: string;
|
|
1168
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1169
|
+
})[];
|
|
1170
|
+
observation_ids?: string[] | undefined;
|
|
1171
|
+
purpose?: string | undefined;
|
|
1172
|
+
divergence?: string | undefined;
|
|
1173
|
+
}>, "many">>;
|
|
845
1174
|
analyzer_provenance: z.ZodOptional<z.ZodObject<{
|
|
846
1175
|
analyzer_id: z.ZodString;
|
|
847
1176
|
rule: z.ZodOptional<z.ZodString>;
|
|
@@ -875,9 +1204,9 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
875
1204
|
id: string;
|
|
876
1205
|
confidence: "high" | "low" | "medium";
|
|
877
1206
|
title: string;
|
|
878
|
-
category: string;
|
|
879
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
880
1207
|
lens: string;
|
|
1208
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1209
|
+
category: string;
|
|
881
1210
|
summary: string;
|
|
882
1211
|
affected_files: {
|
|
883
1212
|
path: string;
|
|
@@ -888,10 +1217,10 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
888
1217
|
no_quotable_span?: string | undefined;
|
|
889
1218
|
hash_at_plan_time?: string | undefined;
|
|
890
1219
|
}[];
|
|
1220
|
+
evidence?: string[] | undefined;
|
|
891
1221
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
892
1222
|
impact?: string | undefined;
|
|
893
1223
|
likelihood?: string | undefined;
|
|
894
|
-
evidence?: string[] | undefined;
|
|
895
1224
|
reproduction?: string[] | undefined;
|
|
896
1225
|
systemic?: boolean | undefined;
|
|
897
1226
|
related_findings?: string[] | undefined;
|
|
@@ -923,6 +1252,53 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
923
1252
|
contract_obligation_ids?: string[] | undefined;
|
|
924
1253
|
verification_obligation_ids?: string[] | undefined;
|
|
925
1254
|
targeted_commands?: string[] | undefined;
|
|
1255
|
+
question_review_sources?: {
|
|
1256
|
+
confidence: "high" | "low" | "medium";
|
|
1257
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1258
|
+
source_refs: {
|
|
1259
|
+
path: string;
|
|
1260
|
+
symbol?: string | undefined;
|
|
1261
|
+
start_line?: number | undefined;
|
|
1262
|
+
end_line?: number | undefined;
|
|
1263
|
+
}[];
|
|
1264
|
+
question_id: string;
|
|
1265
|
+
revision_id: string;
|
|
1266
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1267
|
+
finding_id: string;
|
|
1268
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1269
|
+
claim: string;
|
|
1270
|
+
consequence: string;
|
|
1271
|
+
next_step: string;
|
|
1272
|
+
evidence_ids: string[];
|
|
1273
|
+
verification: ({
|
|
1274
|
+
kind: "analyzer";
|
|
1275
|
+
obligation_id: string;
|
|
1276
|
+
provenance: {
|
|
1277
|
+
path: string;
|
|
1278
|
+
analyzer_id: string;
|
|
1279
|
+
snippet_hash: string;
|
|
1280
|
+
rule?: string | undefined;
|
|
1281
|
+
};
|
|
1282
|
+
} | {
|
|
1283
|
+
expected: string;
|
|
1284
|
+
kind: "assertion";
|
|
1285
|
+
source_refs: {
|
|
1286
|
+
path: string;
|
|
1287
|
+
symbol?: string | undefined;
|
|
1288
|
+
start_line?: number | undefined;
|
|
1289
|
+
end_line?: number | undefined;
|
|
1290
|
+
}[];
|
|
1291
|
+
obligation_id: string;
|
|
1292
|
+
} | {
|
|
1293
|
+
reason: string;
|
|
1294
|
+
kind: "disposition";
|
|
1295
|
+
obligation_id: string;
|
|
1296
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1297
|
+
})[];
|
|
1298
|
+
observation_ids?: string[] | undefined;
|
|
1299
|
+
purpose?: string | undefined;
|
|
1300
|
+
divergence?: string | undefined;
|
|
1301
|
+
}[] | undefined;
|
|
926
1302
|
analyzer_provenance?: {
|
|
927
1303
|
path: string;
|
|
928
1304
|
analyzer_id: string;
|
|
@@ -938,9 +1314,9 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
938
1314
|
id: string;
|
|
939
1315
|
confidence: "high" | "low" | "medium";
|
|
940
1316
|
title: string;
|
|
941
|
-
category: string;
|
|
942
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
943
1317
|
lens: string;
|
|
1318
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1319
|
+
category: string;
|
|
944
1320
|
summary: string;
|
|
945
1321
|
affected_files: {
|
|
946
1322
|
path: string;
|
|
@@ -951,10 +1327,10 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
951
1327
|
no_quotable_span?: string | undefined;
|
|
952
1328
|
hash_at_plan_time?: string | undefined;
|
|
953
1329
|
}[];
|
|
1330
|
+
evidence?: string[] | undefined;
|
|
954
1331
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
955
1332
|
impact?: string | undefined;
|
|
956
1333
|
likelihood?: string | undefined;
|
|
957
|
-
evidence?: string[] | undefined;
|
|
958
1334
|
reproduction?: string[] | undefined;
|
|
959
1335
|
systemic?: boolean | undefined;
|
|
960
1336
|
related_findings?: string[] | undefined;
|
|
@@ -986,6 +1362,53 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
986
1362
|
contract_obligation_ids?: string[] | undefined;
|
|
987
1363
|
verification_obligation_ids?: string[] | undefined;
|
|
988
1364
|
targeted_commands?: string[] | undefined;
|
|
1365
|
+
question_review_sources?: {
|
|
1366
|
+
confidence: "high" | "low" | "medium";
|
|
1367
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1368
|
+
source_refs: {
|
|
1369
|
+
path: string;
|
|
1370
|
+
symbol?: string | undefined;
|
|
1371
|
+
start_line?: number | undefined;
|
|
1372
|
+
end_line?: number | undefined;
|
|
1373
|
+
}[];
|
|
1374
|
+
question_id: string;
|
|
1375
|
+
revision_id: string;
|
|
1376
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1377
|
+
finding_id: string;
|
|
1378
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1379
|
+
claim: string;
|
|
1380
|
+
consequence: string;
|
|
1381
|
+
next_step: string;
|
|
1382
|
+
evidence_ids: string[];
|
|
1383
|
+
verification: ({
|
|
1384
|
+
kind: "analyzer";
|
|
1385
|
+
obligation_id: string;
|
|
1386
|
+
provenance: {
|
|
1387
|
+
path: string;
|
|
1388
|
+
analyzer_id: string;
|
|
1389
|
+
snippet_hash: string;
|
|
1390
|
+
rule?: string | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
} | {
|
|
1393
|
+
expected: string;
|
|
1394
|
+
kind: "assertion";
|
|
1395
|
+
source_refs: {
|
|
1396
|
+
path: string;
|
|
1397
|
+
symbol?: string | undefined;
|
|
1398
|
+
start_line?: number | undefined;
|
|
1399
|
+
end_line?: number | undefined;
|
|
1400
|
+
}[];
|
|
1401
|
+
obligation_id: string;
|
|
1402
|
+
} | {
|
|
1403
|
+
reason: string;
|
|
1404
|
+
kind: "disposition";
|
|
1405
|
+
obligation_id: string;
|
|
1406
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1407
|
+
})[];
|
|
1408
|
+
observation_ids?: string[] | undefined;
|
|
1409
|
+
purpose?: string | undefined;
|
|
1410
|
+
divergence?: string | undefined;
|
|
1411
|
+
}[] | undefined;
|
|
989
1412
|
analyzer_provenance?: {
|
|
990
1413
|
path: string;
|
|
991
1414
|
analyzer_id: string;
|
|
@@ -1269,9 +1692,9 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1269
1692
|
id: string;
|
|
1270
1693
|
confidence: "high" | "low" | "medium";
|
|
1271
1694
|
title: string;
|
|
1272
|
-
category: string;
|
|
1273
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1274
1695
|
lens: string;
|
|
1696
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1697
|
+
category: string;
|
|
1275
1698
|
summary: string;
|
|
1276
1699
|
affected_files: {
|
|
1277
1700
|
path: string;
|
|
@@ -1282,10 +1705,10 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1282
1705
|
no_quotable_span?: string | undefined;
|
|
1283
1706
|
hash_at_plan_time?: string | undefined;
|
|
1284
1707
|
}[];
|
|
1708
|
+
evidence?: string[] | undefined;
|
|
1285
1709
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
1286
1710
|
impact?: string | undefined;
|
|
1287
1711
|
likelihood?: string | undefined;
|
|
1288
|
-
evidence?: string[] | undefined;
|
|
1289
1712
|
reproduction?: string[] | undefined;
|
|
1290
1713
|
systemic?: boolean | undefined;
|
|
1291
1714
|
related_findings?: string[] | undefined;
|
|
@@ -1317,6 +1740,53 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1317
1740
|
contract_obligation_ids?: string[] | undefined;
|
|
1318
1741
|
verification_obligation_ids?: string[] | undefined;
|
|
1319
1742
|
targeted_commands?: string[] | undefined;
|
|
1743
|
+
question_review_sources?: {
|
|
1744
|
+
confidence: "high" | "low" | "medium";
|
|
1745
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1746
|
+
source_refs: {
|
|
1747
|
+
path: string;
|
|
1748
|
+
symbol?: string | undefined;
|
|
1749
|
+
start_line?: number | undefined;
|
|
1750
|
+
end_line?: number | undefined;
|
|
1751
|
+
}[];
|
|
1752
|
+
question_id: string;
|
|
1753
|
+
revision_id: string;
|
|
1754
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1755
|
+
finding_id: string;
|
|
1756
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1757
|
+
claim: string;
|
|
1758
|
+
consequence: string;
|
|
1759
|
+
next_step: string;
|
|
1760
|
+
evidence_ids: string[];
|
|
1761
|
+
verification: ({
|
|
1762
|
+
kind: "analyzer";
|
|
1763
|
+
obligation_id: string;
|
|
1764
|
+
provenance: {
|
|
1765
|
+
path: string;
|
|
1766
|
+
analyzer_id: string;
|
|
1767
|
+
snippet_hash: string;
|
|
1768
|
+
rule?: string | undefined;
|
|
1769
|
+
};
|
|
1770
|
+
} | {
|
|
1771
|
+
expected: string;
|
|
1772
|
+
kind: "assertion";
|
|
1773
|
+
source_refs: {
|
|
1774
|
+
path: string;
|
|
1775
|
+
symbol?: string | undefined;
|
|
1776
|
+
start_line?: number | undefined;
|
|
1777
|
+
end_line?: number | undefined;
|
|
1778
|
+
}[];
|
|
1779
|
+
obligation_id: string;
|
|
1780
|
+
} | {
|
|
1781
|
+
reason: string;
|
|
1782
|
+
kind: "disposition";
|
|
1783
|
+
obligation_id: string;
|
|
1784
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1785
|
+
})[];
|
|
1786
|
+
observation_ids?: string[] | undefined;
|
|
1787
|
+
purpose?: string | undefined;
|
|
1788
|
+
divergence?: string | undefined;
|
|
1789
|
+
}[] | undefined;
|
|
1320
1790
|
analyzer_provenance?: {
|
|
1321
1791
|
path: string;
|
|
1322
1792
|
analyzer_id: string;
|
|
@@ -1338,11 +1808,6 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1338
1808
|
pass_id: string;
|
|
1339
1809
|
notes?: string[] | undefined;
|
|
1340
1810
|
run_id?: string | undefined;
|
|
1341
|
-
attempt?: number | undefined;
|
|
1342
|
-
followup_tasks?: string[] | undefined;
|
|
1343
|
-
agent_role?: string | undefined;
|
|
1344
|
-
reviewed_clean?: boolean | undefined;
|
|
1345
|
-
requires_followup?: boolean | undefined;
|
|
1346
1811
|
verification?: {
|
|
1347
1812
|
verified: boolean;
|
|
1348
1813
|
needs_followup: boolean;
|
|
@@ -1381,6 +1846,11 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1381
1846
|
}[] | undefined;
|
|
1382
1847
|
selection_rationale?: string | undefined;
|
|
1383
1848
|
} | undefined;
|
|
1849
|
+
attempt?: number | undefined;
|
|
1850
|
+
followup_tasks?: string[] | undefined;
|
|
1851
|
+
agent_role?: string | undefined;
|
|
1852
|
+
reviewed_clean?: boolean | undefined;
|
|
1853
|
+
requires_followup?: boolean | undefined;
|
|
1384
1854
|
submitted_at?: string | undefined;
|
|
1385
1855
|
instance_id?: string | undefined;
|
|
1386
1856
|
identity_key?: string | undefined;
|
|
@@ -1392,9 +1862,9 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1392
1862
|
id: string;
|
|
1393
1863
|
confidence: "high" | "low" | "medium";
|
|
1394
1864
|
title: string;
|
|
1395
|
-
category: string;
|
|
1396
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1397
1865
|
lens: string;
|
|
1866
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1867
|
+
category: string;
|
|
1398
1868
|
summary: string;
|
|
1399
1869
|
affected_files: {
|
|
1400
1870
|
path: string;
|
|
@@ -1405,10 +1875,10 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1405
1875
|
no_quotable_span?: string | undefined;
|
|
1406
1876
|
hash_at_plan_time?: string | undefined;
|
|
1407
1877
|
}[];
|
|
1878
|
+
evidence?: string[] | undefined;
|
|
1408
1879
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
1409
1880
|
impact?: string | undefined;
|
|
1410
1881
|
likelihood?: string | undefined;
|
|
1411
|
-
evidence?: string[] | undefined;
|
|
1412
1882
|
reproduction?: string[] | undefined;
|
|
1413
1883
|
systemic?: boolean | undefined;
|
|
1414
1884
|
related_findings?: string[] | undefined;
|
|
@@ -1440,6 +1910,53 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1440
1910
|
contract_obligation_ids?: string[] | undefined;
|
|
1441
1911
|
verification_obligation_ids?: string[] | undefined;
|
|
1442
1912
|
targeted_commands?: string[] | undefined;
|
|
1913
|
+
question_review_sources?: {
|
|
1914
|
+
confidence: "high" | "low" | "medium";
|
|
1915
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
1916
|
+
source_refs: {
|
|
1917
|
+
path: string;
|
|
1918
|
+
symbol?: string | undefined;
|
|
1919
|
+
start_line?: number | undefined;
|
|
1920
|
+
end_line?: number | undefined;
|
|
1921
|
+
}[];
|
|
1922
|
+
question_id: string;
|
|
1923
|
+
revision_id: string;
|
|
1924
|
+
schema_version: "audit-tools/question-review/v1";
|
|
1925
|
+
finding_id: string;
|
|
1926
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
1927
|
+
claim: string;
|
|
1928
|
+
consequence: string;
|
|
1929
|
+
next_step: string;
|
|
1930
|
+
evidence_ids: string[];
|
|
1931
|
+
verification: ({
|
|
1932
|
+
kind: "analyzer";
|
|
1933
|
+
obligation_id: string;
|
|
1934
|
+
provenance: {
|
|
1935
|
+
path: string;
|
|
1936
|
+
analyzer_id: string;
|
|
1937
|
+
snippet_hash: string;
|
|
1938
|
+
rule?: string | undefined;
|
|
1939
|
+
};
|
|
1940
|
+
} | {
|
|
1941
|
+
expected: string;
|
|
1942
|
+
kind: "assertion";
|
|
1943
|
+
source_refs: {
|
|
1944
|
+
path: string;
|
|
1945
|
+
symbol?: string | undefined;
|
|
1946
|
+
start_line?: number | undefined;
|
|
1947
|
+
end_line?: number | undefined;
|
|
1948
|
+
}[];
|
|
1949
|
+
obligation_id: string;
|
|
1950
|
+
} | {
|
|
1951
|
+
reason: string;
|
|
1952
|
+
kind: "disposition";
|
|
1953
|
+
obligation_id: string;
|
|
1954
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
1955
|
+
})[];
|
|
1956
|
+
observation_ids?: string[] | undefined;
|
|
1957
|
+
purpose?: string | undefined;
|
|
1958
|
+
divergence?: string | undefined;
|
|
1959
|
+
}[] | undefined;
|
|
1443
1960
|
analyzer_provenance?: {
|
|
1444
1961
|
path: string;
|
|
1445
1962
|
analyzer_id: string;
|
|
@@ -1461,11 +1978,6 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1461
1978
|
pass_id: string;
|
|
1462
1979
|
notes?: string[] | undefined;
|
|
1463
1980
|
run_id?: string | undefined;
|
|
1464
|
-
attempt?: number | undefined;
|
|
1465
|
-
followup_tasks?: string[] | undefined;
|
|
1466
|
-
agent_role?: string | undefined;
|
|
1467
|
-
reviewed_clean?: boolean | undefined;
|
|
1468
|
-
requires_followup?: boolean | undefined;
|
|
1469
1981
|
verification?: {
|
|
1470
1982
|
verified: boolean;
|
|
1471
1983
|
needs_followup: boolean;
|
|
@@ -1504,6 +2016,11 @@ export declare const AuditResultSchema: z.ZodObject<{
|
|
|
1504
2016
|
}[] | undefined;
|
|
1505
2017
|
selection_rationale?: string | undefined;
|
|
1506
2018
|
} | undefined;
|
|
2019
|
+
attempt?: number | undefined;
|
|
2020
|
+
followup_tasks?: string[] | undefined;
|
|
2021
|
+
agent_role?: string | undefined;
|
|
2022
|
+
reviewed_clean?: boolean | undefined;
|
|
2023
|
+
requires_followup?: boolean | undefined;
|
|
1507
2024
|
submitted_at?: string | undefined;
|
|
1508
2025
|
instance_id?: string | undefined;
|
|
1509
2026
|
identity_key?: string | undefined;
|