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
|
@@ -1,120 +1,251 @@
|
|
|
1
|
-
import type
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { type ReviewFindingClaim } from "../../shared/types/reviewQuestion.js";
|
|
2
|
+
/** Benign fabricated finding for the README generator, not a finding in any real repository. */
|
|
3
|
+
export declare const SAMPLE_REPORT_FINDING: ReviewFindingClaim;
|
|
4
|
+
/** Fabricate only inputs to the production v2 report projection; never a live ledger or planner. */
|
|
5
|
+
export declare function buildSampleAuditBundle(findings?: ReviewFindingClaim[]): {
|
|
6
|
+
plan: {
|
|
7
|
+
snapshot_id: string;
|
|
8
|
+
schema_version: "audit-tools/question-review/v1";
|
|
9
|
+
inventory: {
|
|
10
|
+
scope: "excluded" | "not_applicable" | "in_scope" | "deferred";
|
|
11
|
+
kind: "operation" | "invariant" | "trust_boundary" | "workload" | "operator_transition" | "release_transition";
|
|
12
|
+
inventory_item_id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
contract_refs: {
|
|
15
|
+
path: string;
|
|
16
|
+
symbol?: string | undefined;
|
|
17
|
+
start_line?: number | undefined;
|
|
18
|
+
end_line?: number | undefined;
|
|
19
|
+
}[];
|
|
20
|
+
source_refs: {
|
|
21
|
+
path: string;
|
|
22
|
+
symbol?: string | undefined;
|
|
23
|
+
start_line?: number | undefined;
|
|
24
|
+
end_line?: number | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
scope_reason?: string | undefined;
|
|
25
27
|
}[];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
28
|
+
questions: {
|
|
29
|
+
lens: "behavior" | "security" | "architecture" | "performance" | "operability" | "config_deployment" | "tests" | `custom:${string}`;
|
|
30
|
+
inventory_item_ids: string[];
|
|
31
|
+
expected_outcome: string;
|
|
32
|
+
requested_parts: {
|
|
33
|
+
part_id: string;
|
|
34
|
+
expectation: string;
|
|
35
|
+
}[];
|
|
36
|
+
source_dependencies: {
|
|
37
|
+
kind: "source" | "evidence" | "membership";
|
|
38
|
+
key: string;
|
|
39
|
+
fingerprint: string;
|
|
40
|
+
}[];
|
|
41
|
+
evidence_dependencies: {
|
|
42
|
+
kind: "source" | "evidence" | "membership";
|
|
43
|
+
key: string;
|
|
44
|
+
fingerprint: string;
|
|
45
|
+
}[];
|
|
46
|
+
plan_status: "deferred" | "unassigned" | "pending" | "active" | "blocked";
|
|
47
|
+
question_id: string;
|
|
48
|
+
revision_id: string;
|
|
49
|
+
snapshot_id: string;
|
|
50
|
+
schema_version: "audit-tools/question-review/v1";
|
|
51
|
+
plan_reason?: string | undefined;
|
|
44
52
|
}[];
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
omissions: {
|
|
54
|
+
reason: string;
|
|
55
|
+
source_refs: {
|
|
56
|
+
path: string;
|
|
57
|
+
symbol?: string | undefined;
|
|
58
|
+
start_line?: number | undefined;
|
|
59
|
+
end_line?: number | undefined;
|
|
60
|
+
}[];
|
|
61
|
+
surface_id: string;
|
|
62
|
+
}[];
|
|
63
|
+
lens_decisions: {
|
|
64
|
+
reason: string;
|
|
65
|
+
lens: "behavior" | "security" | "architecture" | "performance" | "operability" | "config_deployment" | "tests" | `custom:${string}`;
|
|
66
|
+
decision: "excluded" | "not_applicable" | "selected";
|
|
54
67
|
}[];
|
|
55
68
|
};
|
|
56
|
-
|
|
57
|
-
|
|
69
|
+
auditFindings: {
|
|
70
|
+
findings: {
|
|
58
71
|
id: string;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
confidence: "high" | "low" | "medium";
|
|
73
|
+
title: string;
|
|
74
|
+
lens: string;
|
|
75
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
76
|
+
category: string;
|
|
77
|
+
summary: string;
|
|
78
|
+
affected_files: {
|
|
79
|
+
path: string;
|
|
80
|
+
symbol?: string | undefined;
|
|
81
|
+
line_start?: number | undefined;
|
|
82
|
+
line_end?: number | undefined;
|
|
83
|
+
quoted_text?: string | undefined;
|
|
84
|
+
no_quotable_span?: string | undefined;
|
|
85
|
+
hash_at_plan_time?: string | undefined;
|
|
86
|
+
}[];
|
|
87
|
+
evidence?: string[] | undefined;
|
|
88
|
+
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
89
|
+
impact?: string | undefined;
|
|
90
|
+
likelihood?: string | undefined;
|
|
91
|
+
reproduction?: string[] | undefined;
|
|
92
|
+
systemic?: boolean | undefined;
|
|
93
|
+
related_findings?: string[] | undefined;
|
|
94
|
+
theme_id?: string | undefined;
|
|
95
|
+
blast_radius?: number | undefined;
|
|
96
|
+
evidence_grounded?: boolean | undefined;
|
|
97
|
+
grounding?: {
|
|
98
|
+
status: "grounded" | "ungrounded" | "refuted";
|
|
99
|
+
reason?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
evidence_lane?: "per-file-lane" | "design-review-lane" | undefined;
|
|
102
|
+
verification_status?: "judge_confirmed" | "asserted" | "refuted_at_head" | undefined;
|
|
103
|
+
executable_anchor?: {
|
|
104
|
+
command: string[];
|
|
105
|
+
confirm_if: {
|
|
106
|
+
kind: "exit_zero";
|
|
107
|
+
} | {
|
|
108
|
+
kind: "exit_nonzero";
|
|
109
|
+
} | {
|
|
110
|
+
kind: "output_includes";
|
|
111
|
+
text: string;
|
|
112
|
+
} | {
|
|
113
|
+
kind: "output_excludes";
|
|
114
|
+
text: string;
|
|
115
|
+
};
|
|
116
|
+
claim?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
contract_goal_id?: string | undefined;
|
|
119
|
+
contract_obligation_ids?: string[] | undefined;
|
|
120
|
+
verification_obligation_ids?: string[] | undefined;
|
|
121
|
+
targeted_commands?: string[] | undefined;
|
|
122
|
+
question_review_sources?: {
|
|
123
|
+
confidence: "high" | "low" | "medium";
|
|
124
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
125
|
+
source_refs: {
|
|
126
|
+
path: string;
|
|
127
|
+
symbol?: string | undefined;
|
|
128
|
+
start_line?: number | undefined;
|
|
129
|
+
end_line?: number | undefined;
|
|
130
|
+
}[];
|
|
131
|
+
question_id: string;
|
|
132
|
+
revision_id: string;
|
|
133
|
+
schema_version: "audit-tools/question-review/v1";
|
|
134
|
+
finding_id: string;
|
|
135
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
136
|
+
claim: string;
|
|
137
|
+
consequence: string;
|
|
138
|
+
next_step: string;
|
|
139
|
+
evidence_ids: string[];
|
|
140
|
+
verification: ({
|
|
141
|
+
kind: "analyzer";
|
|
142
|
+
obligation_id: string;
|
|
143
|
+
provenance: {
|
|
144
|
+
path: string;
|
|
145
|
+
analyzer_id: string;
|
|
146
|
+
snippet_hash: string;
|
|
147
|
+
rule?: string | undefined;
|
|
148
|
+
};
|
|
149
|
+
} | {
|
|
150
|
+
expected: string;
|
|
151
|
+
kind: "assertion";
|
|
152
|
+
source_refs: {
|
|
153
|
+
path: string;
|
|
154
|
+
symbol?: string | undefined;
|
|
155
|
+
start_line?: number | undefined;
|
|
156
|
+
end_line?: number | undefined;
|
|
157
|
+
}[];
|
|
158
|
+
obligation_id: string;
|
|
159
|
+
} | {
|
|
160
|
+
reason: string;
|
|
161
|
+
kind: "disposition";
|
|
162
|
+
obligation_id: string;
|
|
163
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
164
|
+
})[];
|
|
165
|
+
observation_ids?: string[] | undefined;
|
|
166
|
+
purpose?: string | undefined;
|
|
167
|
+
divergence?: string | undefined;
|
|
168
|
+
}[] | undefined;
|
|
169
|
+
analyzer_provenance?: {
|
|
170
|
+
path: string;
|
|
171
|
+
analyzer_id: string;
|
|
172
|
+
snippet_hash: string;
|
|
173
|
+
rule?: string | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
lead_lineage?: {
|
|
176
|
+
producer: string;
|
|
177
|
+
source_hash: string;
|
|
178
|
+
confirmation: "lead";
|
|
179
|
+
} | undefined;
|
|
65
180
|
}[];
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
181
|
+
summary: {
|
|
182
|
+
finding_count: number;
|
|
183
|
+
work_block_count: number;
|
|
184
|
+
severity_breakdown: Record<string, number>;
|
|
185
|
+
audited_file_count: number;
|
|
186
|
+
excluded_file_count: number;
|
|
187
|
+
runtime_validation_status_breakdown: Record<string, number>;
|
|
188
|
+
lens_breakdown?: Record<string, number> | undefined;
|
|
189
|
+
grounding_status_breakdown?: Record<string, number> | undefined;
|
|
190
|
+
verification_status_breakdown?: Record<string, number> | undefined;
|
|
191
|
+
lens_coverage?: {
|
|
192
|
+
outcome: "clean" | "findings" | "degraded" | "not_run" | "not_applicable";
|
|
193
|
+
lens: string;
|
|
194
|
+
selected: boolean;
|
|
195
|
+
findings_count: number;
|
|
196
|
+
source_sample?: "not_planned" | "planned_not_run" | "reviewed_no_findings" | "reviewed_with_findings" | undefined;
|
|
197
|
+
}[] | undefined;
|
|
198
|
+
};
|
|
199
|
+
contract_version: string;
|
|
200
|
+
audit_read: {
|
|
201
|
+
commit: string;
|
|
202
|
+
dirty_paths: string[];
|
|
203
|
+
} | null;
|
|
204
|
+
coherence_trace: {
|
|
205
|
+
normalized_items: {
|
|
206
|
+
id: string;
|
|
207
|
+
file_paths: string[];
|
|
208
|
+
unit_ids: string[];
|
|
209
|
+
tags: string[];
|
|
210
|
+
critical_flow_ids?: string[] | undefined;
|
|
211
|
+
}[];
|
|
212
|
+
components: string[][];
|
|
213
|
+
};
|
|
214
|
+
work_blocks: {
|
|
215
|
+
id: string;
|
|
71
216
|
unit_ids: string[];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
217
|
+
rationale: string;
|
|
218
|
+
finding_ids: string[];
|
|
219
|
+
owned_files: string[];
|
|
220
|
+
role: "implementation" | "coordination";
|
|
221
|
+
max_severity: "info" | "high" | "low" | "critical" | "medium";
|
|
222
|
+
depends_on: string[];
|
|
223
|
+
token_estimate?: number | undefined;
|
|
76
224
|
}[];
|
|
77
|
-
|
|
78
|
-
flowCoverage: {
|
|
79
|
-
flows: {
|
|
80
|
-
status: "partial" | "pending" | "complete";
|
|
81
|
-
paths: string[];
|
|
82
|
-
required_lenses: string[];
|
|
83
|
-
completed_lenses: string[];
|
|
84
|
-
flow_id: string;
|
|
85
|
-
notes?: string[] | undefined;
|
|
86
|
-
}[];
|
|
87
|
-
};
|
|
88
|
-
runtimeValidationTasks: {
|
|
89
|
-
tasks: {
|
|
90
|
-
reason: string;
|
|
225
|
+
work_block_seams: {
|
|
91
226
|
id: string;
|
|
92
|
-
kind: "
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
source_artifacts?: string[] | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
};
|
|
100
|
-
runtimeValidationReport: {
|
|
101
|
-
results: {
|
|
102
|
-
task_id: string;
|
|
103
|
-
status: "confirmed";
|
|
104
|
-
summary: string;
|
|
105
|
-
evidence: never[];
|
|
106
|
-
notes: never[];
|
|
227
|
+
kind: "predicted_write_conflict" | "systemic_coordination";
|
|
228
|
+
rationale: string;
|
|
229
|
+
file: string;
|
|
230
|
+
block_ids: string[];
|
|
231
|
+
requires_preparation: true;
|
|
107
232
|
}[];
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
233
|
+
themes?: {
|
|
234
|
+
title: string;
|
|
235
|
+
theme_id: string;
|
|
236
|
+
finding_ids: string[];
|
|
237
|
+
root_cause: string;
|
|
238
|
+
suggested_fix_pattern: string;
|
|
239
|
+
}[] | undefined;
|
|
240
|
+
executive_summary?: string | undefined;
|
|
241
|
+
top_risks?: string[] | undefined;
|
|
242
|
+
quarantined_findings?: {
|
|
112
243
|
id: string;
|
|
113
244
|
confidence: "high" | "low" | "medium";
|
|
114
245
|
title: string;
|
|
115
|
-
category: string;
|
|
116
|
-
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
117
246
|
lens: string;
|
|
247
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
248
|
+
category: string;
|
|
118
249
|
summary: string;
|
|
119
250
|
affected_files: {
|
|
120
251
|
path: string;
|
|
@@ -125,10 +256,10 @@ export declare function buildSampleAuditBundle(findings?: Finding[]): Promise<{
|
|
|
125
256
|
no_quotable_span?: string | undefined;
|
|
126
257
|
hash_at_plan_time?: string | undefined;
|
|
127
258
|
}[];
|
|
259
|
+
evidence?: string[] | undefined;
|
|
128
260
|
severity_downgraded_from?: "info" | "high" | "low" | "critical" | "medium" | undefined;
|
|
129
261
|
impact?: string | undefined;
|
|
130
262
|
likelihood?: string | undefined;
|
|
131
|
-
evidence?: string[] | undefined;
|
|
132
263
|
reproduction?: string[] | undefined;
|
|
133
264
|
systemic?: boolean | undefined;
|
|
134
265
|
related_findings?: string[] | undefined;
|
|
@@ -160,6 +291,53 @@ export declare function buildSampleAuditBundle(findings?: Finding[]): Promise<{
|
|
|
160
291
|
contract_obligation_ids?: string[] | undefined;
|
|
161
292
|
verification_obligation_ids?: string[] | undefined;
|
|
162
293
|
targeted_commands?: string[] | undefined;
|
|
294
|
+
question_review_sources?: {
|
|
295
|
+
confidence: "high" | "low" | "medium";
|
|
296
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
297
|
+
source_refs: {
|
|
298
|
+
path: string;
|
|
299
|
+
symbol?: string | undefined;
|
|
300
|
+
start_line?: number | undefined;
|
|
301
|
+
end_line?: number | undefined;
|
|
302
|
+
}[];
|
|
303
|
+
question_id: string;
|
|
304
|
+
revision_id: string;
|
|
305
|
+
schema_version: "audit-tools/question-review/v1";
|
|
306
|
+
finding_id: string;
|
|
307
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
308
|
+
claim: string;
|
|
309
|
+
consequence: string;
|
|
310
|
+
next_step: string;
|
|
311
|
+
evidence_ids: string[];
|
|
312
|
+
verification: ({
|
|
313
|
+
kind: "analyzer";
|
|
314
|
+
obligation_id: string;
|
|
315
|
+
provenance: {
|
|
316
|
+
path: string;
|
|
317
|
+
analyzer_id: string;
|
|
318
|
+
snippet_hash: string;
|
|
319
|
+
rule?: string | undefined;
|
|
320
|
+
};
|
|
321
|
+
} | {
|
|
322
|
+
expected: string;
|
|
323
|
+
kind: "assertion";
|
|
324
|
+
source_refs: {
|
|
325
|
+
path: string;
|
|
326
|
+
symbol?: string | undefined;
|
|
327
|
+
start_line?: number | undefined;
|
|
328
|
+
end_line?: number | undefined;
|
|
329
|
+
}[];
|
|
330
|
+
obligation_id: string;
|
|
331
|
+
} | {
|
|
332
|
+
reason: string;
|
|
333
|
+
kind: "disposition";
|
|
334
|
+
obligation_id: string;
|
|
335
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
336
|
+
})[];
|
|
337
|
+
observation_ids?: string[] | undefined;
|
|
338
|
+
purpose?: string | undefined;
|
|
339
|
+
divergence?: string | undefined;
|
|
340
|
+
}[] | undefined;
|
|
163
341
|
analyzer_provenance?: {
|
|
164
342
|
path: string;
|
|
165
343
|
analyzer_id: string;
|
|
@@ -171,66 +349,293 @@ export declare function buildSampleAuditBundle(findings?: Finding[]): Promise<{
|
|
|
171
349
|
source_hash: string;
|
|
172
350
|
confirmation: "lead";
|
|
173
351
|
} | undefined;
|
|
174
|
-
}[];
|
|
175
|
-
|
|
176
|
-
task_id: string;
|
|
177
|
-
file_coverage: {
|
|
352
|
+
}[] | undefined;
|
|
353
|
+
excluded_scope?: {
|
|
178
354
|
path: string;
|
|
179
|
-
|
|
180
|
-
}[];
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
355
|
+
reason: string;
|
|
356
|
+
}[] | undefined;
|
|
357
|
+
} & {
|
|
358
|
+
contract_version: "audit-tools/audit-findings/v2";
|
|
359
|
+
question_review: {
|
|
360
|
+
findings: {
|
|
361
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
362
|
+
sources: {
|
|
363
|
+
confidence: "high" | "low" | "medium";
|
|
364
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
365
|
+
source_refs: {
|
|
366
|
+
path: string;
|
|
367
|
+
symbol?: string | undefined;
|
|
368
|
+
start_line?: number | undefined;
|
|
369
|
+
end_line?: number | undefined;
|
|
370
|
+
}[];
|
|
371
|
+
question_id: string;
|
|
372
|
+
revision_id: string;
|
|
373
|
+
schema_version: "audit-tools/question-review/v1";
|
|
374
|
+
finding_id: string;
|
|
375
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
376
|
+
claim: string;
|
|
377
|
+
consequence: string;
|
|
378
|
+
next_step: string;
|
|
379
|
+
evidence_ids: string[];
|
|
380
|
+
verification: ({
|
|
381
|
+
kind: "analyzer";
|
|
382
|
+
obligation_id: string;
|
|
383
|
+
provenance: {
|
|
384
|
+
path: string;
|
|
385
|
+
analyzer_id: string;
|
|
386
|
+
snippet_hash: string;
|
|
387
|
+
rule?: string | undefined;
|
|
388
|
+
};
|
|
389
|
+
} | {
|
|
390
|
+
expected: string;
|
|
391
|
+
kind: "assertion";
|
|
392
|
+
source_refs: {
|
|
393
|
+
path: string;
|
|
394
|
+
symbol?: string | undefined;
|
|
395
|
+
start_line?: number | undefined;
|
|
396
|
+
end_line?: number | undefined;
|
|
397
|
+
}[];
|
|
398
|
+
obligation_id: string;
|
|
399
|
+
} | {
|
|
400
|
+
reason: string;
|
|
401
|
+
kind: "disposition";
|
|
402
|
+
obligation_id: string;
|
|
403
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
404
|
+
})[];
|
|
405
|
+
observation_ids?: string[] | undefined;
|
|
406
|
+
purpose?: string | undefined;
|
|
407
|
+
divergence?: string | undefined;
|
|
408
|
+
}[];
|
|
409
|
+
canonical_finding_id: string;
|
|
410
|
+
question_ids: string[];
|
|
411
|
+
actionable: boolean;
|
|
412
|
+
}[];
|
|
413
|
+
evidence: {
|
|
414
|
+
status: "not_run" | "observed" | "unavailable";
|
|
415
|
+
kind: "source" | "command" | "measurement" | "fixture";
|
|
416
|
+
source_refs: {
|
|
210
417
|
path: string;
|
|
211
|
-
|
|
212
|
-
|
|
418
|
+
symbol?: string | undefined;
|
|
419
|
+
start_line?: number | undefined;
|
|
420
|
+
end_line?: number | undefined;
|
|
421
|
+
}[];
|
|
422
|
+
snapshot_id: string;
|
|
423
|
+
schema_version: "audit-tools/question-review/v1";
|
|
424
|
+
evidence_id: string;
|
|
425
|
+
dependencies: {
|
|
426
|
+
kind: "source" | "evidence" | "membership";
|
|
427
|
+
key: string;
|
|
428
|
+
fingerprint: string;
|
|
429
|
+
}[];
|
|
430
|
+
description: string;
|
|
431
|
+
observations?: {
|
|
432
|
+
observation_id: string;
|
|
433
|
+
statement: string;
|
|
434
|
+
source_refs?: {
|
|
435
|
+
path: string;
|
|
436
|
+
symbol?: string | undefined;
|
|
437
|
+
start_line?: number | undefined;
|
|
438
|
+
end_line?: number | undefined;
|
|
439
|
+
}[] | undefined;
|
|
213
440
|
}[] | undefined;
|
|
214
|
-
|
|
215
|
-
|
|
441
|
+
execution?: {
|
|
442
|
+
tool: string;
|
|
443
|
+
tool_version: string;
|
|
444
|
+
config_fingerprint: string;
|
|
445
|
+
input_fingerprint: string;
|
|
446
|
+
environment_fingerprint: string;
|
|
447
|
+
exclusions: string[];
|
|
448
|
+
executed: boolean;
|
|
449
|
+
elapsed_ms?: number | undefined;
|
|
450
|
+
usage?: Record<string, number> | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
}[];
|
|
453
|
+
snapshot_id: string;
|
|
454
|
+
schema_version: "audit-tools/question-review/v1";
|
|
455
|
+
inventory: {
|
|
456
|
+
scope: "excluded" | "not_applicable" | "in_scope" | "deferred";
|
|
457
|
+
kind: "operation" | "invariant" | "trust_boundary" | "workload" | "operator_transition" | "release_transition";
|
|
458
|
+
inventory_item_id: string;
|
|
459
|
+
title: string;
|
|
460
|
+
contract_refs: {
|
|
216
461
|
path: string;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
462
|
+
symbol?: string | undefined;
|
|
463
|
+
start_line?: number | undefined;
|
|
464
|
+
end_line?: number | undefined;
|
|
465
|
+
}[];
|
|
466
|
+
source_refs: {
|
|
467
|
+
path: string;
|
|
468
|
+
symbol?: string | undefined;
|
|
469
|
+
start_line?: number | undefined;
|
|
470
|
+
end_line?: number | undefined;
|
|
471
|
+
}[];
|
|
472
|
+
scope_reason?: string | undefined;
|
|
473
|
+
}[];
|
|
474
|
+
questions: {
|
|
475
|
+
state: "clean" | "findings" | "deferred" | "blocked" | "inconclusive" | "unreviewed" | "stale" | "conflicted";
|
|
476
|
+
lens: "behavior" | "security" | "architecture" | "performance" | "operability" | "config_deployment" | "tests" | `custom:${string}`;
|
|
477
|
+
inventory_item_ids: string[];
|
|
478
|
+
expected_outcome: string;
|
|
479
|
+
plan_status: "deferred" | "unassigned" | "pending" | "active" | "blocked";
|
|
480
|
+
question_id: string;
|
|
481
|
+
revision_id: string;
|
|
482
|
+
parts: {
|
|
483
|
+
state: "clean" | "findings" | "inconclusive" | "unreviewed" | "stale" | "conflicted";
|
|
484
|
+
part_id: string;
|
|
485
|
+
expectation: string;
|
|
486
|
+
observation_ids: string[];
|
|
487
|
+
accepted_answer_ids: string[];
|
|
488
|
+
reasons: string[];
|
|
489
|
+
}[];
|
|
490
|
+
finding_ids: string[];
|
|
491
|
+
accepted_answer_ids: string[];
|
|
492
|
+
conflicts: {
|
|
493
|
+
part_id: string;
|
|
494
|
+
answer_ids: string[];
|
|
495
|
+
}[];
|
|
496
|
+
plan_reason?: string | undefined;
|
|
497
|
+
}[];
|
|
498
|
+
omissions: {
|
|
499
|
+
reason: string;
|
|
500
|
+
source_refs: {
|
|
501
|
+
path: string;
|
|
502
|
+
symbol?: string | undefined;
|
|
503
|
+
start_line?: number | undefined;
|
|
504
|
+
end_line?: number | undefined;
|
|
505
|
+
}[];
|
|
506
|
+
surface_id: string;
|
|
507
|
+
}[];
|
|
508
|
+
lens_decisions: {
|
|
509
|
+
reason: string;
|
|
510
|
+
lens: "behavior" | "security" | "architecture" | "performance" | "operability" | "config_deployment" | "tests" | `custom:${string}`;
|
|
511
|
+
decision: "excluded" | "not_applicable" | "selected";
|
|
512
|
+
}[];
|
|
513
|
+
completion: "complete" | "incomplete";
|
|
514
|
+
consolidations: {
|
|
515
|
+
reason: string;
|
|
516
|
+
decided_by: string;
|
|
517
|
+
decision_id: string;
|
|
518
|
+
sources: {
|
|
519
|
+
finding_id: string;
|
|
520
|
+
answer_id: string;
|
|
521
|
+
}[];
|
|
522
|
+
}[];
|
|
523
|
+
accepted: {
|
|
524
|
+
schema_version: "audit-tools/question-review/v1";
|
|
525
|
+
accepted_at: string;
|
|
526
|
+
submission: {
|
|
527
|
+
question_id: string;
|
|
528
|
+
revision_id: string;
|
|
529
|
+
snapshot_id: string;
|
|
530
|
+
schema_version: "audit-tools/question-review/v1";
|
|
531
|
+
assignment_id: string;
|
|
532
|
+
evidence_ids: string[];
|
|
533
|
+
submission_id: string;
|
|
534
|
+
inspected_sources: {
|
|
535
|
+
path: string;
|
|
536
|
+
symbol?: string | undefined;
|
|
537
|
+
start_line?: number | undefined;
|
|
538
|
+
end_line?: number | undefined;
|
|
539
|
+
}[];
|
|
540
|
+
limitations: string[];
|
|
541
|
+
answer: {
|
|
542
|
+
outcome: "clean" | "findings" | "inconclusive";
|
|
543
|
+
findings: {
|
|
544
|
+
confidence: "high" | "low" | "medium";
|
|
545
|
+
kind: "confirmed_defect" | "design_opportunity" | "lead";
|
|
546
|
+
source_refs: {
|
|
547
|
+
path: string;
|
|
548
|
+
symbol?: string | undefined;
|
|
549
|
+
start_line?: number | undefined;
|
|
550
|
+
end_line?: number | undefined;
|
|
551
|
+
}[];
|
|
552
|
+
question_id: string;
|
|
553
|
+
revision_id: string;
|
|
554
|
+
schema_version: "audit-tools/question-review/v1";
|
|
555
|
+
finding_id: string;
|
|
556
|
+
severity: "info" | "high" | "low" | "critical" | "medium";
|
|
557
|
+
claim: string;
|
|
558
|
+
consequence: string;
|
|
559
|
+
next_step: string;
|
|
560
|
+
evidence_ids: string[];
|
|
561
|
+
verification: ({
|
|
562
|
+
kind: "analyzer";
|
|
563
|
+
obligation_id: string;
|
|
564
|
+
provenance: {
|
|
565
|
+
path: string;
|
|
566
|
+
analyzer_id: string;
|
|
567
|
+
snippet_hash: string;
|
|
568
|
+
rule?: string | undefined;
|
|
569
|
+
};
|
|
570
|
+
} | {
|
|
571
|
+
expected: string;
|
|
572
|
+
kind: "assertion";
|
|
573
|
+
source_refs: {
|
|
574
|
+
path: string;
|
|
575
|
+
symbol?: string | undefined;
|
|
576
|
+
start_line?: number | undefined;
|
|
577
|
+
end_line?: number | undefined;
|
|
578
|
+
}[];
|
|
579
|
+
obligation_id: string;
|
|
580
|
+
} | {
|
|
581
|
+
reason: string;
|
|
582
|
+
kind: "disposition";
|
|
583
|
+
obligation_id: string;
|
|
584
|
+
disposition: "deferred" | "implemented" | "rejected" | "already_fixed" | "out_of_scope";
|
|
585
|
+
})[];
|
|
586
|
+
observation_ids?: string[] | undefined;
|
|
587
|
+
purpose?: string | undefined;
|
|
588
|
+
divergence?: string | undefined;
|
|
589
|
+
}[];
|
|
590
|
+
observations: {
|
|
591
|
+
kind: "source_confirmed" | "runtime_observed" | "unverified";
|
|
592
|
+
source_refs: {
|
|
593
|
+
path: string;
|
|
594
|
+
symbol?: string | undefined;
|
|
595
|
+
start_line?: number | undefined;
|
|
596
|
+
end_line?: number | undefined;
|
|
597
|
+
}[];
|
|
598
|
+
part_id: string;
|
|
599
|
+
question_id: string;
|
|
600
|
+
revision_id: string;
|
|
601
|
+
snapshot_id: string;
|
|
602
|
+
schema_version: "audit-tools/question-review/v1";
|
|
603
|
+
observation_id: string;
|
|
604
|
+
statement: string;
|
|
605
|
+
evidence_refs: {
|
|
606
|
+
evidence_id: string;
|
|
607
|
+
observation_id?: string | undefined;
|
|
608
|
+
}[];
|
|
609
|
+
}[];
|
|
610
|
+
parts: {
|
|
611
|
+
outcome: "clean" | "findings" | "inconclusive";
|
|
612
|
+
part_id: string;
|
|
613
|
+
observation_ids: string[];
|
|
614
|
+
reason?: string | undefined;
|
|
615
|
+
}[];
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
dependency_bindings: {
|
|
619
|
+
kind: "source" | "evidence" | "membership";
|
|
620
|
+
key: string;
|
|
621
|
+
fingerprint: string;
|
|
622
|
+
}[];
|
|
623
|
+
}[];
|
|
624
|
+
adjudications: {
|
|
625
|
+
question_id: string;
|
|
626
|
+
revision_id: string;
|
|
627
|
+
snapshot_id: string;
|
|
628
|
+
schema_version: "audit-tools/question-review/v1";
|
|
629
|
+
decision: "agree" | "disputed" | "resolved";
|
|
630
|
+
adjudication_id: string;
|
|
631
|
+
submission_ids: string[];
|
|
632
|
+
reviewer: string;
|
|
633
|
+
rationale: string;
|
|
634
|
+
selected_submission_ids: string[];
|
|
635
|
+
}[];
|
|
636
|
+
};
|
|
637
|
+
};
|
|
233
638
|
auditReport: string;
|
|
234
|
-
}
|
|
639
|
+
};
|
|
235
640
|
export declare function runSample(argv?: string[]): Promise<void>;
|
|
236
641
|
//# sourceMappingURL=sampleRunCommand.d.ts.map
|