audit-tools 0.39.15 → 0.41.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 +28 -29
- package/dist/audit/cli/args.d.ts +2 -57
- package/dist/audit/cli/args.d.ts.map +1 -1
- package/dist/audit/cli/args.js +16 -250
- package/dist/audit/cli/args.js.map +1 -1
- package/dist/audit/cli/auditStep.d.ts +9 -6
- package/dist/audit/cli/auditStep.d.ts.map +1 -1
- package/dist/audit/cli/auditStep.js +32 -144
- package/dist/audit/cli/auditStep.js.map +1 -1
- package/dist/audit/cli/cleanup.js +4 -4
- package/dist/audit/cli/cleanup.js.map +1 -1
- package/dist/audit/cli/cliHelpers.d.ts +1 -10
- package/dist/audit/cli/cliHelpers.d.ts.map +1 -1
- package/dist/audit/cli/cliHelpers.js +1 -10
- package/dist/audit/cli/cliHelpers.js.map +1 -1
- package/dist/audit/cli/conceptualDispatch.d.ts +11 -32
- package/dist/audit/cli/conceptualDispatch.d.ts.map +1 -1
- package/dist/audit/cli/conceptualDispatch.js +91 -72
- package/dist/audit/cli/conceptualDispatch.js.map +1 -1
- package/dist/audit/cli/confirmIntentStep.js +3 -3
- package/dist/audit/cli/confirmIntentStep.js.map +1 -1
- package/dist/audit/cli/dispatch/hostHandoff.d.ts +86 -0
- package/dist/audit/cli/dispatch/hostHandoff.d.ts.map +1 -0
- package/dist/audit/cli/dispatch/hostHandoff.js +616 -0
- package/dist/audit/cli/dispatch/hostHandoff.js.map +1 -0
- package/dist/audit/cli/dispatch/packetFilter.d.ts +12 -86
- package/dist/audit/cli/dispatch/packetFilter.d.ts.map +1 -1
- package/dist/audit/cli/dispatch/packetFilter.js +6 -161
- package/dist/audit/cli/dispatch/packetFilter.js.map +1 -1
- package/dist/audit/cli/dispatch.d.ts +7 -115
- package/dist/audit/cli/dispatch.d.ts.map +1 -1
- package/dist/audit/cli/dispatch.js +7 -711
- package/dist/audit/cli/dispatch.js.map +1 -1
- package/dist/audit/cli/envelope.d.ts +4 -20
- package/dist/audit/cli/envelope.d.ts.map +1 -1
- package/dist/audit/cli/envelope.js +5 -33
- package/dist/audit/cli/envelope.js.map +1 -1
- package/dist/audit/cli/fanoutLanes.d.ts +47 -11
- package/dist/audit/cli/fanoutLanes.d.ts.map +1 -1
- package/dist/audit/cli/fanoutLanes.js +15 -7
- package/dist/audit/cli/fanoutLanes.js.map +1 -1
- package/dist/audit/cli/forceSynthesisCommand.d.ts +3 -16
- package/dist/audit/cli/forceSynthesisCommand.d.ts.map +1 -1
- package/dist/audit/cli/forceSynthesisCommand.js +3 -74
- package/dist/audit/cli/forceSynthesisCommand.js.map +1 -1
- package/dist/audit/cli/laneSubmissions.d.ts +241 -0
- package/dist/audit/cli/laneSubmissions.d.ts.map +1 -0
- package/dist/audit/cli/laneSubmissions.js +438 -0
- package/dist/audit/cli/laneSubmissions.js.map +1 -0
- package/dist/audit/cli/laneValidators.d.ts +65 -0
- package/dist/audit/cli/laneValidators.d.ts.map +1 -0
- package/dist/audit/cli/laneValidators.js +145 -0
- package/dist/audit/cli/laneValidators.js.map +1 -0
- package/dist/audit/cli/lineIndex.d.ts.map +1 -1
- package/dist/audit/cli/lineIndex.js +4 -3
- package/dist/audit/cli/lineIndex.js.map +1 -1
- package/dist/audit/cli/nextStepCommand.d.ts +1 -1
- package/dist/audit/cli/nextStepCommand.d.ts.map +1 -1
- package/dist/audit/cli/nextStepCommand.js +153 -382
- package/dist/audit/cli/nextStepCommand.js.map +1 -1
- package/dist/audit/cli/nextStepHelpers.d.ts +74 -116
- package/dist/audit/cli/nextStepHelpers.d.ts.map +1 -1
- package/dist/audit/cli/nextStepHelpers.js +421 -667
- package/dist/audit/cli/nextStepHelpers.js.map +1 -1
- package/dist/audit/cli/prompts.d.ts +2 -67
- package/dist/audit/cli/prompts.d.ts.map +1 -1
- package/dist/audit/cli/prompts.js +33 -304
- package/dist/audit/cli/prompts.js.map +1 -1
- package/dist/audit/cli/recoverSubmissionCommand.d.ts +16 -0
- package/dist/audit/cli/recoverSubmissionCommand.d.ts.map +1 -0
- package/dist/audit/cli/recoverSubmissionCommand.js +73 -0
- package/dist/audit/cli/recoverSubmissionCommand.js.map +1 -0
- package/dist/audit/cli/reviewRun.d.ts +6 -35
- package/dist/audit/cli/reviewRun.d.ts.map +1 -1
- package/dist/audit/cli/reviewRun.js +78 -172
- package/dist/audit/cli/reviewRun.js.map +1 -1
- package/dist/audit/cli/semanticReviewStep.d.ts +8 -26
- package/dist/audit/cli/semanticReviewStep.d.ts.map +1 -1
- package/dist/audit/cli/semanticReviewStep.js +95 -171
- package/dist/audit/cli/semanticReviewStep.js.map +1 -1
- package/dist/audit/cli/statusCommand.d.ts.map +1 -1
- package/dist/audit/cli/statusCommand.js +0 -16
- package/dist/audit/cli/statusCommand.js.map +1 -1
- package/dist/audit/cli/steps.d.ts +112 -40
- package/dist/audit/cli/steps.d.ts.map +1 -1
- package/dist/audit/cli/steps.js +14 -0
- package/dist/audit/cli/steps.js.map +1 -1
- package/dist/audit/cli/validateCommand.d.ts.map +1 -1
- package/dist/audit/cli/validateCommand.js +12 -37
- package/dist/audit/cli/validateCommand.js.map +1 -1
- package/dist/audit/cli.d.ts.map +1 -1
- package/dist/audit/cli.js +6 -46
- package/dist/audit/cli.js.map +1 -1
- package/dist/audit/contracts/workerSchemas.d.ts +138 -195
- package/dist/audit/contracts/workerSchemas.d.ts.map +1 -1
- package/dist/audit/contracts/workerSchemas.js +2 -41
- package/dist/audit/contracts/workerSchemas.js.map +1 -1
- package/dist/audit/contracts/wrapperResponse.d.ts +61 -71
- package/dist/audit/contracts/wrapperResponse.d.ts.map +1 -1
- package/dist/audit/contracts/wrapperResponse.js +7 -9
- package/dist/audit/contracts/wrapperResponse.js.map +1 -1
- package/dist/audit/io/artifacts.d.ts +14 -10
- package/dist/audit/io/artifacts.d.ts.map +1 -1
- package/dist/audit/io/artifacts.js +34 -12
- package/dist/audit/io/artifacts.js.map +1 -1
- package/dist/audit/io/runArtifactTypes.d.ts +4 -6
- package/dist/audit/io/runArtifactTypes.d.ts.map +1 -1
- package/dist/audit/io/runArtifacts.d.ts +3 -23
- package/dist/audit/io/runArtifacts.d.ts.map +1 -1
- package/dist/audit/io/runArtifacts.js +18 -170
- package/dist/audit/io/runArtifacts.js.map +1 -1
- package/dist/audit/orchestrator/advance.js +4 -4
- package/dist/audit/orchestrator/advance.js.map +1 -1
- package/dist/audit/orchestrator/advanceTypes.d.ts +2 -6
- package/dist/audit/orchestrator/advanceTypes.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.d.ts +0 -14
- package/dist/audit/orchestrator/designReviewPrompt.d.ts.map +1 -1
- package/dist/audit/orchestrator/designReviewPrompt.js +1 -59
- package/dist/audit/orchestrator/designReviewPrompt.js.map +1 -1
- package/dist/audit/orchestrator/executorRunners.d.ts +2 -2
- package/dist/audit/orchestrator/executorRunners.d.ts.map +1 -1
- package/dist/audit/orchestrator/executorRunners.js +5 -15
- 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 -9
- package/dist/audit/orchestrator/executors.js.map +1 -1
- package/dist/audit/orchestrator/fileAnchors.js +1 -1
- package/dist/audit/orchestrator/fileAnchors.js.map +1 -1
- package/dist/audit/orchestrator/graphEdgeCache.js +1 -1
- package/dist/audit/orchestrator/ingestionExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/ingestionExecutors.js +37 -8
- package/dist/audit/orchestrator/ingestionExecutors.js.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts +2 -19
- package/dist/audit/orchestrator/intentCheckpointExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentCheckpointExecutor.js +0 -64
- package/dist/audit/orchestrator/intentCheckpointExecutor.js.map +1 -1
- package/dist/audit/orchestrator/intentEquivalenceExecutor.d.ts +3 -6
- package/dist/audit/orchestrator/intentEquivalenceExecutor.d.ts.map +1 -1
- package/dist/audit/orchestrator/intentEquivalenceExecutor.js +4 -7
- package/dist/audit/orchestrator/intentEquivalenceExecutor.js.map +1 -1
- package/dist/audit/orchestrator/intentInterpreter.d.ts +1 -1
- package/dist/audit/orchestrator/partitionTaskGraph.d.ts +11 -43
- package/dist/audit/orchestrator/partitionTaskGraph.d.ts.map +1 -1
- package/dist/audit/orchestrator/partitionTaskGraph.js +48 -101
- package/dist/audit/orchestrator/partitionTaskGraph.js.map +1 -1
- package/dist/audit/orchestrator/pendingTasks.d.ts +5 -7
- package/dist/audit/orchestrator/pendingTasks.d.ts.map +1 -1
- package/dist/audit/orchestrator/pendingTasks.js +4 -2
- package/dist/audit/orchestrator/pendingTasks.js.map +1 -1
- package/dist/audit/orchestrator/planningExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/planningExecutors.js +18 -21
- package/dist/audit/orchestrator/planningExecutors.js.map +1 -1
- package/dist/audit/orchestrator/requeueCommand.d.ts +6 -6
- package/dist/audit/orchestrator/resultBaseline.d.ts +4 -3
- package/dist/audit/orchestrator/resultBaseline.d.ts.map +1 -1
- package/dist/audit/orchestrator/resultBaseline.js +4 -3
- package/dist/audit/orchestrator/resultBaseline.js.map +1 -1
- package/dist/audit/orchestrator/reviewPacketGraph.d.ts +1 -2
- package/dist/audit/orchestrator/reviewPacketGraph.d.ts.map +1 -1
- package/dist/audit/orchestrator/reviewPacketGraph.js +2 -6
- package/dist/audit/orchestrator/reviewPacketGraph.js.map +1 -1
- package/dist/audit/orchestrator/reviewPacketGraphEdges.d.ts +0 -2
- package/dist/audit/orchestrator/reviewPacketGraphEdges.d.ts.map +1 -1
- package/dist/audit/orchestrator/reviewPacketGraphEdges.js +2 -65
- package/dist/audit/orchestrator/reviewPacketGraphEdges.js.map +1 -1
- package/dist/audit/orchestrator/reviewPacketSizing.d.ts +0 -1
- package/dist/audit/orchestrator/reviewPacketSizing.d.ts.map +1 -1
- package/dist/audit/orchestrator/reviewPacketSizing.js +0 -1
- package/dist/audit/orchestrator/reviewPacketSizing.js.map +1 -1
- package/dist/audit/orchestrator/reviewPackets.d.ts +5 -68
- package/dist/audit/orchestrator/reviewPackets.d.ts.map +1 -1
- package/dist/audit/orchestrator/reviewPackets.js +55 -278
- package/dist/audit/orchestrator/reviewPackets.js.map +1 -1
- package/dist/audit/orchestrator/runtimeCommand.d.ts.map +1 -1
- package/dist/audit/orchestrator/runtimeCommand.js +4 -4
- package/dist/audit/orchestrator/runtimeCommand.js.map +1 -1
- package/dist/audit/orchestrator/state.d.ts.map +1 -1
- package/dist/audit/orchestrator/state.js +1 -35
- package/dist/audit/orchestrator/state.js.map +1 -1
- package/dist/audit/orchestrator/structureExecutors.d.ts +0 -1
- package/dist/audit/orchestrator/structureExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/structureExecutors.js +0 -45
- package/dist/audit/orchestrator/structureExecutors.js.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.d.ts +4 -6
- package/dist/audit/orchestrator/synthesisExecutors.d.ts.map +1 -1
- package/dist/audit/orchestrator/synthesisExecutors.js +3 -3
- package/dist/audit/orchestrator/synthesisExecutors.js.map +1 -1
- package/dist/audit/orchestrator/taskAffinityGraph.d.ts +55 -21
- package/dist/audit/orchestrator/taskAffinityGraph.d.ts.map +1 -1
- package/dist/audit/orchestrator/taskAffinityGraph.js +67 -29
- package/dist/audit/orchestrator/taskAffinityGraph.js.map +1 -1
- package/dist/audit/reporting/scoreShared.js +1 -1
- package/dist/audit/reporting/scoreShared.js.map +1 -1
- package/dist/audit/reporting/synthesis.d.ts +11 -21
- package/dist/audit/reporting/synthesis.d.ts.map +1 -1
- package/dist/audit/reporting/synthesis.js +76 -29
- package/dist/audit/reporting/synthesis.js.map +1 -1
- package/dist/audit/reporting/workBlocks.d.ts +12 -12
- package/dist/audit/reporting/workBlocks.d.ts.map +1 -1
- package/dist/audit/reporting/workBlocks.js +195 -180
- package/dist/audit/reporting/workBlocks.js.map +1 -1
- package/dist/audit/supervisor/operatorHandoff.d.ts +17 -24
- package/dist/audit/supervisor/operatorHandoff.d.ts.map +1 -1
- package/dist/audit/supervisor/operatorHandoff.js +60 -125
- package/dist/audit/supervisor/operatorHandoff.js.map +1 -1
- package/dist/audit/supervisor/runLedger.d.ts.map +1 -1
- package/dist/audit/supervisor/runLedger.js +0 -1
- package/dist/audit/supervisor/runLedger.js.map +1 -1
- package/dist/audit/types/analyzerCapability.d.ts +12 -12
- package/dist/audit/types/auditScope.d.ts +4 -19
- package/dist/audit/types/auditScope.d.ts.map +1 -1
- package/dist/audit/types/auditScope.js +2 -13
- package/dist/audit/types/auditScope.js.map +1 -1
- package/dist/audit/types/designAssessment.d.ts +9 -13
- package/dist/audit/types/designAssessment.d.ts.map +1 -1
- package/dist/audit/types/reviewPlanning.d.ts +24 -29
- package/dist/audit/types/reviewPlanning.d.ts.map +1 -1
- package/dist/audit/types/reviewPlanning.js +2 -7
- package/dist/audit/types/reviewPlanning.js.map +1 -1
- package/dist/audit/types.d.ts +90 -120
- package/dist/audit/types.d.ts.map +1 -1
- package/dist/audit/types.js +2 -21
- package/dist/audit/types.js.map +1 -1
- package/dist/audit/validation/anchorGrounding.d.ts +22 -10
- package/dist/audit/validation/anchorGrounding.d.ts.map +1 -1
- package/dist/audit/validation/anchorGrounding.js +0 -13
- package/dist/audit/validation/anchorGrounding.js.map +1 -1
- package/dist/audit/validation/auditResults.d.ts +0 -33
- package/dist/audit/validation/auditResults.d.ts.map +1 -1
- package/dist/audit/validation/auditResults.js +1 -114
- package/dist/audit/validation/auditResults.js.map +1 -1
- package/dist/remediate/index.d.ts +0 -8
- package/dist/remediate/index.d.ts.map +1 -1
- package/dist/remediate/index.js +49 -127
- package/dist/remediate/index.js.map +1 -1
- package/dist/remediate/intake.d.ts +6 -6
- package/dist/remediate/phases/close.d.ts +5 -17
- package/dist/remediate/phases/close.d.ts.map +1 -1
- package/dist/remediate/phases/close.js +30 -258
- package/dist/remediate/phases/close.js.map +1 -1
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.d.ts +4 -4
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.d.ts.map +1 -1
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.js +14 -11
- package/dist/remediate/phases/closeVerifyAnalyzerLeads.js.map +1 -1
- package/dist/remediate/phases/constants.d.ts +0 -1
- package/dist/remediate/phases/constants.d.ts.map +1 -1
- package/dist/remediate/phases/constants.js +0 -1
- package/dist/remediate/phases/constants.js.map +1 -1
- package/dist/remediate/phases/plan.d.ts +5 -30
- package/dist/remediate/phases/plan.d.ts.map +1 -1
- package/dist/remediate/phases/plan.js +34 -191
- package/dist/remediate/phases/plan.js.map +1 -1
- package/dist/remediate/phases/triage.d.ts.map +1 -1
- package/dist/remediate/phases/triage.js +33 -57
- package/dist/remediate/phases/triage.js.map +1 -1
- package/dist/remediate/review/autonomousGate.js +1 -1
- package/dist/remediate/review/autonomousGate.js.map +1 -1
- package/dist/remediate/state/closingActions.d.ts +1 -1
- package/dist/remediate/state/closingActions.d.ts.map +1 -1
- package/dist/remediate/state/closingActions.js +0 -1
- package/dist/remediate/state/closingActions.js.map +1 -1
- package/dist/remediate/state/store.d.ts +16 -45
- package/dist/remediate/state/store.d.ts.map +1 -1
- package/dist/remediate/state/store.js +12 -0
- package/dist/remediate/state/store.js.map +1 -1
- package/dist/remediate/state/types.d.ts +58 -30
- package/dist/remediate/state/types.d.ts.map +1 -1
- package/dist/remediate/state/types.js +22 -2
- package/dist/remediate/state/types.js.map +1 -1
- package/dist/remediate/steps/contractPipeline.d.ts +1 -8
- package/dist/remediate/steps/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/steps/contractPipeline.js +122 -144
- package/dist/remediate/steps/contractPipeline.js.map +1 -1
- package/dist/remediate/steps/dispatch/common.d.ts +0 -42
- package/dist/remediate/steps/dispatch/common.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/common.js +1 -96
- package/dist/remediate/steps/dispatch/common.js.map +1 -1
- package/dist/remediate/steps/dispatch/dagNodeFields.d.ts +0 -12
- package/dist/remediate/steps/dispatch/dagNodeFields.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/dagNodeFields.js +4 -18
- package/dist/remediate/steps/dispatch/dagNodeFields.js.map +1 -1
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts +110 -0
- package/dist/remediate/steps/dispatch/hostHandoff.d.ts.map +1 -0
- package/dist/remediate/steps/dispatch/hostHandoff.js +921 -0
- package/dist/remediate/steps/dispatch/hostHandoff.js.map +1 -0
- package/dist/remediate/steps/dispatch/implementPrompt.d.ts +0 -38
- package/dist/remediate/steps/dispatch/implementPrompt.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/implementPrompt.js +3 -479
- package/dist/remediate/steps/dispatch/implementPrompt.js.map +1 -1
- package/dist/remediate/steps/dispatch/marshal.d.ts +5 -38
- package/dist/remediate/steps/dispatch/marshal.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/marshal.js +4 -1332
- package/dist/remediate/steps/dispatch/marshal.js.map +1 -1
- package/dist/remediate/steps/dispatch/verifyCommands.d.ts +1 -13
- package/dist/remediate/steps/dispatch/verifyCommands.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/verifyCommands.js +1 -21
- package/dist/remediate/steps/dispatch/verifyCommands.js.map +1 -1
- package/dist/remediate/steps/dispatch/writeScope.d.ts +6 -107
- package/dist/remediate/steps/dispatch/writeScope.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch/writeScope.js +32 -286
- package/dist/remediate/steps/dispatch/writeScope.js.map +1 -1
- package/dist/remediate/steps/dispatch.d.ts +7 -12
- package/dist/remediate/steps/dispatch.d.ts.map +1 -1
- package/dist/remediate/steps/dispatch.js +6 -8
- package/dist/remediate/steps/dispatch.js.map +1 -1
- package/dist/remediate/steps/gateCommands.d.ts +0 -29
- package/dist/remediate/steps/gateCommands.d.ts.map +1 -1
- package/dist/remediate/steps/gateCommands.js +0 -35
- package/dist/remediate/steps/gateCommands.js.map +1 -1
- package/dist/remediate/steps/nextStep.d.ts +9 -408
- package/dist/remediate/steps/nextStep.d.ts.map +1 -1
- package/dist/remediate/steps/nextStep.js +147 -1618
- 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 +1 -2
- package/dist/remediate/steps/prompts.js.map +1 -1
- package/dist/remediate/steps/sessionConfigLoad.d.ts +3 -42
- package/dist/remediate/steps/sessionConfigLoad.d.ts.map +1 -1
- package/dist/remediate/steps/sessionConfigLoad.js +3 -37
- package/dist/remediate/steps/sessionConfigLoad.js.map +1 -1
- package/dist/remediate/steps/stepUtils.d.ts +10 -47
- package/dist/remediate/steps/stepUtils.d.ts.map +1 -1
- package/dist/remediate/steps/stepUtils.js +11 -67
- package/dist/remediate/steps/stepUtils.js.map +1 -1
- package/dist/remediate/steps/types.d.ts +2 -81
- package/dist/remediate/steps/types.d.ts.map +1 -1
- package/dist/remediate/steps/types.js.map +1 -1
- package/dist/remediate/utils/fileIntegrity.d.ts.map +1 -1
- package/dist/remediate/utils/fileIntegrity.js +57 -5
- package/dist/remediate/utils/fileIntegrity.js.map +1 -1
- package/dist/remediate/validation/contractPipeline.d.ts +1 -1
- package/dist/remediate/validation/contractPipeline.d.ts.map +1 -1
- package/dist/remediate/validation/contractPipeline.js +1 -1
- package/dist/remediate/validation/contractPipeline.js.map +1 -1
- package/dist/remediate/validation/contractPipelineGates.d.ts +1 -39
- package/dist/remediate/validation/contractPipelineGates.d.ts.map +1 -1
- package/dist/remediate/validation/contractPipelineGates.js +1 -67
- package/dist/remediate/validation/contractPipelineGates.js.map +1 -1
- package/dist/shared/affinityArtifacts.d.ts +42 -0
- package/dist/shared/affinityArtifacts.d.ts.map +1 -0
- package/dist/shared/affinityArtifacts.js +142 -0
- package/dist/shared/affinityArtifacts.js.map +1 -0
- package/dist/shared/analyzerPolicy.d.ts +40 -0
- package/dist/shared/analyzerPolicy.d.ts.map +1 -0
- package/dist/shared/analyzerPolicy.js +102 -0
- package/dist/shared/analyzerPolicy.js.map +1 -0
- package/dist/shared/analyzers/acquisitionEngine.d.ts +1 -1
- package/dist/shared/analyzers/acquisitionEngine.d.ts.map +1 -1
- package/dist/shared/analyzers/types.d.ts +20 -20
- package/dist/shared/artifactFreshness.d.ts.map +1 -1
- package/dist/shared/artifactFreshness.js +5 -4
- package/dist/shared/artifactFreshness.js.map +1 -1
- package/dist/shared/constitutionalDocPaths.d.ts.map +1 -1
- package/dist/shared/constitutionalDocPaths.js +0 -1
- package/dist/shared/constitutionalDocPaths.js.map +1 -1
- package/dist/shared/contentKey.d.ts +1 -42
- package/dist/shared/contentKey.d.ts.map +1 -1
- package/dist/shared/contentKey.js +1 -45
- package/dist/shared/contentKey.js.map +1 -1
- package/dist/shared/decompose/charterClarification.d.ts +1 -1
- package/dist/shared/decompose/charterClarification.js +1 -1
- package/dist/shared/decompose/charterExtraction.d.ts +20 -20
- package/dist/shared/decompose/charterExtraction.js +1 -1
- package/dist/shared/decompose/charterExtraction.js.map +1 -1
- package/dist/shared/decompose/contentCoherence.d.ts +382 -0
- package/dist/shared/decompose/contentCoherence.d.ts.map +1 -0
- package/dist/shared/decompose/contentCoherence.js +290 -0
- package/dist/shared/decompose/contentCoherence.js.map +1 -0
- package/dist/shared/decompose/systemicChallenge.d.ts +4 -4
- package/dist/shared/decompose/systemicChallenge.js +1 -1
- package/dist/shared/decompose/systemicChallenge.js.map +1 -1
- package/dist/shared/friction/frictionRecord.js +1 -1
- package/dist/shared/friction/frictionRecord.js.map +1 -1
- package/dist/shared/friction/stepBoundaryCapture.d.ts +13 -175
- package/dist/shared/friction/stepBoundaryCapture.d.ts.map +1 -1
- package/dist/shared/friction/stepBoundaryCapture.js +6 -232
- package/dist/shared/friction/stepBoundaryCapture.js.map +1 -1
- package/dist/shared/friction/triage.d.ts +3 -3
- package/dist/shared/friction/triage.d.ts.map +1 -1
- package/dist/shared/friction/triage.js +3 -20
- package/dist/shared/friction/triage.js.map +1 -1
- package/dist/shared/hostAssets.d.ts +3 -5
- package/dist/shared/hostAssets.d.ts.map +1 -1
- package/dist/shared/hostAssets.js +6 -7
- package/dist/shared/hostAssets.js.map +1 -1
- package/dist/shared/index.d.ts +32 -155
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +19 -133
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/io/artifactName.js +2 -2
- package/dist/shared/io/artifactName.js.map +1 -1
- package/dist/shared/io/auditToolsPaths.d.ts +26 -6
- package/dist/shared/io/auditToolsPaths.d.ts.map +1 -1
- package/dist/shared/io/auditToolsPaths.js +31 -7
- package/dist/shared/io/auditToolsPaths.js.map +1 -1
- package/dist/shared/io/fileLock.d.ts.map +1 -0
- package/dist/shared/io/fileLock.js.map +1 -0
- package/dist/shared/io/json.d.ts +1 -1
- package/dist/shared/io/json.js +1 -1
- package/dist/shared/io/lockedJsonStore.d.ts +1 -1
- package/dist/shared/io/lockedJsonStore.js +4 -4
- package/dist/shared/io/lockedJsonStore.js.map +1 -1
- package/dist/shared/io/nodeWorktreeGuard.d.ts +14 -15
- package/dist/shared/io/nodeWorktreeGuard.d.ts.map +1 -1
- package/dist/shared/io/nodeWorktreeGuard.js +14 -15
- package/dist/shared/io/nodeWorktreeGuard.js.map +1 -1
- package/dist/shared/io/pathContainment.d.ts +3 -5
- package/dist/shared/io/pathContainment.d.ts.map +1 -1
- package/dist/shared/io/pathContainment.js.map +1 -1
- package/dist/shared/io/pathIdentity.d.ts.map +1 -0
- package/dist/shared/io/pathIdentity.js.map +1 -0
- package/dist/shared/io/schemaVersion.d.ts +5 -4
- package/dist/shared/io/schemaVersion.d.ts.map +1 -1
- package/dist/shared/io/schemaVersion.js +17 -5
- package/dist/shared/io/schemaVersion.js.map +1 -1
- package/dist/shared/io/stateDir.d.ts +3 -6
- package/dist/shared/io/stateDir.d.ts.map +1 -1
- package/dist/shared/io/stateDir.js +3 -6
- package/dist/shared/io/stateDir.js.map +1 -1
- package/dist/shared/io/stepContractWriter.d.ts +3 -3
- package/dist/shared/io/stepContractWriter.js +3 -3
- package/dist/shared/loopCorePaths.d.ts.map +1 -1
- package/dist/shared/loopCorePaths.js +12 -14
- package/dist/shared/loopCorePaths.js.map +1 -1
- package/dist/shared/observability/runLog.d.ts +1 -2
- package/dist/shared/observability/runLog.d.ts.map +1 -1
- package/dist/shared/observability/runLog.js.map +1 -1
- package/dist/shared/prompts.d.ts +5 -7
- package/dist/shared/prompts.d.ts.map +1 -1
- package/dist/shared/prompts.js +2 -3
- package/dist/shared/prompts.js.map +1 -1
- package/dist/shared/reporting/auditDeliverable.d.ts.map +1 -1
- package/dist/shared/reporting/auditDeliverable.js +37 -2
- package/dist/shared/reporting/auditDeliverable.js.map +1 -1
- package/dist/shared/sessionConfig.d.ts +30 -0
- package/dist/shared/sessionConfig.d.ts.map +1 -0
- package/dist/shared/sessionConfig.js +78 -0
- package/dist/shared/sessionConfig.js.map +1 -0
- package/dist/shared/stableStringify.d.ts +0 -12
- package/dist/shared/stableStringify.d.ts.map +1 -1
- package/dist/shared/stableStringify.js +4 -1
- package/dist/shared/stableStringify.js.map +1 -1
- package/dist/shared/submission/expectedSubmissions.d.ts +88 -0
- package/dist/shared/submission/expectedSubmissions.d.ts.map +1 -0
- package/dist/shared/submission/expectedSubmissions.js +84 -0
- package/dist/shared/submission/expectedSubmissions.js.map +1 -0
- package/dist/shared/submission/handRecovery.d.ts +37 -0
- package/dist/shared/submission/handRecovery.d.ts.map +1 -0
- package/dist/shared/submission/handRecovery.js +123 -0
- package/dist/shared/submission/handRecovery.js.map +1 -0
- package/dist/shared/submission/submissionClassifier.d.ts +48 -0
- package/dist/shared/submission/submissionClassifier.d.ts.map +1 -0
- package/dist/shared/submission/submissionClassifier.js +83 -0
- package/dist/shared/submission/submissionClassifier.js.map +1 -0
- package/dist/shared/submission/submissionIdentity.d.ts +49 -0
- package/dist/shared/submission/submissionIdentity.d.ts.map +1 -0
- package/dist/shared/submission/submissionIdentity.js +90 -0
- package/dist/shared/submission/submissionIdentity.js.map +1 -0
- package/dist/shared/submission/submissionLedger.d.ts +37 -0
- package/dist/shared/submission/submissionLedger.d.ts.map +1 -0
- package/dist/shared/submission/submissionLedger.js +81 -0
- package/dist/shared/submission/submissionLedger.js.map +1 -0
- package/dist/shared/tokens.d.ts +0 -11
- package/dist/shared/tokens.d.ts.map +1 -1
- package/dist/shared/tokens.js +2 -32
- package/dist/shared/tokens.js.map +1 -1
- package/dist/shared/tooling/allowlistedExec.d.ts +1 -1
- package/dist/shared/tooling/allowlistedExec.js +4 -4
- package/dist/shared/tooling/allowlistedExec.js.map +1 -1
- package/dist/shared/tooling/exec.d.ts +6 -6
- package/dist/shared/tooling/exec.d.ts.map +1 -1
- package/dist/shared/tooling/exec.js +9 -11
- package/dist/shared/tooling/exec.js.map +1 -1
- package/dist/shared/tooling/projectTestAdmission.d.ts +1 -1
- package/dist/shared/tooling/projectTestAdmission.js +3 -3
- package/dist/shared/tooling/projectTestAdmission.js.map +1 -1
- package/dist/shared/types/accessMemory.d.ts +6 -6
- package/dist/shared/types/charter.d.ts +19 -19
- package/dist/shared/types/charter.js +3 -3
- package/dist/shared/types/contractPipeline/verification.d.ts +0 -2
- package/dist/shared/types/contractPipeline/verification.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline.d.ts +12 -1
- package/dist/shared/types/contractPipeline.d.ts.map +1 -1
- package/dist/shared/types/contractPipeline.js.map +1 -1
- package/dist/shared/types/executionRecord.d.ts +58 -0
- package/dist/shared/types/executionRecord.d.ts.map +1 -0
- package/dist/shared/types/executionRecord.js +26 -0
- package/dist/shared/types/executionRecord.js.map +1 -0
- package/dist/shared/types/finding.d.ts +671 -43
- package/dist/shared/types/finding.d.ts.map +1 -1
- package/dist/shared/types/finding.js +47 -13
- package/dist/shared/types/finding.js.map +1 -1
- package/dist/shared/types/intentCheckpoint.d.ts +30 -31
- package/dist/shared/types/intentCheckpoint.d.ts.map +1 -1
- package/dist/shared/types/intentCheckpoint.js +2 -3
- package/dist/shared/types/intentCheckpoint.js.map +1 -1
- package/dist/shared/types/remediationOutcome.d.ts +6 -6
- package/dist/shared/types/runLedger.d.ts +0 -1
- package/dist/shared/types/runLedger.d.ts.map +1 -1
- package/dist/shared/types/stepContract.d.ts +0 -6
- package/dist/shared/types/stepContract.d.ts.map +1 -1
- package/dist/shared/types/stepContract.js +0 -1
- package/dist/shared/types/stepContract.js.map +1 -1
- package/dist/shared/validation/findingsReport.d.ts +17 -1
- package/dist/shared/validation/findingsReport.d.ts.map +1 -1
- package/dist/shared/validation/findingsReport.js +137 -1
- package/dist/shared/validation/findingsReport.js.map +1 -1
- package/docs/audit-pkg/contracts.md +75 -201
- package/docs/audit-pkg/development.md +8 -7
- package/docs/audit-pkg/operator-guide.md +72 -174
- package/docs/audit-pkg/product.md +8 -15
- package/docs/audit-pkg/release.md +10 -21
- package/opencode.json +0 -34
- package/package.json +3 -5
- package/schemas/audit_result.schema.json +1 -17
- package/schemas/audit_results.schema.json +1 -17
- package/schemas/finding.schema.json +1 -1
- package/scripts/audit/postinstall.mjs +0 -8
- package/scripts/remediate/postinstall.mjs +27 -12
- package/skills/audit-code/SKILL.md +32 -150
- package/skills/audit-code/audit-code.prompt.md +24 -86
- package/skills/remediate-code/SKILL.md +27 -64
- package/skills/remediate-code/remediate-code.prompt.md +22 -79
- package/wrapper/audit-code-wrapper-install-hosts.mjs +3 -5
- package/wrapper/audit-code-wrapper-install-renderers.mjs +2 -2
- package/wrapper/audit-code-wrapper-lib.mjs +3 -23
- package/wrapper/audit-code-wrapper-opencode.mjs +21 -16
- package/wrapper/remediate-code-wrapper-install-hosts.mjs +5 -6
- package/wrapper/remediate-code-wrapper-install-renderers.mjs +1 -2
- package/wrapper/remediate-code-wrapper-opencode.mjs +31 -10
- package/dist/audit/cli/advanceAuditCommand.d.ts +0 -2
- package/dist/audit/cli/advanceAuditCommand.d.ts.map +0 -1
- package/dist/audit/cli/advanceAuditCommand.js +0 -104
- package/dist/audit/cli/advanceAuditCommand.js.map +0 -1
- package/dist/audit/cli/dispatch/hostFanoutGate.d.ts +0 -36
- package/dist/audit/cli/dispatch/hostFanoutGate.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/hostFanoutGate.js +0 -28
- package/dist/audit/cli/dispatch/hostFanoutGate.js.map +0 -1
- package/dist/audit/cli/dispatch/packetPrompt.d.ts +0 -49
- package/dist/audit/cli/dispatch/packetPrompt.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/packetPrompt.js +0 -355
- package/dist/audit/cli/dispatch/packetPrompt.js.map +0 -1
- package/dist/audit/cli/dispatch/paths.d.ts +0 -7
- package/dist/audit/cli/dispatch/paths.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/paths.js +0 -32
- package/dist/audit/cli/dispatch/paths.js.map +0 -1
- package/dist/audit/cli/dispatch/pausePersist.d.ts +0 -111
- package/dist/audit/cli/dispatch/pausePersist.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/pausePersist.js +0 -252
- package/dist/audit/cli/dispatch/pausePersist.js.map +0 -1
- package/dist/audit/cli/dispatch/quotaPool.d.ts +0 -142
- package/dist/audit/cli/dispatch/quotaPool.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/quotaPool.js +0 -232
- package/dist/audit/cli/dispatch/quotaPool.js.map +0 -1
- package/dist/audit/cli/dispatch/sizingWindow.d.ts +0 -46
- package/dist/audit/cli/dispatch/sizingWindow.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/sizingWindow.js +0 -34
- package/dist/audit/cli/dispatch/sizingWindow.js.map +0 -1
- package/dist/audit/cli/dispatch/tierRouting.d.ts +0 -64
- package/dist/audit/cli/dispatch/tierRouting.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/tierRouting.js +0 -172
- package/dist/audit/cli/dispatch/tierRouting.js.map +0 -1
- package/dist/audit/cli/dispatch/tokenUsageObservation.d.ts +0 -91
- package/dist/audit/cli/dispatch/tokenUsageObservation.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/tokenUsageObservation.js +0 -218
- package/dist/audit/cli/dispatch/tokenUsageObservation.js.map +0 -1
- package/dist/audit/cli/dispatch/types.d.ts +0 -144
- package/dist/audit/cli/dispatch/types.d.ts.map +0 -1
- package/dist/audit/cli/dispatch/types.js +0 -15
- package/dist/audit/cli/dispatch/types.js.map +0 -1
- package/dist/audit/cli/dispatchAttempted.d.ts +0 -26
- package/dist/audit/cli/dispatchAttempted.d.ts.map +0 -1
- package/dist/audit/cli/dispatchAttempted.js +0 -71
- package/dist/audit/cli/dispatchAttempted.js.map +0 -1
- package/dist/audit/cli/dispatchStatusCommand.d.ts +0 -2
- package/dist/audit/cli/dispatchStatusCommand.d.ts.map +0 -1
- package/dist/audit/cli/dispatchStatusCommand.js +0 -81
- package/dist/audit/cli/dispatchStatusCommand.js.map +0 -1
- package/dist/audit/cli/hybridDispatch.d.ts +0 -68
- package/dist/audit/cli/hybridDispatch.d.ts.map +0 -1
- package/dist/audit/cli/hybridDispatch.js +0 -85
- package/dist/audit/cli/hybridDispatch.js.map +0 -1
- package/dist/audit/cli/mergeAndIngestCommand.d.ts +0 -165
- package/dist/audit/cli/mergeAndIngestCommand.d.ts.map +0 -1
- package/dist/audit/cli/mergeAndIngestCommand.js +0 -945
- package/dist/audit/cli/mergeAndIngestCommand.js.map +0 -1
- package/dist/audit/cli/ownerTokens.d.ts +0 -21
- package/dist/audit/cli/ownerTokens.d.ts.map +0 -1
- package/dist/audit/cli/ownerTokens.js +0 -86
- package/dist/audit/cli/ownerTokens.js.map +0 -1
- package/dist/audit/cli/prepareDispatchCommand.d.ts +0 -34
- package/dist/audit/cli/prepareDispatchCommand.d.ts.map +0 -1
- package/dist/audit/cli/prepareDispatchCommand.js +0 -69
- package/dist/audit/cli/prepareDispatchCommand.js.map +0 -1
- package/dist/audit/cli/quotaCommand.d.ts +0 -2
- package/dist/audit/cli/quotaCommand.d.ts.map +0 -1
- package/dist/audit/cli/quotaCommand.js +0 -68
- package/dist/audit/cli/quotaCommand.js.map +0 -1
- package/dist/audit/cli/rollingAuditDispatch.d.ts +0 -206
- package/dist/audit/cli/rollingAuditDispatch.d.ts.map +0 -1
- package/dist/audit/cli/rollingAuditDispatch.js +0 -633
- package/dist/audit/cli/rollingAuditDispatch.js.map +0 -1
- package/dist/audit/cli/scoreTokensCommand.d.ts +0 -18
- package/dist/audit/cli/scoreTokensCommand.d.ts.map +0 -1
- package/dist/audit/cli/scoreTokensCommand.js +0 -129
- package/dist/audit/cli/scoreTokensCommand.js.map +0 -1
- package/dist/audit/cli/submitPacketCommand.d.ts +0 -2
- package/dist/audit/cli/submitPacketCommand.d.ts.map +0 -1
- package/dist/audit/cli/submitPacketCommand.js +0 -139
- package/dist/audit/cli/submitPacketCommand.js.map +0 -1
- package/dist/audit/cli/validateResultCommand.d.ts +0 -2
- package/dist/audit/cli/validateResultCommand.d.ts.map +0 -1
- package/dist/audit/cli/validateResultCommand.js +0 -105
- package/dist/audit/cli/validateResultCommand.js.map +0 -1
- package/dist/audit/cli/waveManifest.d.ts +0 -41
- package/dist/audit/cli/waveManifest.d.ts.map +0 -1
- package/dist/audit/cli/waveManifest.js +0 -42
- package/dist/audit/cli/waveManifest.js.map +0 -1
- package/dist/audit/cli/workPartitionRuntime.d.ts +0 -11
- package/dist/audit/cli/workPartitionRuntime.d.ts.map +0 -1
- package/dist/audit/cli/workPartitionRuntime.js +0 -42
- package/dist/audit/cli/workPartitionRuntime.js.map +0 -1
- package/dist/audit/cli/workerRunCommand.d.ts +0 -16
- package/dist/audit/cli/workerRunCommand.d.ts.map +0 -1
- package/dist/audit/cli/workerRunCommand.js +0 -153
- package/dist/audit/cli/workerRunCommand.js.map +0 -1
- package/dist/audit/contracts/schemaEnforcedEmit.d.ts +0 -75
- package/dist/audit/contracts/schemaEnforcedEmit.d.ts.map +0 -1
- package/dist/audit/contracts/schemaEnforcedEmit.js +0 -131
- package/dist/audit/contracts/schemaEnforcedEmit.js.map +0 -1
- package/dist/audit/orchestrator/reviewPacketGraphClustering.d.ts +0 -4
- package/dist/audit/orchestrator/reviewPacketGraphClustering.d.ts.map +0 -1
- package/dist/audit/orchestrator/reviewPacketGraphClustering.js +0 -473
- package/dist/audit/orchestrator/reviewPacketGraphClustering.js.map +0 -1
- package/dist/audit/orchestrator/rollingDispatch.d.ts +0 -64
- package/dist/audit/orchestrator/rollingDispatch.d.ts.map +0 -1
- package/dist/audit/orchestrator/rollingDispatch.js +0 -147
- package/dist/audit/orchestrator/rollingDispatch.js.map +0 -1
- package/dist/audit/orchestrator/unionFind.d.ts +0 -8
- package/dist/audit/orchestrator/unionFind.d.ts.map +0 -1
- package/dist/audit/orchestrator/unionFind.js +0 -43
- package/dist/audit/orchestrator/unionFind.js.map +0 -1
- package/dist/audit/prompts/renderWorkerPrompt.d.ts +0 -3
- package/dist/audit/prompts/renderWorkerPrompt.d.ts.map +0 -1
- package/dist/audit/prompts/renderWorkerPrompt.js +0 -87
- package/dist/audit/prompts/renderWorkerPrompt.js.map +0 -1
- package/dist/audit/providers/constants.d.ts +0 -2
- package/dist/audit/providers/constants.d.ts.map +0 -1
- package/dist/audit/providers/constants.js +0 -2
- package/dist/audit/providers/constants.js.map +0 -1
- package/dist/audit/providers/index.d.ts +0 -19
- package/dist/audit/providers/index.d.ts.map +0 -1
- package/dist/audit/providers/index.js +0 -23
- package/dist/audit/providers/index.js.map +0 -1
- package/dist/audit/quota/discoveredLimits.d.ts +0 -39
- package/dist/audit/quota/discoveredLimits.d.ts.map +0 -1
- package/dist/audit/quota/discoveredLimits.js +0 -96
- package/dist/audit/quota/discoveredLimits.js.map +0 -1
- package/dist/audit/quota/hostLimits.d.ts +0 -7
- package/dist/audit/quota/hostLimits.d.ts.map +0 -1
- package/dist/audit/quota/hostLimits.js +0 -6
- package/dist/audit/quota/hostLimits.js.map +0 -1
- package/dist/audit/quota/index.d.ts +0 -12
- package/dist/audit/quota/index.d.ts.map +0 -1
- package/dist/audit/quota/index.js +0 -19
- package/dist/audit/quota/index.js.map +0 -1
- package/dist/audit/reporting/scoreTokens.d.ts +0 -112
- package/dist/audit/reporting/scoreTokens.d.ts.map +0 -1
- package/dist/audit/reporting/scoreTokens.js +0 -188
- package/dist/audit/reporting/scoreTokens.js.map +0 -1
- package/dist/audit/supervisor/sessionConfig.d.ts +0 -19
- package/dist/audit/supervisor/sessionConfig.d.ts.map +0 -1
- package/dist/audit/supervisor/sessionConfig.js +0 -98
- package/dist/audit/supervisor/sessionConfig.js.map +0 -1
- package/dist/audit/types/activeDispatch.d.ts +0 -83
- package/dist/audit/types/activeDispatch.d.ts.map +0 -1
- package/dist/audit/types/activeDispatch.js +0 -3
- package/dist/audit/types/activeDispatch.js.map +0 -1
- package/dist/audit/types/workerSession.d.ts +0 -28
- package/dist/audit/types/workerSession.d.ts.map +0 -1
- package/dist/audit/types/workerSession.js +0 -5
- package/dist/audit/types/workerSession.js.map +0 -1
- package/dist/audit/validation/sessionConfig.d.ts +0 -7
- package/dist/audit/validation/sessionConfig.d.ts.map +0 -1
- package/dist/audit/validation/sessionConfig.js +0 -84
- package/dist/audit/validation/sessionConfig.js.map +0 -1
- package/dist/remediate/dispatch/amendmentClaim.d.ts +0 -48
- package/dist/remediate/dispatch/amendmentClaim.d.ts.map +0 -1
- package/dist/remediate/dispatch/amendmentClaim.js +0 -67
- package/dist/remediate/dispatch/amendmentClaim.js.map +0 -1
- package/dist/remediate/dispatch/ownershipRegistry.d.ts +0 -266
- package/dist/remediate/dispatch/ownershipRegistry.d.ts.map +0 -1
- package/dist/remediate/dispatch/ownershipRegistry.js +0 -515
- package/dist/remediate/dispatch/ownershipRegistry.js.map +0 -1
- package/dist/remediate/phases/workerTasks.d.ts +0 -21
- package/dist/remediate/phases/workerTasks.d.ts.map +0 -1
- package/dist/remediate/phases/workerTasks.js +0 -31
- package/dist/remediate/phases/workerTasks.js.map +0 -1
- package/dist/remediate/providers/constants.d.ts +0 -2
- package/dist/remediate/providers/constants.d.ts.map +0 -1
- package/dist/remediate/providers/constants.js +0 -2
- package/dist/remediate/providers/constants.js.map +0 -1
- package/dist/remediate/providers/index.d.ts +0 -19
- package/dist/remediate/providers/index.d.ts.map +0 -1
- package/dist/remediate/providers/index.js +0 -23
- package/dist/remediate/providers/index.js.map +0 -1
- package/dist/remediate/quota/hostLimits.d.ts +0 -7
- package/dist/remediate/quota/hostLimits.d.ts.map +0 -1
- package/dist/remediate/quota/hostLimits.js +0 -6
- package/dist/remediate/quota/hostLimits.js.map +0 -1
- package/dist/remediate/quota/index.d.ts +0 -8
- package/dist/remediate/quota/index.d.ts.map +0 -1
- package/dist/remediate/quota/index.js +0 -12
- package/dist/remediate/quota/index.js.map +0 -1
- package/dist/remediate/steps/dispatch/acceptNode.d.ts +0 -328
- package/dist/remediate/steps/dispatch/acceptNode.d.ts.map +0 -1
- package/dist/remediate/steps/dispatch/acceptNode.js +0 -722
- package/dist/remediate/steps/dispatch/acceptNode.js.map +0 -1
- package/dist/remediate/steps/dispatch/acceptReconcile.d.ts +0 -66
- package/dist/remediate/steps/dispatch/acceptReconcile.d.ts.map +0 -1
- package/dist/remediate/steps/dispatch/acceptReconcile.js +0 -154
- package/dist/remediate/steps/dispatch/acceptReconcile.js.map +0 -1
- package/dist/remediate/steps/dispatch/nodeArtifacts.d.ts +0 -41
- package/dist/remediate/steps/dispatch/nodeArtifacts.d.ts.map +0 -1
- package/dist/remediate/steps/dispatch/nodeArtifacts.js +0 -81
- package/dist/remediate/steps/dispatch/nodeArtifacts.js.map +0 -1
- package/dist/remediate/steps/dispatch/waveScheduling.d.ts +0 -123
- package/dist/remediate/steps/dispatch/waveScheduling.d.ts.map +0 -1
- package/dist/remediate/steps/dispatch/waveScheduling.js +0 -213
- package/dist/remediate/steps/dispatch/waveScheduling.js.map +0 -1
- package/dist/remediate/steps/dispatch/worktreeLifecycle.d.ts +0 -239
- package/dist/remediate/steps/dispatch/worktreeLifecycle.d.ts.map +0 -1
- package/dist/remediate/steps/dispatch/worktreeLifecycle.js +0 -875
- package/dist/remediate/steps/dispatch/worktreeLifecycle.js.map +0 -1
- package/dist/remediate/steps/providerNodeDispatch.d.ts +0 -57
- package/dist/remediate/steps/providerNodeDispatch.d.ts.map +0 -1
- package/dist/remediate/steps/providerNodeDispatch.js +0 -97
- package/dist/remediate/steps/providerNodeDispatch.js.map +0 -1
- package/dist/remediate/steps/rollingSession.d.ts +0 -283
- package/dist/remediate/steps/rollingSession.d.ts.map +0 -1
- package/dist/remediate/steps/rollingSession.js +0 -718
- package/dist/remediate/steps/rollingSession.js.map +0 -1
- package/dist/remediate/types/workerSession.d.ts +0 -35
- package/dist/remediate/types/workerSession.d.ts.map +0 -1
- package/dist/remediate/types/workerSession.js +0 -5
- package/dist/remediate/types/workerSession.js.map +0 -1
- package/dist/shared/config/resolveSessionConfig.d.ts +0 -75
- package/dist/shared/config/resolveSessionConfig.d.ts.map +0 -1
- package/dist/shared/config/resolveSessionConfig.js +0 -126
- package/dist/shared/config/resolveSessionConfig.js.map +0 -1
- package/dist/shared/data/model-statics.generated.json +0 -18939
- package/dist/shared/decompose/workPartition.d.ts +0 -66
- package/dist/shared/decompose/workPartition.d.ts.map +0 -1
- package/dist/shared/decompose/workPartition.js +0 -523
- package/dist/shared/decompose/workPartition.js.map +0 -1
- package/dist/shared/dispatch/admissionLeaseReconcile.d.ts +0 -20
- package/dist/shared/dispatch/admissionLeaseReconcile.d.ts.map +0 -1
- package/dist/shared/dispatch/admissionLeaseReconcile.js +0 -36
- package/dist/shared/dispatch/admissionLeaseReconcile.js.map +0 -1
- package/dist/shared/dispatch/admissionLoop.d.ts +0 -875
- package/dist/shared/dispatch/admissionLoop.d.ts.map +0 -1
- package/dist/shared/dispatch/admissionLoop.js +0 -692
- package/dist/shared/dispatch/admissionLoop.js.map +0 -1
- package/dist/shared/dispatch/coordinator.d.ts +0 -189
- package/dist/shared/dispatch/coordinator.d.ts.map +0 -1
- package/dist/shared/dispatch/coordinator.js +0 -258
- package/dist/shared/dispatch/coordinator.js.map +0 -1
- package/dist/shared/dispatch/costRank.d.ts +0 -25
- package/dist/shared/dispatch/costRank.d.ts.map +0 -1
- package/dist/shared/dispatch/costRank.js +0 -34
- package/dist/shared/dispatch/costRank.js.map +0 -1
- package/dist/shared/dispatch/dispatchDecisionLog.d.ts +0 -142
- package/dist/shared/dispatch/dispatchDecisionLog.d.ts.map +0 -1
- package/dist/shared/dispatch/dispatchDecisionLog.js +0 -65
- package/dist/shared/dispatch/dispatchDecisionLog.js.map +0 -1
- package/dist/shared/dispatch/dispatchQuotaContract.d.ts +0 -1052
- package/dist/shared/dispatch/dispatchQuotaContract.d.ts.map +0 -1
- package/dist/shared/dispatch/dispatchQuotaContract.js +0 -75
- package/dist/shared/dispatch/dispatchQuotaContract.js.map +0 -1
- package/dist/shared/dispatch/hostDispatchWall.d.ts +0 -107
- package/dist/shared/dispatch/hostDispatchWall.d.ts.map +0 -1
- package/dist/shared/dispatch/hostDispatchWall.js +0 -90
- package/dist/shared/dispatch/hostDispatchWall.js.map +0 -1
- package/dist/shared/dispatch/hybridDispatch.d.ts +0 -94
- package/dist/shared/dispatch/hybridDispatch.d.ts.map +0 -1
- package/dist/shared/dispatch/hybridDispatch.js +0 -60
- package/dist/shared/dispatch/hybridDispatch.js.map +0 -1
- package/dist/shared/dispatch/ownershipScheduler.d.ts +0 -101
- package/dist/shared/dispatch/ownershipScheduler.d.ts.map +0 -1
- package/dist/shared/dispatch/ownershipScheduler.js +0 -151
- package/dist/shared/dispatch/ownershipScheduler.js.map +0 -1
- package/dist/shared/dispatch/pathIdentity.d.ts.map +0 -1
- package/dist/shared/dispatch/pathIdentity.js.map +0 -1
- package/dist/shared/dispatch/providerDispatchPrep.d.ts +0 -65
- package/dist/shared/dispatch/providerDispatchPrep.d.ts.map +0 -1
- package/dist/shared/dispatch/providerDispatchPrep.js +0 -66
- package/dist/shared/dispatch/providerDispatchPrep.js.map +0 -1
- package/dist/shared/dispatch/providerLaunchFinalize.d.ts +0 -54
- package/dist/shared/dispatch/providerLaunchFinalize.d.ts.map +0 -1
- package/dist/shared/dispatch/providerLaunchFinalize.js +0 -275
- package/dist/shared/dispatch/providerLaunchFinalize.js.map +0 -1
- package/dist/shared/dispatch/rollingDispatch.d.ts +0 -598
- package/dist/shared/dispatch/rollingDispatch.d.ts.map +0 -1
- package/dist/shared/dispatch/rollingDispatch.js +0 -1488
- package/dist/shared/dispatch/rollingDispatch.js.map +0 -1
- package/dist/shared/dispatch/settledPools.d.ts +0 -55
- package/dist/shared/dispatch/settledPools.d.ts.map +0 -1
- package/dist/shared/dispatch/settledPools.js +0 -74
- package/dist/shared/dispatch/settledPools.js.map +0 -1
- package/dist/shared/dispatch/tierRank.d.ts +0 -53
- package/dist/shared/dispatch/tierRank.d.ts.map +0 -1
- package/dist/shared/dispatch/tierRank.js +0 -69
- package/dist/shared/dispatch/tierRank.js.map +0 -1
- package/dist/shared/dispatch/unifiedRolling.d.ts +0 -219
- package/dist/shared/dispatch/unifiedRolling.d.ts.map +0 -1
- package/dist/shared/dispatch/unifiedRolling.js +0 -214
- package/dist/shared/dispatch/unifiedRolling.js.map +0 -1
- package/dist/shared/friction/blindDispatchFriction.d.ts +0 -26
- package/dist/shared/friction/blindDispatchFriction.d.ts.map +0 -1
- package/dist/shared/friction/blindDispatchFriction.js +0 -41
- package/dist/shared/friction/blindDispatchFriction.js.map +0 -1
- package/dist/shared/io/tokenUsageLedger.d.ts +0 -58
- package/dist/shared/io/tokenUsageLedger.d.ts.map +0 -1
- package/dist/shared/io/tokenUsageLedger.js +0 -53
- package/dist/shared/io/tokenUsageLedger.js.map +0 -1
- package/dist/shared/providers/agyProvider.d.ts +0 -23
- package/dist/shared/providers/agyProvider.d.ts.map +0 -1
- package/dist/shared/providers/agyProvider.js +0 -63
- package/dist/shared/providers/agyProvider.js.map +0 -1
- package/dist/shared/providers/auditorSources.d.ts +0 -152
- package/dist/shared/providers/auditorSources.d.ts.map +0 -1
- package/dist/shared/providers/auditorSources.js +0 -391
- package/dist/shared/providers/auditorSources.js.map +0 -1
- package/dist/shared/providers/claudeCodeProvider.d.ts +0 -56
- package/dist/shared/providers/claudeCodeProvider.d.ts.map +0 -1
- package/dist/shared/providers/claudeCodeProvider.js +0 -67
- package/dist/shared/providers/claudeCodeProvider.js.map +0 -1
- package/dist/shared/providers/claudeWorkerProvider.d.ts +0 -71
- package/dist/shared/providers/claudeWorkerProvider.d.ts.map +0 -1
- package/dist/shared/providers/claudeWorkerProvider.js +0 -142
- package/dist/shared/providers/claudeWorkerProvider.js.map +0 -1
- package/dist/shared/providers/codexProvider.d.ts +0 -37
- package/dist/shared/providers/codexProvider.d.ts.map +0 -1
- package/dist/shared/providers/codexProvider.js +0 -85
- package/dist/shared/providers/codexProvider.js.map +0 -1
- package/dist/shared/providers/constants.d.ts +0 -4
- package/dist/shared/providers/constants.d.ts.map +0 -1
- package/dist/shared/providers/constants.js +0 -5
- package/dist/shared/providers/constants.js.map +0 -1
- package/dist/shared/providers/dispatchExclusion.d.ts +0 -44
- package/dist/shared/providers/dispatchExclusion.d.ts.map +0 -1
- package/dist/shared/providers/dispatchExclusion.js +0 -63
- package/dist/shared/providers/dispatchExclusion.js.map +0 -1
- package/dist/shared/providers/identity.d.ts +0 -48
- package/dist/shared/providers/identity.d.ts.map +0 -1
- package/dist/shared/providers/identity.js +0 -51
- package/dist/shared/providers/identity.js.map +0 -1
- package/dist/shared/providers/inProcessWorkers.d.ts +0 -42
- package/dist/shared/providers/inProcessWorkers.d.ts.map +0 -1
- package/dist/shared/providers/inProcessWorkers.js +0 -64
- package/dist/shared/providers/inProcessWorkers.js.map +0 -1
- package/dist/shared/providers/openAiCompatibleProvider.d.ts +0 -132
- package/dist/shared/providers/openAiCompatibleProvider.d.ts.map +0 -1
- package/dist/shared/providers/openAiCompatibleProvider.js +0 -875
- package/dist/shared/providers/openAiCompatibleProvider.js.map +0 -1
- package/dist/shared/providers/opencodeLaunch.d.ts +0 -30
- package/dist/shared/providers/opencodeLaunch.d.ts.map +0 -1
- package/dist/shared/providers/opencodeLaunch.js +0 -72
- package/dist/shared/providers/opencodeLaunch.js.map +0 -1
- package/dist/shared/providers/opencodeProvider.d.ts +0 -27
- package/dist/shared/providers/opencodeProvider.d.ts.map +0 -1
- package/dist/shared/providers/opencodeProvider.js +0 -63
- package/dist/shared/providers/opencodeProvider.js.map +0 -1
- package/dist/shared/providers/orchestratorBindings.d.ts +0 -75
- package/dist/shared/providers/orchestratorBindings.d.ts.map +0 -1
- package/dist/shared/providers/orchestratorBindings.js +0 -66
- package/dist/shared/providers/orchestratorBindings.js.map +0 -1
- package/dist/shared/providers/providerDiagnostics.d.ts +0 -11
- package/dist/shared/providers/providerDiagnostics.d.ts.map +0 -1
- package/dist/shared/providers/providerDiagnostics.js +0 -28
- package/dist/shared/providers/providerDiagnostics.js.map +0 -1
- package/dist/shared/providers/providerFactory.d.ts +0 -173
- package/dist/shared/providers/providerFactory.d.ts.map +0 -1
- package/dist/shared/providers/providerFactory.js +0 -374
- package/dist/shared/providers/providerFactory.js.map +0 -1
- package/dist/shared/providers/providerKeyedFactory.d.ts +0 -14
- package/dist/shared/providers/providerKeyedFactory.d.ts.map +0 -1
- package/dist/shared/providers/providerKeyedFactory.js +0 -16
- package/dist/shared/providers/providerKeyedFactory.js.map +0 -1
- package/dist/shared/providers/providerPathGuard.d.ts +0 -101
- package/dist/shared/providers/providerPathGuard.d.ts.map +0 -1
- package/dist/shared/providers/providerPathGuard.js +0 -177
- package/dist/shared/providers/providerPathGuard.js.map +0 -1
- package/dist/shared/providers/reviewSnapshot.d.ts +0 -55
- package/dist/shared/providers/reviewSnapshot.d.ts.map +0 -1
- package/dist/shared/providers/reviewSnapshot.js +0 -112
- package/dist/shared/providers/reviewSnapshot.js.map +0 -1
- package/dist/shared/providers/spawnLoggedCommand.d.ts +0 -10
- package/dist/shared/providers/spawnLoggedCommand.d.ts.map +0 -1
- package/dist/shared/providers/spawnLoggedCommand.js +0 -345
- package/dist/shared/providers/spawnLoggedCommand.js.map +0 -1
- package/dist/shared/providers/subprocessTemplateProvider.d.ts +0 -19
- package/dist/shared/providers/subprocessTemplateProvider.d.ts.map +0 -1
- package/dist/shared/providers/subprocessTemplateProvider.js +0 -91
- package/dist/shared/providers/subprocessTemplateProvider.js.map +0 -1
- package/dist/shared/providers/types.d.ts +0 -144
- package/dist/shared/providers/types.d.ts.map +0 -1
- package/dist/shared/providers/types.js +0 -2
- package/dist/shared/providers/types.js.map +0 -1
- package/dist/shared/providers/workerCommandProvider.d.ts +0 -10
- package/dist/shared/providers/workerCommandProvider.d.ts.map +0 -1
- package/dist/shared/providers/workerCommandProvider.js +0 -20
- package/dist/shared/providers/workerCommandProvider.js.map +0 -1
- package/dist/shared/providers/workerTaskLaunch.d.ts +0 -32
- package/dist/shared/providers/workerTaskLaunch.d.ts.map +0 -1
- package/dist/shared/providers/workerTaskLaunch.js +0 -27
- package/dist/shared/providers/workerTaskLaunch.js.map +0 -1
- package/dist/shared/quota/accountId.d.ts +0 -107
- package/dist/shared/quota/accountId.d.ts.map +0 -1
- package/dist/shared/quota/accountId.js +0 -151
- package/dist/shared/quota/accountId.js.map +0 -1
- package/dist/shared/quota/antigravityQuotaSource.d.ts +0 -44
- package/dist/shared/quota/antigravityQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/antigravityQuotaSource.js +0 -103
- package/dist/shared/quota/antigravityQuotaSource.js.map +0 -1
- package/dist/shared/quota/apiPool.d.ts +0 -322
- package/dist/shared/quota/apiPool.d.ts.map +0 -1
- package/dist/shared/quota/apiPool.js +0 -751
- package/dist/shared/quota/apiPool.js.map +0 -1
- package/dist/shared/quota/capacity.d.ts +0 -667
- package/dist/shared/quota/capacity.d.ts.map +0 -1
- package/dist/shared/quota/capacity.js +0 -507
- package/dist/shared/quota/capacity.js.map +0 -1
- package/dist/shared/quota/claimLease.d.ts +0 -32
- package/dist/shared/quota/claimLease.d.ts.map +0 -1
- package/dist/shared/quota/claimLease.js +0 -73
- package/dist/shared/quota/claimLease.js.map +0 -1
- package/dist/shared/quota/claimRegistry.d.ts +0 -118
- package/dist/shared/quota/claimRegistry.d.ts.map +0 -1
- package/dist/shared/quota/claimRegistry.js +0 -246
- package/dist/shared/quota/claimRegistry.js.map +0 -1
- package/dist/shared/quota/claudeCodeJsonLines.d.ts +0 -15
- package/dist/shared/quota/claudeCodeJsonLines.d.ts.map +0 -1
- package/dist/shared/quota/claudeCodeJsonLines.js +0 -34
- package/dist/shared/quota/claudeCodeJsonLines.js.map +0 -1
- package/dist/shared/quota/claudeOAuthQuotaSource.d.ts +0 -97
- package/dist/shared/quota/claudeOAuthQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/claudeOAuthQuotaSource.js +0 -385
- package/dist/shared/quota/claudeOAuthQuotaSource.js.map +0 -1
- package/dist/shared/quota/codexHostConfig.d.ts +0 -17
- package/dist/shared/quota/codexHostConfig.d.ts.map +0 -1
- package/dist/shared/quota/codexHostConfig.js +0 -43
- package/dist/shared/quota/codexHostConfig.js.map +0 -1
- package/dist/shared/quota/codexQuotaSource.d.ts +0 -52
- package/dist/shared/quota/codexQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/codexQuotaSource.js +0 -106
- package/dist/shared/quota/codexQuotaSource.js.map +0 -1
- package/dist/shared/quota/compositeQuotaSource.d.ts +0 -83
- package/dist/shared/quota/compositeQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/compositeQuotaSource.js +0 -152
- package/dist/shared/quota/compositeQuotaSource.js.map +0 -1
- package/dist/shared/quota/copilotQuotaSource.d.ts +0 -57
- package/dist/shared/quota/copilotQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/copilotQuotaSource.js +0 -143
- package/dist/shared/quota/copilotQuotaSource.js.map +0 -1
- package/dist/shared/quota/coverage.d.ts +0 -45
- package/dist/shared/quota/coverage.d.ts.map +0 -1
- package/dist/shared/quota/coverage.js +0 -77
- package/dist/shared/quota/coverage.js.map +0 -1
- package/dist/shared/quota/dispatchDriverPrompt.d.ts +0 -15
- package/dist/shared/quota/dispatchDriverPrompt.d.ts.map +0 -1
- package/dist/shared/quota/dispatchDriverPrompt.js +0 -40
- package/dist/shared/quota/dispatchDriverPrompt.js.map +0 -1
- package/dist/shared/quota/errorParsers/claudeCodeErrorParser.d.ts +0 -7
- package/dist/shared/quota/errorParsers/claudeCodeErrorParser.d.ts.map +0 -1
- package/dist/shared/quota/errorParsers/claudeCodeErrorParser.js +0 -33
- package/dist/shared/quota/errorParsers/claudeCodeErrorParser.js.map +0 -1
- package/dist/shared/quota/errorParsers/genericErrorParser.d.ts +0 -10
- package/dist/shared/quota/errorParsers/genericErrorParser.d.ts.map +0 -1
- package/dist/shared/quota/errorParsers/genericErrorParser.js +0 -8
- package/dist/shared/quota/errorParsers/genericErrorParser.js.map +0 -1
- package/dist/shared/quota/errorParsers/index.d.ts +0 -6
- package/dist/shared/quota/errorParsers/index.d.ts.map +0 -1
- package/dist/shared/quota/errorParsers/index.js +0 -16
- package/dist/shared/quota/errorParsers/index.js.map +0 -1
- package/dist/shared/quota/errorParsing.d.ts +0 -97
- package/dist/shared/quota/errorParsing.d.ts.map +0 -1
- package/dist/shared/quota/errorParsing.js +0 -333
- package/dist/shared/quota/errorParsing.js.map +0 -1
- package/dist/shared/quota/fileLock.d.ts.map +0 -1
- package/dist/shared/quota/fileLock.js.map +0 -1
- package/dist/shared/quota/hostLimits.d.ts +0 -31
- package/dist/shared/quota/hostLimits.d.ts.map +0 -1
- package/dist/shared/quota/hostLimits.js +0 -74
- package/dist/shared/quota/hostLimits.js.map +0 -1
- package/dist/shared/quota/hostPool.d.ts +0 -115
- package/dist/shared/quota/hostPool.d.ts.map +0 -1
- package/dist/shared/quota/hostPool.js +0 -104
- package/dist/shared/quota/hostPool.js.map +0 -1
- package/dist/shared/quota/hostSessionQuotaSource.d.ts +0 -150
- package/dist/shared/quota/hostSessionQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/hostSessionQuotaSource.js +0 -250
- package/dist/shared/quota/hostSessionQuotaSource.js.map +0 -1
- package/dist/shared/quota/httpQuotaSource.d.ts +0 -122
- package/dist/shared/quota/httpQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/httpQuotaSource.js +0 -155
- package/dist/shared/quota/httpQuotaSource.js.map +0 -1
- package/dist/shared/quota/learnedQuotaSource.d.ts +0 -20
- package/dist/shared/quota/learnedQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/learnedQuotaSource.js +0 -46
- package/dist/shared/quota/learnedQuotaSource.js.map +0 -1
- package/dist/shared/quota/limits.d.ts +0 -55
- package/dist/shared/quota/limits.d.ts.map +0 -1
- package/dist/shared/quota/limits.js +0 -164
- package/dist/shared/quota/limits.js.map +0 -1
- package/dist/shared/quota/modelStatics.d.ts +0 -32
- package/dist/shared/quota/modelStatics.d.ts.map +0 -1
- package/dist/shared/quota/modelStatics.js +0 -117
- package/dist/shared/quota/modelStatics.js.map +0 -1
- package/dist/shared/quota/openCodeQuotaSource.d.ts +0 -18
- package/dist/shared/quota/openCodeQuotaSource.d.ts.map +0 -1
- package/dist/shared/quota/openCodeQuotaSource.js +0 -84
- package/dist/shared/quota/openCodeQuotaSource.js.map +0 -1
- package/dist/shared/quota/packetCost.d.ts +0 -27
- package/dist/shared/quota/packetCost.d.ts.map +0 -1
- package/dist/shared/quota/packetCost.js +0 -45
- package/dist/shared/quota/packetCost.js.map +0 -1
- package/dist/shared/quota/quotaCoverageNudge.d.ts +0 -26
- package/dist/shared/quota/quotaCoverageNudge.d.ts.map +0 -1
- package/dist/shared/quota/quotaCoverageNudge.js +0 -82
- package/dist/shared/quota/quotaCoverageNudge.js.map +0 -1
- package/dist/shared/quota/quotaSource.d.ts +0 -224
- package/dist/shared/quota/quotaSource.d.ts.map +0 -1
- package/dist/shared/quota/quotaSource.js +0 -125
- package/dist/shared/quota/quotaSource.js.map +0 -1
- package/dist/shared/quota/recordStore.d.ts +0 -25
- package/dist/shared/quota/recordStore.d.ts.map +0 -1
- package/dist/shared/quota/recordStore.js +0 -65
- package/dist/shared/quota/recordStore.js.map +0 -1
- package/dist/shared/quota/reservationLedger.d.ts +0 -183
- package/dist/shared/quota/reservationLedger.d.ts.map +0 -1
- package/dist/shared/quota/reservationLedger.js +0 -319
- package/dist/shared/quota/reservationLedger.js.map +0 -1
- package/dist/shared/quota/scheduler.d.ts +0 -262
- package/dist/shared/quota/scheduler.d.ts.map +0 -1
- package/dist/shared/quota/scheduler.js +0 -628
- package/dist/shared/quota/scheduler.js.map +0 -1
- package/dist/shared/quota/slidingWindow.d.ts +0 -5
- package/dist/shared/quota/slidingWindow.d.ts.map +0 -1
- package/dist/shared/quota/slidingWindow.js +0 -29
- package/dist/shared/quota/slidingWindow.js.map +0 -1
- package/dist/shared/quota/state.d.ts +0 -204
- package/dist/shared/quota/state.d.ts.map +0 -1
- package/dist/shared/quota/state.js +0 -480
- package/dist/shared/quota/state.js.map +0 -1
- package/dist/shared/quota/tokenBudgetView.d.ts +0 -17
- package/dist/shared/quota/tokenBudgetView.d.ts.map +0 -1
- package/dist/shared/quota/tokenBudgetView.js +0 -77
- package/dist/shared/quota/tokenBudgetView.js.map +0 -1
- package/dist/shared/quota/types.d.ts +0 -235
- package/dist/shared/quota/types.d.ts.map +0 -1
- package/dist/shared/quota/types.js +0 -58
- package/dist/shared/quota/types.js.map +0 -1
- package/dist/shared/quota/windowConstraints.d.ts +0 -56
- package/dist/shared/quota/windowConstraints.d.ts.map +0 -1
- package/dist/shared/quota/windowConstraints.js +0 -71
- package/dist/shared/quota/windowConstraints.js.map +0 -1
- package/dist/shared/repair/brokeredDispatch.d.ts +0 -151
- package/dist/shared/repair/brokeredDispatch.d.ts.map +0 -1
- package/dist/shared/repair/brokeredDispatch.js +0 -182
- package/dist/shared/repair/brokeredDispatch.js.map +0 -1
- package/dist/shared/repair/emitValidateRepair.d.ts +0 -124
- package/dist/shared/repair/emitValidateRepair.d.ts.map +0 -1
- package/dist/shared/repair/emitValidateRepair.js +0 -180
- package/dist/shared/repair/emitValidateRepair.js.map +0 -1
- package/dist/shared/repair/index.d.ts +0 -10
- package/dist/shared/repair/index.d.ts.map +0 -1
- package/dist/shared/repair/index.js +0 -3
- package/dist/shared/repair/index.js.map +0 -1
- package/dist/shared/rolling/pausedState.d.ts +0 -201
- package/dist/shared/rolling/pausedState.d.ts.map +0 -1
- package/dist/shared/rolling/pausedState.js +0 -197
- package/dist/shared/rolling/pausedState.js.map +0 -1
- package/dist/shared/types/attributionContract.d.ts +0 -198
- package/dist/shared/types/attributionContract.d.ts.map +0 -1
- package/dist/shared/types/attributionContract.js +0 -332
- package/dist/shared/types/attributionContract.js.map +0 -1
- package/dist/shared/types/auditorDescriptor.d.ts +0 -119
- package/dist/shared/types/auditorDescriptor.d.ts.map +0 -1
- package/dist/shared/types/auditorDescriptor.js +0 -29
- package/dist/shared/types/auditorDescriptor.js.map +0 -1
- package/dist/shared/types/rollingDispatch.d.ts +0 -222
- package/dist/shared/types/rollingDispatch.d.ts.map +0 -1
- package/dist/shared/types/rollingDispatch.js +0 -19
- package/dist/shared/types/rollingDispatch.js.map +0 -1
- package/dist/shared/types/sessionConfig.d.ts +0 -778
- package/dist/shared/types/sessionConfig.d.ts.map +0 -1
- package/dist/shared/types/sessionConfig.js +0 -393
- package/dist/shared/types/sessionConfig.js.map +0 -1
- package/dist/shared/validation/sessionConfig.d.ts +0 -59
- package/dist/shared/validation/sessionConfig.d.ts.map +0 -1
- package/dist/shared/validation/sessionConfig.js +0 -631
- package/dist/shared/validation/sessionConfig.js.map +0 -1
- /package/dist/shared/{quota → io}/fileLock.d.ts +0 -0
- /package/dist/shared/{quota → io}/fileLock.js +0 -0
- /package/dist/shared/{dispatch → io}/pathIdentity.d.ts +0 -0
- /package/dist/shared/{dispatch → io}/pathIdentity.js +0 -0
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OwnershipRegistry — tracks which DAG node owns which file paths (write-scope
|
|
3
|
-
* declared in its contract). Used by the rolling-dispatch loop to gate
|
|
4
|
-
* amendment claims: a worker that discovers a necessary edit outside its declared
|
|
5
|
-
* contract scope may unilaterally extend write-scope ONLY into unowned files.
|
|
6
|
-
*
|
|
7
|
-
* Atomicity: claim registration is a synchronous in-memory CAS within a
|
|
8
|
-
* single-threaded orchestrator (no TOCTOU). The registry is checkpointed to
|
|
9
|
-
* `dispatch/ownership-registry.json` after each mutation so it survives a restart.
|
|
10
|
-
* Stale in-flight claims (node ID not in the current implementation DAG) are
|
|
11
|
-
* purged on load.
|
|
12
|
-
*/
|
|
13
|
-
import { writeFileSync, readFileSync, mkdirSync } from "node:fs";
|
|
14
|
-
import { dirname } from "node:path";
|
|
15
|
-
// Path canonicalization for ownership identity (INV-SOO-09) is single-sourced in
|
|
16
|
-
// `audit-tools/shared` so both orchestrators' scheduling key file identity the same
|
|
17
|
-
// way. Re-exported here for this module's existing consumers.
|
|
18
|
-
import { canonicalizeFilePath } from "audit-tools/shared";
|
|
19
|
-
export { canonicalizeFilePath };
|
|
20
|
-
/**
|
|
21
|
-
* Single source of truth for INV-SOO-10: whether `disposition` RELEASES the
|
|
22
|
-
* node's in-flight file claim. A redispatch (CE-007) and a triage-retry hand-off
|
|
23
|
-
* (CE-006) are explicitly claim-RETAINING — the key stays held by the node across
|
|
24
|
-
* the re-emit / recomputation window so the re-run can never run boundary-ungated
|
|
25
|
-
* alongside a foreign same-file writer. The enumeration is exhaustive (a `never`
|
|
26
|
-
* fallthrough keeps it in lockstep with `NodeClaimDisposition`).
|
|
27
|
-
*/
|
|
28
|
-
export function isReleasingDisposition(disposition) {
|
|
29
|
-
switch (disposition) {
|
|
30
|
-
case "merged":
|
|
31
|
-
case "blocked_final":
|
|
32
|
-
case "abandoned":
|
|
33
|
-
case "failed_no_retry":
|
|
34
|
-
case "no_op_satisfied":
|
|
35
|
-
return true;
|
|
36
|
-
case "blocked_pending_triage":
|
|
37
|
-
case "triage_retry_handoff":
|
|
38
|
-
case "redispatch":
|
|
39
|
-
return false;
|
|
40
|
-
default: {
|
|
41
|
-
const _exhaustive = disposition;
|
|
42
|
-
return _exhaustive;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* OwnershipRegistry tracks write-scope ownership per DAG node.
|
|
48
|
-
*
|
|
49
|
-
* Initialization:
|
|
50
|
-
* const registry = new OwnershipRegistry(checkpointPath);
|
|
51
|
-
* registry.initialize(dagNodes); // call once before dispatching
|
|
52
|
-
*
|
|
53
|
-
* Per-node lifecycle:
|
|
54
|
-
* const claim = registry.claimAmendment(nodeId, path);
|
|
55
|
-
* // on merge or triage:
|
|
56
|
-
* registry.releaseAmendments(nodeId);
|
|
57
|
-
*/
|
|
58
|
-
export class OwnershipRegistry {
|
|
59
|
-
/** nodeId → paths from the node's original contract scope */
|
|
60
|
-
contractScopes = new Map();
|
|
61
|
-
/**
|
|
62
|
-
* path → nodeId: which live parallel sibling (dispatched, not yet merged) has
|
|
63
|
-
* claimed this path via an amendment.
|
|
64
|
-
*/
|
|
65
|
-
amendmentClaims = new Map();
|
|
66
|
-
/**
|
|
67
|
-
* canonical path → nodeId: scheduling-time in-flight WRITER claim. Lifted from
|
|
68
|
-
* the merge-time amendment signal into scheduling-time admission (INV-SOO):
|
|
69
|
-
* the rolling scheduler holds at most one in-flight writer per canonical path,
|
|
70
|
-
* so same-file nodes serialize while different-file nodes parallelize. Keyed by
|
|
71
|
-
* `canonicalizeFilePath` so all spellings of one file collide (INV-SOO-09).
|
|
72
|
-
*/
|
|
73
|
-
inFlightClaims = new Map();
|
|
74
|
-
/** Optional path for checkpoint persistence. When provided, every mutation
|
|
75
|
-
* atomically writes the registry state to this path. */
|
|
76
|
-
checkpointPath;
|
|
77
|
-
/** Repo root for canonicalizing relative scope/claim paths to physical identity. */
|
|
78
|
-
root;
|
|
79
|
-
constructor(checkpointPath, root) {
|
|
80
|
-
this.checkpointPath = checkpointPath;
|
|
81
|
-
this.root = root;
|
|
82
|
-
}
|
|
83
|
-
/** Canonicalize a path to physical-file identity under this registry's root. */
|
|
84
|
-
canon(path) {
|
|
85
|
-
return canonicalizeFilePath(path, { root: this.root });
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Initialize the registry from the implementation DAG nodes. Each node's
|
|
89
|
-
* `affected_files` (or `write_paths`) constitutes its contract scope.
|
|
90
|
-
* Call once before any node is dispatched.
|
|
91
|
-
*/
|
|
92
|
-
initialize(nodes) {
|
|
93
|
-
this.contractScopes.clear();
|
|
94
|
-
this.amendmentClaims.clear();
|
|
95
|
-
for (const node of nodes) {
|
|
96
|
-
const paths = node.affected_files ?? node.write_paths ?? [];
|
|
97
|
-
this.contractScopes.set(node.node_id, new Set(paths));
|
|
98
|
-
}
|
|
99
|
-
this._persist();
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Attempt to claim `path` for `nodeId` as an amendment (write outside the
|
|
103
|
-
* node's original contract scope).
|
|
104
|
-
*
|
|
105
|
-
* Returns:
|
|
106
|
-
* - `'granted'` — path was unowned and uncontended; claim is recorded.
|
|
107
|
-
* - `'owned'` — path is in another node's contract scope; routes to seam protocol.
|
|
108
|
-
* - `'contended'` — path has been claimed by a live parallel sibling; routes to seam protocol.
|
|
109
|
-
*/
|
|
110
|
-
claimAmendment(nodeId, path) {
|
|
111
|
-
const key = this.canon(path);
|
|
112
|
-
// Check if path is in any OTHER node's contract scope (canonical identity).
|
|
113
|
-
for (const [scopeNodeId, scopePaths] of this.contractScopes) {
|
|
114
|
-
if (scopeNodeId !== nodeId && this._scopeHasCanonical(scopePaths, key)) {
|
|
115
|
-
return "owned";
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
// Check if path has already been amendment-claimed by a live parallel sibling
|
|
119
|
-
// (canonical identity, so a differently-spelled same file collides).
|
|
120
|
-
const existingClaimant = this._amendmentClaimantByCanonical(key);
|
|
121
|
-
if (existingClaimant !== undefined && existingClaimant !== nodeId) {
|
|
122
|
-
return "contended";
|
|
123
|
-
}
|
|
124
|
-
// Grant-time disjointness (INV-SOO-06 / CE-001): refuse a scope-widening grant
|
|
125
|
-
// onto a file another in-flight node is actively writing, so a post-admission
|
|
126
|
-
// grant can never make the in-flight owned-file union non-disjoint.
|
|
127
|
-
const inFlightOwner = this.inFlightClaims.get(key);
|
|
128
|
-
if (inFlightOwner !== undefined && inFlightOwner !== nodeId) {
|
|
129
|
-
return "contended";
|
|
130
|
-
}
|
|
131
|
-
// Grant: record the claim under the ORIGINAL spelling (merge attribution reads
|
|
132
|
-
// the raw path); canonical identity is applied on comparison, not on storage.
|
|
133
|
-
this.amendmentClaims.set(path, nodeId);
|
|
134
|
-
this._persist();
|
|
135
|
-
return "granted";
|
|
136
|
-
}
|
|
137
|
-
/** The node holding an amendment claim whose canonical key matches `canonicalKey`. */
|
|
138
|
-
_amendmentClaimantByCanonical(canonicalKey) {
|
|
139
|
-
for (const [p, claimant] of this.amendmentClaims) {
|
|
140
|
-
if (this.canon(p) === canonicalKey)
|
|
141
|
-
return claimant;
|
|
142
|
-
}
|
|
143
|
-
return undefined;
|
|
144
|
-
}
|
|
145
|
-
/** Whether a contract-scope set contains a path with the given canonical key. */
|
|
146
|
-
_scopeHasCanonical(scopePaths, canonicalKey) {
|
|
147
|
-
for (const p of scopePaths) {
|
|
148
|
-
if (this.canon(p) === canonicalKey)
|
|
149
|
-
return true;
|
|
150
|
-
}
|
|
151
|
-
return false;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Release all amendment claims for `nodeId`. Call when a node finishes
|
|
155
|
-
* (merge or triage). Makes the previously claimed files available again.
|
|
156
|
-
*/
|
|
157
|
-
releaseAmendments(nodeId) {
|
|
158
|
-
let changed = false;
|
|
159
|
-
for (const [path, claimant] of this.amendmentClaims) {
|
|
160
|
-
if (claimant === nodeId) {
|
|
161
|
-
this.amendmentClaims.delete(path);
|
|
162
|
-
changed = true;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
if (changed) {
|
|
166
|
-
this._persist();
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Returns the union of the node's original contract `affected_files` and its
|
|
171
|
-
* granted amendment claims — used to re-derive the write-scope for verification
|
|
172
|
-
* and blast-radius attribution.
|
|
173
|
-
*/
|
|
174
|
-
getScope(nodeId) {
|
|
175
|
-
const contractPaths = this.contractScopes.get(nodeId) ?? new Set();
|
|
176
|
-
const amendmentPaths = [];
|
|
177
|
-
for (const [path, claimant] of this.amendmentClaims) {
|
|
178
|
-
if (claimant === nodeId) {
|
|
179
|
-
amendmentPaths.push(path);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
return [...contractPaths, ...amendmentPaths];
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* Return the node ID that owns this path via contract scope, or undefined if
|
|
186
|
-
* the path is unowned.
|
|
187
|
-
*/
|
|
188
|
-
contractOwner(path) {
|
|
189
|
-
const key = this.canon(path);
|
|
190
|
-
for (const [nodeId, scopePaths] of this.contractScopes) {
|
|
191
|
-
if (this._scopeHasCanonical(scopePaths, key))
|
|
192
|
-
return nodeId;
|
|
193
|
-
}
|
|
194
|
-
return undefined;
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Return the node ID that has an in-flight amendment claim for this path, or
|
|
198
|
-
* undefined if uncontended. Canonical identity (INV-SOO-09).
|
|
199
|
-
*/
|
|
200
|
-
amendmentClaimant(path) {
|
|
201
|
-
// Exact-spelling hit first (cheap), else canonical match.
|
|
202
|
-
return (this.amendmentClaims.get(path) ??
|
|
203
|
-
this._amendmentClaimantByCanonical(this.canon(path)));
|
|
204
|
-
}
|
|
205
|
-
// ── Scheduling-time file-ownership queries (INV-SOO) ───────────────────────
|
|
206
|
-
/**
|
|
207
|
-
* Canonical write-scope of a node for scheduling: its contract scope ∪ live
|
|
208
|
-
* amendment claims, each canonicalized to physical-file identity (INV-SOO-09).
|
|
209
|
-
*/
|
|
210
|
-
canonicalScope(nodeId) {
|
|
211
|
-
const out = new Set();
|
|
212
|
-
for (const p of this.contractScopes.get(nodeId) ?? [])
|
|
213
|
-
out.add(this.canon(p));
|
|
214
|
-
for (const [key, claimant] of this.amendmentClaims) {
|
|
215
|
-
if (claimant === nodeId)
|
|
216
|
-
out.add(key);
|
|
217
|
-
}
|
|
218
|
-
return out;
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* The union of canonical file paths owned by currently in-flight nodes (their
|
|
222
|
-
* scheduling claims). The scheduling-time complement of the merge-time owner
|
|
223
|
-
* signal — a path in this set has a live writer, so a same-file node must wait
|
|
224
|
-
* (INV-SOO-01).
|
|
225
|
-
*/
|
|
226
|
-
filesClaimedByInFlight() {
|
|
227
|
-
return new Set(this.inFlightClaims.keys());
|
|
228
|
-
}
|
|
229
|
-
/** The node holding the in-flight scheduling claim on `path`, or undefined. */
|
|
230
|
-
inFlightOwner(path) {
|
|
231
|
-
return this.inFlightClaims.get(this.canon(path));
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Whether `nodeId`'s declared write-scope is file-ownership-DISJOINT from the
|
|
235
|
-
* current in-flight set — i.e. it shares no canonical path with any OTHER
|
|
236
|
-
* in-flight node, so it can be admitted without two in-flight writers per file
|
|
237
|
-
* (INV-SOO-01).
|
|
238
|
-
*
|
|
239
|
-
* Conservative empty-scope gating (INV-SOO-01 / CE-008): a node whose declared
|
|
240
|
-
* scope canonicalizes to the EMPTY set (unresolved/undeclared) is treated as
|
|
241
|
-
* NON-disjoint — it is NOT admitted as vacuously-disjoint, because an
|
|
242
|
-
* under-declared writer could collide with anything. Such a node admits only
|
|
243
|
-
* when no other node is in flight (`requireSoloWhenEmpty`).
|
|
244
|
-
*/
|
|
245
|
-
isFileOwnershipDisjoint(nodeId, declaredScope) {
|
|
246
|
-
const scope = new Set();
|
|
247
|
-
for (const p of declaredScope)
|
|
248
|
-
scope.add(this.canon(p));
|
|
249
|
-
if (scope.size === 0) {
|
|
250
|
-
// Empty/unresolved scope: disjoint only if nothing else is in flight.
|
|
251
|
-
for (const owner of this.inFlightClaims.values()) {
|
|
252
|
-
if (owner !== nodeId)
|
|
253
|
-
return false;
|
|
254
|
-
}
|
|
255
|
-
return true;
|
|
256
|
-
}
|
|
257
|
-
for (const key of scope) {
|
|
258
|
-
const owner = this.inFlightClaims.get(key);
|
|
259
|
-
if (owner !== undefined && owner !== nodeId)
|
|
260
|
-
return false;
|
|
261
|
-
}
|
|
262
|
-
return true;
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* Record `nodeId`'s scheduling-time in-flight WRITER claim over `paths`
|
|
266
|
-
* (declared scope, canonicalized). Idempotent for a node re-claiming its own
|
|
267
|
-
* paths (a rate-limited re-queue). Call BEFORE dispatching the node.
|
|
268
|
-
*/
|
|
269
|
-
claimInFlight(nodeId, paths) {
|
|
270
|
-
let changed = false;
|
|
271
|
-
for (const p of paths) {
|
|
272
|
-
const key = this.canon(p);
|
|
273
|
-
const existing = this.inFlightClaims.get(key);
|
|
274
|
-
if (existing === nodeId)
|
|
275
|
-
continue;
|
|
276
|
-
// Caller guarantees disjointness via isFileOwnershipDisjoint; a foreign
|
|
277
|
-
// owner here is a precondition violation, surfaced rather than overwritten.
|
|
278
|
-
if (existing !== undefined && existing !== nodeId) {
|
|
279
|
-
throw new Error(`OwnershipRegistry.claimInFlight: ${key} already in-flight by ${existing}, ` +
|
|
280
|
-
`cannot claim for ${nodeId} (file-ownership-disjoint precondition violated).`);
|
|
281
|
-
}
|
|
282
|
-
this.inFlightClaims.set(key, nodeId);
|
|
283
|
-
changed = true;
|
|
284
|
-
}
|
|
285
|
-
if (changed)
|
|
286
|
-
this._persist();
|
|
287
|
-
}
|
|
288
|
-
/**
|
|
289
|
-
* Release `nodeId`'s scheduling-time in-flight claims (and any amendment claims
|
|
290
|
-
* it holds). Call on a RELEASING disposition (INV-SOO-10):
|
|
291
|
-
* blocked-final / abandoned / merged / failed-no-retry / no-op-satisfied. A
|
|
292
|
-
* blocked-PENDING-triage node is still live and must NOT call this — it retains.
|
|
293
|
-
*/
|
|
294
|
-
releaseInFlight(nodeId) {
|
|
295
|
-
let changed = false;
|
|
296
|
-
for (const [key, owner] of this.inFlightClaims) {
|
|
297
|
-
if (owner === nodeId) {
|
|
298
|
-
this.inFlightClaims.delete(key);
|
|
299
|
-
changed = true;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
if (changed)
|
|
303
|
-
this._persist();
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* Atomic triage-retry claim hand-off A→A' (INV-SOO-07): transfer all of the
|
|
307
|
-
* failed node's in-flight + amendment claims to its successor in one step, so
|
|
308
|
-
* there is no observable window in which both hold the file, nor one in which a
|
|
309
|
-
* foreign same-file node is admitted between release and re-claim. A no-op when
|
|
310
|
-
* `fromNodeId === toNodeId`.
|
|
311
|
-
*/
|
|
312
|
-
handoffInFlight(fromNodeId, toNodeId) {
|
|
313
|
-
if (fromNodeId === toNodeId)
|
|
314
|
-
return;
|
|
315
|
-
let changed = false;
|
|
316
|
-
for (const [key, owner] of this.inFlightClaims) {
|
|
317
|
-
if (owner === fromNodeId) {
|
|
318
|
-
this.inFlightClaims.set(key, toNodeId);
|
|
319
|
-
changed = true;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
for (const [key, owner] of this.amendmentClaims) {
|
|
323
|
-
if (owner === fromNodeId) {
|
|
324
|
-
this.amendmentClaims.set(key, toNodeId);
|
|
325
|
-
changed = true;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
if (changed)
|
|
329
|
-
this._persist();
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* Redispatch of an in-flight node (CE-007 / INV-SOO-10): an M4
|
|
333
|
-
* RepairOutcome.redispatch re-emits the SAME node without releasing its claim.
|
|
334
|
-
* This is a claim-RETAINING disposition — `nodeId` keeps every in-flight +
|
|
335
|
-
* amendment claim it holds across the re-emit, so the re-run cannot be admitted
|
|
336
|
-
* boundary-ungated alongside a foreign same-file writer. A no-op on the registry
|
|
337
|
-
* by construction (the claim is simply not released); this named affordance
|
|
338
|
-
* exists so callers route a redispatch through it (and `isReleasingDisposition`)
|
|
339
|
-
* rather than reasoning about claim retention by hand. Verifies the node still
|
|
340
|
-
* holds a live claim so a redispatch of an already-released node surfaces as a
|
|
341
|
-
* precondition violation instead of silently running ungated.
|
|
342
|
-
*/
|
|
343
|
-
redispatchInFlight(nodeId) {
|
|
344
|
-
for (const owner of this.inFlightClaims.values()) {
|
|
345
|
-
if (owner === nodeId)
|
|
346
|
-
return; // still holds at least one claim — retained.
|
|
347
|
-
}
|
|
348
|
-
for (const owner of this.amendmentClaims.values()) {
|
|
349
|
-
if (owner === nodeId)
|
|
350
|
-
return;
|
|
351
|
-
}
|
|
352
|
-
throw new Error(`OwnershipRegistry.redispatchInFlight: ${nodeId} holds no live claim; ` +
|
|
353
|
-
`a redispatch must retain an existing claim (claim-retaining disposition, CE-007). ` +
|
|
354
|
-
`Re-claim via claimInFlight before redispatching.`);
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Apply a node's terminal-for-this-pass disposition to its claim lifecycle in
|
|
358
|
-
* one call (INV-SOO-10). A releasing disposition frees the claim; a
|
|
359
|
-
* claim-retaining one leaves it held. Single entry-point so the release-vs-retain
|
|
360
|
-
* decision is never re-derived by callers (auditor-agnostic robustness). For a
|
|
361
|
-
* `triage_retry_handoff` pass the successor id via `toNodeId` so the claim is
|
|
362
|
-
* atomically transferred (CE-006) rather than released-then-reclaimed.
|
|
363
|
-
*/
|
|
364
|
-
applyDisposition(nodeId, disposition, toNodeId) {
|
|
365
|
-
if (disposition === "triage_retry_handoff") {
|
|
366
|
-
this.handoffInFlight(nodeId, toNodeId ?? nodeId);
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
if (isReleasingDisposition(disposition)) {
|
|
370
|
-
this.releaseInFlight(nodeId);
|
|
371
|
-
this.releaseAmendments(nodeId);
|
|
372
|
-
}
|
|
373
|
-
// blocked_pending_triage / redispatch: claim-retaining — leave it held.
|
|
374
|
-
}
|
|
375
|
-
/** Serialize to a plain JSON-safe object. */
|
|
376
|
-
serialize() {
|
|
377
|
-
const contractScopes = {};
|
|
378
|
-
for (const [nodeId, paths] of this.contractScopes) {
|
|
379
|
-
contractScopes[nodeId] = [...paths];
|
|
380
|
-
}
|
|
381
|
-
const amendmentClaims = {};
|
|
382
|
-
// Group by nodeId for storage: Record<nodeId, path[]>
|
|
383
|
-
const byNode = new Map();
|
|
384
|
-
for (const [path, nodeId] of this.amendmentClaims) {
|
|
385
|
-
if (!byNode.has(nodeId))
|
|
386
|
-
byNode.set(nodeId, []);
|
|
387
|
-
byNode.get(nodeId).push(path);
|
|
388
|
-
}
|
|
389
|
-
for (const [nodeId, paths] of byNode) {
|
|
390
|
-
amendmentClaims[nodeId] = paths;
|
|
391
|
-
}
|
|
392
|
-
const inFlightClaims = {};
|
|
393
|
-
for (const [key, nodeId] of this.inFlightClaims) {
|
|
394
|
-
inFlightClaims[key] = nodeId;
|
|
395
|
-
}
|
|
396
|
-
return {
|
|
397
|
-
contractScopes,
|
|
398
|
-
amendmentClaims,
|
|
399
|
-
inFlightClaims,
|
|
400
|
-
...(this.root !== undefined ? { root: this.root } : {}),
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
/**
|
|
404
|
-
* Restore an OwnershipRegistry from a serialized JSON object.
|
|
405
|
-
* `knownNodeIds` is the set of node IDs in the current implementation DAG;
|
|
406
|
-
* any in-flight (scheduling or amendment) claim for a node NOT in this set
|
|
407
|
-
* is purged (stale). The canonicalization root round-trips from the payload
|
|
408
|
-
* (INV-SOO-09) so restored comparisons key file identity identically.
|
|
409
|
-
*/
|
|
410
|
-
static fromJson(json, knownNodeIds, checkpointPath) {
|
|
411
|
-
const registry = new OwnershipRegistry(checkpointPath, json.root);
|
|
412
|
-
for (const [nodeId, paths] of Object.entries(json.contractScopes)) {
|
|
413
|
-
registry.contractScopes.set(nodeId, new Set(paths));
|
|
414
|
-
}
|
|
415
|
-
// Restore amendment claims; purge stale ones whose node is no longer in DAG.
|
|
416
|
-
for (const [nodeId, paths] of Object.entries(json.amendmentClaims)) {
|
|
417
|
-
if (!knownNodeIds.has(nodeId)) {
|
|
418
|
-
// Stale node — drop all its amendment claims.
|
|
419
|
-
continue;
|
|
420
|
-
}
|
|
421
|
-
for (const path of paths) {
|
|
422
|
-
registry.amendmentClaims.set(path, nodeId);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
// Restore the scheduling-time in-flight writer claims (INV-SOO-01 restart
|
|
426
|
-
// survival); purge claims held by nodes no longer in the DAG.
|
|
427
|
-
for (const [key, nodeId] of Object.entries(json.inFlightClaims ?? {})) {
|
|
428
|
-
if (!knownNodeIds.has(nodeId))
|
|
429
|
-
continue;
|
|
430
|
-
registry.inFlightClaims.set(key, nodeId);
|
|
431
|
-
}
|
|
432
|
-
return registry;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* PERSIST-LOCKING-DISJUNCTION-RESOLUTION (CP-NODE-2 invariants[7]) — branch (b).
|
|
436
|
-
*
|
|
437
|
-
* The disjunction required EITHER (a) routing this checkpoint write through
|
|
438
|
-
* the shared async locked-JSON persistence path (src/shared/io/lockedJsonStore.ts,
|
|
439
|
-
* built on the async `withFileLock`), OR (b) a recorded finding that
|
|
440
|
-
* single-writer discipline genuinely holds for `ownership-registry.json`.
|
|
441
|
-
*
|
|
442
|
-
* Branch (a) is not implementable in this module's granted write scope: the
|
|
443
|
-
* shared locked-JSON store has no synchronous entry point, while `_persist`
|
|
444
|
-
* is called synchronously from six in-class mutators (`initialize`,
|
|
445
|
-
* `claimAmendment`, `releaseAmendments`, `claimInFlight`, `releaseInFlight`,
|
|
446
|
-
* `handoffInFlight`) whose own callers — `src/remediate/dispatch/amendmentClaim.ts`,
|
|
447
|
-
* `src/remediate/steps/dispatch/marshal.ts`, `src/remediate/steps/dispatch/writeScope.ts`
|
|
448
|
-
* — consume the synchronous return/throw semantics directly and sit outside
|
|
449
|
-
* this contract's file scope. Converting `_persist` to async would also turn
|
|
450
|
-
* `claimInFlight`'s synchronous disjointness-violation throw into a rejected
|
|
451
|
-
* promise, changing failure semantics those callers depend on. Minting a
|
|
452
|
-
* second, synchronous locking primitive alongside the shared async one is
|
|
453
|
-
* forbidden regardless.
|
|
454
|
-
*
|
|
455
|
-
* Branch (b), taken here: single-writer discipline holds — trivially, because
|
|
456
|
-
* checkpoint persistence has no live writer in production today. Evidence
|
|
457
|
-
* (re-verify with the same greps before ever relying on this holding):
|
|
458
|
-
* - `grep -rn "new OwnershipRegistry(" src/` finds exactly two production
|
|
459
|
-
* instantiation sites — `src/remediate/steps/dispatch/marshal.ts` ("a
|
|
460
|
-
* lightweight ownership registry ... interim path, until rollingDispatch
|
|
461
|
-
* replaces this") and `src/remediate/steps/dispatch/writeScope.ts` (an
|
|
462
|
-
* "ephemeral OwnershipRegistry") — both zero-argument, so `checkpointPath`
|
|
463
|
-
* is `undefined` and the early-return below makes this method a no-op on
|
|
464
|
-
* every current production call.
|
|
465
|
-
* - `OwnershipRegistry.loadFromCheckpoint` (the only reader of a persisted
|
|
466
|
-
* checkpoint) has zero production callers.
|
|
467
|
-
* So there is no live writer — concurrent or solo — to the checkpoint file
|
|
468
|
-
* today. Should a future caller (e.g. the rolling-dispatch engine the
|
|
469
|
-
* marshal.ts comment anticipates) start passing a real `checkpointPath`, it
|
|
470
|
-
* would drive from the single in-process synchronous scheduling loop this
|
|
471
|
-
* file's own header already documents ("Atomicity: ... a single-threaded
|
|
472
|
-
* orchestrator") — so single-writer discipline would continue to hold
|
|
473
|
-
* structurally, not merely by absence of wiring. Re-run the greps above
|
|
474
|
-
* before wiring a second `checkpointPath`-bearing caller.
|
|
475
|
-
*
|
|
476
|
-
* UNCONDITIONALLY on either branch: a persist failure must reach the caller
|
|
477
|
-
* instead of being swallowed. This method previously caught the write error
|
|
478
|
-
* and only logged it to stderr, leaving the in-memory registry silently
|
|
479
|
-
* ahead of disk so a restart lost every claim since the last successful
|
|
480
|
-
* persist. It no longer catches: an `mkdirSync`/`writeFileSync` failure now
|
|
481
|
-
* propagates straight out of `_persist` and its six mutator callers.
|
|
482
|
-
*/
|
|
483
|
-
_persist() {
|
|
484
|
-
if (!this.checkpointPath)
|
|
485
|
-
return;
|
|
486
|
-
const json = JSON.stringify(this.serialize(), null, 2) + "\n";
|
|
487
|
-
mkdirSync(dirname(this.checkpointPath), { recursive: true });
|
|
488
|
-
writeFileSync(this.checkpointPath, json, "utf8");
|
|
489
|
-
}
|
|
490
|
-
/** Load from a checkpoint file; returns undefined if the file doesn't exist or can't be parsed. */
|
|
491
|
-
static loadFromCheckpoint(checkpointPath, knownNodeIds) {
|
|
492
|
-
let raw;
|
|
493
|
-
try {
|
|
494
|
-
raw = readFileSync(checkpointPath, "utf8");
|
|
495
|
-
}
|
|
496
|
-
catch {
|
|
497
|
-
return undefined;
|
|
498
|
-
}
|
|
499
|
-
let json;
|
|
500
|
-
try {
|
|
501
|
-
json = JSON.parse(raw);
|
|
502
|
-
}
|
|
503
|
-
catch {
|
|
504
|
-
return undefined;
|
|
505
|
-
}
|
|
506
|
-
if (typeof json !== "object" ||
|
|
507
|
-
json === null ||
|
|
508
|
-
!("contractScopes" in json) ||
|
|
509
|
-
!("amendmentClaims" in json)) {
|
|
510
|
-
return undefined;
|
|
511
|
-
}
|
|
512
|
-
return OwnershipRegistry.fromJson(json, knownNodeIds, checkpointPath);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
//# sourceMappingURL=ownershipRegistry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ownershipRegistry.js","sourceRoot":"","sources":["../../../src/remediate/dispatch/ownershipRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,iFAAiF;AACjF,oFAAoF;AACpF,8DAA8D;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,O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IAAI,EAAE,CAAC,CAAC;QAC7D,aAAa,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;IAED,mGAAmG;IACnG,MAAM,CAAC,kBAAkB,CACvB,cAAsB,EACtB,YAAyB;QAEzB,IAAI,GAAW,CAAC;QAChB,IAAI,CAAC;YACH,GAAG,GAAG,YAAY,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;QAC7C,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,IAAa,CAAC;QAClB,IAAI,CAAC;YACH,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzB,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IACE,OAAO,IAAI,KAAK,QAAQ;YACxB,IAAI,KAAK,IAAI;YACb,CAAC,CAAC,gBAAgB,IAAI,IAAI,CAAC;YAC3B,CAAC,CAAC,iBAAiB,IAAI,IAAI,CAAC,EAC5B,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,OAAO,iBAAiB,CAAC,QAAQ,CAAC,IAA6B,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC;IACjG,CAAC;CACF"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { OrchestratorOptions } from "../types/options.js";
|
|
2
|
-
import type { WorkerTask } from "../types/workerSession.js";
|
|
3
|
-
import type { LaunchFreshSessionInput } from "audit-tools/shared";
|
|
4
|
-
export interface CreateRemediationWorkerTaskInput {
|
|
5
|
-
runId: string;
|
|
6
|
-
options: OrchestratorOptions;
|
|
7
|
-
obligationId: string | null;
|
|
8
|
-
preferredExecutor: string;
|
|
9
|
-
resultPath: string;
|
|
10
|
-
timeoutMs?: number;
|
|
11
|
-
maxRetries?: number;
|
|
12
|
-
workerCommand?: string[];
|
|
13
|
-
}
|
|
14
|
-
export declare function createRemediationWorkerTask({ runId, options, obligationId, preferredExecutor, resultPath, timeoutMs, maxRetries, workerCommand, }: CreateRemediationWorkerTaskInput): WorkerTask;
|
|
15
|
-
export declare function createLaunchInputForTask(options: OrchestratorOptions, task: WorkerTask, paths: {
|
|
16
|
-
promptPath: string;
|
|
17
|
-
taskPath: string;
|
|
18
|
-
stdoutPath: string;
|
|
19
|
-
stderrPath: string;
|
|
20
|
-
}): LaunchFreshSessionInput;
|
|
21
|
-
//# sourceMappingURL=workerTasks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workerTasks.d.ts","sourceRoot":"","sources":["../../../src/remediate/phases/workerTasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,mBAAmB,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,KAAK,EACL,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,SAAqC,EACrC,UAAU,EACV,aAAa,GACd,EAAE,gCAAgC,GAAG,UAAU,CAa/C;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,mBAAmB,EAC5B,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE;IACL,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GACA,uBAAuB,CAazB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { resolveWorkerTaskTimeoutMs } from "../types/workerSession.js";
|
|
2
|
-
import { DEFAULT_WORKER_TIMEOUT_MS } from "./constants.js";
|
|
3
|
-
export function createRemediationWorkerTask({ runId, options, obligationId, preferredExecutor, resultPath, timeoutMs = DEFAULT_WORKER_TIMEOUT_MS, maxRetries, workerCommand, }) {
|
|
4
|
-
return {
|
|
5
|
-
contract_version: "remediation-worker/v1alpha1",
|
|
6
|
-
run_id: runId,
|
|
7
|
-
repo_root: options.root,
|
|
8
|
-
artifacts_dir: options.artifactsDir,
|
|
9
|
-
obligation_id: obligationId,
|
|
10
|
-
preferred_executor: preferredExecutor,
|
|
11
|
-
result_path: resultPath,
|
|
12
|
-
timeout_ms: timeoutMs,
|
|
13
|
-
...(maxRetries === undefined ? {} : { max_retries: maxRetries }),
|
|
14
|
-
...(workerCommand === undefined ? {} : { worker_command: workerCommand }),
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export function createLaunchInputForTask(options, task, paths) {
|
|
18
|
-
return {
|
|
19
|
-
repoRoot: options.root,
|
|
20
|
-
runId: task.run_id,
|
|
21
|
-
obligationId: task.obligation_id,
|
|
22
|
-
promptPath: paths.promptPath,
|
|
23
|
-
taskPath: paths.taskPath,
|
|
24
|
-
resultPath: task.result_path,
|
|
25
|
-
stdoutPath: paths.stdoutPath,
|
|
26
|
-
stderrPath: paths.stderrPath,
|
|
27
|
-
uiMode: "headless",
|
|
28
|
-
timeoutMs: resolveWorkerTaskTimeoutMs(task, DEFAULT_WORKER_TIMEOUT_MS),
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=workerTasks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workerTasks.js","sourceRoot":"","sources":["../../../src/rem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AC;KACvE,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/remediate/providers/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/remediate/providers/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { OrchestratorDescriptor } from "audit-tools/shared";
|
|
2
|
-
/**
|
|
3
|
-
* Auto-resolution, the provider classes, AND the per-orchestrator binding
|
|
4
|
-
* machinery are single-sourced in `audit-tools/shared`; this module declares
|
|
5
|
-
* remediate-code's descriptor — the ONE home for everything that legitimately
|
|
6
|
-
* differs from audit-code — and draws its bound factories from it. The
|
|
7
|
-
* autonomous remediator skips permission prompts by default (it applies changes
|
|
8
|
-
* unattended and cannot pause mid-run); an explicit
|
|
9
|
-
* `dangerously_skip_permissions: false` in the config still opts out.
|
|
10
|
-
*/
|
|
11
|
-
export declare const REMEDIATE_CODE_DESCRIPTOR: OrchestratorDescriptor;
|
|
12
|
-
export declare const createClaudeCodeProvider: (config?: import("audit-tools/shared").ClaudeCodeConfig, launchCommand?: typeof import("audit-tools/shared").spawnLoggedCommand) => import("audit-tools/shared").ClaudeCodeProvider;
|
|
13
|
-
export declare const createOpenCodeProvider: (config?: Parameters<typeof import("audit-tools/shared").createOpenCodeProvider>[0], launchCommand?: typeof import("audit-tools/shared").spawnLoggedCommand) => import("audit-tools/shared").OpenCodeProvider;
|
|
14
|
-
export declare const resolveFreshSessionProviderName: (name: string | undefined, sessionConfig?: import("audit-tools/shared").SessionConfig, options?: {
|
|
15
|
-
env?: NodeJS.ProcessEnv;
|
|
16
|
-
commandExists?: (command: string) => boolean;
|
|
17
|
-
}) => import("audit-tools/shared").ResolvedProviderName;
|
|
18
|
-
export declare const createFreshSessionProvider: (name: string | undefined, sessionConfig?: import("audit-tools/shared").SessionConfig) => import("audit-tools/shared").FreshSessionProvider;
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/remediate/providers/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,EAAE,sBAMvC,CAAC;AAMF,eAAO,MAAM,wBAAwB,qLAA0C,CAAC;AAChF,eAAO,MAAM,sBAAsB,+MAAwC,CAAC;AAC5E,eAAO,MAAM,+BAA+B;OAIohG,CAAC;iBAAwC,CAAC;uDAH1jG,CAAC;AACjD,eAAO,MAAM,0BAA0B,6IACI,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { buildOrchestratorProviderModule } from "audit-tools/shared";
|
|
2
|
-
/**
|
|
3
|
-
* Auto-resolution, the provider classes, AND the per-orchestrator binding
|
|
4
|
-
* machinery are single-sourced in `audit-tools/shared`; this module declares
|
|
5
|
-
* remediate-code's descriptor — the ONE home for everything that legitimately
|
|
6
|
-
* differs from audit-code — and draws its bound factories from it. The
|
|
7
|
-
* autonomous remediator skips permission prompts by default (it applies changes
|
|
8
|
-
* unattended and cannot pause mid-run); an explicit
|
|
9
|
-
* `dangerously_skip_permissions: false` in the config still opts out.
|
|
10
|
-
*/
|
|
11
|
-
export const REMEDIATE_CODE_DESCRIPTOR = {
|
|
12
|
-
orchestratorName: "remediate-code",
|
|
13
|
-
sessionConfigPath: ".audit-tools/remediation/session-config.json",
|
|
14
|
-
slashCommand: "/remediate-code",
|
|
15
|
-
skipPermissionsDefault: true,
|
|
16
|
-
envPrefix: "REMEDIATE_CODE",
|
|
17
|
-
};
|
|
18
|
-
const providerModule = buildOrchestratorProviderModule(REMEDIATE_CODE_DESCRIPTOR);
|
|
19
|
-
export const createClaudeCodeProvider = providerModule.createClaudeCodeProvider;
|
|
20
|
-
export const createOpenCodeProvider = providerModule.createOpenCodeProvider;
|
|
21
|
-
export const resolveFreshSessionProviderName = providerModule.resolveFreshSessionProviderName;
|
|
22
|
-
export const createFreshSessionProvider = providerModule.createFreshSessionProvider;
|
|
23
|
-
//# sourceMappingURL=index.js.map
|