@shivaedev/work-fleet 0.2.1 → 0.4.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/CHANGELOG.md +55 -0
- package/README.md +61 -19
- package/dist/DispatchRequest.d.ts +13 -0
- package/dist/DispatchRequest.d.ts.map +1 -0
- package/dist/DispatchRequest.js +12 -0
- package/dist/DispatchRequest.js.map +1 -0
- package/dist/admit.d.ts +11 -0
- package/dist/admit.d.ts.map +1 -1
- package/dist/attention.d.ts +1 -0
- package/dist/attention.d.ts.map +1 -1
- package/dist/attention.js +4 -0
- package/dist/attention.js.map +1 -1
- package/dist/board/fleetField.d.ts +1 -0
- package/dist/board/fleetField.d.ts.map +1 -1
- package/dist/board/fleetField.js +4 -0
- package/dist/board/fleetField.js.map +1 -1
- package/dist/board/markdown.d.ts.map +1 -1
- package/dist/board/markdown.js +7 -2
- package/dist/board/markdown.js.map +1 -1
- package/dist/board/publish.d.ts +2 -0
- package/dist/board/publish.d.ts.map +1 -1
- package/dist/board/publishReport.d.ts +1 -0
- package/dist/board/publishReport.d.ts.map +1 -1
- package/dist/board/readPass.d.ts +1 -0
- package/dist/board/readPass.d.ts.map +1 -1
- package/dist/cli.js +13 -6
- package/dist/cli.js.map +1 -1
- package/dist/engine/abandonStalled.d.ts +1171 -1004
- package/dist/engine/abandonStalled.d.ts.map +1 -1
- package/dist/engine/admissionOrder.d.ts +1091 -0
- package/dist/engine/admissionOrder.d.ts.map +1 -0
- package/dist/engine/admissionOrder.js +15 -0
- package/dist/engine/admissionOrder.js.map +1 -0
- package/dist/engine/applyResolution.d.ts +20 -0
- package/dist/engine/applyResolution.d.ts.map +1 -1
- package/dist/engine/approveBrief.d.ts +31 -0
- package/dist/engine/approveBrief.d.ts.map +1 -1
- package/dist/engine/authorizeResolution.d.ts +1160 -1003
- package/dist/engine/authorizeResolution.d.ts.map +1 -1
- package/dist/engine/boardBrief.d.ts +32 -0
- package/dist/engine/boardBrief.d.ts.map +1 -1
- package/dist/engine/capacityRetry.d.ts +3488 -3007
- package/dist/engine/capacityRetry.d.ts.map +1 -1
- package/dist/engine/closeDecisions.d.ts +20 -0
- package/dist/engine/closeDecisions.d.ts.map +1 -1
- package/dist/engine/completeBoardWork.d.ts +20 -0
- package/dist/engine/completeBoardWork.d.ts.map +1 -1
- package/dist/engine/completeReport.d.ts +21 -0
- package/dist/engine/completeReport.d.ts.map +1 -1
- package/dist/engine/continueCommand.d.ts +10 -0
- package/dist/engine/continueCommand.d.ts.map +1 -1
- package/dist/engine/continueWorker.d.ts +20 -0
- package/dist/engine/continueWorker.d.ts.map +1 -1
- package/dist/engine/deliverPendingAnswers.d.ts +1085 -898
- package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.d.ts +14 -1
- package/dist/engine/dispatchCommand.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.js +25 -5
- package/dist/engine/dispatchCommand.js.map +1 -1
- package/dist/engine/ensureDecisionOwner.d.ts +20 -0
- package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
- package/dist/engine/ensurePublication.d.ts +20 -0
- package/dist/engine/ensurePublication.d.ts.map +1 -1
- package/dist/engine/failureContext.d.ts +1 -0
- package/dist/engine/failureContext.d.ts.map +1 -1
- package/dist/engine/failureContext.js.map +1 -1
- package/dist/engine/failureMessage.js +11 -1
- package/dist/engine/failureMessage.js.map +1 -1
- package/dist/engine/health.d.ts +10 -0
- package/dist/engine/health.d.ts.map +1 -1
- package/dist/engine/inspectRenewal.d.ts +21 -0
- package/dist/engine/inspectRenewal.d.ts.map +1 -1
- package/dist/engine/launchInput.d.ts +10 -0
- package/dist/engine/launchInput.d.ts.map +1 -1
- package/dist/engine/launchReceipt.d.ts +10 -0
- package/dist/engine/launchReceipt.d.ts.map +1 -1
- package/dist/engine/localOnlyCriteria.d.ts +1 -0
- package/dist/engine/localOnlyCriteria.d.ts.map +1 -1
- package/dist/engine/localOnlyCriteria.js +5 -1
- package/dist/engine/localOnlyCriteria.js.map +1 -1
- package/dist/engine/makeAdopt.d.ts +21 -0
- package/dist/engine/makeAdopt.d.ts.map +1 -1
- package/dist/engine/makeAdvance.d.ts +10 -0
- package/dist/engine/makeAdvance.d.ts.map +1 -1
- package/dist/engine/makeDeliver.d.ts +20 -0
- package/dist/engine/makeDeliver.d.ts.map +1 -1
- package/dist/engine/makeHuman.d.ts +20 -0
- package/dist/engine/makeHuman.d.ts.map +1 -1
- package/dist/engine/makeLaunch.d.ts +20 -0
- package/dist/engine/makeLaunch.d.ts.map +1 -1
- package/dist/engine/makeLaunch.js +4 -13
- package/dist/engine/makeLaunch.js.map +1 -1
- package/dist/engine/makeObserve.d.ts +20 -0
- package/dist/engine/makeObserve.d.ts.map +1 -1
- package/dist/engine/makeReview.d.ts +21 -0
- package/dist/engine/makeReview.d.ts.map +1 -1
- package/dist/engine/makeState.d.ts +1164 -1010
- package/dist/engine/makeState.d.ts.map +1 -1
- package/dist/engine/makeState.js +19 -11
- package/dist/engine/makeState.js.map +1 -1
- package/dist/engine/makeValidate.d.ts +21 -0
- package/dist/engine/makeValidate.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.d.ts +1425 -1764
- package/dist/engine/mergeReadiness.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.js +3 -4
- package/dist/engine/mergeReadiness.js.map +1 -1
- package/dist/engine/observeDeliveryFailure.d.ts +1170 -1003
- package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
- package/dist/engine/observeRenewal.d.ts +33 -0
- package/dist/engine/observeRenewal.d.ts.map +1 -1
- package/dist/engine/obtainReview.d.ts +11 -0
- package/dist/engine/obtainReview.d.ts.map +1 -1
- package/dist/engine/obtainReview.js +2 -1
- package/dist/engine/obtainReview.js.map +1 -1
- package/dist/engine/operationRecord.d.ts +1898 -1779
- package/dist/engine/operationRecord.d.ts.map +1 -1
- package/dist/engine/persistTerminalReceipts.d.ts +20 -0
- package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
- package/dist/engine/prepareCommand.d.ts +10 -0
- package/dist/engine/prepareCommand.d.ts.map +1 -1
- package/dist/engine/prepareCommand.js +1 -1
- package/dist/engine/prepareCommand.js.map +1 -1
- package/dist/engine/queueAnswerCommand.d.ts +10 -0
- package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.d.ts +11 -0
- package/dist/engine/readOrContinueReview.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.js +2 -1
- package/dist/engine/readOrContinueReview.js.map +1 -1
- package/dist/engine/readResolution.d.ts +1 -0
- package/dist/engine/readResolution.d.ts.map +1 -1
- package/dist/engine/readRetry.d.ts +2345 -2010
- package/dist/engine/readRetry.d.ts.map +1 -1
- package/dist/engine/readRetry.js +22 -2
- package/dist/engine/readRetry.js.map +1 -1
- package/dist/engine/reassignCommand.d.ts +10 -0
- package/dist/engine/reassignCommand.d.ts.map +1 -1
- package/dist/engine/reconcileAttempt.d.ts +12 -1
- package/dist/engine/reconcileAttempt.d.ts.map +1 -1
- package/dist/engine/reconcileAttempt.js +2 -1
- package/dist/engine/reconcileAttempt.js.map +1 -1
- package/dist/engine/reconcileCommand.d.ts +10 -0
- package/dist/engine/reconcileCommand.d.ts.map +1 -1
- package/dist/engine/recordResponseCommand.d.ts +551 -0
- package/dist/engine/recordResponseCommand.d.ts.map +1 -0
- package/dist/engine/recordResponseCommand.js +30 -0
- package/dist/engine/recordResponseCommand.js.map +1 -0
- package/dist/engine/recoverStall.d.ts +1172 -1004
- package/dist/engine/recoverStall.d.ts.map +1 -1
- package/dist/engine/recoverStall.js +1 -1
- package/dist/engine/recoverStall.js.map +1 -1
- package/dist/engine/recoverUnobservable.d.ts +1172 -1004
- package/dist/engine/recoverUnobservable.d.ts.map +1 -1
- package/dist/engine/refreshBrief.d.ts +2344 -2009
- package/dist/engine/refreshBrief.d.ts.map +1 -1
- package/dist/engine/refreshReviewResult.d.ts +21 -0
- package/dist/engine/refreshReviewResult.d.ts.map +1 -1
- package/dist/engine/releaseClosedPreparation.d.ts +1171 -1003
- package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
- package/dist/engine/releaseExecution.d.ts +1170 -1003
- package/dist/engine/releaseExecution.d.ts.map +1 -1
- package/dist/engine/releaseFinishedWork.d.ts +10 -0
- package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
- package/dist/engine/repository.d.ts +1115 -1003
- package/dist/engine/repository.d.ts.map +1 -1
- package/dist/engine/repository.js +12 -12
- package/dist/engine/repository.js.map +1 -1
- package/dist/engine/requestConflictRepair.d.ts +1170 -1003
- package/dist/engine/requestConflictRepair.d.ts.map +1 -1
- package/dist/engine/requestRework.d.ts +20 -0
- package/dist/engine/requestRework.d.ts.map +1 -1
- package/dist/engine/resolveCommand.d.ts +10 -0
- package/dist/engine/resolveCommand.d.ts.map +1 -1
- package/dist/engine/resolveExecution.d.ts +1170 -1003
- package/dist/engine/resolveExecution.d.ts.map +1 -1
- package/dist/engine/resumeAttempt.d.ts +1171 -1003
- package/dist/engine/resumeAttempt.d.ts.map +1 -1
- package/dist/engine/retireUnacknowledged.d.ts +20 -0
- package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
- package/dist/engine/retryTerminal.d.ts +1160 -1003
- package/dist/engine/retryTerminal.d.ts.map +1 -1
- package/dist/engine/saveLaunch.d.ts +10598 -0
- package/dist/engine/saveLaunch.d.ts.map +1 -0
- package/dist/engine/saveLaunch.js +30 -0
- package/dist/engine/saveLaunch.js.map +1 -0
- package/dist/engine/scheduler.d.ts +21 -1
- package/dist/engine/scheduler.d.ts.map +1 -1
- package/dist/engine/scheduler.js +3 -5
- package/dist/engine/scheduler.js.map +1 -1
- package/dist/engine/sessionCleanup.d.ts +20 -0
- package/dist/engine/sessionCleanup.d.ts.map +1 -1
- package/dist/engine/settleMergedDelivery.d.ts +1170 -1003
- package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
- package/dist/engine/steerBrief.d.ts +1075 -898
- package/dist/engine/steerBrief.d.ts.map +1 -1
- package/dist/engine/submissionFailure.d.ts +1150 -1003
- package/dist/engine/submissionFailure.d.ts.map +1 -1
- package/dist/engine/submitLaunch.d.ts +1160 -1003
- package/dist/engine/submitLaunch.d.ts.map +1 -1
- package/dist/engine/views.d.ts.map +1 -1
- package/dist/engine/views.js +4 -0
- package/dist/engine/views.js.map +1 -1
- package/dist/engine/workerReport.d.ts +30 -0
- package/dist/engine/workerReport.d.ts.map +1 -1
- package/dist/fleet.d.ts +2716 -983
- package/dist/fleet.d.ts.map +1 -1
- package/dist/fleet.js +4 -0
- package/dist/fleet.js.map +1 -1
- package/dist/host/actionCommands.d.ts.map +1 -1
- package/dist/host/actionCommands.js +7 -6
- package/dist/host/actionCommands.js.map +1 -1
- package/dist/host/admission.d.ts +24 -1
- package/dist/host/admission.d.ts.map +1 -1
- package/dist/host/admission.js +2 -2
- package/dist/host/admission.js.map +1 -1
- package/dist/host/answerWork.d.ts +12 -2
- package/dist/host/answerWork.d.ts.map +1 -1
- package/dist/host/answerWork.js +19 -23
- package/dist/host/answerWork.js.map +1 -1
- package/dist/host/cliOptions.d.ts +1 -1
- package/dist/host/cliOptions.d.ts.map +1 -1
- package/dist/host/cliOptions.js +1 -1
- package/dist/host/cliOptions.js.map +1 -1
- package/dist/host/commands.d.ts +28 -4
- package/dist/host/commands.d.ts.map +1 -1
- package/dist/host/commands.js +19 -5
- package/dist/host/commands.js.map +1 -1
- package/dist/host/config.d.ts +20 -5
- package/dist/host/config.d.ts.map +1 -1
- package/dist/host/config.js +17 -19
- package/dist/host/config.js.map +1 -1
- package/dist/host/configFile.d.ts +66 -0
- package/dist/host/configFile.d.ts.map +1 -0
- package/dist/host/configFile.js +37 -0
- package/dist/host/configFile.js.map +1 -0
- package/dist/host/configSettings.d.ts +488 -0
- package/dist/host/configSettings.d.ts.map +1 -0
- package/dist/host/configSettings.js +115 -0
- package/dist/host/configSettings.js.map +1 -0
- package/dist/host/daemon.d.ts +881 -1185
- package/dist/host/daemon.d.ts.map +1 -1
- package/dist/host/daemon.js +2 -1
- package/dist/host/daemon.js.map +1 -1
- package/dist/host/daemonClient.d.ts +301 -605
- package/dist/host/daemonClient.d.ts.map +1 -1
- package/dist/host/daemonClient.js +28 -7
- package/dist/host/daemonClient.js.map +1 -1
- package/dist/host/daemonContract.d.ts +1973 -3075
- package/dist/host/daemonContract.d.ts.map +1 -1
- package/dist/host/daemonContract.js +12 -4
- package/dist/host/daemonContract.js.map +1 -1
- package/dist/host/daemonDiagnostics.d.ts.map +1 -1
- package/dist/host/daemonDiagnostics.js +9 -3
- package/dist/host/daemonDiagnostics.js.map +1 -1
- package/dist/host/daemonHandlers.d.ts +2 -1
- package/dist/host/daemonHandlers.d.ts.map +1 -1
- package/dist/host/daemonHandlers.js +20 -7
- package/dist/host/daemonHandlers.js.map +1 -1
- package/dist/host/daemonSnapshots.d.ts.map +1 -1
- package/dist/host/daemonSnapshots.js +21 -1
- package/dist/host/daemonSnapshots.js.map +1 -1
- package/dist/host/dispatchRequests.d.ts +30 -0
- package/dist/host/dispatchRequests.d.ts.map +1 -0
- package/dist/host/dispatchRequests.js +40 -0
- package/dist/host/dispatchRequests.js.map +1 -0
- package/dist/host/follow.js +1 -1
- package/dist/host/follow.js.map +1 -1
- package/dist/host/followState.d.ts.map +1 -1
- package/dist/host/followState.js +5 -4
- package/dist/host/followState.js.map +1 -1
- package/dist/host/github.d.ts +5 -6
- package/dist/host/github.d.ts.map +1 -1
- package/dist/host/github.js +3 -4
- package/dist/host/github.js.map +1 -1
- package/dist/host/githubApi.d.ts +15 -0
- package/dist/host/githubApi.d.ts.map +1 -0
- package/dist/host/githubApi.js +117 -0
- package/dist/host/githubApi.js.map +1 -0
- package/dist/host/githubChecks.d.ts +13 -3
- package/dist/host/githubChecks.d.ts.map +1 -1
- package/dist/host/githubChecks.js +5 -5
- package/dist/host/githubChecks.js.map +1 -1
- package/dist/host/githubDelivery.d.ts +13 -1
- package/dist/host/githubDelivery.d.ts.map +1 -1
- package/dist/host/githubDelivery.js +39 -6
- package/dist/host/githubDelivery.js.map +1 -1
- package/dist/host/githubRateLimit.d.ts +23 -0
- package/dist/host/githubRateLimit.d.ts.map +1 -0
- package/dist/host/githubRateLimit.js +70 -0
- package/dist/host/githubRateLimit.js.map +1 -0
- package/dist/host/githubRequiredChecks.d.ts +1 -2
- package/dist/host/githubRequiredChecks.d.ts.map +1 -1
- package/dist/host/githubRequiredChecks.js +2 -2
- package/dist/host/githubRequiredChecks.js.map +1 -1
- package/dist/host/githubResponse.d.ts +10 -0
- package/dist/host/githubResponse.d.ts.map +1 -0
- package/dist/host/githubResponse.js +29 -0
- package/dist/host/githubResponse.js.map +1 -0
- package/dist/host/githubResult.d.ts +3 -2
- package/dist/host/githubResult.d.ts.map +1 -1
- package/dist/host/githubResult.js +9 -12
- package/dist/host/githubResult.js.map +1 -1
- package/dist/host/githubTransport.d.ts +13 -0
- package/dist/host/githubTransport.d.ts.map +1 -0
- package/dist/host/{githubRead.js → githubTransport.js} +9 -10
- package/dist/host/githubTransport.js.map +1 -0
- package/dist/host/integrations.d.ts +6 -0
- package/dist/host/integrations.d.ts.map +1 -0
- package/dist/host/integrations.js +34 -0
- package/dist/host/integrations.js.map +1 -0
- package/dist/host/liveConfig.d.ts +21 -0
- package/dist/host/liveConfig.d.ts.map +1 -0
- package/dist/host/liveConfig.js +75 -0
- package/dist/host/liveConfig.js.map +1 -0
- package/dist/host/providers.d.ts.map +1 -1
- package/dist/host/providers.js +2 -2
- package/dist/host/providers.js.map +1 -1
- package/dist/host/readWaitStates.d.ts.map +1 -1
- package/dist/host/readWaitStates.js +8 -18
- package/dist/host/readWaitStates.js.map +1 -1
- package/dist/host/reassignWork.d.ts +10 -0
- package/dist/host/reassignWork.d.ts.map +1 -1
- package/dist/host/recordDecisionResponse.d.ts +1 -0
- package/dist/host/recordDecisionResponse.d.ts.map +1 -1
- package/dist/host/releaseWork.d.ts +24 -3
- package/dist/host/releaseWork.d.ts.map +1 -1
- package/dist/host/releaseWork.js +11 -7
- package/dist/host/releaseWork.js.map +1 -1
- package/dist/host/renderStatus.d.ts +2 -2
- package/dist/host/renderStatus.d.ts.map +1 -1
- package/dist/host/renderStatus.js +8 -2
- package/dist/host/renderStatus.js.map +1 -1
- package/dist/host/reportBoard.d.ts +1 -1
- package/dist/host/reportBoard.d.ts.map +1 -1
- package/dist/host/reportBoard.js +6 -3
- package/dist/host/reportBoard.js.map +1 -1
- package/dist/host/reportPublication.d.ts +2 -1
- package/dist/host/reportPublication.d.ts.map +1 -1
- package/dist/host/reportPublication.js +5 -2
- package/dist/host/reportPublication.js.map +1 -1
- package/dist/host/runtime.d.ts +8 -6
- package/dist/host/runtime.d.ts.map +1 -1
- package/dist/host/runtime.js +38 -46
- package/dist/host/runtime.js.map +1 -1
- package/dist/host/snapshotStream.d.ts.map +1 -1
- package/dist/host/snapshotStream.js +4 -1
- package/dist/host/snapshotStream.js.map +1 -1
- package/dist/host/status.d.ts +22 -2
- package/dist/host/status.d.ts.map +1 -1
- package/dist/host/status.js +19 -5
- package/dist/host/status.js.map +1 -1
- package/dist/host/statusLayer.d.ts +3 -3
- package/dist/host/statusLayer.d.ts.map +1 -1
- package/dist/host/statusLayer.js +13 -3
- package/dist/host/statusLayer.js.map +1 -1
- package/dist/host/waitOutcome.d.ts.map +1 -1
- package/dist/host/waitOutcome.js +5 -2
- package/dist/host/waitOutcome.js.map +1 -1
- package/dist/model.d.ts +39 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +5 -0
- package/dist/model.js.map +1 -1
- package/dist/operations.d.ts +270 -0
- package/dist/operations.d.ts.map +1 -1
- package/dist/packageInfo.d.ts +1 -1
- package/dist/packageInfo.js +1 -1
- package/dist/policy.d.ts +8 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +2 -0
- package/dist/policy.js.map +1 -1
- package/dist/providers/codexCloud.d.ts +2 -0
- package/dist/providers/codexCloud.d.ts.map +1 -1
- package/dist/providers/codexCloud.js +2 -1
- package/dist/providers/codexCloud.js.map +1 -1
- package/dist/qualifyDependencies.d.ts +10 -0
- package/dist/qualifyDependencies.d.ts.map +1 -1
- package/dist/scheduling/admission.d.ts +1635 -0
- package/dist/scheduling/admission.d.ts.map +1 -0
- package/dist/scheduling/admission.js +11 -0
- package/dist/scheduling/admission.js.map +1 -0
- package/dist/scheduling/areas.d.ts +30 -0
- package/dist/scheduling/areas.d.ts.map +1 -1
- package/dist/scheduling/areas.js +1 -0
- package/dist/scheduling/areas.js.map +1 -1
- package/dist/scheduling/backPressure.d.ts +1637 -0
- package/dist/scheduling/backPressure.d.ts.map +1 -0
- package/dist/scheduling/backPressure.js +44 -0
- package/dist/scheduling/backPressure.js.map +1 -0
- package/dist/storage/FleetStoreOptions.d.ts +2 -2
- package/dist/storage/FleetStoreOptions.d.ts.map +1 -1
- package/dist/storage/addShapeColumns.d.ts +5 -0
- package/dist/storage/addShapeColumns.d.ts.map +1 -0
- package/dist/storage/addShapeColumns.js +24 -0
- package/dist/storage/addShapeColumns.js.map +1 -0
- package/dist/storage/dispatchStore.d.ts +47 -0
- package/dist/storage/dispatchStore.d.ts.map +1 -0
- package/dist/storage/dispatchStore.js +89 -0
- package/dist/storage/dispatchStore.js.map +1 -0
- package/dist/storage/errors.d.ts +2 -1
- package/dist/storage/errors.d.ts.map +1 -1
- package/dist/storage/errors.js +2 -1
- package/dist/storage/errors.js.map +1 -1
- package/dist/storage/fleetMigrations.d.ts +1 -1
- package/dist/storage/fleetMigrations.d.ts.map +1 -1
- package/dist/storage/fleetMigrations.js +24 -17
- package/dist/storage/fleetMigrations.js.map +1 -1
- package/dist/storage/listedRecords.d.ts +9 -0
- package/dist/storage/listedRecords.d.ts.map +1 -0
- package/dist/storage/listedRecords.js +40 -0
- package/dist/storage/listedRecords.js.map +1 -0
- package/dist/storage/makePostgresFleetStore.d.ts +2 -6
- package/dist/storage/makePostgresFleetStore.d.ts.map +1 -1
- package/dist/storage/makePostgresFleetStore.js +4 -10
- package/dist/storage/makePostgresFleetStore.js.map +1 -1
- package/dist/storage/model.d.ts +9 -0
- package/dist/storage/model.d.ts.map +1 -1
- package/dist/storage/model.js.map +1 -1
- package/dist/storage/shapeV14.d.ts +808 -0
- package/dist/storage/shapeV14.d.ts.map +1 -0
- package/dist/storage/shapeV14.js +18 -0
- package/dist/storage/shapeV14.js.map +1 -0
- package/package.json +6 -6
- package/src/DispatchRequest.ts +13 -0
- package/src/attention.ts +5 -0
- package/src/board/fleetField.ts +5 -0
- package/src/board/markdown.ts +7 -2
- package/src/cli.ts +24 -10
- package/src/engine/admissionOrder.ts +25 -0
- package/src/engine/dispatchCommand.ts +29 -5
- package/src/engine/failureContext.ts +1 -0
- package/src/engine/failureMessage.ts +12 -1
- package/src/engine/localOnlyCriteria.ts +6 -1
- package/src/engine/makeLaunch.ts +4 -17
- package/src/engine/makeState.ts +30 -26
- package/src/engine/mergeReadiness.ts +6 -5
- package/src/engine/obtainReview.ts +2 -1
- package/src/engine/prepareCommand.ts +1 -1
- package/src/engine/readOrContinueReview.ts +2 -1
- package/src/engine/readRetry.ts +26 -2
- package/src/engine/reconcileAttempt.ts +2 -1
- package/src/engine/recordResponseCommand.ts +38 -0
- package/src/engine/recoverStall.ts +1 -1
- package/src/engine/repository.ts +17 -16
- package/src/engine/saveLaunch.ts +45 -0
- package/src/engine/scheduler.ts +4 -6
- package/src/engine/views.ts +5 -0
- package/src/fleet.ts +4 -0
- package/src/host/actionCommands.ts +22 -7
- package/src/host/admission.ts +3 -3
- package/src/host/answerWork.ts +28 -27
- package/src/host/cliOptions.ts +1 -1
- package/src/host/commands.ts +29 -8
- package/src/host/config.ts +26 -22
- package/src/host/configFile.ts +40 -0
- package/src/host/configSettings.ts +126 -0
- package/src/host/daemon.ts +2 -1
- package/src/host/daemonClient.ts +42 -7
- package/src/host/daemonContract.ts +12 -4
- package/src/host/daemonDiagnostics.ts +11 -3
- package/src/host/daemonHandlers.ts +24 -7
- package/src/host/daemonSnapshots.ts +24 -1
- package/src/host/dispatchRequests.ts +53 -0
- package/src/host/follow.ts +1 -1
- package/src/host/followState.ts +6 -6
- package/src/host/github.ts +8 -6
- package/src/host/githubApi.ts +142 -0
- package/src/host/githubChecks.ts +6 -5
- package/src/host/githubDelivery.ts +47 -10
- package/src/host/githubRateLimit.ts +91 -0
- package/src/host/githubRequiredChecks.ts +2 -2
- package/src/host/githubResponse.ts +37 -0
- package/src/host/githubResult.ts +15 -17
- package/src/host/githubTransport.ts +31 -0
- package/src/host/integrations.ts +40 -0
- package/src/host/liveConfig.ts +135 -0
- package/src/host/providers.ts +4 -2
- package/src/host/readWaitStates.ts +8 -20
- package/src/host/releaseWork.ts +12 -9
- package/src/host/renderStatus.ts +10 -3
- package/src/host/reportBoard.ts +6 -3
- package/src/host/reportPublication.ts +6 -4
- package/src/host/runtime.ts +49 -56
- package/src/host/snapshotStream.ts +6 -1
- package/src/host/status.ts +24 -7
- package/src/host/statusLayer.ts +21 -5
- package/src/host/waitOutcome.ts +5 -2
- package/src/model.ts +6 -0
- package/src/packageInfo.ts +1 -1
- package/src/policy.ts +8 -0
- package/src/providers/codexCloud.ts +2 -1
- package/src/scheduling/admission.ts +19 -0
- package/src/scheduling/areas.ts +1 -0
- package/src/scheduling/backPressure.ts +55 -0
- package/src/storage/FleetStoreOptions.ts +7 -2
- package/src/storage/addShapeColumns.ts +24 -0
- package/src/storage/dispatchStore.ts +104 -0
- package/src/storage/errors.ts +2 -1
- package/src/storage/fleetMigrations.ts +24 -17
- package/src/storage/listedRecords.ts +53 -0
- package/src/storage/makePostgresFleetStore.ts +4 -10
- package/src/storage/model.ts +7 -0
- package/src/storage/shapeV14.ts +19 -0
- package/dist/host/githubRead.d.ts +0 -5
- package/dist/host/githubRead.d.ts.map +0 -1
- package/dist/host/githubRead.js.map +0 -1
- package/dist/host/recordPayloads.d.ts +0 -4
- package/dist/host/recordPayloads.d.ts.map +0 -1
- package/dist/host/recordPayloads.js +0 -21
- package/dist/host/recordPayloads.js.map +0 -1
- package/dist/storage/migrateFleet.d.ts +0 -3
- package/dist/storage/migrateFleet.d.ts.map +0 -1
- package/dist/storage/migrateFleet.js +0 -11
- package/dist/storage/migrateFleet.js.map +0 -1
- package/src/host/githubRead.ts +0 -20
- package/src/host/recordPayloads.ts +0 -24
- package/src/storage/migrateFleet.ts +0 -11
package/dist/fleet.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface PrepareWork {
|
|
|
11
11
|
readonly workId: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fleet/Fleet", Readonly<{
|
|
14
|
-
readonly
|
|
14
|
+
readonly admissionOrder: (records: readonly import("./storage/model.ts").Versioned<{
|
|
15
15
|
readonly admissionReady?: boolean | undefined;
|
|
16
16
|
readonly areas?: readonly string[] | undefined;
|
|
17
17
|
readonly attempts: readonly {
|
|
@@ -47,6 +47,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
47
47
|
readonly observationRetries?: number | undefined;
|
|
48
48
|
readonly operationId: string;
|
|
49
49
|
readonly output?: string | undefined;
|
|
50
|
+
readonly overLimit?: boolean | undefined;
|
|
50
51
|
readonly progress?: {
|
|
51
52
|
readonly at: number;
|
|
52
53
|
readonly signature: string;
|
|
@@ -117,6 +118,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
117
118
|
readonly context: string;
|
|
118
119
|
readonly deliverable?: "report" | undefined;
|
|
119
120
|
readonly dependsOn: readonly string[];
|
|
121
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
120
122
|
readonly revision: string;
|
|
121
123
|
readonly sourcePath: string;
|
|
122
124
|
readonly status?: string | undefined;
|
|
@@ -142,6 +144,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
142
144
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
143
145
|
readonly decisionPublished?: boolean | undefined;
|
|
144
146
|
readonly deliverable?: "report" | undefined;
|
|
147
|
+
readonly dispatchNow?: {
|
|
148
|
+
readonly ignoreAreas: boolean;
|
|
149
|
+
} | undefined;
|
|
145
150
|
readonly integrationRetry?: {
|
|
146
151
|
readonly error: string;
|
|
147
152
|
readonly failures: number;
|
|
@@ -312,6 +317,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
312
317
|
readonly observationRetries?: number | undefined;
|
|
313
318
|
readonly operationId: string;
|
|
314
319
|
readonly output?: string | undefined;
|
|
320
|
+
readonly overLimit?: boolean | undefined;
|
|
315
321
|
readonly progress?: {
|
|
316
322
|
readonly at: number;
|
|
317
323
|
readonly signature: string;
|
|
@@ -382,6 +388,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
382
388
|
readonly context: string;
|
|
383
389
|
readonly deliverable?: "report" | undefined;
|
|
384
390
|
readonly dependsOn: readonly string[];
|
|
391
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
385
392
|
readonly revision: string;
|
|
386
393
|
readonly sourcePath: string;
|
|
387
394
|
readonly status?: string | undefined;
|
|
@@ -407,6 +414,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
407
414
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
408
415
|
readonly decisionPublished?: boolean | undefined;
|
|
409
416
|
readonly deliverable?: "report" | undefined;
|
|
417
|
+
readonly dispatchNow?: {
|
|
418
|
+
readonly ignoreAreas: boolean;
|
|
419
|
+
} | undefined;
|
|
410
420
|
readonly integrationRetry?: {
|
|
411
421
|
readonly error: string;
|
|
412
422
|
readonly failures: number;
|
|
@@ -544,8 +554,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
544
554
|
readonly archivedAt: number;
|
|
545
555
|
}[] | undefined;
|
|
546
556
|
readonly workId: string;
|
|
547
|
-
}
|
|
548
|
-
readonly dispatch: (workId: string, prompt?: string | undefined) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
557
|
+
}>[]) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
549
558
|
readonly admissionReady?: boolean | undefined;
|
|
550
559
|
readonly areas?: readonly string[] | undefined;
|
|
551
560
|
readonly attempts: readonly {
|
|
@@ -581,6 +590,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
581
590
|
readonly observationRetries?: number | undefined;
|
|
582
591
|
readonly operationId: string;
|
|
583
592
|
readonly output?: string | undefined;
|
|
593
|
+
readonly overLimit?: boolean | undefined;
|
|
584
594
|
readonly progress?: {
|
|
585
595
|
readonly at: number;
|
|
586
596
|
readonly signature: string;
|
|
@@ -651,6 +661,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
651
661
|
readonly context: string;
|
|
652
662
|
readonly deliverable?: "report" | undefined;
|
|
653
663
|
readonly dependsOn: readonly string[];
|
|
664
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
654
665
|
readonly revision: string;
|
|
655
666
|
readonly sourcePath: string;
|
|
656
667
|
readonly status?: string | undefined;
|
|
@@ -676,6 +687,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
676
687
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
677
688
|
readonly decisionPublished?: boolean | undefined;
|
|
678
689
|
readonly deliverable?: "report" | undefined;
|
|
690
|
+
readonly dispatchNow?: {
|
|
691
|
+
readonly ignoreAreas: boolean;
|
|
692
|
+
} | undefined;
|
|
679
693
|
readonly integrationRetry?: {
|
|
680
694
|
readonly error: string;
|
|
681
695
|
readonly failures: number;
|
|
@@ -846,6 +860,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
846
860
|
readonly observationRetries?: number | undefined;
|
|
847
861
|
readonly operationId: string;
|
|
848
862
|
readonly output?: string | undefined;
|
|
863
|
+
readonly overLimit?: boolean | undefined;
|
|
849
864
|
readonly progress?: {
|
|
850
865
|
readonly at: number;
|
|
851
866
|
readonly signature: string;
|
|
@@ -916,6 +931,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
916
931
|
readonly context: string;
|
|
917
932
|
readonly deliverable?: "report" | undefined;
|
|
918
933
|
readonly dependsOn: readonly string[];
|
|
934
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
919
935
|
readonly revision: string;
|
|
920
936
|
readonly sourcePath: string;
|
|
921
937
|
readonly status?: string | undefined;
|
|
@@ -941,6 +957,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
941
957
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
942
958
|
readonly decisionPublished?: boolean | undefined;
|
|
943
959
|
readonly deliverable?: "report" | undefined;
|
|
960
|
+
readonly dispatchNow?: {
|
|
961
|
+
readonly ignoreAreas: boolean;
|
|
962
|
+
} | undefined;
|
|
944
963
|
readonly integrationRetry?: {
|
|
945
964
|
readonly error: string;
|
|
946
965
|
readonly failures: number;
|
|
@@ -1078,248 +1097,522 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1078
1097
|
readonly archivedAt: number;
|
|
1079
1098
|
}[] | undefined;
|
|
1080
1099
|
readonly workId: string;
|
|
1081
|
-
}
|
|
1082
|
-
readonly
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
readonly
|
|
1087
|
-
readonly
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
readonly
|
|
1091
|
-
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1092
|
-
readonly error?: string | undefined;
|
|
1093
|
-
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1094
|
-
readonly output: string;
|
|
1095
|
-
readonly progress?: readonly {
|
|
1096
|
-
readonly id: string;
|
|
1097
|
-
readonly status?: string | undefined;
|
|
1098
|
-
}[] | undefined;
|
|
1099
|
-
readonly provisioning: "ready" | "unknown";
|
|
1100
|
-
readonly receipt: {
|
|
1101
|
-
readonly sessionId: string;
|
|
1102
|
-
readonly turnId: string;
|
|
1103
|
-
};
|
|
1104
|
-
readonly turnMissing?: boolean | undefined;
|
|
1105
|
-
} | undefined;
|
|
1106
|
-
readonly observationError?: string | undefined;
|
|
1107
|
-
} | undefined;
|
|
1108
|
-
readonly briefSteers?: readonly {
|
|
1100
|
+
}>[], never, never>;
|
|
1101
|
+
readonly continue: (workId: string, message: string) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
1102
|
+
readonly admissionReady?: boolean | undefined;
|
|
1103
|
+
readonly areas?: readonly string[] | undefined;
|
|
1104
|
+
readonly attempts: readonly {
|
|
1105
|
+
readonly abandoned?: {
|
|
1106
|
+
readonly at: number;
|
|
1107
|
+
readonly interruptError?: string | undefined;
|
|
1108
|
+
readonly observation?: {
|
|
1109
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1109
1110
|
readonly error?: string | undefined;
|
|
1110
|
-
readonly
|
|
1111
|
-
readonly
|
|
1112
|
-
readonly
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
readonly
|
|
1122
|
-
} | undefined;
|
|
1123
|
-
readonly prompt?: string | undefined;
|
|
1124
|
-
readonly providerFailures?: number | undefined;
|
|
1125
|
-
readonly readRetry?: {
|
|
1126
|
-
readonly error: string;
|
|
1127
|
-
readonly failures: number;
|
|
1128
|
-
readonly retryAt: number;
|
|
1129
|
-
} | undefined;
|
|
1130
|
-
readonly receipt?: {
|
|
1131
|
-
readonly sessionId: string;
|
|
1132
|
-
readonly turnId: string;
|
|
1133
|
-
} | undefined;
|
|
1134
|
-
readonly reviewHead?: string | undefined;
|
|
1135
|
-
readonly reviewRevision?: string | undefined;
|
|
1136
|
-
readonly role: "repair" | "reviewer" | "worker";
|
|
1137
|
-
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1138
|
-
readonly sessionId?: string | undefined;
|
|
1139
|
-
readonly sessionUnusable?: boolean | undefined;
|
|
1140
|
-
readonly settings?: {
|
|
1141
|
-
readonly effort?: string | undefined;
|
|
1142
|
-
readonly model?: string | undefined;
|
|
1143
|
-
readonly serviceTier?: string | undefined;
|
|
1144
|
-
} | undefined;
|
|
1145
|
-
readonly stallRecovery?: {
|
|
1146
|
-
readonly count: number;
|
|
1147
|
-
readonly interruptedAt?: number | undefined;
|
|
1148
|
-
readonly interruptRequestedAt?: number | undefined;
|
|
1149
|
-
readonly lastActionAt: number;
|
|
1150
|
-
readonly steeredAt?: number | undefined;
|
|
1111
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1112
|
+
readonly output: string;
|
|
1113
|
+
readonly progress?: readonly {
|
|
1114
|
+
readonly id: string;
|
|
1115
|
+
readonly status?: string | undefined;
|
|
1116
|
+
}[] | undefined;
|
|
1117
|
+
readonly provisioning: "ready" | "unknown";
|
|
1118
|
+
readonly receipt: {
|
|
1119
|
+
readonly sessionId: string;
|
|
1120
|
+
readonly turnId: string;
|
|
1121
|
+
};
|
|
1122
|
+
readonly turnMissing?: boolean | undefined;
|
|
1151
1123
|
} | undefined;
|
|
1152
|
-
readonly
|
|
1153
|
-
readonly submissionTimedOut?: boolean | undefined;
|
|
1154
|
-
readonly submissionUncertain?: boolean | undefined;
|
|
1155
|
-
readonly submittedAt: number;
|
|
1156
|
-
readonly terminalReceipts?: readonly {
|
|
1157
|
-
readonly sessionId: string;
|
|
1158
|
-
readonly turnId: string;
|
|
1159
|
-
}[] | undefined;
|
|
1160
|
-
}[];
|
|
1161
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1162
|
-
readonly blocker?: string | undefined;
|
|
1163
|
-
readonly boardContext?: string | undefined;
|
|
1164
|
-
readonly boardRevision: string;
|
|
1165
|
-
readonly boardSourcePath?: string | undefined;
|
|
1166
|
-
readonly checks?: {
|
|
1167
|
-
readonly evidence: readonly string[];
|
|
1168
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
1169
|
-
readonly head: string;
|
|
1170
|
-
readonly passed: boolean;
|
|
1171
|
-
readonly pending?: boolean | undefined;
|
|
1172
|
-
readonly repairPrompt?: string | undefined;
|
|
1124
|
+
readonly observationError?: string | undefined;
|
|
1173
1125
|
} | undefined;
|
|
1174
|
-
readonly
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
readonly
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
readonly revision: string;
|
|
1190
|
-
readonly sourcePath: string;
|
|
1191
|
-
readonly status?: string | undefined;
|
|
1192
|
-
readonly workId: string;
|
|
1193
|
-
} | undefined;
|
|
1194
|
-
readonly published?: {
|
|
1195
|
-
readonly itemId: string;
|
|
1196
|
-
readonly questionId: string;
|
|
1197
|
-
readonly request: string;
|
|
1198
|
-
readonly revision: string;
|
|
1199
|
-
readonly sourcePath: string;
|
|
1200
|
-
readonly workId: string;
|
|
1201
|
-
readonly workRevision: string;
|
|
1202
|
-
readonly workSourcePath: string;
|
|
1203
|
-
} | undefined;
|
|
1204
|
-
readonly reason: string;
|
|
1205
|
-
readonly recommendation: string;
|
|
1206
|
-
readonly worker?: {
|
|
1207
|
-
readonly sessionId: string;
|
|
1208
|
-
readonly turnId: string;
|
|
1209
|
-
} | undefined;
|
|
1126
|
+
readonly briefSteers?: readonly {
|
|
1127
|
+
readonly error?: string | undefined;
|
|
1128
|
+
readonly requestedAt: number;
|
|
1129
|
+
readonly revision: string;
|
|
1130
|
+
readonly steeredAt?: number | undefined;
|
|
1131
|
+
}[] | undefined;
|
|
1132
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
1133
|
+
readonly missingSince?: number | undefined;
|
|
1134
|
+
readonly observationRetries?: number | undefined;
|
|
1135
|
+
readonly operationId: string;
|
|
1136
|
+
readonly output?: string | undefined;
|
|
1137
|
+
readonly overLimit?: boolean | undefined;
|
|
1138
|
+
readonly progress?: {
|
|
1139
|
+
readonly at: number;
|
|
1140
|
+
readonly signature: string;
|
|
1210
1141
|
} | undefined;
|
|
1211
|
-
readonly
|
|
1212
|
-
readonly
|
|
1213
|
-
readonly
|
|
1214
|
-
readonly integrationRetry?: {
|
|
1142
|
+
readonly prompt?: string | undefined;
|
|
1143
|
+
readonly providerFailures?: number | undefined;
|
|
1144
|
+
readonly readRetry?: {
|
|
1215
1145
|
readonly error: string;
|
|
1216
1146
|
readonly failures: number;
|
|
1217
1147
|
readonly retryAt: number;
|
|
1218
1148
|
} | undefined;
|
|
1219
|
-
readonly
|
|
1149
|
+
readonly receipt?: {
|
|
1150
|
+
readonly sessionId: string;
|
|
1151
|
+
readonly turnId: string;
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
readonly reviewHead?: string | undefined;
|
|
1154
|
+
readonly reviewRevision?: string | undefined;
|
|
1155
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
1156
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1157
|
+
readonly sessionId?: string | undefined;
|
|
1158
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
1159
|
+
readonly settings?: {
|
|
1220
1160
|
readonly effort?: string | undefined;
|
|
1221
1161
|
readonly model?: string | undefined;
|
|
1222
1162
|
readonly serviceTier?: string | undefined;
|
|
1223
1163
|
} | undefined;
|
|
1224
|
-
readonly
|
|
1225
|
-
readonly
|
|
1226
|
-
readonly
|
|
1227
|
-
readonly
|
|
1228
|
-
readonly
|
|
1164
|
+
readonly stallRecovery?: {
|
|
1165
|
+
readonly count: number;
|
|
1166
|
+
readonly interruptedAt?: number | undefined;
|
|
1167
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
1168
|
+
readonly lastActionAt: number;
|
|
1169
|
+
readonly steeredAt?: number | undefined;
|
|
1229
1170
|
} | undefined;
|
|
1230
|
-
readonly
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1234
|
-
|
|
1171
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1172
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
1173
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
1174
|
+
readonly submittedAt: number;
|
|
1175
|
+
readonly terminalReceipts?: readonly {
|
|
1176
|
+
readonly sessionId: string;
|
|
1177
|
+
readonly turnId: string;
|
|
1178
|
+
}[] | undefined;
|
|
1179
|
+
}[];
|
|
1180
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1181
|
+
readonly blocker?: string | undefined;
|
|
1182
|
+
readonly boardContext?: string | undefined;
|
|
1183
|
+
readonly boardRevision: string;
|
|
1184
|
+
readonly boardSourcePath?: string | undefined;
|
|
1185
|
+
readonly checks?: {
|
|
1186
|
+
readonly evidence: readonly string[];
|
|
1187
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
1188
|
+
readonly head: string;
|
|
1189
|
+
readonly passed: boolean;
|
|
1190
|
+
readonly pending?: boolean | undefined;
|
|
1191
|
+
readonly repairPrompt?: string | undefined;
|
|
1192
|
+
} | undefined;
|
|
1193
|
+
readonly completedAt?: number | undefined;
|
|
1194
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
1195
|
+
readonly cwd: string;
|
|
1196
|
+
readonly decision?: {
|
|
1197
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1198
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1199
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
1200
|
+
readonly id: string;
|
|
1201
|
+
readonly links: readonly string[];
|
|
1202
|
+
readonly publicationWork?: {
|
|
1203
|
+
readonly approved: boolean;
|
|
1204
|
+
readonly areas?: readonly string[] | undefined;
|
|
1205
|
+
readonly context: string;
|
|
1206
|
+
readonly deliverable?: "report" | undefined;
|
|
1207
|
+
readonly dependsOn: readonly string[];
|
|
1208
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
1235
1209
|
readonly revision: string;
|
|
1236
|
-
readonly
|
|
1237
|
-
|
|
1238
|
-
readonly
|
|
1210
|
+
readonly sourcePath: string;
|
|
1211
|
+
readonly status?: string | undefined;
|
|
1212
|
+
readonly workId: string;
|
|
1239
1213
|
} | undefined;
|
|
1240
|
-
readonly
|
|
1241
|
-
|
|
1242
|
-
readonly
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
readonly
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
readonly
|
|
1254
|
-
readonly
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1214
|
+
readonly published?: {
|
|
1215
|
+
readonly itemId: string;
|
|
1216
|
+
readonly questionId: string;
|
|
1217
|
+
readonly request: string;
|
|
1218
|
+
readonly revision: string;
|
|
1219
|
+
readonly sourcePath: string;
|
|
1220
|
+
readonly workId: string;
|
|
1221
|
+
readonly workRevision: string;
|
|
1222
|
+
readonly workSourcePath: string;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
readonly reason: string;
|
|
1225
|
+
readonly recommendation: string;
|
|
1226
|
+
readonly worker?: {
|
|
1227
|
+
readonly sessionId: string;
|
|
1228
|
+
readonly turnId: string;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
} | undefined;
|
|
1231
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
1232
|
+
readonly decisionPublished?: boolean | undefined;
|
|
1233
|
+
readonly deliverable?: "report" | undefined;
|
|
1234
|
+
readonly dispatchNow?: {
|
|
1235
|
+
readonly ignoreAreas: boolean;
|
|
1236
|
+
} | undefined;
|
|
1237
|
+
readonly integrationRetry?: {
|
|
1238
|
+
readonly error: string;
|
|
1239
|
+
readonly failures: number;
|
|
1240
|
+
readonly retryAt: number;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
readonly launch?: {
|
|
1243
|
+
readonly effort?: string | undefined;
|
|
1244
|
+
readonly model?: string | undefined;
|
|
1245
|
+
readonly serviceTier?: string | undefined;
|
|
1246
|
+
} | undefined;
|
|
1247
|
+
readonly launchRetry?: {
|
|
1248
|
+
readonly prompt?: string | undefined;
|
|
1249
|
+
readonly rejectedAt: number;
|
|
1250
|
+
readonly rejections: number;
|
|
1251
|
+
readonly retryAt: number;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
1254
|
+
readonly mergeReadyAt?: number | undefined;
|
|
1255
|
+
readonly mergeReadyHead?: string | undefined;
|
|
1256
|
+
readonly outcome?: {
|
|
1257
|
+
readonly head: string;
|
|
1258
|
+
readonly revision: string;
|
|
1259
|
+
readonly url: string;
|
|
1260
|
+
} | {
|
|
1261
|
+
readonly evidence: readonly string[];
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
1264
|
+
readonly preparation: {
|
|
1265
|
+
readonly baselinePaths: readonly string[];
|
|
1266
|
+
readonly baseRevision: string;
|
|
1267
|
+
readonly configuration: readonly {
|
|
1268
|
+
readonly path: string;
|
|
1269
|
+
readonly relevantKeys: readonly string[];
|
|
1270
|
+
}[];
|
|
1271
|
+
readonly contextComplete: boolean;
|
|
1272
|
+
readonly dependencyPaths: readonly string[];
|
|
1273
|
+
readonly observedAt: number;
|
|
1274
|
+
readonly ownedPaths: readonly string[];
|
|
1275
|
+
readonly qualityPaths: readonly string[];
|
|
1276
|
+
readonly setupPaths: readonly string[];
|
|
1277
|
+
readonly sourcePaths: readonly string[];
|
|
1278
|
+
readonly validation: readonly {
|
|
1279
|
+
readonly command: string;
|
|
1280
|
+
readonly revision: string;
|
|
1281
|
+
}[];
|
|
1282
|
+
};
|
|
1283
|
+
readonly prompt: string;
|
|
1284
|
+
readonly releaseReason?: string | undefined;
|
|
1285
|
+
readonly report?: {
|
|
1286
|
+
readonly itemId: string;
|
|
1287
|
+
readonly receipt: {
|
|
1288
|
+
readonly sessionId: string;
|
|
1289
|
+
readonly turnId: string;
|
|
1259
1290
|
};
|
|
1260
|
-
readonly
|
|
1261
|
-
readonly
|
|
1262
|
-
readonly
|
|
1291
|
+
readonly revision: string;
|
|
1292
|
+
readonly sourcePath: string;
|
|
1293
|
+
readonly workRevision: string;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
readonly responses?: readonly {
|
|
1296
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
1297
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1298
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1299
|
+
readonly decisionId: string;
|
|
1300
|
+
readonly processedAt: number;
|
|
1301
|
+
readonly published?: {
|
|
1263
1302
|
readonly itemId: string;
|
|
1264
|
-
readonly
|
|
1265
|
-
|
|
1266
|
-
readonly turnId: string;
|
|
1267
|
-
};
|
|
1303
|
+
readonly questionId: string;
|
|
1304
|
+
readonly request: string;
|
|
1268
1305
|
readonly revision: string;
|
|
1269
1306
|
readonly sourcePath: string;
|
|
1307
|
+
readonly workId: string;
|
|
1270
1308
|
readonly workRevision: string;
|
|
1309
|
+
readonly workSourcePath: string;
|
|
1271
1310
|
} | undefined;
|
|
1272
|
-
readonly
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1311
|
+
readonly questionId: string;
|
|
1312
|
+
readonly questionRevision: string;
|
|
1313
|
+
readonly responseId: string;
|
|
1314
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
1315
|
+
}[] | undefined;
|
|
1316
|
+
readonly result?: {
|
|
1317
|
+
readonly head: string;
|
|
1318
|
+
readonly kind: "change";
|
|
1319
|
+
readonly paths: readonly string[];
|
|
1320
|
+
readonly pr: string;
|
|
1321
|
+
readonly prNumber?: number | undefined;
|
|
1322
|
+
} | {
|
|
1323
|
+
readonly evidence: readonly string[];
|
|
1324
|
+
readonly head: string;
|
|
1325
|
+
readonly kind: "no-change";
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
readonly resultObservations?: readonly ({
|
|
1328
|
+
readonly head: string;
|
|
1329
|
+
readonly kind: "change";
|
|
1330
|
+
readonly paths: readonly string[];
|
|
1331
|
+
readonly pr: string;
|
|
1332
|
+
readonly prNumber?: number | undefined;
|
|
1333
|
+
} | {
|
|
1334
|
+
readonly evidence: readonly string[];
|
|
1335
|
+
readonly head: string;
|
|
1336
|
+
readonly kind: "no-change";
|
|
1337
|
+
})[] | undefined;
|
|
1338
|
+
readonly review?: {
|
|
1339
|
+
readonly evidence: readonly string[];
|
|
1340
|
+
readonly findings?: readonly string[] | undefined;
|
|
1341
|
+
readonly head: string;
|
|
1342
|
+
readonly receipt: {
|
|
1343
|
+
readonly sessionId: string;
|
|
1344
|
+
readonly turnId: string;
|
|
1345
|
+
};
|
|
1346
|
+
readonly repairPrompt: string;
|
|
1347
|
+
readonly verdict: "approved" | "changes";
|
|
1348
|
+
} | undefined;
|
|
1349
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
1350
|
+
readonly stageEnteredAt?: number | undefined;
|
|
1351
|
+
readonly supersededDecisions?: readonly {
|
|
1352
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1353
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1354
|
+
readonly published: {
|
|
1355
|
+
readonly itemId: string;
|
|
1356
|
+
readonly questionId: string;
|
|
1357
|
+
readonly request: string;
|
|
1358
|
+
readonly revision: string;
|
|
1359
|
+
readonly sourcePath: string;
|
|
1360
|
+
readonly workId: string;
|
|
1361
|
+
readonly workRevision: string;
|
|
1362
|
+
readonly workSourcePath: string;
|
|
1363
|
+
};
|
|
1364
|
+
readonly reassignedTo?: {
|
|
1365
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1276
1366
|
readonly decisionId: string;
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
readonly supersededAt: number;
|
|
1369
|
+
}[] | undefined;
|
|
1370
|
+
readonly updatedAt?: number | undefined;
|
|
1371
|
+
readonly history?: readonly {
|
|
1372
|
+
readonly admissionReady?: boolean | undefined;
|
|
1373
|
+
readonly areas?: readonly string[] | undefined;
|
|
1374
|
+
readonly attempts: readonly {
|
|
1375
|
+
readonly abandoned?: {
|
|
1376
|
+
readonly at: number;
|
|
1377
|
+
readonly interruptError?: string | undefined;
|
|
1378
|
+
readonly observation?: {
|
|
1379
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1380
|
+
readonly error?: string | undefined;
|
|
1381
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1382
|
+
readonly output: string;
|
|
1383
|
+
readonly progress?: readonly {
|
|
1384
|
+
readonly id: string;
|
|
1385
|
+
readonly status?: string | undefined;
|
|
1386
|
+
}[] | undefined;
|
|
1387
|
+
readonly provisioning: "ready" | "unknown";
|
|
1388
|
+
readonly receipt: {
|
|
1389
|
+
readonly sessionId: string;
|
|
1390
|
+
readonly turnId: string;
|
|
1391
|
+
};
|
|
1392
|
+
readonly turnMissing?: boolean | undefined;
|
|
1393
|
+
} | undefined;
|
|
1394
|
+
readonly observationError?: string | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
readonly briefSteers?: readonly {
|
|
1397
|
+
readonly error?: string | undefined;
|
|
1398
|
+
readonly requestedAt: number;
|
|
1282
1399
|
readonly revision: string;
|
|
1283
|
-
readonly
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1400
|
+
readonly steeredAt?: number | undefined;
|
|
1401
|
+
}[] | undefined;
|
|
1402
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
1403
|
+
readonly missingSince?: number | undefined;
|
|
1404
|
+
readonly observationRetries?: number | undefined;
|
|
1405
|
+
readonly operationId: string;
|
|
1406
|
+
readonly output?: string | undefined;
|
|
1407
|
+
readonly overLimit?: boolean | undefined;
|
|
1408
|
+
readonly progress?: {
|
|
1409
|
+
readonly at: number;
|
|
1410
|
+
readonly signature: string;
|
|
1287
1411
|
} | undefined;
|
|
1288
|
-
readonly
|
|
1289
|
-
readonly
|
|
1290
|
-
readonly
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
readonly
|
|
1296
|
-
readonly paths: readonly string[];
|
|
1297
|
-
readonly pr: string;
|
|
1298
|
-
readonly prNumber?: number | undefined;
|
|
1299
|
-
} | {
|
|
1300
|
-
readonly evidence: readonly string[];
|
|
1301
|
-
readonly head: string;
|
|
1302
|
-
readonly kind: "no-change";
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
readonly resultObservations?: readonly ({
|
|
1305
|
-
readonly head: string;
|
|
1306
|
-
readonly kind: "change";
|
|
1307
|
-
readonly paths: readonly string[];
|
|
1308
|
-
readonly pr: string;
|
|
1309
|
-
readonly prNumber?: number | undefined;
|
|
1310
|
-
} | {
|
|
1311
|
-
readonly evidence: readonly string[];
|
|
1312
|
-
readonly head: string;
|
|
1313
|
-
readonly kind: "no-change";
|
|
1314
|
-
})[] | undefined;
|
|
1315
|
-
readonly review?: {
|
|
1316
|
-
readonly evidence: readonly string[];
|
|
1317
|
-
readonly findings?: readonly string[] | undefined;
|
|
1318
|
-
readonly head: string;
|
|
1319
|
-
readonly receipt: {
|
|
1412
|
+
readonly prompt?: string | undefined;
|
|
1413
|
+
readonly providerFailures?: number | undefined;
|
|
1414
|
+
readonly readRetry?: {
|
|
1415
|
+
readonly error: string;
|
|
1416
|
+
readonly failures: number;
|
|
1417
|
+
readonly retryAt: number;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
readonly receipt?: {
|
|
1320
1420
|
readonly sessionId: string;
|
|
1321
1421
|
readonly turnId: string;
|
|
1322
|
-
};
|
|
1422
|
+
} | undefined;
|
|
1423
|
+
readonly reviewHead?: string | undefined;
|
|
1424
|
+
readonly reviewRevision?: string | undefined;
|
|
1425
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
1426
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1427
|
+
readonly sessionId?: string | undefined;
|
|
1428
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
1429
|
+
readonly settings?: {
|
|
1430
|
+
readonly effort?: string | undefined;
|
|
1431
|
+
readonly model?: string | undefined;
|
|
1432
|
+
readonly serviceTier?: string | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
readonly stallRecovery?: {
|
|
1435
|
+
readonly count: number;
|
|
1436
|
+
readonly interruptedAt?: number | undefined;
|
|
1437
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
1438
|
+
readonly lastActionAt: number;
|
|
1439
|
+
readonly steeredAt?: number | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1442
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
1443
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
1444
|
+
readonly submittedAt: number;
|
|
1445
|
+
readonly terminalReceipts?: readonly {
|
|
1446
|
+
readonly sessionId: string;
|
|
1447
|
+
readonly turnId: string;
|
|
1448
|
+
}[] | undefined;
|
|
1449
|
+
}[];
|
|
1450
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1451
|
+
readonly blocker?: string | undefined;
|
|
1452
|
+
readonly boardContext?: string | undefined;
|
|
1453
|
+
readonly boardRevision: string;
|
|
1454
|
+
readonly boardSourcePath?: string | undefined;
|
|
1455
|
+
readonly checks?: {
|
|
1456
|
+
readonly evidence: readonly string[];
|
|
1457
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
1458
|
+
readonly head: string;
|
|
1459
|
+
readonly passed: boolean;
|
|
1460
|
+
readonly pending?: boolean | undefined;
|
|
1461
|
+
readonly repairPrompt?: string | undefined;
|
|
1462
|
+
} | undefined;
|
|
1463
|
+
readonly completedAt?: number | undefined;
|
|
1464
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
1465
|
+
readonly cwd: string;
|
|
1466
|
+
readonly decision?: {
|
|
1467
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1468
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1469
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
1470
|
+
readonly id: string;
|
|
1471
|
+
readonly links: readonly string[];
|
|
1472
|
+
readonly publicationWork?: {
|
|
1473
|
+
readonly approved: boolean;
|
|
1474
|
+
readonly areas?: readonly string[] | undefined;
|
|
1475
|
+
readonly context: string;
|
|
1476
|
+
readonly deliverable?: "report" | undefined;
|
|
1477
|
+
readonly dependsOn: readonly string[];
|
|
1478
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
1479
|
+
readonly revision: string;
|
|
1480
|
+
readonly sourcePath: string;
|
|
1481
|
+
readonly status?: string | undefined;
|
|
1482
|
+
readonly workId: string;
|
|
1483
|
+
} | undefined;
|
|
1484
|
+
readonly published?: {
|
|
1485
|
+
readonly itemId: string;
|
|
1486
|
+
readonly questionId: string;
|
|
1487
|
+
readonly request: string;
|
|
1488
|
+
readonly revision: string;
|
|
1489
|
+
readonly sourcePath: string;
|
|
1490
|
+
readonly workId: string;
|
|
1491
|
+
readonly workRevision: string;
|
|
1492
|
+
readonly workSourcePath: string;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
readonly reason: string;
|
|
1495
|
+
readonly recommendation: string;
|
|
1496
|
+
readonly worker?: {
|
|
1497
|
+
readonly sessionId: string;
|
|
1498
|
+
readonly turnId: string;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
1502
|
+
readonly decisionPublished?: boolean | undefined;
|
|
1503
|
+
readonly deliverable?: "report" | undefined;
|
|
1504
|
+
readonly dispatchNow?: {
|
|
1505
|
+
readonly ignoreAreas: boolean;
|
|
1506
|
+
} | undefined;
|
|
1507
|
+
readonly integrationRetry?: {
|
|
1508
|
+
readonly error: string;
|
|
1509
|
+
readonly failures: number;
|
|
1510
|
+
readonly retryAt: number;
|
|
1511
|
+
} | undefined;
|
|
1512
|
+
readonly launch?: {
|
|
1513
|
+
readonly effort?: string | undefined;
|
|
1514
|
+
readonly model?: string | undefined;
|
|
1515
|
+
readonly serviceTier?: string | undefined;
|
|
1516
|
+
} | undefined;
|
|
1517
|
+
readonly launchRetry?: {
|
|
1518
|
+
readonly prompt?: string | undefined;
|
|
1519
|
+
readonly rejectedAt: number;
|
|
1520
|
+
readonly rejections: number;
|
|
1521
|
+
readonly retryAt: number;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
1524
|
+
readonly mergeReadyAt?: number | undefined;
|
|
1525
|
+
readonly mergeReadyHead?: string | undefined;
|
|
1526
|
+
readonly outcome?: {
|
|
1527
|
+
readonly head: string;
|
|
1528
|
+
readonly revision: string;
|
|
1529
|
+
readonly url: string;
|
|
1530
|
+
} | {
|
|
1531
|
+
readonly evidence: readonly string[];
|
|
1532
|
+
} | undefined;
|
|
1533
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
1534
|
+
readonly preparation: {
|
|
1535
|
+
readonly baselinePaths: readonly string[];
|
|
1536
|
+
readonly baseRevision: string;
|
|
1537
|
+
readonly configuration: readonly {
|
|
1538
|
+
readonly path: string;
|
|
1539
|
+
readonly relevantKeys: readonly string[];
|
|
1540
|
+
}[];
|
|
1541
|
+
readonly contextComplete: boolean;
|
|
1542
|
+
readonly dependencyPaths: readonly string[];
|
|
1543
|
+
readonly observedAt: number;
|
|
1544
|
+
readonly ownedPaths: readonly string[];
|
|
1545
|
+
readonly qualityPaths: readonly string[];
|
|
1546
|
+
readonly setupPaths: readonly string[];
|
|
1547
|
+
readonly sourcePaths: readonly string[];
|
|
1548
|
+
readonly validation: readonly {
|
|
1549
|
+
readonly command: string;
|
|
1550
|
+
readonly revision: string;
|
|
1551
|
+
}[];
|
|
1552
|
+
};
|
|
1553
|
+
readonly prompt: string;
|
|
1554
|
+
readonly releaseReason?: string | undefined;
|
|
1555
|
+
readonly report?: {
|
|
1556
|
+
readonly itemId: string;
|
|
1557
|
+
readonly receipt: {
|
|
1558
|
+
readonly sessionId: string;
|
|
1559
|
+
readonly turnId: string;
|
|
1560
|
+
};
|
|
1561
|
+
readonly revision: string;
|
|
1562
|
+
readonly sourcePath: string;
|
|
1563
|
+
readonly workRevision: string;
|
|
1564
|
+
} | undefined;
|
|
1565
|
+
readonly responses?: readonly {
|
|
1566
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
1567
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1568
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1569
|
+
readonly decisionId: string;
|
|
1570
|
+
readonly processedAt: number;
|
|
1571
|
+
readonly published?: {
|
|
1572
|
+
readonly itemId: string;
|
|
1573
|
+
readonly questionId: string;
|
|
1574
|
+
readonly request: string;
|
|
1575
|
+
readonly revision: string;
|
|
1576
|
+
readonly sourcePath: string;
|
|
1577
|
+
readonly workId: string;
|
|
1578
|
+
readonly workRevision: string;
|
|
1579
|
+
readonly workSourcePath: string;
|
|
1580
|
+
} | undefined;
|
|
1581
|
+
readonly questionId: string;
|
|
1582
|
+
readonly questionRevision: string;
|
|
1583
|
+
readonly responseId: string;
|
|
1584
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
1585
|
+
}[] | undefined;
|
|
1586
|
+
readonly result?: {
|
|
1587
|
+
readonly head: string;
|
|
1588
|
+
readonly kind: "change";
|
|
1589
|
+
readonly paths: readonly string[];
|
|
1590
|
+
readonly pr: string;
|
|
1591
|
+
readonly prNumber?: number | undefined;
|
|
1592
|
+
} | {
|
|
1593
|
+
readonly evidence: readonly string[];
|
|
1594
|
+
readonly head: string;
|
|
1595
|
+
readonly kind: "no-change";
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
readonly resultObservations?: readonly ({
|
|
1598
|
+
readonly head: string;
|
|
1599
|
+
readonly kind: "change";
|
|
1600
|
+
readonly paths: readonly string[];
|
|
1601
|
+
readonly pr: string;
|
|
1602
|
+
readonly prNumber?: number | undefined;
|
|
1603
|
+
} | {
|
|
1604
|
+
readonly evidence: readonly string[];
|
|
1605
|
+
readonly head: string;
|
|
1606
|
+
readonly kind: "no-change";
|
|
1607
|
+
})[] | undefined;
|
|
1608
|
+
readonly review?: {
|
|
1609
|
+
readonly evidence: readonly string[];
|
|
1610
|
+
readonly findings?: readonly string[] | undefined;
|
|
1611
|
+
readonly head: string;
|
|
1612
|
+
readonly receipt: {
|
|
1613
|
+
readonly sessionId: string;
|
|
1614
|
+
readonly turnId: string;
|
|
1615
|
+
};
|
|
1323
1616
|
readonly repairPrompt: string;
|
|
1324
1617
|
readonly verdict: "approved" | "changes";
|
|
1325
1618
|
} | undefined;
|
|
@@ -1345,280 +1638,1375 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1345
1638
|
readonly supersededAt: number;
|
|
1346
1639
|
}[] | undefined;
|
|
1347
1640
|
readonly updatedAt?: number | undefined;
|
|
1348
|
-
readonly
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
readonly turnMissing?: boolean | undefined;
|
|
1370
|
-
} | undefined;
|
|
1371
|
-
readonly observationError?: string | undefined;
|
|
1372
|
-
} | undefined;
|
|
1373
|
-
readonly briefSteers?: readonly {
|
|
1374
|
-
readonly error?: string | undefined;
|
|
1375
|
-
readonly requestedAt: number;
|
|
1376
|
-
readonly revision: string;
|
|
1377
|
-
readonly steeredAt?: number | undefined;
|
|
1641
|
+
readonly archivedAt: number;
|
|
1642
|
+
}[] | undefined;
|
|
1643
|
+
readonly workId: string;
|
|
1644
|
+
}>, import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Conflict | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | import("#session/schema.ts").SessionFailure | import("effect/sql/SqlError").SqlError | import("./storage/errors.ts").StorageAdmission | import("./storage/errors.ts").StorageCapacity | import("./storage/errors.ts").StorageConflict | import("./storage/errors.ts").StorageQuota, never>;
|
|
1645
|
+
readonly dispatch: (workId: string, prompt?: string | undefined, now?: {
|
|
1646
|
+
readonly ignoreAreas: boolean;
|
|
1647
|
+
} | undefined) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
1648
|
+
readonly admissionReady?: boolean | undefined;
|
|
1649
|
+
readonly areas?: readonly string[] | undefined;
|
|
1650
|
+
readonly attempts: readonly {
|
|
1651
|
+
readonly abandoned?: {
|
|
1652
|
+
readonly at: number;
|
|
1653
|
+
readonly interruptError?: string | undefined;
|
|
1654
|
+
readonly observation?: {
|
|
1655
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1656
|
+
readonly error?: string | undefined;
|
|
1657
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1658
|
+
readonly output: string;
|
|
1659
|
+
readonly progress?: readonly {
|
|
1660
|
+
readonly id: string;
|
|
1661
|
+
readonly status?: string | undefined;
|
|
1378
1662
|
}[] | undefined;
|
|
1379
|
-
readonly
|
|
1380
|
-
readonly missingSince?: number | undefined;
|
|
1381
|
-
readonly observationRetries?: number | undefined;
|
|
1382
|
-
readonly operationId: string;
|
|
1383
|
-
readonly output?: string | undefined;
|
|
1384
|
-
readonly progress?: {
|
|
1385
|
-
readonly at: number;
|
|
1386
|
-
readonly signature: string;
|
|
1387
|
-
} | undefined;
|
|
1388
|
-
readonly prompt?: string | undefined;
|
|
1389
|
-
readonly providerFailures?: number | undefined;
|
|
1390
|
-
readonly readRetry?: {
|
|
1391
|
-
readonly error: string;
|
|
1392
|
-
readonly failures: number;
|
|
1393
|
-
readonly retryAt: number;
|
|
1394
|
-
} | undefined;
|
|
1395
|
-
readonly receipt?: {
|
|
1396
|
-
readonly sessionId: string;
|
|
1397
|
-
readonly turnId: string;
|
|
1398
|
-
} | undefined;
|
|
1399
|
-
readonly reviewHead?: string | undefined;
|
|
1400
|
-
readonly reviewRevision?: string | undefined;
|
|
1401
|
-
readonly role: "repair" | "reviewer" | "worker";
|
|
1402
|
-
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1403
|
-
readonly sessionId?: string | undefined;
|
|
1404
|
-
readonly sessionUnusable?: boolean | undefined;
|
|
1405
|
-
readonly settings?: {
|
|
1406
|
-
readonly effort?: string | undefined;
|
|
1407
|
-
readonly model?: string | undefined;
|
|
1408
|
-
readonly serviceTier?: string | undefined;
|
|
1409
|
-
} | undefined;
|
|
1410
|
-
readonly stallRecovery?: {
|
|
1411
|
-
readonly count: number;
|
|
1412
|
-
readonly interruptedAt?: number | undefined;
|
|
1413
|
-
readonly interruptRequestedAt?: number | undefined;
|
|
1414
|
-
readonly lastActionAt: number;
|
|
1415
|
-
readonly steeredAt?: number | undefined;
|
|
1416
|
-
} | undefined;
|
|
1417
|
-
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1418
|
-
readonly submissionTimedOut?: boolean | undefined;
|
|
1419
|
-
readonly submissionUncertain?: boolean | undefined;
|
|
1420
|
-
readonly submittedAt: number;
|
|
1421
|
-
readonly terminalReceipts?: readonly {
|
|
1422
|
-
readonly sessionId: string;
|
|
1423
|
-
readonly turnId: string;
|
|
1424
|
-
}[] | undefined;
|
|
1425
|
-
}[];
|
|
1426
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1427
|
-
readonly blocker?: string | undefined;
|
|
1428
|
-
readonly boardContext?: string | undefined;
|
|
1429
|
-
readonly boardRevision: string;
|
|
1430
|
-
readonly boardSourcePath?: string | undefined;
|
|
1431
|
-
readonly checks?: {
|
|
1432
|
-
readonly evidence: readonly string[];
|
|
1433
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
1434
|
-
readonly head: string;
|
|
1435
|
-
readonly passed: boolean;
|
|
1436
|
-
readonly pending?: boolean | undefined;
|
|
1437
|
-
readonly repairPrompt?: string | undefined;
|
|
1438
|
-
} | undefined;
|
|
1439
|
-
readonly completedAt?: number | undefined;
|
|
1440
|
-
readonly conflictRepairs?: readonly string[] | undefined;
|
|
1441
|
-
readonly cwd: string;
|
|
1442
|
-
readonly decision?: {
|
|
1443
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1444
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1445
|
-
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
1446
|
-
readonly id: string;
|
|
1447
|
-
readonly links: readonly string[];
|
|
1448
|
-
readonly publicationWork?: {
|
|
1449
|
-
readonly approved: boolean;
|
|
1450
|
-
readonly areas?: readonly string[] | undefined;
|
|
1451
|
-
readonly context: string;
|
|
1452
|
-
readonly deliverable?: "report" | undefined;
|
|
1453
|
-
readonly dependsOn: readonly string[];
|
|
1454
|
-
readonly revision: string;
|
|
1455
|
-
readonly sourcePath: string;
|
|
1456
|
-
readonly status?: string | undefined;
|
|
1457
|
-
readonly workId: string;
|
|
1458
|
-
} | undefined;
|
|
1459
|
-
readonly published?: {
|
|
1460
|
-
readonly itemId: string;
|
|
1461
|
-
readonly questionId: string;
|
|
1462
|
-
readonly request: string;
|
|
1463
|
-
readonly revision: string;
|
|
1464
|
-
readonly sourcePath: string;
|
|
1465
|
-
readonly workId: string;
|
|
1466
|
-
readonly workRevision: string;
|
|
1467
|
-
readonly workSourcePath: string;
|
|
1468
|
-
} | undefined;
|
|
1469
|
-
readonly reason: string;
|
|
1470
|
-
readonly recommendation: string;
|
|
1471
|
-
readonly worker?: {
|
|
1472
|
-
readonly sessionId: string;
|
|
1473
|
-
readonly turnId: string;
|
|
1474
|
-
} | undefined;
|
|
1475
|
-
} | undefined;
|
|
1476
|
-
readonly decisionAcknowledged?: boolean | undefined;
|
|
1477
|
-
readonly decisionPublished?: boolean | undefined;
|
|
1478
|
-
readonly deliverable?: "report" | undefined;
|
|
1479
|
-
readonly integrationRetry?: {
|
|
1480
|
-
readonly error: string;
|
|
1481
|
-
readonly failures: number;
|
|
1482
|
-
readonly retryAt: number;
|
|
1483
|
-
} | undefined;
|
|
1484
|
-
readonly launch?: {
|
|
1485
|
-
readonly effort?: string | undefined;
|
|
1486
|
-
readonly model?: string | undefined;
|
|
1487
|
-
readonly serviceTier?: string | undefined;
|
|
1488
|
-
} | undefined;
|
|
1489
|
-
readonly launchRetry?: {
|
|
1490
|
-
readonly prompt?: string | undefined;
|
|
1491
|
-
readonly rejectedAt: number;
|
|
1492
|
-
readonly rejections: number;
|
|
1493
|
-
readonly retryAt: number;
|
|
1494
|
-
} | undefined;
|
|
1495
|
-
readonly mergeAreasReleased?: boolean | undefined;
|
|
1496
|
-
readonly mergeReadyAt?: number | undefined;
|
|
1497
|
-
readonly mergeReadyHead?: string | undefined;
|
|
1498
|
-
readonly outcome?: {
|
|
1499
|
-
readonly head: string;
|
|
1500
|
-
readonly revision: string;
|
|
1501
|
-
readonly url: string;
|
|
1502
|
-
} | {
|
|
1503
|
-
readonly evidence: readonly string[];
|
|
1504
|
-
} | undefined;
|
|
1505
|
-
readonly pendingAnswers?: readonly string[] | undefined;
|
|
1506
|
-
readonly preparation: {
|
|
1507
|
-
readonly baselinePaths: readonly string[];
|
|
1508
|
-
readonly baseRevision: string;
|
|
1509
|
-
readonly configuration: readonly {
|
|
1510
|
-
readonly path: string;
|
|
1511
|
-
readonly relevantKeys: readonly string[];
|
|
1512
|
-
}[];
|
|
1513
|
-
readonly contextComplete: boolean;
|
|
1514
|
-
readonly dependencyPaths: readonly string[];
|
|
1515
|
-
readonly observedAt: number;
|
|
1516
|
-
readonly ownedPaths: readonly string[];
|
|
1517
|
-
readonly qualityPaths: readonly string[];
|
|
1518
|
-
readonly setupPaths: readonly string[];
|
|
1519
|
-
readonly sourcePaths: readonly string[];
|
|
1520
|
-
readonly validation: readonly {
|
|
1521
|
-
readonly command: string;
|
|
1522
|
-
readonly revision: string;
|
|
1523
|
-
}[];
|
|
1524
|
-
};
|
|
1525
|
-
readonly prompt: string;
|
|
1526
|
-
readonly releaseReason?: string | undefined;
|
|
1527
|
-
readonly report?: {
|
|
1528
|
-
readonly itemId: string;
|
|
1529
|
-
readonly receipt: {
|
|
1530
|
-
readonly sessionId: string;
|
|
1531
|
-
readonly turnId: string;
|
|
1532
|
-
};
|
|
1533
|
-
readonly revision: string;
|
|
1534
|
-
readonly sourcePath: string;
|
|
1535
|
-
readonly workRevision: string;
|
|
1536
|
-
} | undefined;
|
|
1537
|
-
readonly responses?: readonly {
|
|
1538
|
-
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
1539
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
1540
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1541
|
-
readonly decisionId: string;
|
|
1542
|
-
readonly processedAt: number;
|
|
1543
|
-
readonly published?: {
|
|
1544
|
-
readonly itemId: string;
|
|
1545
|
-
readonly questionId: string;
|
|
1546
|
-
readonly request: string;
|
|
1547
|
-
readonly revision: string;
|
|
1548
|
-
readonly sourcePath: string;
|
|
1549
|
-
readonly workId: string;
|
|
1550
|
-
readonly workRevision: string;
|
|
1551
|
-
readonly workSourcePath: string;
|
|
1552
|
-
} | undefined;
|
|
1553
|
-
readonly questionId: string;
|
|
1554
|
-
readonly questionRevision: string;
|
|
1555
|
-
readonly responseId: string;
|
|
1556
|
-
readonly type: "answer" | "clarify" | "not_now";
|
|
1557
|
-
}[] | undefined;
|
|
1558
|
-
readonly result?: {
|
|
1559
|
-
readonly head: string;
|
|
1560
|
-
readonly kind: "change";
|
|
1561
|
-
readonly paths: readonly string[];
|
|
1562
|
-
readonly pr: string;
|
|
1563
|
-
readonly prNumber?: number | undefined;
|
|
1564
|
-
} | {
|
|
1565
|
-
readonly evidence: readonly string[];
|
|
1566
|
-
readonly head: string;
|
|
1567
|
-
readonly kind: "no-change";
|
|
1568
|
-
} | undefined;
|
|
1569
|
-
readonly resultObservations?: readonly ({
|
|
1570
|
-
readonly head: string;
|
|
1571
|
-
readonly kind: "change";
|
|
1572
|
-
readonly paths: readonly string[];
|
|
1573
|
-
readonly pr: string;
|
|
1574
|
-
readonly prNumber?: number | undefined;
|
|
1575
|
-
} | {
|
|
1576
|
-
readonly evidence: readonly string[];
|
|
1577
|
-
readonly head: string;
|
|
1578
|
-
readonly kind: "no-change";
|
|
1579
|
-
})[] | undefined;
|
|
1580
|
-
readonly review?: {
|
|
1581
|
-
readonly evidence: readonly string[];
|
|
1582
|
-
readonly findings?: readonly string[] | undefined;
|
|
1583
|
-
readonly head: string;
|
|
1663
|
+
readonly provisioning: "ready" | "unknown";
|
|
1584
1664
|
readonly receipt: {
|
|
1585
1665
|
readonly sessionId: string;
|
|
1586
1666
|
readonly turnId: string;
|
|
1587
1667
|
};
|
|
1588
|
-
readonly
|
|
1589
|
-
readonly verdict: "approved" | "changes";
|
|
1668
|
+
readonly turnMissing?: boolean | undefined;
|
|
1590
1669
|
} | undefined;
|
|
1591
|
-
readonly
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
readonly questionId: string;
|
|
1599
|
-
readonly request: string;
|
|
1600
|
-
readonly revision: string;
|
|
1601
|
-
readonly sourcePath: string;
|
|
1602
|
-
readonly workId: string;
|
|
1603
|
-
readonly workRevision: string;
|
|
1604
|
-
readonly workSourcePath: string;
|
|
1605
|
-
};
|
|
1606
|
-
readonly reassignedTo?: {
|
|
1607
|
-
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1608
|
-
readonly decisionId: string;
|
|
1609
|
-
} | undefined;
|
|
1610
|
-
readonly supersededAt: number;
|
|
1611
|
-
}[] | undefined;
|
|
1612
|
-
readonly updatedAt?: number | undefined;
|
|
1613
|
-
readonly archivedAt: number;
|
|
1670
|
+
readonly observationError?: string | undefined;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
readonly briefSteers?: readonly {
|
|
1673
|
+
readonly error?: string | undefined;
|
|
1674
|
+
readonly requestedAt: number;
|
|
1675
|
+
readonly revision: string;
|
|
1676
|
+
readonly steeredAt?: number | undefined;
|
|
1614
1677
|
}[] | undefined;
|
|
1615
|
-
readonly
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1678
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
1679
|
+
readonly missingSince?: number | undefined;
|
|
1680
|
+
readonly observationRetries?: number | undefined;
|
|
1681
|
+
readonly operationId: string;
|
|
1682
|
+
readonly output?: string | undefined;
|
|
1683
|
+
readonly overLimit?: boolean | undefined;
|
|
1684
|
+
readonly progress?: {
|
|
1685
|
+
readonly at: number;
|
|
1686
|
+
readonly signature: string;
|
|
1687
|
+
} | undefined;
|
|
1688
|
+
readonly prompt?: string | undefined;
|
|
1689
|
+
readonly providerFailures?: number | undefined;
|
|
1690
|
+
readonly readRetry?: {
|
|
1691
|
+
readonly error: string;
|
|
1692
|
+
readonly failures: number;
|
|
1693
|
+
readonly retryAt: number;
|
|
1694
|
+
} | undefined;
|
|
1695
|
+
readonly receipt?: {
|
|
1696
|
+
readonly sessionId: string;
|
|
1697
|
+
readonly turnId: string;
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
readonly reviewHead?: string | undefined;
|
|
1700
|
+
readonly reviewRevision?: string | undefined;
|
|
1701
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
1702
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1703
|
+
readonly sessionId?: string | undefined;
|
|
1704
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
1705
|
+
readonly settings?: {
|
|
1706
|
+
readonly effort?: string | undefined;
|
|
1707
|
+
readonly model?: string | undefined;
|
|
1708
|
+
readonly serviceTier?: string | undefined;
|
|
1709
|
+
} | undefined;
|
|
1710
|
+
readonly stallRecovery?: {
|
|
1711
|
+
readonly count: number;
|
|
1712
|
+
readonly interruptedAt?: number | undefined;
|
|
1713
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
1714
|
+
readonly lastActionAt: number;
|
|
1715
|
+
readonly steeredAt?: number | undefined;
|
|
1716
|
+
} | undefined;
|
|
1717
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1718
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
1719
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
1720
|
+
readonly submittedAt: number;
|
|
1721
|
+
readonly terminalReceipts?: readonly {
|
|
1722
|
+
readonly sessionId: string;
|
|
1723
|
+
readonly turnId: string;
|
|
1724
|
+
}[] | undefined;
|
|
1725
|
+
}[];
|
|
1726
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1727
|
+
readonly blocker?: string | undefined;
|
|
1728
|
+
readonly boardContext?: string | undefined;
|
|
1729
|
+
readonly boardRevision: string;
|
|
1730
|
+
readonly boardSourcePath?: string | undefined;
|
|
1731
|
+
readonly checks?: {
|
|
1732
|
+
readonly evidence: readonly string[];
|
|
1733
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
1734
|
+
readonly head: string;
|
|
1735
|
+
readonly passed: boolean;
|
|
1736
|
+
readonly pending?: boolean | undefined;
|
|
1737
|
+
readonly repairPrompt?: string | undefined;
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
readonly completedAt?: number | undefined;
|
|
1740
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
1741
|
+
readonly cwd: string;
|
|
1742
|
+
readonly decision?: {
|
|
1743
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1744
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1745
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
1746
|
+
readonly id: string;
|
|
1747
|
+
readonly links: readonly string[];
|
|
1748
|
+
readonly publicationWork?: {
|
|
1749
|
+
readonly approved: boolean;
|
|
1750
|
+
readonly areas?: readonly string[] | undefined;
|
|
1751
|
+
readonly context: string;
|
|
1752
|
+
readonly deliverable?: "report" | undefined;
|
|
1753
|
+
readonly dependsOn: readonly string[];
|
|
1754
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
1755
|
+
readonly revision: string;
|
|
1756
|
+
readonly sourcePath: string;
|
|
1757
|
+
readonly status?: string | undefined;
|
|
1758
|
+
readonly workId: string;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
readonly published?: {
|
|
1761
|
+
readonly itemId: string;
|
|
1762
|
+
readonly questionId: string;
|
|
1763
|
+
readonly request: string;
|
|
1764
|
+
readonly revision: string;
|
|
1765
|
+
readonly sourcePath: string;
|
|
1766
|
+
readonly workId: string;
|
|
1767
|
+
readonly workRevision: string;
|
|
1768
|
+
readonly workSourcePath: string;
|
|
1769
|
+
} | undefined;
|
|
1770
|
+
readonly reason: string;
|
|
1771
|
+
readonly recommendation: string;
|
|
1772
|
+
readonly worker?: {
|
|
1773
|
+
readonly sessionId: string;
|
|
1774
|
+
readonly turnId: string;
|
|
1775
|
+
} | undefined;
|
|
1776
|
+
} | undefined;
|
|
1777
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
1778
|
+
readonly decisionPublished?: boolean | undefined;
|
|
1779
|
+
readonly deliverable?: "report" | undefined;
|
|
1780
|
+
readonly dispatchNow?: {
|
|
1781
|
+
readonly ignoreAreas: boolean;
|
|
1782
|
+
} | undefined;
|
|
1783
|
+
readonly integrationRetry?: {
|
|
1784
|
+
readonly error: string;
|
|
1785
|
+
readonly failures: number;
|
|
1786
|
+
readonly retryAt: number;
|
|
1787
|
+
} | undefined;
|
|
1788
|
+
readonly launch?: {
|
|
1789
|
+
readonly effort?: string | undefined;
|
|
1790
|
+
readonly model?: string | undefined;
|
|
1791
|
+
readonly serviceTier?: string | undefined;
|
|
1792
|
+
} | undefined;
|
|
1793
|
+
readonly launchRetry?: {
|
|
1794
|
+
readonly prompt?: string | undefined;
|
|
1795
|
+
readonly rejectedAt: number;
|
|
1796
|
+
readonly rejections: number;
|
|
1797
|
+
readonly retryAt: number;
|
|
1798
|
+
} | undefined;
|
|
1799
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
1800
|
+
readonly mergeReadyAt?: number | undefined;
|
|
1801
|
+
readonly mergeReadyHead?: string | undefined;
|
|
1802
|
+
readonly outcome?: {
|
|
1803
|
+
readonly head: string;
|
|
1804
|
+
readonly revision: string;
|
|
1805
|
+
readonly url: string;
|
|
1806
|
+
} | {
|
|
1807
|
+
readonly evidence: readonly string[];
|
|
1808
|
+
} | undefined;
|
|
1809
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
1810
|
+
readonly preparation: {
|
|
1811
|
+
readonly baselinePaths: readonly string[];
|
|
1812
|
+
readonly baseRevision: string;
|
|
1813
|
+
readonly configuration: readonly {
|
|
1814
|
+
readonly path: string;
|
|
1815
|
+
readonly relevantKeys: readonly string[];
|
|
1816
|
+
}[];
|
|
1817
|
+
readonly contextComplete: boolean;
|
|
1818
|
+
readonly dependencyPaths: readonly string[];
|
|
1819
|
+
readonly observedAt: number;
|
|
1820
|
+
readonly ownedPaths: readonly string[];
|
|
1821
|
+
readonly qualityPaths: readonly string[];
|
|
1822
|
+
readonly setupPaths: readonly string[];
|
|
1823
|
+
readonly sourcePaths: readonly string[];
|
|
1824
|
+
readonly validation: readonly {
|
|
1825
|
+
readonly command: string;
|
|
1826
|
+
readonly revision: string;
|
|
1827
|
+
}[];
|
|
1828
|
+
};
|
|
1829
|
+
readonly prompt: string;
|
|
1830
|
+
readonly releaseReason?: string | undefined;
|
|
1831
|
+
readonly report?: {
|
|
1832
|
+
readonly itemId: string;
|
|
1833
|
+
readonly receipt: {
|
|
1834
|
+
readonly sessionId: string;
|
|
1835
|
+
readonly turnId: string;
|
|
1836
|
+
};
|
|
1837
|
+
readonly revision: string;
|
|
1838
|
+
readonly sourcePath: string;
|
|
1839
|
+
readonly workRevision: string;
|
|
1840
|
+
} | undefined;
|
|
1841
|
+
readonly responses?: readonly {
|
|
1842
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
1843
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1844
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1845
|
+
readonly decisionId: string;
|
|
1846
|
+
readonly processedAt: number;
|
|
1847
|
+
readonly published?: {
|
|
1848
|
+
readonly itemId: string;
|
|
1849
|
+
readonly questionId: string;
|
|
1850
|
+
readonly request: string;
|
|
1851
|
+
readonly revision: string;
|
|
1852
|
+
readonly sourcePath: string;
|
|
1853
|
+
readonly workId: string;
|
|
1854
|
+
readonly workRevision: string;
|
|
1855
|
+
readonly workSourcePath: string;
|
|
1856
|
+
} | undefined;
|
|
1857
|
+
readonly questionId: string;
|
|
1858
|
+
readonly questionRevision: string;
|
|
1859
|
+
readonly responseId: string;
|
|
1860
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
1861
|
+
}[] | undefined;
|
|
1862
|
+
readonly result?: {
|
|
1863
|
+
readonly head: string;
|
|
1864
|
+
readonly kind: "change";
|
|
1865
|
+
readonly paths: readonly string[];
|
|
1866
|
+
readonly pr: string;
|
|
1867
|
+
readonly prNumber?: number | undefined;
|
|
1868
|
+
} | {
|
|
1869
|
+
readonly evidence: readonly string[];
|
|
1870
|
+
readonly head: string;
|
|
1871
|
+
readonly kind: "no-change";
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
readonly resultObservations?: readonly ({
|
|
1874
|
+
readonly head: string;
|
|
1875
|
+
readonly kind: "change";
|
|
1876
|
+
readonly paths: readonly string[];
|
|
1877
|
+
readonly pr: string;
|
|
1878
|
+
readonly prNumber?: number | undefined;
|
|
1879
|
+
} | {
|
|
1880
|
+
readonly evidence: readonly string[];
|
|
1881
|
+
readonly head: string;
|
|
1882
|
+
readonly kind: "no-change";
|
|
1883
|
+
})[] | undefined;
|
|
1884
|
+
readonly review?: {
|
|
1885
|
+
readonly evidence: readonly string[];
|
|
1886
|
+
readonly findings?: readonly string[] | undefined;
|
|
1887
|
+
readonly head: string;
|
|
1888
|
+
readonly receipt: {
|
|
1889
|
+
readonly sessionId: string;
|
|
1890
|
+
readonly turnId: string;
|
|
1891
|
+
};
|
|
1892
|
+
readonly repairPrompt: string;
|
|
1893
|
+
readonly verdict: "approved" | "changes";
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
1896
|
+
readonly stageEnteredAt?: number | undefined;
|
|
1897
|
+
readonly supersededDecisions?: readonly {
|
|
1898
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1899
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1900
|
+
readonly published: {
|
|
1901
|
+
readonly itemId: string;
|
|
1902
|
+
readonly questionId: string;
|
|
1903
|
+
readonly request: string;
|
|
1904
|
+
readonly revision: string;
|
|
1905
|
+
readonly sourcePath: string;
|
|
1906
|
+
readonly workId: string;
|
|
1907
|
+
readonly workRevision: string;
|
|
1908
|
+
readonly workSourcePath: string;
|
|
1909
|
+
};
|
|
1910
|
+
readonly reassignedTo?: {
|
|
1911
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1912
|
+
readonly decisionId: string;
|
|
1913
|
+
} | undefined;
|
|
1914
|
+
readonly supersededAt: number;
|
|
1915
|
+
}[] | undefined;
|
|
1916
|
+
readonly updatedAt?: number | undefined;
|
|
1917
|
+
readonly history?: readonly {
|
|
1918
|
+
readonly admissionReady?: boolean | undefined;
|
|
1919
|
+
readonly areas?: readonly string[] | undefined;
|
|
1920
|
+
readonly attempts: readonly {
|
|
1921
|
+
readonly abandoned?: {
|
|
1922
|
+
readonly at: number;
|
|
1923
|
+
readonly interruptError?: string | undefined;
|
|
1924
|
+
readonly observation?: {
|
|
1925
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1926
|
+
readonly error?: string | undefined;
|
|
1927
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1928
|
+
readonly output: string;
|
|
1929
|
+
readonly progress?: readonly {
|
|
1930
|
+
readonly id: string;
|
|
1931
|
+
readonly status?: string | undefined;
|
|
1932
|
+
}[] | undefined;
|
|
1933
|
+
readonly provisioning: "ready" | "unknown";
|
|
1934
|
+
readonly receipt: {
|
|
1935
|
+
readonly sessionId: string;
|
|
1936
|
+
readonly turnId: string;
|
|
1937
|
+
};
|
|
1938
|
+
readonly turnMissing?: boolean | undefined;
|
|
1939
|
+
} | undefined;
|
|
1940
|
+
readonly observationError?: string | undefined;
|
|
1941
|
+
} | undefined;
|
|
1942
|
+
readonly briefSteers?: readonly {
|
|
1943
|
+
readonly error?: string | undefined;
|
|
1944
|
+
readonly requestedAt: number;
|
|
1945
|
+
readonly revision: string;
|
|
1946
|
+
readonly steeredAt?: number | undefined;
|
|
1947
|
+
}[] | undefined;
|
|
1948
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
1949
|
+
readonly missingSince?: number | undefined;
|
|
1950
|
+
readonly observationRetries?: number | undefined;
|
|
1951
|
+
readonly operationId: string;
|
|
1952
|
+
readonly output?: string | undefined;
|
|
1953
|
+
readonly overLimit?: boolean | undefined;
|
|
1954
|
+
readonly progress?: {
|
|
1955
|
+
readonly at: number;
|
|
1956
|
+
readonly signature: string;
|
|
1957
|
+
} | undefined;
|
|
1958
|
+
readonly prompt?: string | undefined;
|
|
1959
|
+
readonly providerFailures?: number | undefined;
|
|
1960
|
+
readonly readRetry?: {
|
|
1961
|
+
readonly error: string;
|
|
1962
|
+
readonly failures: number;
|
|
1963
|
+
readonly retryAt: number;
|
|
1964
|
+
} | undefined;
|
|
1965
|
+
readonly receipt?: {
|
|
1966
|
+
readonly sessionId: string;
|
|
1967
|
+
readonly turnId: string;
|
|
1968
|
+
} | undefined;
|
|
1969
|
+
readonly reviewHead?: string | undefined;
|
|
1970
|
+
readonly reviewRevision?: string | undefined;
|
|
1971
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
1972
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1973
|
+
readonly sessionId?: string | undefined;
|
|
1974
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
1975
|
+
readonly settings?: {
|
|
1976
|
+
readonly effort?: string | undefined;
|
|
1977
|
+
readonly model?: string | undefined;
|
|
1978
|
+
readonly serviceTier?: string | undefined;
|
|
1979
|
+
} | undefined;
|
|
1980
|
+
readonly stallRecovery?: {
|
|
1981
|
+
readonly count: number;
|
|
1982
|
+
readonly interruptedAt?: number | undefined;
|
|
1983
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
1984
|
+
readonly lastActionAt: number;
|
|
1985
|
+
readonly steeredAt?: number | undefined;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1988
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
1989
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
1990
|
+
readonly submittedAt: number;
|
|
1991
|
+
readonly terminalReceipts?: readonly {
|
|
1992
|
+
readonly sessionId: string;
|
|
1993
|
+
readonly turnId: string;
|
|
1994
|
+
}[] | undefined;
|
|
1995
|
+
}[];
|
|
1996
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1997
|
+
readonly blocker?: string | undefined;
|
|
1998
|
+
readonly boardContext?: string | undefined;
|
|
1999
|
+
readonly boardRevision: string;
|
|
2000
|
+
readonly boardSourcePath?: string | undefined;
|
|
2001
|
+
readonly checks?: {
|
|
2002
|
+
readonly evidence: readonly string[];
|
|
2003
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
2004
|
+
readonly head: string;
|
|
2005
|
+
readonly passed: boolean;
|
|
2006
|
+
readonly pending?: boolean | undefined;
|
|
2007
|
+
readonly repairPrompt?: string | undefined;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
readonly completedAt?: number | undefined;
|
|
2010
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
2011
|
+
readonly cwd: string;
|
|
2012
|
+
readonly decision?: {
|
|
2013
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2014
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2015
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
2016
|
+
readonly id: string;
|
|
2017
|
+
readonly links: readonly string[];
|
|
2018
|
+
readonly publicationWork?: {
|
|
2019
|
+
readonly approved: boolean;
|
|
2020
|
+
readonly areas?: readonly string[] | undefined;
|
|
2021
|
+
readonly context: string;
|
|
2022
|
+
readonly deliverable?: "report" | undefined;
|
|
2023
|
+
readonly dependsOn: readonly string[];
|
|
2024
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2025
|
+
readonly revision: string;
|
|
2026
|
+
readonly sourcePath: string;
|
|
2027
|
+
readonly status?: string | undefined;
|
|
2028
|
+
readonly workId: string;
|
|
2029
|
+
} | undefined;
|
|
2030
|
+
readonly published?: {
|
|
2031
|
+
readonly itemId: string;
|
|
2032
|
+
readonly questionId: string;
|
|
2033
|
+
readonly request: string;
|
|
2034
|
+
readonly revision: string;
|
|
2035
|
+
readonly sourcePath: string;
|
|
2036
|
+
readonly workId: string;
|
|
2037
|
+
readonly workRevision: string;
|
|
2038
|
+
readonly workSourcePath: string;
|
|
2039
|
+
} | undefined;
|
|
2040
|
+
readonly reason: string;
|
|
2041
|
+
readonly recommendation: string;
|
|
2042
|
+
readonly worker?: {
|
|
2043
|
+
readonly sessionId: string;
|
|
2044
|
+
readonly turnId: string;
|
|
2045
|
+
} | undefined;
|
|
2046
|
+
} | undefined;
|
|
2047
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
2048
|
+
readonly decisionPublished?: boolean | undefined;
|
|
2049
|
+
readonly deliverable?: "report" | undefined;
|
|
2050
|
+
readonly dispatchNow?: {
|
|
2051
|
+
readonly ignoreAreas: boolean;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
readonly integrationRetry?: {
|
|
2054
|
+
readonly error: string;
|
|
2055
|
+
readonly failures: number;
|
|
2056
|
+
readonly retryAt: number;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
readonly launch?: {
|
|
2059
|
+
readonly effort?: string | undefined;
|
|
2060
|
+
readonly model?: string | undefined;
|
|
2061
|
+
readonly serviceTier?: string | undefined;
|
|
2062
|
+
} | undefined;
|
|
2063
|
+
readonly launchRetry?: {
|
|
2064
|
+
readonly prompt?: string | undefined;
|
|
2065
|
+
readonly rejectedAt: number;
|
|
2066
|
+
readonly rejections: number;
|
|
2067
|
+
readonly retryAt: number;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
2070
|
+
readonly mergeReadyAt?: number | undefined;
|
|
2071
|
+
readonly mergeReadyHead?: string | undefined;
|
|
2072
|
+
readonly outcome?: {
|
|
2073
|
+
readonly head: string;
|
|
2074
|
+
readonly revision: string;
|
|
2075
|
+
readonly url: string;
|
|
2076
|
+
} | {
|
|
2077
|
+
readonly evidence: readonly string[];
|
|
2078
|
+
} | undefined;
|
|
2079
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
2080
|
+
readonly preparation: {
|
|
2081
|
+
readonly baselinePaths: readonly string[];
|
|
2082
|
+
readonly baseRevision: string;
|
|
2083
|
+
readonly configuration: readonly {
|
|
2084
|
+
readonly path: string;
|
|
2085
|
+
readonly relevantKeys: readonly string[];
|
|
2086
|
+
}[];
|
|
2087
|
+
readonly contextComplete: boolean;
|
|
2088
|
+
readonly dependencyPaths: readonly string[];
|
|
2089
|
+
readonly observedAt: number;
|
|
2090
|
+
readonly ownedPaths: readonly string[];
|
|
2091
|
+
readonly qualityPaths: readonly string[];
|
|
2092
|
+
readonly setupPaths: readonly string[];
|
|
2093
|
+
readonly sourcePaths: readonly string[];
|
|
2094
|
+
readonly validation: readonly {
|
|
2095
|
+
readonly command: string;
|
|
2096
|
+
readonly revision: string;
|
|
2097
|
+
}[];
|
|
2098
|
+
};
|
|
2099
|
+
readonly prompt: string;
|
|
2100
|
+
readonly releaseReason?: string | undefined;
|
|
2101
|
+
readonly report?: {
|
|
2102
|
+
readonly itemId: string;
|
|
2103
|
+
readonly receipt: {
|
|
2104
|
+
readonly sessionId: string;
|
|
2105
|
+
readonly turnId: string;
|
|
2106
|
+
};
|
|
2107
|
+
readonly revision: string;
|
|
2108
|
+
readonly sourcePath: string;
|
|
2109
|
+
readonly workRevision: string;
|
|
2110
|
+
} | undefined;
|
|
2111
|
+
readonly responses?: readonly {
|
|
2112
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
2113
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2114
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2115
|
+
readonly decisionId: string;
|
|
2116
|
+
readonly processedAt: number;
|
|
2117
|
+
readonly published?: {
|
|
2118
|
+
readonly itemId: string;
|
|
2119
|
+
readonly questionId: string;
|
|
2120
|
+
readonly request: string;
|
|
2121
|
+
readonly revision: string;
|
|
2122
|
+
readonly sourcePath: string;
|
|
2123
|
+
readonly workId: string;
|
|
2124
|
+
readonly workRevision: string;
|
|
2125
|
+
readonly workSourcePath: string;
|
|
2126
|
+
} | undefined;
|
|
2127
|
+
readonly questionId: string;
|
|
2128
|
+
readonly questionRevision: string;
|
|
2129
|
+
readonly responseId: string;
|
|
2130
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
2131
|
+
}[] | undefined;
|
|
2132
|
+
readonly result?: {
|
|
2133
|
+
readonly head: string;
|
|
2134
|
+
readonly kind: "change";
|
|
2135
|
+
readonly paths: readonly string[];
|
|
2136
|
+
readonly pr: string;
|
|
2137
|
+
readonly prNumber?: number | undefined;
|
|
2138
|
+
} | {
|
|
2139
|
+
readonly evidence: readonly string[];
|
|
2140
|
+
readonly head: string;
|
|
2141
|
+
readonly kind: "no-change";
|
|
2142
|
+
} | undefined;
|
|
2143
|
+
readonly resultObservations?: readonly ({
|
|
2144
|
+
readonly head: string;
|
|
2145
|
+
readonly kind: "change";
|
|
2146
|
+
readonly paths: readonly string[];
|
|
2147
|
+
readonly pr: string;
|
|
2148
|
+
readonly prNumber?: number | undefined;
|
|
2149
|
+
} | {
|
|
2150
|
+
readonly evidence: readonly string[];
|
|
2151
|
+
readonly head: string;
|
|
2152
|
+
readonly kind: "no-change";
|
|
2153
|
+
})[] | undefined;
|
|
2154
|
+
readonly review?: {
|
|
2155
|
+
readonly evidence: readonly string[];
|
|
2156
|
+
readonly findings?: readonly string[] | undefined;
|
|
2157
|
+
readonly head: string;
|
|
2158
|
+
readonly receipt: {
|
|
2159
|
+
readonly sessionId: string;
|
|
2160
|
+
readonly turnId: string;
|
|
2161
|
+
};
|
|
2162
|
+
readonly repairPrompt: string;
|
|
2163
|
+
readonly verdict: "approved" | "changes";
|
|
2164
|
+
} | undefined;
|
|
2165
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
2166
|
+
readonly stageEnteredAt?: number | undefined;
|
|
2167
|
+
readonly supersededDecisions?: readonly {
|
|
2168
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2169
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2170
|
+
readonly published: {
|
|
2171
|
+
readonly itemId: string;
|
|
2172
|
+
readonly questionId: string;
|
|
2173
|
+
readonly request: string;
|
|
2174
|
+
readonly revision: string;
|
|
2175
|
+
readonly sourcePath: string;
|
|
2176
|
+
readonly workId: string;
|
|
2177
|
+
readonly workRevision: string;
|
|
2178
|
+
readonly workSourcePath: string;
|
|
2179
|
+
};
|
|
2180
|
+
readonly reassignedTo?: {
|
|
2181
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
2182
|
+
readonly decisionId: string;
|
|
2183
|
+
} | undefined;
|
|
2184
|
+
readonly supersededAt: number;
|
|
2185
|
+
}[] | undefined;
|
|
2186
|
+
readonly updatedAt?: number | undefined;
|
|
2187
|
+
readonly archivedAt: number;
|
|
2188
|
+
}[] | undefined;
|
|
2189
|
+
readonly workId: string;
|
|
2190
|
+
}>, import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Conflict | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("@shivaedev/platform/errors/taxonomy.ts").ServiceUnavailable | import("effect/sql/SqlError").SqlError | import("./storage/errors.ts").StorageAdmission | import("./storage/errors.ts").StorageCapacity | import("./storage/errors.ts").StorageConflict | import("./storage/errors.ts").StorageQuota, never>;
|
|
2191
|
+
readonly get: (workId: string) => Effect.Effect<{
|
|
2192
|
+
value: {
|
|
2193
|
+
readonly admissionReady?: boolean | undefined;
|
|
2194
|
+
readonly areas?: readonly string[] | undefined;
|
|
2195
|
+
readonly attempts: readonly {
|
|
2196
|
+
readonly abandoned?: {
|
|
2197
|
+
readonly at: number;
|
|
2198
|
+
readonly interruptError?: string | undefined;
|
|
2199
|
+
readonly observation?: {
|
|
2200
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2201
|
+
readonly error?: string | undefined;
|
|
2202
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2203
|
+
readonly output: string;
|
|
2204
|
+
readonly progress?: readonly {
|
|
2205
|
+
readonly id: string;
|
|
2206
|
+
readonly status?: string | undefined;
|
|
2207
|
+
}[] | undefined;
|
|
2208
|
+
readonly provisioning: "ready" | "unknown";
|
|
2209
|
+
readonly receipt: {
|
|
2210
|
+
readonly sessionId: string;
|
|
2211
|
+
readonly turnId: string;
|
|
2212
|
+
};
|
|
2213
|
+
readonly turnMissing?: boolean | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
readonly observationError?: string | undefined;
|
|
2216
|
+
} | undefined;
|
|
2217
|
+
readonly briefSteers?: readonly {
|
|
2218
|
+
readonly error?: string | undefined;
|
|
2219
|
+
readonly requestedAt: number;
|
|
2220
|
+
readonly revision: string;
|
|
2221
|
+
readonly steeredAt?: number | undefined;
|
|
2222
|
+
}[] | undefined;
|
|
2223
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
2224
|
+
readonly missingSince?: number | undefined;
|
|
2225
|
+
readonly observationRetries?: number | undefined;
|
|
2226
|
+
readonly operationId: string;
|
|
2227
|
+
readonly output?: string | undefined;
|
|
2228
|
+
readonly overLimit?: boolean | undefined;
|
|
2229
|
+
readonly progress?: {
|
|
2230
|
+
readonly at: number;
|
|
2231
|
+
readonly signature: string;
|
|
2232
|
+
} | undefined;
|
|
2233
|
+
readonly prompt?: string | undefined;
|
|
2234
|
+
readonly providerFailures?: number | undefined;
|
|
2235
|
+
readonly readRetry?: {
|
|
2236
|
+
readonly error: string;
|
|
2237
|
+
readonly failures: number;
|
|
2238
|
+
readonly retryAt: number;
|
|
2239
|
+
} | undefined;
|
|
2240
|
+
readonly receipt?: {
|
|
2241
|
+
readonly sessionId: string;
|
|
2242
|
+
readonly turnId: string;
|
|
2243
|
+
} | undefined;
|
|
2244
|
+
readonly reviewHead?: string | undefined;
|
|
2245
|
+
readonly reviewRevision?: string | undefined;
|
|
2246
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
2247
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
2248
|
+
readonly sessionId?: string | undefined;
|
|
2249
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
2250
|
+
readonly settings?: {
|
|
2251
|
+
readonly effort?: string | undefined;
|
|
2252
|
+
readonly model?: string | undefined;
|
|
2253
|
+
readonly serviceTier?: string | undefined;
|
|
2254
|
+
} | undefined;
|
|
2255
|
+
readonly stallRecovery?: {
|
|
2256
|
+
readonly count: number;
|
|
2257
|
+
readonly interruptedAt?: number | undefined;
|
|
2258
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
2259
|
+
readonly lastActionAt: number;
|
|
2260
|
+
readonly steeredAt?: number | undefined;
|
|
2261
|
+
} | undefined;
|
|
2262
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
2263
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
2264
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
2265
|
+
readonly submittedAt: number;
|
|
2266
|
+
readonly terminalReceipts?: readonly {
|
|
2267
|
+
readonly sessionId: string;
|
|
2268
|
+
readonly turnId: string;
|
|
2269
|
+
}[] | undefined;
|
|
2270
|
+
}[];
|
|
2271
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2272
|
+
readonly blocker?: string | undefined;
|
|
2273
|
+
readonly boardContext?: string | undefined;
|
|
2274
|
+
readonly boardRevision: string;
|
|
2275
|
+
readonly boardSourcePath?: string | undefined;
|
|
2276
|
+
readonly checks?: {
|
|
2277
|
+
readonly evidence: readonly string[];
|
|
2278
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
2279
|
+
readonly head: string;
|
|
2280
|
+
readonly passed: boolean;
|
|
2281
|
+
readonly pending?: boolean | undefined;
|
|
2282
|
+
readonly repairPrompt?: string | undefined;
|
|
2283
|
+
} | undefined;
|
|
2284
|
+
readonly completedAt?: number | undefined;
|
|
2285
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
2286
|
+
readonly cwd: string;
|
|
2287
|
+
readonly decision?: {
|
|
2288
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2289
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2290
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
2291
|
+
readonly id: string;
|
|
2292
|
+
readonly links: readonly string[];
|
|
2293
|
+
readonly publicationWork?: {
|
|
2294
|
+
readonly approved: boolean;
|
|
2295
|
+
readonly areas?: readonly string[] | undefined;
|
|
2296
|
+
readonly context: string;
|
|
2297
|
+
readonly deliverable?: "report" | undefined;
|
|
2298
|
+
readonly dependsOn: readonly string[];
|
|
2299
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2300
|
+
readonly revision: string;
|
|
2301
|
+
readonly sourcePath: string;
|
|
2302
|
+
readonly status?: string | undefined;
|
|
2303
|
+
readonly workId: string;
|
|
2304
|
+
} | undefined;
|
|
2305
|
+
readonly published?: {
|
|
2306
|
+
readonly itemId: string;
|
|
2307
|
+
readonly questionId: string;
|
|
2308
|
+
readonly request: string;
|
|
2309
|
+
readonly revision: string;
|
|
2310
|
+
readonly sourcePath: string;
|
|
2311
|
+
readonly workId: string;
|
|
2312
|
+
readonly workRevision: string;
|
|
2313
|
+
readonly workSourcePath: string;
|
|
2314
|
+
} | undefined;
|
|
2315
|
+
readonly reason: string;
|
|
2316
|
+
readonly recommendation: string;
|
|
2317
|
+
readonly worker?: {
|
|
2318
|
+
readonly sessionId: string;
|
|
2319
|
+
readonly turnId: string;
|
|
2320
|
+
} | undefined;
|
|
2321
|
+
} | undefined;
|
|
2322
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
2323
|
+
readonly decisionPublished?: boolean | undefined;
|
|
2324
|
+
readonly deliverable?: "report" | undefined;
|
|
2325
|
+
readonly dispatchNow?: {
|
|
2326
|
+
readonly ignoreAreas: boolean;
|
|
2327
|
+
} | undefined;
|
|
2328
|
+
readonly integrationRetry?: {
|
|
2329
|
+
readonly error: string;
|
|
2330
|
+
readonly failures: number;
|
|
2331
|
+
readonly retryAt: number;
|
|
2332
|
+
} | undefined;
|
|
2333
|
+
readonly launch?: {
|
|
2334
|
+
readonly effort?: string | undefined;
|
|
2335
|
+
readonly model?: string | undefined;
|
|
2336
|
+
readonly serviceTier?: string | undefined;
|
|
2337
|
+
} | undefined;
|
|
2338
|
+
readonly launchRetry?: {
|
|
2339
|
+
readonly prompt?: string | undefined;
|
|
2340
|
+
readonly rejectedAt: number;
|
|
2341
|
+
readonly rejections: number;
|
|
2342
|
+
readonly retryAt: number;
|
|
2343
|
+
} | undefined;
|
|
2344
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
2345
|
+
readonly mergeReadyAt?: number | undefined;
|
|
2346
|
+
readonly mergeReadyHead?: string | undefined;
|
|
2347
|
+
readonly outcome?: {
|
|
2348
|
+
readonly head: string;
|
|
2349
|
+
readonly revision: string;
|
|
2350
|
+
readonly url: string;
|
|
2351
|
+
} | {
|
|
2352
|
+
readonly evidence: readonly string[];
|
|
2353
|
+
} | undefined;
|
|
2354
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
2355
|
+
readonly preparation: {
|
|
2356
|
+
readonly baselinePaths: readonly string[];
|
|
2357
|
+
readonly baseRevision: string;
|
|
2358
|
+
readonly configuration: readonly {
|
|
2359
|
+
readonly path: string;
|
|
2360
|
+
readonly relevantKeys: readonly string[];
|
|
2361
|
+
}[];
|
|
2362
|
+
readonly contextComplete: boolean;
|
|
2363
|
+
readonly dependencyPaths: readonly string[];
|
|
2364
|
+
readonly observedAt: number;
|
|
2365
|
+
readonly ownedPaths: readonly string[];
|
|
2366
|
+
readonly qualityPaths: readonly string[];
|
|
2367
|
+
readonly setupPaths: readonly string[];
|
|
2368
|
+
readonly sourcePaths: readonly string[];
|
|
2369
|
+
readonly validation: readonly {
|
|
2370
|
+
readonly command: string;
|
|
2371
|
+
readonly revision: string;
|
|
2372
|
+
}[];
|
|
2373
|
+
};
|
|
2374
|
+
readonly prompt: string;
|
|
2375
|
+
readonly releaseReason?: string | undefined;
|
|
2376
|
+
readonly report?: {
|
|
2377
|
+
readonly itemId: string;
|
|
2378
|
+
readonly receipt: {
|
|
2379
|
+
readonly sessionId: string;
|
|
2380
|
+
readonly turnId: string;
|
|
2381
|
+
};
|
|
2382
|
+
readonly revision: string;
|
|
2383
|
+
readonly sourcePath: string;
|
|
2384
|
+
readonly workRevision: string;
|
|
2385
|
+
} | undefined;
|
|
2386
|
+
readonly responses?: readonly {
|
|
2387
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
2388
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2389
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2390
|
+
readonly decisionId: string;
|
|
2391
|
+
readonly processedAt: number;
|
|
2392
|
+
readonly published?: {
|
|
2393
|
+
readonly itemId: string;
|
|
2394
|
+
readonly questionId: string;
|
|
2395
|
+
readonly request: string;
|
|
2396
|
+
readonly revision: string;
|
|
2397
|
+
readonly sourcePath: string;
|
|
2398
|
+
readonly workId: string;
|
|
2399
|
+
readonly workRevision: string;
|
|
2400
|
+
readonly workSourcePath: string;
|
|
2401
|
+
} | undefined;
|
|
2402
|
+
readonly questionId: string;
|
|
2403
|
+
readonly questionRevision: string;
|
|
2404
|
+
readonly responseId: string;
|
|
2405
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
2406
|
+
}[] | undefined;
|
|
2407
|
+
readonly result?: {
|
|
2408
|
+
readonly head: string;
|
|
2409
|
+
readonly kind: "change";
|
|
2410
|
+
readonly paths: readonly string[];
|
|
2411
|
+
readonly pr: string;
|
|
2412
|
+
readonly prNumber?: number | undefined;
|
|
2413
|
+
} | {
|
|
2414
|
+
readonly evidence: readonly string[];
|
|
2415
|
+
readonly head: string;
|
|
2416
|
+
readonly kind: "no-change";
|
|
2417
|
+
} | undefined;
|
|
2418
|
+
readonly resultObservations?: readonly ({
|
|
2419
|
+
readonly head: string;
|
|
2420
|
+
readonly kind: "change";
|
|
2421
|
+
readonly paths: readonly string[];
|
|
2422
|
+
readonly pr: string;
|
|
2423
|
+
readonly prNumber?: number | undefined;
|
|
2424
|
+
} | {
|
|
2425
|
+
readonly evidence: readonly string[];
|
|
2426
|
+
readonly head: string;
|
|
2427
|
+
readonly kind: "no-change";
|
|
2428
|
+
})[] | undefined;
|
|
2429
|
+
readonly review?: {
|
|
2430
|
+
readonly evidence: readonly string[];
|
|
2431
|
+
readonly findings?: readonly string[] | undefined;
|
|
2432
|
+
readonly head: string;
|
|
2433
|
+
readonly receipt: {
|
|
2434
|
+
readonly sessionId: string;
|
|
2435
|
+
readonly turnId: string;
|
|
2436
|
+
};
|
|
2437
|
+
readonly repairPrompt: string;
|
|
2438
|
+
readonly verdict: "approved" | "changes";
|
|
2439
|
+
} | undefined;
|
|
2440
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
2441
|
+
readonly stageEnteredAt?: number | undefined;
|
|
2442
|
+
readonly supersededDecisions?: readonly {
|
|
2443
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2444
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2445
|
+
readonly published: {
|
|
2446
|
+
readonly itemId: string;
|
|
2447
|
+
readonly questionId: string;
|
|
2448
|
+
readonly request: string;
|
|
2449
|
+
readonly revision: string;
|
|
2450
|
+
readonly sourcePath: string;
|
|
2451
|
+
readonly workId: string;
|
|
2452
|
+
readonly workRevision: string;
|
|
2453
|
+
readonly workSourcePath: string;
|
|
2454
|
+
};
|
|
2455
|
+
readonly reassignedTo?: {
|
|
2456
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
2457
|
+
readonly decisionId: string;
|
|
2458
|
+
} | undefined;
|
|
2459
|
+
readonly supersededAt: number;
|
|
2460
|
+
}[] | undefined;
|
|
2461
|
+
readonly updatedAt?: number | undefined;
|
|
2462
|
+
readonly history?: readonly {
|
|
2463
|
+
readonly admissionReady?: boolean | undefined;
|
|
2464
|
+
readonly areas?: readonly string[] | undefined;
|
|
2465
|
+
readonly attempts: readonly {
|
|
2466
|
+
readonly abandoned?: {
|
|
2467
|
+
readonly at: number;
|
|
2468
|
+
readonly interruptError?: string | undefined;
|
|
2469
|
+
readonly observation?: {
|
|
2470
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2471
|
+
readonly error?: string | undefined;
|
|
2472
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2473
|
+
readonly output: string;
|
|
2474
|
+
readonly progress?: readonly {
|
|
2475
|
+
readonly id: string;
|
|
2476
|
+
readonly status?: string | undefined;
|
|
2477
|
+
}[] | undefined;
|
|
2478
|
+
readonly provisioning: "ready" | "unknown";
|
|
2479
|
+
readonly receipt: {
|
|
2480
|
+
readonly sessionId: string;
|
|
2481
|
+
readonly turnId: string;
|
|
2482
|
+
};
|
|
2483
|
+
readonly turnMissing?: boolean | undefined;
|
|
2484
|
+
} | undefined;
|
|
2485
|
+
readonly observationError?: string | undefined;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
readonly briefSteers?: readonly {
|
|
2488
|
+
readonly error?: string | undefined;
|
|
2489
|
+
readonly requestedAt: number;
|
|
2490
|
+
readonly revision: string;
|
|
2491
|
+
readonly steeredAt?: number | undefined;
|
|
2492
|
+
}[] | undefined;
|
|
2493
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
2494
|
+
readonly missingSince?: number | undefined;
|
|
2495
|
+
readonly observationRetries?: number | undefined;
|
|
2496
|
+
readonly operationId: string;
|
|
2497
|
+
readonly output?: string | undefined;
|
|
2498
|
+
readonly overLimit?: boolean | undefined;
|
|
2499
|
+
readonly progress?: {
|
|
2500
|
+
readonly at: number;
|
|
2501
|
+
readonly signature: string;
|
|
2502
|
+
} | undefined;
|
|
2503
|
+
readonly prompt?: string | undefined;
|
|
2504
|
+
readonly providerFailures?: number | undefined;
|
|
2505
|
+
readonly readRetry?: {
|
|
2506
|
+
readonly error: string;
|
|
2507
|
+
readonly failures: number;
|
|
2508
|
+
readonly retryAt: number;
|
|
2509
|
+
} | undefined;
|
|
2510
|
+
readonly receipt?: {
|
|
2511
|
+
readonly sessionId: string;
|
|
2512
|
+
readonly turnId: string;
|
|
2513
|
+
} | undefined;
|
|
2514
|
+
readonly reviewHead?: string | undefined;
|
|
2515
|
+
readonly reviewRevision?: string | undefined;
|
|
2516
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
2517
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
2518
|
+
readonly sessionId?: string | undefined;
|
|
2519
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
2520
|
+
readonly settings?: {
|
|
2521
|
+
readonly effort?: string | undefined;
|
|
2522
|
+
readonly model?: string | undefined;
|
|
2523
|
+
readonly serviceTier?: string | undefined;
|
|
2524
|
+
} | undefined;
|
|
2525
|
+
readonly stallRecovery?: {
|
|
2526
|
+
readonly count: number;
|
|
2527
|
+
readonly interruptedAt?: number | undefined;
|
|
2528
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
2529
|
+
readonly lastActionAt: number;
|
|
2530
|
+
readonly steeredAt?: number | undefined;
|
|
2531
|
+
} | undefined;
|
|
2532
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
2533
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
2534
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
2535
|
+
readonly submittedAt: number;
|
|
2536
|
+
readonly terminalReceipts?: readonly {
|
|
2537
|
+
readonly sessionId: string;
|
|
2538
|
+
readonly turnId: string;
|
|
2539
|
+
}[] | undefined;
|
|
2540
|
+
}[];
|
|
2541
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2542
|
+
readonly blocker?: string | undefined;
|
|
2543
|
+
readonly boardContext?: string | undefined;
|
|
2544
|
+
readonly boardRevision: string;
|
|
2545
|
+
readonly boardSourcePath?: string | undefined;
|
|
2546
|
+
readonly checks?: {
|
|
2547
|
+
readonly evidence: readonly string[];
|
|
2548
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
2549
|
+
readonly head: string;
|
|
2550
|
+
readonly passed: boolean;
|
|
2551
|
+
readonly pending?: boolean | undefined;
|
|
2552
|
+
readonly repairPrompt?: string | undefined;
|
|
2553
|
+
} | undefined;
|
|
2554
|
+
readonly completedAt?: number | undefined;
|
|
2555
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
2556
|
+
readonly cwd: string;
|
|
2557
|
+
readonly decision?: {
|
|
2558
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2559
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2560
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
2561
|
+
readonly id: string;
|
|
2562
|
+
readonly links: readonly string[];
|
|
2563
|
+
readonly publicationWork?: {
|
|
2564
|
+
readonly approved: boolean;
|
|
2565
|
+
readonly areas?: readonly string[] | undefined;
|
|
2566
|
+
readonly context: string;
|
|
2567
|
+
readonly deliverable?: "report" | undefined;
|
|
2568
|
+
readonly dependsOn: readonly string[];
|
|
2569
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2570
|
+
readonly revision: string;
|
|
2571
|
+
readonly sourcePath: string;
|
|
2572
|
+
readonly status?: string | undefined;
|
|
2573
|
+
readonly workId: string;
|
|
2574
|
+
} | undefined;
|
|
2575
|
+
readonly published?: {
|
|
2576
|
+
readonly itemId: string;
|
|
2577
|
+
readonly questionId: string;
|
|
2578
|
+
readonly request: string;
|
|
2579
|
+
readonly revision: string;
|
|
2580
|
+
readonly sourcePath: string;
|
|
2581
|
+
readonly workId: string;
|
|
2582
|
+
readonly workRevision: string;
|
|
2583
|
+
readonly workSourcePath: string;
|
|
2584
|
+
} | undefined;
|
|
2585
|
+
readonly reason: string;
|
|
2586
|
+
readonly recommendation: string;
|
|
2587
|
+
readonly worker?: {
|
|
2588
|
+
readonly sessionId: string;
|
|
2589
|
+
readonly turnId: string;
|
|
2590
|
+
} | undefined;
|
|
2591
|
+
} | undefined;
|
|
2592
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
2593
|
+
readonly decisionPublished?: boolean | undefined;
|
|
2594
|
+
readonly deliverable?: "report" | undefined;
|
|
2595
|
+
readonly dispatchNow?: {
|
|
2596
|
+
readonly ignoreAreas: boolean;
|
|
2597
|
+
} | undefined;
|
|
2598
|
+
readonly integrationRetry?: {
|
|
2599
|
+
readonly error: string;
|
|
2600
|
+
readonly failures: number;
|
|
2601
|
+
readonly retryAt: number;
|
|
2602
|
+
} | undefined;
|
|
2603
|
+
readonly launch?: {
|
|
2604
|
+
readonly effort?: string | undefined;
|
|
2605
|
+
readonly model?: string | undefined;
|
|
2606
|
+
readonly serviceTier?: string | undefined;
|
|
2607
|
+
} | undefined;
|
|
2608
|
+
readonly launchRetry?: {
|
|
2609
|
+
readonly prompt?: string | undefined;
|
|
2610
|
+
readonly rejectedAt: number;
|
|
2611
|
+
readonly rejections: number;
|
|
2612
|
+
readonly retryAt: number;
|
|
2613
|
+
} | undefined;
|
|
2614
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
2615
|
+
readonly mergeReadyAt?: number | undefined;
|
|
2616
|
+
readonly mergeReadyHead?: string | undefined;
|
|
2617
|
+
readonly outcome?: {
|
|
2618
|
+
readonly head: string;
|
|
2619
|
+
readonly revision: string;
|
|
2620
|
+
readonly url: string;
|
|
2621
|
+
} | {
|
|
2622
|
+
readonly evidence: readonly string[];
|
|
2623
|
+
} | undefined;
|
|
2624
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
2625
|
+
readonly preparation: {
|
|
2626
|
+
readonly baselinePaths: readonly string[];
|
|
2627
|
+
readonly baseRevision: string;
|
|
2628
|
+
readonly configuration: readonly {
|
|
2629
|
+
readonly path: string;
|
|
2630
|
+
readonly relevantKeys: readonly string[];
|
|
2631
|
+
}[];
|
|
2632
|
+
readonly contextComplete: boolean;
|
|
2633
|
+
readonly dependencyPaths: readonly string[];
|
|
2634
|
+
readonly observedAt: number;
|
|
2635
|
+
readonly ownedPaths: readonly string[];
|
|
2636
|
+
readonly qualityPaths: readonly string[];
|
|
2637
|
+
readonly setupPaths: readonly string[];
|
|
2638
|
+
readonly sourcePaths: readonly string[];
|
|
2639
|
+
readonly validation: readonly {
|
|
2640
|
+
readonly command: string;
|
|
2641
|
+
readonly revision: string;
|
|
2642
|
+
}[];
|
|
2643
|
+
};
|
|
2644
|
+
readonly prompt: string;
|
|
2645
|
+
readonly releaseReason?: string | undefined;
|
|
2646
|
+
readonly report?: {
|
|
2647
|
+
readonly itemId: string;
|
|
2648
|
+
readonly receipt: {
|
|
2649
|
+
readonly sessionId: string;
|
|
2650
|
+
readonly turnId: string;
|
|
2651
|
+
};
|
|
2652
|
+
readonly revision: string;
|
|
2653
|
+
readonly sourcePath: string;
|
|
2654
|
+
readonly workRevision: string;
|
|
2655
|
+
} | undefined;
|
|
2656
|
+
readonly responses?: readonly {
|
|
2657
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
2658
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2659
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2660
|
+
readonly decisionId: string;
|
|
2661
|
+
readonly processedAt: number;
|
|
2662
|
+
readonly published?: {
|
|
2663
|
+
readonly itemId: string;
|
|
2664
|
+
readonly questionId: string;
|
|
2665
|
+
readonly request: string;
|
|
2666
|
+
readonly revision: string;
|
|
2667
|
+
readonly sourcePath: string;
|
|
2668
|
+
readonly workId: string;
|
|
2669
|
+
readonly workRevision: string;
|
|
2670
|
+
readonly workSourcePath: string;
|
|
2671
|
+
} | undefined;
|
|
2672
|
+
readonly questionId: string;
|
|
2673
|
+
readonly questionRevision: string;
|
|
2674
|
+
readonly responseId: string;
|
|
2675
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
2676
|
+
}[] | undefined;
|
|
2677
|
+
readonly result?: {
|
|
2678
|
+
readonly head: string;
|
|
2679
|
+
readonly kind: "change";
|
|
2680
|
+
readonly paths: readonly string[];
|
|
2681
|
+
readonly pr: string;
|
|
2682
|
+
readonly prNumber?: number | undefined;
|
|
2683
|
+
} | {
|
|
2684
|
+
readonly evidence: readonly string[];
|
|
2685
|
+
readonly head: string;
|
|
2686
|
+
readonly kind: "no-change";
|
|
2687
|
+
} | undefined;
|
|
2688
|
+
readonly resultObservations?: readonly ({
|
|
2689
|
+
readonly head: string;
|
|
2690
|
+
readonly kind: "change";
|
|
2691
|
+
readonly paths: readonly string[];
|
|
2692
|
+
readonly pr: string;
|
|
2693
|
+
readonly prNumber?: number | undefined;
|
|
2694
|
+
} | {
|
|
2695
|
+
readonly evidence: readonly string[];
|
|
2696
|
+
readonly head: string;
|
|
2697
|
+
readonly kind: "no-change";
|
|
2698
|
+
})[] | undefined;
|
|
2699
|
+
readonly review?: {
|
|
2700
|
+
readonly evidence: readonly string[];
|
|
2701
|
+
readonly findings?: readonly string[] | undefined;
|
|
2702
|
+
readonly head: string;
|
|
2703
|
+
readonly receipt: {
|
|
2704
|
+
readonly sessionId: string;
|
|
2705
|
+
readonly turnId: string;
|
|
2706
|
+
};
|
|
2707
|
+
readonly repairPrompt: string;
|
|
2708
|
+
readonly verdict: "approved" | "changes";
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
2711
|
+
readonly stageEnteredAt?: number | undefined;
|
|
2712
|
+
readonly supersededDecisions?: readonly {
|
|
2713
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2714
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2715
|
+
readonly published: {
|
|
2716
|
+
readonly itemId: string;
|
|
2717
|
+
readonly questionId: string;
|
|
2718
|
+
readonly request: string;
|
|
2719
|
+
readonly revision: string;
|
|
2720
|
+
readonly sourcePath: string;
|
|
2721
|
+
readonly workId: string;
|
|
2722
|
+
readonly workRevision: string;
|
|
2723
|
+
readonly workSourcePath: string;
|
|
2724
|
+
};
|
|
2725
|
+
readonly reassignedTo?: {
|
|
2726
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
2727
|
+
readonly decisionId: string;
|
|
2728
|
+
} | undefined;
|
|
2729
|
+
readonly supersededAt: number;
|
|
2730
|
+
}[] | undefined;
|
|
2731
|
+
readonly updatedAt?: number | undefined;
|
|
2732
|
+
readonly archivedAt: number;
|
|
2733
|
+
}[] | undefined;
|
|
2734
|
+
readonly workId: string;
|
|
2735
|
+
};
|
|
2736
|
+
version: number;
|
|
2737
|
+
}, import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2738
|
+
readonly hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2739
|
+
readonly list: () => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
2740
|
+
readonly admissionReady?: boolean | undefined;
|
|
2741
|
+
readonly areas?: readonly string[] | undefined;
|
|
2742
|
+
readonly attempts: readonly {
|
|
2743
|
+
readonly abandoned?: {
|
|
2744
|
+
readonly at: number;
|
|
2745
|
+
readonly interruptError?: string | undefined;
|
|
2746
|
+
readonly observation?: {
|
|
2747
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
2748
|
+
readonly error?: string | undefined;
|
|
2749
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
2750
|
+
readonly output: string;
|
|
2751
|
+
readonly progress?: readonly {
|
|
2752
|
+
readonly id: string;
|
|
2753
|
+
readonly status?: string | undefined;
|
|
2754
|
+
}[] | undefined;
|
|
2755
|
+
readonly provisioning: "ready" | "unknown";
|
|
2756
|
+
readonly receipt: {
|
|
2757
|
+
readonly sessionId: string;
|
|
2758
|
+
readonly turnId: string;
|
|
2759
|
+
};
|
|
2760
|
+
readonly turnMissing?: boolean | undefined;
|
|
2761
|
+
} | undefined;
|
|
2762
|
+
readonly observationError?: string | undefined;
|
|
2763
|
+
} | undefined;
|
|
2764
|
+
readonly briefSteers?: readonly {
|
|
2765
|
+
readonly error?: string | undefined;
|
|
2766
|
+
readonly requestedAt: number;
|
|
2767
|
+
readonly revision: string;
|
|
2768
|
+
readonly steeredAt?: number | undefined;
|
|
2769
|
+
}[] | undefined;
|
|
2770
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
2771
|
+
readonly missingSince?: number | undefined;
|
|
2772
|
+
readonly observationRetries?: number | undefined;
|
|
2773
|
+
readonly operationId: string;
|
|
2774
|
+
readonly output?: string | undefined;
|
|
2775
|
+
readonly overLimit?: boolean | undefined;
|
|
2776
|
+
readonly progress?: {
|
|
2777
|
+
readonly at: number;
|
|
2778
|
+
readonly signature: string;
|
|
2779
|
+
} | undefined;
|
|
2780
|
+
readonly prompt?: string | undefined;
|
|
2781
|
+
readonly providerFailures?: number | undefined;
|
|
2782
|
+
readonly readRetry?: {
|
|
2783
|
+
readonly error: string;
|
|
2784
|
+
readonly failures: number;
|
|
2785
|
+
readonly retryAt: number;
|
|
2786
|
+
} | undefined;
|
|
2787
|
+
readonly receipt?: {
|
|
2788
|
+
readonly sessionId: string;
|
|
2789
|
+
readonly turnId: string;
|
|
2790
|
+
} | undefined;
|
|
2791
|
+
readonly reviewHead?: string | undefined;
|
|
2792
|
+
readonly reviewRevision?: string | undefined;
|
|
2793
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
2794
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
2795
|
+
readonly sessionId?: string | undefined;
|
|
2796
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
2797
|
+
readonly settings?: {
|
|
2798
|
+
readonly effort?: string | undefined;
|
|
2799
|
+
readonly model?: string | undefined;
|
|
2800
|
+
readonly serviceTier?: string | undefined;
|
|
2801
|
+
} | undefined;
|
|
2802
|
+
readonly stallRecovery?: {
|
|
2803
|
+
readonly count: number;
|
|
2804
|
+
readonly interruptedAt?: number | undefined;
|
|
2805
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
2806
|
+
readonly lastActionAt: number;
|
|
2807
|
+
readonly steeredAt?: number | undefined;
|
|
2808
|
+
} | undefined;
|
|
2809
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
2810
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
2811
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
2812
|
+
readonly submittedAt: number;
|
|
2813
|
+
readonly terminalReceipts?: readonly {
|
|
2814
|
+
readonly sessionId: string;
|
|
2815
|
+
readonly turnId: string;
|
|
2816
|
+
}[] | undefined;
|
|
2817
|
+
}[];
|
|
2818
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2819
|
+
readonly blocker?: string | undefined;
|
|
2820
|
+
readonly boardContext?: string | undefined;
|
|
2821
|
+
readonly boardRevision: string;
|
|
2822
|
+
readonly boardSourcePath?: string | undefined;
|
|
2823
|
+
readonly checks?: {
|
|
2824
|
+
readonly evidence: readonly string[];
|
|
2825
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
2826
|
+
readonly head: string;
|
|
2827
|
+
readonly passed: boolean;
|
|
2828
|
+
readonly pending?: boolean | undefined;
|
|
2829
|
+
readonly repairPrompt?: string | undefined;
|
|
2830
|
+
} | undefined;
|
|
2831
|
+
readonly completedAt?: number | undefined;
|
|
2832
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
2833
|
+
readonly cwd: string;
|
|
2834
|
+
readonly decision?: {
|
|
2835
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2836
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2837
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
2838
|
+
readonly id: string;
|
|
2839
|
+
readonly links: readonly string[];
|
|
2840
|
+
readonly publicationWork?: {
|
|
2841
|
+
readonly approved: boolean;
|
|
2842
|
+
readonly areas?: readonly string[] | undefined;
|
|
2843
|
+
readonly context: string;
|
|
2844
|
+
readonly deliverable?: "report" | undefined;
|
|
2845
|
+
readonly dependsOn: readonly string[];
|
|
2846
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2847
|
+
readonly revision: string;
|
|
2848
|
+
readonly sourcePath: string;
|
|
2849
|
+
readonly status?: string | undefined;
|
|
2850
|
+
readonly workId: string;
|
|
2851
|
+
} | undefined;
|
|
2852
|
+
readonly published?: {
|
|
2853
|
+
readonly itemId: string;
|
|
2854
|
+
readonly questionId: string;
|
|
2855
|
+
readonly request: string;
|
|
2856
|
+
readonly revision: string;
|
|
2857
|
+
readonly sourcePath: string;
|
|
2858
|
+
readonly workId: string;
|
|
2859
|
+
readonly workRevision: string;
|
|
2860
|
+
readonly workSourcePath: string;
|
|
2861
|
+
} | undefined;
|
|
2862
|
+
readonly reason: string;
|
|
2863
|
+
readonly recommendation: string;
|
|
2864
|
+
readonly worker?: {
|
|
2865
|
+
readonly sessionId: string;
|
|
2866
|
+
readonly turnId: string;
|
|
2867
|
+
} | undefined;
|
|
2868
|
+
} | undefined;
|
|
2869
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
2870
|
+
readonly decisionPublished?: boolean | undefined;
|
|
2871
|
+
readonly deliverable?: "report" | undefined;
|
|
2872
|
+
readonly dispatchNow?: {
|
|
2873
|
+
readonly ignoreAreas: boolean;
|
|
2874
|
+
} | undefined;
|
|
2875
|
+
readonly integrationRetry?: {
|
|
2876
|
+
readonly error: string;
|
|
2877
|
+
readonly failures: number;
|
|
2878
|
+
readonly retryAt: number;
|
|
2879
|
+
} | undefined;
|
|
2880
|
+
readonly launch?: {
|
|
2881
|
+
readonly effort?: string | undefined;
|
|
2882
|
+
readonly model?: string | undefined;
|
|
2883
|
+
readonly serviceTier?: string | undefined;
|
|
2884
|
+
} | undefined;
|
|
2885
|
+
readonly launchRetry?: {
|
|
2886
|
+
readonly prompt?: string | undefined;
|
|
2887
|
+
readonly rejectedAt: number;
|
|
2888
|
+
readonly rejections: number;
|
|
2889
|
+
readonly retryAt: number;
|
|
2890
|
+
} | undefined;
|
|
2891
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
2892
|
+
readonly mergeReadyAt?: number | undefined;
|
|
2893
|
+
readonly mergeReadyHead?: string | undefined;
|
|
2894
|
+
readonly outcome?: {
|
|
2895
|
+
readonly head: string;
|
|
2896
|
+
readonly revision: string;
|
|
2897
|
+
readonly url: string;
|
|
2898
|
+
} | {
|
|
2899
|
+
readonly evidence: readonly string[];
|
|
2900
|
+
} | undefined;
|
|
2901
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
2902
|
+
readonly preparation: {
|
|
2903
|
+
readonly baselinePaths: readonly string[];
|
|
2904
|
+
readonly baseRevision: string;
|
|
2905
|
+
readonly configuration: readonly {
|
|
2906
|
+
readonly path: string;
|
|
2907
|
+
readonly relevantKeys: readonly string[];
|
|
2908
|
+
}[];
|
|
2909
|
+
readonly contextComplete: boolean;
|
|
2910
|
+
readonly dependencyPaths: readonly string[];
|
|
2911
|
+
readonly observedAt: number;
|
|
2912
|
+
readonly ownedPaths: readonly string[];
|
|
2913
|
+
readonly qualityPaths: readonly string[];
|
|
2914
|
+
readonly setupPaths: readonly string[];
|
|
2915
|
+
readonly sourcePaths: readonly string[];
|
|
2916
|
+
readonly validation: readonly {
|
|
2917
|
+
readonly command: string;
|
|
2918
|
+
readonly revision: string;
|
|
2919
|
+
}[];
|
|
2920
|
+
};
|
|
2921
|
+
readonly prompt: string;
|
|
2922
|
+
readonly releaseReason?: string | undefined;
|
|
2923
|
+
readonly report?: {
|
|
2924
|
+
readonly itemId: string;
|
|
2925
|
+
readonly receipt: {
|
|
2926
|
+
readonly sessionId: string;
|
|
2927
|
+
readonly turnId: string;
|
|
2928
|
+
};
|
|
2929
|
+
readonly revision: string;
|
|
2930
|
+
readonly sourcePath: string;
|
|
2931
|
+
readonly workRevision: string;
|
|
2932
|
+
} | undefined;
|
|
2933
|
+
readonly responses?: readonly {
|
|
2934
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
2935
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2936
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2937
|
+
readonly decisionId: string;
|
|
2938
|
+
readonly processedAt: number;
|
|
2939
|
+
readonly published?: {
|
|
2940
|
+
readonly itemId: string;
|
|
2941
|
+
readonly questionId: string;
|
|
2942
|
+
readonly request: string;
|
|
2943
|
+
readonly revision: string;
|
|
2944
|
+
readonly sourcePath: string;
|
|
2945
|
+
readonly workId: string;
|
|
2946
|
+
readonly workRevision: string;
|
|
2947
|
+
readonly workSourcePath: string;
|
|
2948
|
+
} | undefined;
|
|
2949
|
+
readonly questionId: string;
|
|
2950
|
+
readonly questionRevision: string;
|
|
2951
|
+
readonly responseId: string;
|
|
2952
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
2953
|
+
}[] | undefined;
|
|
2954
|
+
readonly result?: {
|
|
2955
|
+
readonly head: string;
|
|
2956
|
+
readonly kind: "change";
|
|
2957
|
+
readonly paths: readonly string[];
|
|
2958
|
+
readonly pr: string;
|
|
2959
|
+
readonly prNumber?: number | undefined;
|
|
2960
|
+
} | {
|
|
2961
|
+
readonly evidence: readonly string[];
|
|
2962
|
+
readonly head: string;
|
|
2963
|
+
readonly kind: "no-change";
|
|
2964
|
+
} | undefined;
|
|
2965
|
+
readonly resultObservations?: readonly ({
|
|
2966
|
+
readonly head: string;
|
|
2967
|
+
readonly kind: "change";
|
|
2968
|
+
readonly paths: readonly string[];
|
|
2969
|
+
readonly pr: string;
|
|
2970
|
+
readonly prNumber?: number | undefined;
|
|
2971
|
+
} | {
|
|
2972
|
+
readonly evidence: readonly string[];
|
|
2973
|
+
readonly head: string;
|
|
2974
|
+
readonly kind: "no-change";
|
|
2975
|
+
})[] | undefined;
|
|
2976
|
+
readonly review?: {
|
|
2977
|
+
readonly evidence: readonly string[];
|
|
2978
|
+
readonly findings?: readonly string[] | undefined;
|
|
2979
|
+
readonly head: string;
|
|
2980
|
+
readonly receipt: {
|
|
2981
|
+
readonly sessionId: string;
|
|
2982
|
+
readonly turnId: string;
|
|
2983
|
+
};
|
|
2984
|
+
readonly repairPrompt: string;
|
|
2985
|
+
readonly verdict: "approved" | "changes";
|
|
2986
|
+
} | undefined;
|
|
2987
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
2988
|
+
readonly stageEnteredAt?: number | undefined;
|
|
2989
|
+
readonly supersededDecisions?: readonly {
|
|
2990
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
2991
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2992
|
+
readonly published: {
|
|
2993
|
+
readonly itemId: string;
|
|
2994
|
+
readonly questionId: string;
|
|
2995
|
+
readonly request: string;
|
|
2996
|
+
readonly revision: string;
|
|
2997
|
+
readonly sourcePath: string;
|
|
2998
|
+
readonly workId: string;
|
|
2999
|
+
readonly workRevision: string;
|
|
3000
|
+
readonly workSourcePath: string;
|
|
3001
|
+
};
|
|
3002
|
+
readonly reassignedTo?: {
|
|
3003
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
3004
|
+
readonly decisionId: string;
|
|
3005
|
+
} | undefined;
|
|
3006
|
+
readonly supersededAt: number;
|
|
3007
|
+
}[] | undefined;
|
|
3008
|
+
readonly updatedAt?: number | undefined;
|
|
3009
|
+
readonly history?: readonly {
|
|
1622
3010
|
readonly admissionReady?: boolean | undefined;
|
|
1623
3011
|
readonly areas?: readonly string[] | undefined;
|
|
1624
3012
|
readonly attempts: readonly {
|
|
@@ -1654,6 +3042,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1654
3042
|
readonly observationRetries?: number | undefined;
|
|
1655
3043
|
readonly operationId: string;
|
|
1656
3044
|
readonly output?: string | undefined;
|
|
3045
|
+
readonly overLimit?: boolean | undefined;
|
|
1657
3046
|
readonly progress?: {
|
|
1658
3047
|
readonly at: number;
|
|
1659
3048
|
readonly signature: string;
|
|
@@ -1724,6 +3113,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1724
3113
|
readonly context: string;
|
|
1725
3114
|
readonly deliverable?: "report" | undefined;
|
|
1726
3115
|
readonly dependsOn: readonly string[];
|
|
3116
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
1727
3117
|
readonly revision: string;
|
|
1728
3118
|
readonly sourcePath: string;
|
|
1729
3119
|
readonly status?: string | undefined;
|
|
@@ -1749,6 +3139,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1749
3139
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
1750
3140
|
readonly decisionPublished?: boolean | undefined;
|
|
1751
3141
|
readonly deliverable?: "report" | undefined;
|
|
3142
|
+
readonly dispatchNow?: {
|
|
3143
|
+
readonly ignoreAreas: boolean;
|
|
3144
|
+
} | undefined;
|
|
1752
3145
|
readonly integrationRetry?: {
|
|
1753
3146
|
readonly error: string;
|
|
1754
3147
|
readonly failures: number;
|
|
@@ -1875,285 +3268,18 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
1875
3268
|
readonly workId: string;
|
|
1876
3269
|
readonly workRevision: string;
|
|
1877
3270
|
readonly workSourcePath: string;
|
|
1878
|
-
};
|
|
1879
|
-
readonly reassignedTo?: {
|
|
1880
|
-
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1881
|
-
readonly decisionId: string;
|
|
1882
|
-
} | undefined;
|
|
1883
|
-
readonly supersededAt: number;
|
|
1884
|
-
}[] | undefined;
|
|
1885
|
-
readonly updatedAt?: number | undefined;
|
|
1886
|
-
readonly history?: readonly {
|
|
1887
|
-
readonly admissionReady?: boolean | undefined;
|
|
1888
|
-
readonly areas?: readonly string[] | undefined;
|
|
1889
|
-
readonly attempts: readonly {
|
|
1890
|
-
readonly abandoned?: {
|
|
1891
|
-
readonly at: number;
|
|
1892
|
-
readonly interruptError?: string | undefined;
|
|
1893
|
-
readonly observation?: {
|
|
1894
|
-
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
1895
|
-
readonly error?: string | undefined;
|
|
1896
|
-
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
1897
|
-
readonly output: string;
|
|
1898
|
-
readonly progress?: readonly {
|
|
1899
|
-
readonly id: string;
|
|
1900
|
-
readonly status?: string | undefined;
|
|
1901
|
-
}[] | undefined;
|
|
1902
|
-
readonly provisioning: "ready" | "unknown";
|
|
1903
|
-
readonly receipt: {
|
|
1904
|
-
readonly sessionId: string;
|
|
1905
|
-
readonly turnId: string;
|
|
1906
|
-
};
|
|
1907
|
-
readonly turnMissing?: boolean | undefined;
|
|
1908
|
-
} | undefined;
|
|
1909
|
-
readonly observationError?: string | undefined;
|
|
1910
|
-
} | undefined;
|
|
1911
|
-
readonly briefSteers?: readonly {
|
|
1912
|
-
readonly error?: string | undefined;
|
|
1913
|
-
readonly requestedAt: number;
|
|
1914
|
-
readonly revision: string;
|
|
1915
|
-
readonly steeredAt?: number | undefined;
|
|
1916
|
-
}[] | undefined;
|
|
1917
|
-
readonly checkFailures?: readonly string[] | undefined;
|
|
1918
|
-
readonly missingSince?: number | undefined;
|
|
1919
|
-
readonly observationRetries?: number | undefined;
|
|
1920
|
-
readonly operationId: string;
|
|
1921
|
-
readonly output?: string | undefined;
|
|
1922
|
-
readonly progress?: {
|
|
1923
|
-
readonly at: number;
|
|
1924
|
-
readonly signature: string;
|
|
1925
|
-
} | undefined;
|
|
1926
|
-
readonly prompt?: string | undefined;
|
|
1927
|
-
readonly providerFailures?: number | undefined;
|
|
1928
|
-
readonly readRetry?: {
|
|
1929
|
-
readonly error: string;
|
|
1930
|
-
readonly failures: number;
|
|
1931
|
-
readonly retryAt: number;
|
|
1932
|
-
} | undefined;
|
|
1933
|
-
readonly receipt?: {
|
|
1934
|
-
readonly sessionId: string;
|
|
1935
|
-
readonly turnId: string;
|
|
1936
|
-
} | undefined;
|
|
1937
|
-
readonly reviewHead?: string | undefined;
|
|
1938
|
-
readonly reviewRevision?: string | undefined;
|
|
1939
|
-
readonly role: "repair" | "reviewer" | "worker";
|
|
1940
|
-
readonly sessionCleanupComplete?: boolean | undefined;
|
|
1941
|
-
readonly sessionId?: string | undefined;
|
|
1942
|
-
readonly sessionUnusable?: boolean | undefined;
|
|
1943
|
-
readonly settings?: {
|
|
1944
|
-
readonly effort?: string | undefined;
|
|
1945
|
-
readonly model?: string | undefined;
|
|
1946
|
-
readonly serviceTier?: string | undefined;
|
|
1947
|
-
} | undefined;
|
|
1948
|
-
readonly stallRecovery?: {
|
|
1949
|
-
readonly count: number;
|
|
1950
|
-
readonly interruptedAt?: number | undefined;
|
|
1951
|
-
readonly interruptRequestedAt?: number | undefined;
|
|
1952
|
-
readonly lastActionAt: number;
|
|
1953
|
-
readonly steeredAt?: number | undefined;
|
|
1954
|
-
} | undefined;
|
|
1955
|
-
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
1956
|
-
readonly submissionTimedOut?: boolean | undefined;
|
|
1957
|
-
readonly submissionUncertain?: boolean | undefined;
|
|
1958
|
-
readonly submittedAt: number;
|
|
1959
|
-
readonly terminalReceipts?: readonly {
|
|
1960
|
-
readonly sessionId: string;
|
|
1961
|
-
readonly turnId: string;
|
|
1962
|
-
}[] | undefined;
|
|
1963
|
-
}[];
|
|
1964
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1965
|
-
readonly blocker?: string | undefined;
|
|
1966
|
-
readonly boardContext?: string | undefined;
|
|
1967
|
-
readonly boardRevision: string;
|
|
1968
|
-
readonly boardSourcePath?: string | undefined;
|
|
1969
|
-
readonly checks?: {
|
|
1970
|
-
readonly evidence: readonly string[];
|
|
1971
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
1972
|
-
readonly head: string;
|
|
1973
|
-
readonly passed: boolean;
|
|
1974
|
-
readonly pending?: boolean | undefined;
|
|
1975
|
-
readonly repairPrompt?: string | undefined;
|
|
1976
|
-
} | undefined;
|
|
1977
|
-
readonly completedAt?: number | undefined;
|
|
1978
|
-
readonly conflictRepairs?: readonly string[] | undefined;
|
|
1979
|
-
readonly cwd: string;
|
|
1980
|
-
readonly decision?: {
|
|
1981
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1982
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1983
|
-
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
1984
|
-
readonly id: string;
|
|
1985
|
-
readonly links: readonly string[];
|
|
1986
|
-
readonly publicationWork?: {
|
|
1987
|
-
readonly approved: boolean;
|
|
1988
|
-
readonly areas?: readonly string[] | undefined;
|
|
1989
|
-
readonly context: string;
|
|
1990
|
-
readonly deliverable?: "report" | undefined;
|
|
1991
|
-
readonly dependsOn: readonly string[];
|
|
1992
|
-
readonly revision: string;
|
|
1993
|
-
readonly sourcePath: string;
|
|
1994
|
-
readonly status?: string | undefined;
|
|
1995
|
-
readonly workId: string;
|
|
1996
|
-
} | undefined;
|
|
1997
|
-
readonly published?: {
|
|
1998
|
-
readonly itemId: string;
|
|
1999
|
-
readonly questionId: string;
|
|
2000
|
-
readonly request: string;
|
|
2001
|
-
readonly revision: string;
|
|
2002
|
-
readonly sourcePath: string;
|
|
2003
|
-
readonly workId: string;
|
|
2004
|
-
readonly workRevision: string;
|
|
2005
|
-
readonly workSourcePath: string;
|
|
2006
|
-
} | undefined;
|
|
2007
|
-
readonly reason: string;
|
|
2008
|
-
readonly recommendation: string;
|
|
2009
|
-
readonly worker?: {
|
|
2010
|
-
readonly sessionId: string;
|
|
2011
|
-
readonly turnId: string;
|
|
2012
|
-
} | undefined;
|
|
2013
|
-
} | undefined;
|
|
2014
|
-
readonly decisionAcknowledged?: boolean | undefined;
|
|
2015
|
-
readonly decisionPublished?: boolean | undefined;
|
|
2016
|
-
readonly deliverable?: "report" | undefined;
|
|
2017
|
-
readonly integrationRetry?: {
|
|
2018
|
-
readonly error: string;
|
|
2019
|
-
readonly failures: number;
|
|
2020
|
-
readonly retryAt: number;
|
|
2021
|
-
} | undefined;
|
|
2022
|
-
readonly launch?: {
|
|
2023
|
-
readonly effort?: string | undefined;
|
|
2024
|
-
readonly model?: string | undefined;
|
|
2025
|
-
readonly serviceTier?: string | undefined;
|
|
2026
|
-
} | undefined;
|
|
2027
|
-
readonly launchRetry?: {
|
|
2028
|
-
readonly prompt?: string | undefined;
|
|
2029
|
-
readonly rejectedAt: number;
|
|
2030
|
-
readonly rejections: number;
|
|
2031
|
-
readonly retryAt: number;
|
|
2032
|
-
} | undefined;
|
|
2033
|
-
readonly mergeAreasReleased?: boolean | undefined;
|
|
2034
|
-
readonly mergeReadyAt?: number | undefined;
|
|
2035
|
-
readonly mergeReadyHead?: string | undefined;
|
|
2036
|
-
readonly outcome?: {
|
|
2037
|
-
readonly head: string;
|
|
2038
|
-
readonly revision: string;
|
|
2039
|
-
readonly url: string;
|
|
2040
|
-
} | {
|
|
2041
|
-
readonly evidence: readonly string[];
|
|
2042
|
-
} | undefined;
|
|
2043
|
-
readonly pendingAnswers?: readonly string[] | undefined;
|
|
2044
|
-
readonly preparation: {
|
|
2045
|
-
readonly baselinePaths: readonly string[];
|
|
2046
|
-
readonly baseRevision: string;
|
|
2047
|
-
readonly configuration: readonly {
|
|
2048
|
-
readonly path: string;
|
|
2049
|
-
readonly relevantKeys: readonly string[];
|
|
2050
|
-
}[];
|
|
2051
|
-
readonly contextComplete: boolean;
|
|
2052
|
-
readonly dependencyPaths: readonly string[];
|
|
2053
|
-
readonly observedAt: number;
|
|
2054
|
-
readonly ownedPaths: readonly string[];
|
|
2055
|
-
readonly qualityPaths: readonly string[];
|
|
2056
|
-
readonly setupPaths: readonly string[];
|
|
2057
|
-
readonly sourcePaths: readonly string[];
|
|
2058
|
-
readonly validation: readonly {
|
|
2059
|
-
readonly command: string;
|
|
2060
|
-
readonly revision: string;
|
|
2061
|
-
}[];
|
|
2062
|
-
};
|
|
2063
|
-
readonly prompt: string;
|
|
2064
|
-
readonly releaseReason?: string | undefined;
|
|
2065
|
-
readonly report?: {
|
|
2066
|
-
readonly itemId: string;
|
|
2067
|
-
readonly receipt: {
|
|
2068
|
-
readonly sessionId: string;
|
|
2069
|
-
readonly turnId: string;
|
|
2070
|
-
};
|
|
2071
|
-
readonly revision: string;
|
|
2072
|
-
readonly sourcePath: string;
|
|
2073
|
-
readonly workRevision: string;
|
|
2074
|
-
} | undefined;
|
|
2075
|
-
readonly responses?: readonly {
|
|
2076
|
-
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
2077
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
2078
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2079
|
-
readonly decisionId: string;
|
|
2080
|
-
readonly processedAt: number;
|
|
2081
|
-
readonly published?: {
|
|
2082
|
-
readonly itemId: string;
|
|
2083
|
-
readonly questionId: string;
|
|
2084
|
-
readonly request: string;
|
|
2085
|
-
readonly revision: string;
|
|
2086
|
-
readonly sourcePath: string;
|
|
2087
|
-
readonly workId: string;
|
|
2088
|
-
readonly workRevision: string;
|
|
2089
|
-
readonly workSourcePath: string;
|
|
2090
|
-
} | undefined;
|
|
2091
|
-
readonly questionId: string;
|
|
2092
|
-
readonly questionRevision: string;
|
|
2093
|
-
readonly responseId: string;
|
|
2094
|
-
readonly type: "answer" | "clarify" | "not_now";
|
|
2095
|
-
}[] | undefined;
|
|
2096
|
-
readonly result?: {
|
|
2097
|
-
readonly head: string;
|
|
2098
|
-
readonly kind: "change";
|
|
2099
|
-
readonly paths: readonly string[];
|
|
2100
|
-
readonly pr: string;
|
|
2101
|
-
readonly prNumber?: number | undefined;
|
|
2102
|
-
} | {
|
|
2103
|
-
readonly evidence: readonly string[];
|
|
2104
|
-
readonly head: string;
|
|
2105
|
-
readonly kind: "no-change";
|
|
2106
|
-
} | undefined;
|
|
2107
|
-
readonly resultObservations?: readonly ({
|
|
2108
|
-
readonly head: string;
|
|
2109
|
-
readonly kind: "change";
|
|
2110
|
-
readonly paths: readonly string[];
|
|
2111
|
-
readonly pr: string;
|
|
2112
|
-
readonly prNumber?: number | undefined;
|
|
2113
|
-
} | {
|
|
2114
|
-
readonly evidence: readonly string[];
|
|
2115
|
-
readonly head: string;
|
|
2116
|
-
readonly kind: "no-change";
|
|
2117
|
-
})[] | undefined;
|
|
2118
|
-
readonly review?: {
|
|
2119
|
-
readonly evidence: readonly string[];
|
|
2120
|
-
readonly findings?: readonly string[] | undefined;
|
|
2121
|
-
readonly head: string;
|
|
2122
|
-
readonly receipt: {
|
|
2123
|
-
readonly sessionId: string;
|
|
2124
|
-
readonly turnId: string;
|
|
2125
|
-
};
|
|
2126
|
-
readonly repairPrompt: string;
|
|
2127
|
-
readonly verdict: "approved" | "changes";
|
|
3271
|
+
};
|
|
3272
|
+
readonly reassignedTo?: {
|
|
3273
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
3274
|
+
readonly decisionId: string;
|
|
2128
3275
|
} | undefined;
|
|
2129
|
-
readonly
|
|
2130
|
-
readonly stageEnteredAt?: number | undefined;
|
|
2131
|
-
readonly supersededDecisions?: readonly {
|
|
2132
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
2133
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2134
|
-
readonly published: {
|
|
2135
|
-
readonly itemId: string;
|
|
2136
|
-
readonly questionId: string;
|
|
2137
|
-
readonly request: string;
|
|
2138
|
-
readonly revision: string;
|
|
2139
|
-
readonly sourcePath: string;
|
|
2140
|
-
readonly workId: string;
|
|
2141
|
-
readonly workRevision: string;
|
|
2142
|
-
readonly workSourcePath: string;
|
|
2143
|
-
};
|
|
2144
|
-
readonly reassignedTo?: {
|
|
2145
|
-
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
2146
|
-
readonly decisionId: string;
|
|
2147
|
-
} | undefined;
|
|
2148
|
-
readonly supersededAt: number;
|
|
2149
|
-
}[] | undefined;
|
|
2150
|
-
readonly updatedAt?: number | undefined;
|
|
2151
|
-
readonly archivedAt: number;
|
|
3276
|
+
readonly supersededAt: number;
|
|
2152
3277
|
}[] | undefined;
|
|
2153
|
-
readonly
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
3278
|
+
readonly updatedAt?: number | undefined;
|
|
3279
|
+
readonly archivedAt: number;
|
|
3280
|
+
}[] | undefined;
|
|
3281
|
+
readonly workId: string;
|
|
3282
|
+
}>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2157
3283
|
readonly prepare: (input: PrepareWork) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
2158
3284
|
readonly admissionReady?: boolean | undefined;
|
|
2159
3285
|
readonly areas?: readonly string[] | undefined;
|
|
@@ -2190,6 +3316,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2190
3316
|
readonly observationRetries?: number | undefined;
|
|
2191
3317
|
readonly operationId: string;
|
|
2192
3318
|
readonly output?: string | undefined;
|
|
3319
|
+
readonly overLimit?: boolean | undefined;
|
|
2193
3320
|
readonly progress?: {
|
|
2194
3321
|
readonly at: number;
|
|
2195
3322
|
readonly signature: string;
|
|
@@ -2260,6 +3387,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2260
3387
|
readonly context: string;
|
|
2261
3388
|
readonly deliverable?: "report" | undefined;
|
|
2262
3389
|
readonly dependsOn: readonly string[];
|
|
3390
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2263
3391
|
readonly revision: string;
|
|
2264
3392
|
readonly sourcePath: string;
|
|
2265
3393
|
readonly status?: string | undefined;
|
|
@@ -2285,6 +3413,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2285
3413
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
2286
3414
|
readonly decisionPublished?: boolean | undefined;
|
|
2287
3415
|
readonly deliverable?: "report" | undefined;
|
|
3416
|
+
readonly dispatchNow?: {
|
|
3417
|
+
readonly ignoreAreas: boolean;
|
|
3418
|
+
} | undefined;
|
|
2288
3419
|
readonly integrationRetry?: {
|
|
2289
3420
|
readonly error: string;
|
|
2290
3421
|
readonly failures: number;
|
|
@@ -2455,6 +3586,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2455
3586
|
readonly observationRetries?: number | undefined;
|
|
2456
3587
|
readonly operationId: string;
|
|
2457
3588
|
readonly output?: string | undefined;
|
|
3589
|
+
readonly overLimit?: boolean | undefined;
|
|
2458
3590
|
readonly progress?: {
|
|
2459
3591
|
readonly at: number;
|
|
2460
3592
|
readonly signature: string;
|
|
@@ -2525,6 +3657,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2525
3657
|
readonly context: string;
|
|
2526
3658
|
readonly deliverable?: "report" | undefined;
|
|
2527
3659
|
readonly dependsOn: readonly string[];
|
|
3660
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2528
3661
|
readonly revision: string;
|
|
2529
3662
|
readonly sourcePath: string;
|
|
2530
3663
|
readonly status?: string | undefined;
|
|
@@ -2550,6 +3683,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2550
3683
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
2551
3684
|
readonly decisionPublished?: boolean | undefined;
|
|
2552
3685
|
readonly deliverable?: "report" | undefined;
|
|
3686
|
+
readonly dispatchNow?: {
|
|
3687
|
+
readonly ignoreAreas: boolean;
|
|
3688
|
+
} | undefined;
|
|
2553
3689
|
readonly integrationRetry?: {
|
|
2554
3690
|
readonly error: string;
|
|
2555
3691
|
readonly failures: number;
|
|
@@ -2724,6 +3860,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2724
3860
|
readonly observationRetries?: number | undefined;
|
|
2725
3861
|
readonly operationId: string;
|
|
2726
3862
|
readonly output?: string | undefined;
|
|
3863
|
+
readonly overLimit?: boolean | undefined;
|
|
2727
3864
|
readonly progress?: {
|
|
2728
3865
|
readonly at: number;
|
|
2729
3866
|
readonly signature: string;
|
|
@@ -2794,6 +3931,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2794
3931
|
readonly context: string;
|
|
2795
3932
|
readonly deliverable?: "report" | undefined;
|
|
2796
3933
|
readonly dependsOn: readonly string[];
|
|
3934
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
2797
3935
|
readonly revision: string;
|
|
2798
3936
|
readonly sourcePath: string;
|
|
2799
3937
|
readonly status?: string | undefined;
|
|
@@ -2819,6 +3957,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2819
3957
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
2820
3958
|
readonly decisionPublished?: boolean | undefined;
|
|
2821
3959
|
readonly deliverable?: "report" | undefined;
|
|
3960
|
+
readonly dispatchNow?: {
|
|
3961
|
+
readonly ignoreAreas: boolean;
|
|
3962
|
+
} | undefined;
|
|
2822
3963
|
readonly integrationRetry?: {
|
|
2823
3964
|
readonly error: string;
|
|
2824
3965
|
readonly failures: number;
|
|
@@ -2989,6 +4130,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
2989
4130
|
readonly observationRetries?: number | undefined;
|
|
2990
4131
|
readonly operationId: string;
|
|
2991
4132
|
readonly output?: string | undefined;
|
|
4133
|
+
readonly overLimit?: boolean | undefined;
|
|
2992
4134
|
readonly progress?: {
|
|
2993
4135
|
readonly at: number;
|
|
2994
4136
|
readonly signature: string;
|
|
@@ -3059,6 +4201,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3059
4201
|
readonly context: string;
|
|
3060
4202
|
readonly deliverable?: "report" | undefined;
|
|
3061
4203
|
readonly dependsOn: readonly string[];
|
|
4204
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
3062
4205
|
readonly revision: string;
|
|
3063
4206
|
readonly sourcePath: string;
|
|
3064
4207
|
readonly status?: string | undefined;
|
|
@@ -3084,6 +4227,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3084
4227
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
3085
4228
|
readonly decisionPublished?: boolean | undefined;
|
|
3086
4229
|
readonly deliverable?: "report" | undefined;
|
|
4230
|
+
readonly dispatchNow?: {
|
|
4231
|
+
readonly ignoreAreas: boolean;
|
|
4232
|
+
} | undefined;
|
|
3087
4233
|
readonly integrationRetry?: {
|
|
3088
4234
|
readonly error: string;
|
|
3089
4235
|
readonly failures: number;
|
|
@@ -3259,6 +4405,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3259
4405
|
readonly observationRetries?: number | undefined;
|
|
3260
4406
|
readonly operationId: string;
|
|
3261
4407
|
readonly output?: string | undefined;
|
|
4408
|
+
readonly overLimit?: boolean | undefined;
|
|
3262
4409
|
readonly progress?: {
|
|
3263
4410
|
readonly at: number;
|
|
3264
4411
|
readonly signature: string;
|
|
@@ -3329,6 +4476,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3329
4476
|
readonly context: string;
|
|
3330
4477
|
readonly deliverable?: "report" | undefined;
|
|
3331
4478
|
readonly dependsOn: readonly string[];
|
|
4479
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
3332
4480
|
readonly revision: string;
|
|
3333
4481
|
readonly sourcePath: string;
|
|
3334
4482
|
readonly status?: string | undefined;
|
|
@@ -3354,6 +4502,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3354
4502
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
3355
4503
|
readonly decisionPublished?: boolean | undefined;
|
|
3356
4504
|
readonly deliverable?: "report" | undefined;
|
|
4505
|
+
readonly dispatchNow?: {
|
|
4506
|
+
readonly ignoreAreas: boolean;
|
|
4507
|
+
} | undefined;
|
|
3357
4508
|
readonly integrationRetry?: {
|
|
3358
4509
|
readonly error: string;
|
|
3359
4510
|
readonly failures: number;
|
|
@@ -3524,6 +4675,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3524
4675
|
readonly observationRetries?: number | undefined;
|
|
3525
4676
|
readonly operationId: string;
|
|
3526
4677
|
readonly output?: string | undefined;
|
|
4678
|
+
readonly overLimit?: boolean | undefined;
|
|
3527
4679
|
readonly progress?: {
|
|
3528
4680
|
readonly at: number;
|
|
3529
4681
|
readonly signature: string;
|
|
@@ -3594,6 +4746,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3594
4746
|
readonly context: string;
|
|
3595
4747
|
readonly deliverable?: "report" | undefined;
|
|
3596
4748
|
readonly dependsOn: readonly string[];
|
|
4749
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
3597
4750
|
readonly revision: string;
|
|
3598
4751
|
readonly sourcePath: string;
|
|
3599
4752
|
readonly status?: string | undefined;
|
|
@@ -3619,6 +4772,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3619
4772
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
3620
4773
|
readonly decisionPublished?: boolean | undefined;
|
|
3621
4774
|
readonly deliverable?: "report" | undefined;
|
|
4775
|
+
readonly dispatchNow?: {
|
|
4776
|
+
readonly ignoreAreas: boolean;
|
|
4777
|
+
} | undefined;
|
|
3622
4778
|
readonly integrationRetry?: {
|
|
3623
4779
|
readonly error: string;
|
|
3624
4780
|
readonly failures: number;
|
|
@@ -3795,6 +4951,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3795
4951
|
readonly observationRetries?: number | undefined;
|
|
3796
4952
|
readonly operationId: string;
|
|
3797
4953
|
readonly output?: string | undefined;
|
|
4954
|
+
readonly overLimit?: boolean | undefined;
|
|
3798
4955
|
readonly progress?: {
|
|
3799
4956
|
readonly at: number;
|
|
3800
4957
|
readonly signature: string;
|
|
@@ -3865,6 +5022,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3865
5022
|
readonly context: string;
|
|
3866
5023
|
readonly deliverable?: "report" | undefined;
|
|
3867
5024
|
readonly dependsOn: readonly string[];
|
|
5025
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
3868
5026
|
readonly revision: string;
|
|
3869
5027
|
readonly sourcePath: string;
|
|
3870
5028
|
readonly status?: string | undefined;
|
|
@@ -3890,6 +5048,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
3890
5048
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
3891
5049
|
readonly decisionPublished?: boolean | undefined;
|
|
3892
5050
|
readonly deliverable?: "report" | undefined;
|
|
5051
|
+
readonly dispatchNow?: {
|
|
5052
|
+
readonly ignoreAreas: boolean;
|
|
5053
|
+
} | undefined;
|
|
3893
5054
|
readonly integrationRetry?: {
|
|
3894
5055
|
readonly error: string;
|
|
3895
5056
|
readonly failures: number;
|
|
@@ -4060,6 +5221,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4060
5221
|
readonly observationRetries?: number | undefined;
|
|
4061
5222
|
readonly operationId: string;
|
|
4062
5223
|
readonly output?: string | undefined;
|
|
5224
|
+
readonly overLimit?: boolean | undefined;
|
|
4063
5225
|
readonly progress?: {
|
|
4064
5226
|
readonly at: number;
|
|
4065
5227
|
readonly signature: string;
|
|
@@ -4130,6 +5292,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4130
5292
|
readonly context: string;
|
|
4131
5293
|
readonly deliverable?: "report" | undefined;
|
|
4132
5294
|
readonly dependsOn: readonly string[];
|
|
5295
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
4133
5296
|
readonly revision: string;
|
|
4134
5297
|
readonly sourcePath: string;
|
|
4135
5298
|
readonly status?: string | undefined;
|
|
@@ -4155,6 +5318,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4155
5318
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
4156
5319
|
readonly decisionPublished?: boolean | undefined;
|
|
4157
5320
|
readonly deliverable?: "report" | undefined;
|
|
5321
|
+
readonly dispatchNow?: {
|
|
5322
|
+
readonly ignoreAreas: boolean;
|
|
5323
|
+
} | undefined;
|
|
4158
5324
|
readonly integrationRetry?: {
|
|
4159
5325
|
readonly error: string;
|
|
4160
5326
|
readonly failures: number;
|
|
@@ -4329,6 +5495,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4329
5495
|
readonly observationRetries?: number | undefined;
|
|
4330
5496
|
readonly operationId: string;
|
|
4331
5497
|
readonly output?: string | undefined;
|
|
5498
|
+
readonly overLimit?: boolean | undefined;
|
|
4332
5499
|
readonly progress?: {
|
|
4333
5500
|
readonly at: number;
|
|
4334
5501
|
readonly signature: string;
|
|
@@ -4399,6 +5566,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4399
5566
|
readonly context: string;
|
|
4400
5567
|
readonly deliverable?: "report" | undefined;
|
|
4401
5568
|
readonly dependsOn: readonly string[];
|
|
5569
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
4402
5570
|
readonly revision: string;
|
|
4403
5571
|
readonly sourcePath: string;
|
|
4404
5572
|
readonly status?: string | undefined;
|
|
@@ -4424,6 +5592,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4424
5592
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
4425
5593
|
readonly decisionPublished?: boolean | undefined;
|
|
4426
5594
|
readonly deliverable?: "report" | undefined;
|
|
5595
|
+
readonly dispatchNow?: {
|
|
5596
|
+
readonly ignoreAreas: boolean;
|
|
5597
|
+
} | undefined;
|
|
4427
5598
|
readonly integrationRetry?: {
|
|
4428
5599
|
readonly error: string;
|
|
4429
5600
|
readonly failures: number;
|
|
@@ -4498,67 +5669,342 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4498
5669
|
readonly workRevision: string;
|
|
4499
5670
|
readonly workSourcePath: string;
|
|
4500
5671
|
} | undefined;
|
|
4501
|
-
readonly questionId: string;
|
|
4502
|
-
readonly questionRevision: string;
|
|
4503
|
-
readonly responseId: string;
|
|
4504
|
-
readonly type: "answer" | "clarify" | "not_now";
|
|
4505
|
-
}[] | undefined;
|
|
4506
|
-
readonly result?: {
|
|
4507
|
-
readonly head: string;
|
|
4508
|
-
readonly kind: "change";
|
|
4509
|
-
readonly paths: readonly string[];
|
|
4510
|
-
readonly pr: string;
|
|
4511
|
-
readonly prNumber?: number | undefined;
|
|
4512
|
-
} | {
|
|
4513
|
-
readonly evidence: readonly string[];
|
|
4514
|
-
readonly head: string;
|
|
4515
|
-
readonly kind: "no-change";
|
|
4516
|
-
} | undefined;
|
|
4517
|
-
readonly resultObservations?: readonly ({
|
|
4518
|
-
readonly head: string;
|
|
4519
|
-
readonly kind: "change";
|
|
4520
|
-
readonly paths: readonly string[];
|
|
4521
|
-
readonly pr: string;
|
|
4522
|
-
readonly prNumber?: number | undefined;
|
|
4523
|
-
} | {
|
|
4524
|
-
readonly evidence: readonly string[];
|
|
4525
|
-
readonly head: string;
|
|
4526
|
-
readonly kind: "no-change";
|
|
4527
|
-
})[] | undefined;
|
|
4528
|
-
readonly review?: {
|
|
4529
|
-
readonly evidence: readonly string[];
|
|
4530
|
-
readonly findings?: readonly string[] | undefined;
|
|
4531
|
-
readonly head: string;
|
|
4532
|
-
readonly receipt: {
|
|
4533
|
-
readonly sessionId: string;
|
|
4534
|
-
readonly turnId: string;
|
|
5672
|
+
readonly questionId: string;
|
|
5673
|
+
readonly questionRevision: string;
|
|
5674
|
+
readonly responseId: string;
|
|
5675
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
5676
|
+
}[] | undefined;
|
|
5677
|
+
readonly result?: {
|
|
5678
|
+
readonly head: string;
|
|
5679
|
+
readonly kind: "change";
|
|
5680
|
+
readonly paths: readonly string[];
|
|
5681
|
+
readonly pr: string;
|
|
5682
|
+
readonly prNumber?: number | undefined;
|
|
5683
|
+
} | {
|
|
5684
|
+
readonly evidence: readonly string[];
|
|
5685
|
+
readonly head: string;
|
|
5686
|
+
readonly kind: "no-change";
|
|
5687
|
+
} | undefined;
|
|
5688
|
+
readonly resultObservations?: readonly ({
|
|
5689
|
+
readonly head: string;
|
|
5690
|
+
readonly kind: "change";
|
|
5691
|
+
readonly paths: readonly string[];
|
|
5692
|
+
readonly pr: string;
|
|
5693
|
+
readonly prNumber?: number | undefined;
|
|
5694
|
+
} | {
|
|
5695
|
+
readonly evidence: readonly string[];
|
|
5696
|
+
readonly head: string;
|
|
5697
|
+
readonly kind: "no-change";
|
|
5698
|
+
})[] | undefined;
|
|
5699
|
+
readonly review?: {
|
|
5700
|
+
readonly evidence: readonly string[];
|
|
5701
|
+
readonly findings?: readonly string[] | undefined;
|
|
5702
|
+
readonly head: string;
|
|
5703
|
+
readonly receipt: {
|
|
5704
|
+
readonly sessionId: string;
|
|
5705
|
+
readonly turnId: string;
|
|
5706
|
+
};
|
|
5707
|
+
readonly repairPrompt: string;
|
|
5708
|
+
readonly verdict: "approved" | "changes";
|
|
5709
|
+
} | undefined;
|
|
5710
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
5711
|
+
readonly stageEnteredAt?: number | undefined;
|
|
5712
|
+
readonly supersededDecisions?: readonly {
|
|
5713
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
5714
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5715
|
+
readonly published: {
|
|
5716
|
+
readonly itemId: string;
|
|
5717
|
+
readonly questionId: string;
|
|
5718
|
+
readonly request: string;
|
|
5719
|
+
readonly revision: string;
|
|
5720
|
+
readonly sourcePath: string;
|
|
5721
|
+
readonly workId: string;
|
|
5722
|
+
readonly workRevision: string;
|
|
5723
|
+
readonly workSourcePath: string;
|
|
5724
|
+
};
|
|
5725
|
+
readonly reassignedTo?: {
|
|
5726
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
5727
|
+
readonly decisionId: string;
|
|
5728
|
+
} | undefined;
|
|
5729
|
+
readonly supersededAt: number;
|
|
5730
|
+
}[] | undefined;
|
|
5731
|
+
readonly updatedAt?: number | undefined;
|
|
5732
|
+
readonly history?: readonly {
|
|
5733
|
+
readonly admissionReady?: boolean | undefined;
|
|
5734
|
+
readonly areas?: readonly string[] | undefined;
|
|
5735
|
+
readonly attempts: readonly {
|
|
5736
|
+
readonly abandoned?: {
|
|
5737
|
+
readonly at: number;
|
|
5738
|
+
readonly interruptError?: string | undefined;
|
|
5739
|
+
readonly observation?: {
|
|
5740
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
5741
|
+
readonly error?: string | undefined;
|
|
5742
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
5743
|
+
readonly output: string;
|
|
5744
|
+
readonly progress?: readonly {
|
|
5745
|
+
readonly id: string;
|
|
5746
|
+
readonly status?: string | undefined;
|
|
5747
|
+
}[] | undefined;
|
|
5748
|
+
readonly provisioning: "ready" | "unknown";
|
|
5749
|
+
readonly receipt: {
|
|
5750
|
+
readonly sessionId: string;
|
|
5751
|
+
readonly turnId: string;
|
|
5752
|
+
};
|
|
5753
|
+
readonly turnMissing?: boolean | undefined;
|
|
5754
|
+
} | undefined;
|
|
5755
|
+
readonly observationError?: string | undefined;
|
|
5756
|
+
} | undefined;
|
|
5757
|
+
readonly briefSteers?: readonly {
|
|
5758
|
+
readonly error?: string | undefined;
|
|
5759
|
+
readonly requestedAt: number;
|
|
5760
|
+
readonly revision: string;
|
|
5761
|
+
readonly steeredAt?: number | undefined;
|
|
5762
|
+
}[] | undefined;
|
|
5763
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
5764
|
+
readonly missingSince?: number | undefined;
|
|
5765
|
+
readonly observationRetries?: number | undefined;
|
|
5766
|
+
readonly operationId: string;
|
|
5767
|
+
readonly output?: string | undefined;
|
|
5768
|
+
readonly overLimit?: boolean | undefined;
|
|
5769
|
+
readonly progress?: {
|
|
5770
|
+
readonly at: number;
|
|
5771
|
+
readonly signature: string;
|
|
5772
|
+
} | undefined;
|
|
5773
|
+
readonly prompt?: string | undefined;
|
|
5774
|
+
readonly providerFailures?: number | undefined;
|
|
5775
|
+
readonly readRetry?: {
|
|
5776
|
+
readonly error: string;
|
|
5777
|
+
readonly failures: number;
|
|
5778
|
+
readonly retryAt: number;
|
|
5779
|
+
} | undefined;
|
|
5780
|
+
readonly receipt?: {
|
|
5781
|
+
readonly sessionId: string;
|
|
5782
|
+
readonly turnId: string;
|
|
5783
|
+
} | undefined;
|
|
5784
|
+
readonly reviewHead?: string | undefined;
|
|
5785
|
+
readonly reviewRevision?: string | undefined;
|
|
5786
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
5787
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
5788
|
+
readonly sessionId?: string | undefined;
|
|
5789
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
5790
|
+
readonly settings?: {
|
|
5791
|
+
readonly effort?: string | undefined;
|
|
5792
|
+
readonly model?: string | undefined;
|
|
5793
|
+
readonly serviceTier?: string | undefined;
|
|
5794
|
+
} | undefined;
|
|
5795
|
+
readonly stallRecovery?: {
|
|
5796
|
+
readonly count: number;
|
|
5797
|
+
readonly interruptedAt?: number | undefined;
|
|
5798
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
5799
|
+
readonly lastActionAt: number;
|
|
5800
|
+
readonly steeredAt?: number | undefined;
|
|
5801
|
+
} | undefined;
|
|
5802
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
5803
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
5804
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
5805
|
+
readonly submittedAt: number;
|
|
5806
|
+
readonly terminalReceipts?: readonly {
|
|
5807
|
+
readonly sessionId: string;
|
|
5808
|
+
readonly turnId: string;
|
|
5809
|
+
}[] | undefined;
|
|
5810
|
+
}[];
|
|
5811
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5812
|
+
readonly blocker?: string | undefined;
|
|
5813
|
+
readonly boardContext?: string | undefined;
|
|
5814
|
+
readonly boardRevision: string;
|
|
5815
|
+
readonly boardSourcePath?: string | undefined;
|
|
5816
|
+
readonly checks?: {
|
|
5817
|
+
readonly evidence: readonly string[];
|
|
5818
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
5819
|
+
readonly head: string;
|
|
5820
|
+
readonly passed: boolean;
|
|
5821
|
+
readonly pending?: boolean | undefined;
|
|
5822
|
+
readonly repairPrompt?: string | undefined;
|
|
5823
|
+
} | undefined;
|
|
5824
|
+
readonly completedAt?: number | undefined;
|
|
5825
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
5826
|
+
readonly cwd: string;
|
|
5827
|
+
readonly decision?: {
|
|
5828
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5829
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5830
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
5831
|
+
readonly id: string;
|
|
5832
|
+
readonly links: readonly string[];
|
|
5833
|
+
readonly publicationWork?: {
|
|
5834
|
+
readonly approved: boolean;
|
|
5835
|
+
readonly areas?: readonly string[] | undefined;
|
|
5836
|
+
readonly context: string;
|
|
5837
|
+
readonly deliverable?: "report" | undefined;
|
|
5838
|
+
readonly dependsOn: readonly string[];
|
|
5839
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
5840
|
+
readonly revision: string;
|
|
5841
|
+
readonly sourcePath: string;
|
|
5842
|
+
readonly status?: string | undefined;
|
|
5843
|
+
readonly workId: string;
|
|
5844
|
+
} | undefined;
|
|
5845
|
+
readonly published?: {
|
|
5846
|
+
readonly itemId: string;
|
|
5847
|
+
readonly questionId: string;
|
|
5848
|
+
readonly request: string;
|
|
5849
|
+
readonly revision: string;
|
|
5850
|
+
readonly sourcePath: string;
|
|
5851
|
+
readonly workId: string;
|
|
5852
|
+
readonly workRevision: string;
|
|
5853
|
+
readonly workSourcePath: string;
|
|
5854
|
+
} | undefined;
|
|
5855
|
+
readonly reason: string;
|
|
5856
|
+
readonly recommendation: string;
|
|
5857
|
+
readonly worker?: {
|
|
5858
|
+
readonly sessionId: string;
|
|
5859
|
+
readonly turnId: string;
|
|
5860
|
+
} | undefined;
|
|
5861
|
+
} | undefined;
|
|
5862
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
5863
|
+
readonly decisionPublished?: boolean | undefined;
|
|
5864
|
+
readonly deliverable?: "report" | undefined;
|
|
5865
|
+
readonly dispatchNow?: {
|
|
5866
|
+
readonly ignoreAreas: boolean;
|
|
5867
|
+
} | undefined;
|
|
5868
|
+
readonly integrationRetry?: {
|
|
5869
|
+
readonly error: string;
|
|
5870
|
+
readonly failures: number;
|
|
5871
|
+
readonly retryAt: number;
|
|
5872
|
+
} | undefined;
|
|
5873
|
+
readonly launch?: {
|
|
5874
|
+
readonly effort?: string | undefined;
|
|
5875
|
+
readonly model?: string | undefined;
|
|
5876
|
+
readonly serviceTier?: string | undefined;
|
|
5877
|
+
} | undefined;
|
|
5878
|
+
readonly launchRetry?: {
|
|
5879
|
+
readonly prompt?: string | undefined;
|
|
5880
|
+
readonly rejectedAt: number;
|
|
5881
|
+
readonly rejections: number;
|
|
5882
|
+
readonly retryAt: number;
|
|
5883
|
+
} | undefined;
|
|
5884
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
5885
|
+
readonly mergeReadyAt?: number | undefined;
|
|
5886
|
+
readonly mergeReadyHead?: string | undefined;
|
|
5887
|
+
readonly outcome?: {
|
|
5888
|
+
readonly head: string;
|
|
5889
|
+
readonly revision: string;
|
|
5890
|
+
readonly url: string;
|
|
5891
|
+
} | {
|
|
5892
|
+
readonly evidence: readonly string[];
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
5895
|
+
readonly preparation: {
|
|
5896
|
+
readonly baselinePaths: readonly string[];
|
|
5897
|
+
readonly baseRevision: string;
|
|
5898
|
+
readonly configuration: readonly {
|
|
5899
|
+
readonly path: string;
|
|
5900
|
+
readonly relevantKeys: readonly string[];
|
|
5901
|
+
}[];
|
|
5902
|
+
readonly contextComplete: boolean;
|
|
5903
|
+
readonly dependencyPaths: readonly string[];
|
|
5904
|
+
readonly observedAt: number;
|
|
5905
|
+
readonly ownedPaths: readonly string[];
|
|
5906
|
+
readonly qualityPaths: readonly string[];
|
|
5907
|
+
readonly setupPaths: readonly string[];
|
|
5908
|
+
readonly sourcePaths: readonly string[];
|
|
5909
|
+
readonly validation: readonly {
|
|
5910
|
+
readonly command: string;
|
|
5911
|
+
readonly revision: string;
|
|
5912
|
+
}[];
|
|
4535
5913
|
};
|
|
4536
|
-
readonly
|
|
4537
|
-
readonly
|
|
4538
|
-
|
|
4539
|
-
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
4540
|
-
readonly stageEnteredAt?: number | undefined;
|
|
4541
|
-
readonly supersededDecisions?: readonly {
|
|
4542
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
4543
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4544
|
-
readonly published: {
|
|
5914
|
+
readonly prompt: string;
|
|
5915
|
+
readonly releaseReason?: string | undefined;
|
|
5916
|
+
readonly report?: {
|
|
4545
5917
|
readonly itemId: string;
|
|
4546
|
-
readonly
|
|
4547
|
-
|
|
5918
|
+
readonly receipt: {
|
|
5919
|
+
readonly sessionId: string;
|
|
5920
|
+
readonly turnId: string;
|
|
5921
|
+
};
|
|
4548
5922
|
readonly revision: string;
|
|
4549
5923
|
readonly sourcePath: string;
|
|
4550
|
-
readonly workId: string;
|
|
4551
5924
|
readonly workRevision: string;
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
readonly
|
|
5925
|
+
} | undefined;
|
|
5926
|
+
readonly responses?: readonly {
|
|
5927
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
5928
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
5929
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4556
5930
|
readonly decisionId: string;
|
|
5931
|
+
readonly processedAt: number;
|
|
5932
|
+
readonly published?: {
|
|
5933
|
+
readonly itemId: string;
|
|
5934
|
+
readonly questionId: string;
|
|
5935
|
+
readonly request: string;
|
|
5936
|
+
readonly revision: string;
|
|
5937
|
+
readonly sourcePath: string;
|
|
5938
|
+
readonly workId: string;
|
|
5939
|
+
readonly workRevision: string;
|
|
5940
|
+
readonly workSourcePath: string;
|
|
5941
|
+
} | undefined;
|
|
5942
|
+
readonly questionId: string;
|
|
5943
|
+
readonly questionRevision: string;
|
|
5944
|
+
readonly responseId: string;
|
|
5945
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
5946
|
+
}[] | undefined;
|
|
5947
|
+
readonly result?: {
|
|
5948
|
+
readonly head: string;
|
|
5949
|
+
readonly kind: "change";
|
|
5950
|
+
readonly paths: readonly string[];
|
|
5951
|
+
readonly pr: string;
|
|
5952
|
+
readonly prNumber?: number | undefined;
|
|
5953
|
+
} | {
|
|
5954
|
+
readonly evidence: readonly string[];
|
|
5955
|
+
readonly head: string;
|
|
5956
|
+
readonly kind: "no-change";
|
|
4557
5957
|
} | undefined;
|
|
4558
|
-
readonly
|
|
5958
|
+
readonly resultObservations?: readonly ({
|
|
5959
|
+
readonly head: string;
|
|
5960
|
+
readonly kind: "change";
|
|
5961
|
+
readonly paths: readonly string[];
|
|
5962
|
+
readonly pr: string;
|
|
5963
|
+
readonly prNumber?: number | undefined;
|
|
5964
|
+
} | {
|
|
5965
|
+
readonly evidence: readonly string[];
|
|
5966
|
+
readonly head: string;
|
|
5967
|
+
readonly kind: "no-change";
|
|
5968
|
+
})[] | undefined;
|
|
5969
|
+
readonly review?: {
|
|
5970
|
+
readonly evidence: readonly string[];
|
|
5971
|
+
readonly findings?: readonly string[] | undefined;
|
|
5972
|
+
readonly head: string;
|
|
5973
|
+
readonly receipt: {
|
|
5974
|
+
readonly sessionId: string;
|
|
5975
|
+
readonly turnId: string;
|
|
5976
|
+
};
|
|
5977
|
+
readonly repairPrompt: string;
|
|
5978
|
+
readonly verdict: "approved" | "changes";
|
|
5979
|
+
} | undefined;
|
|
5980
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
5981
|
+
readonly stageEnteredAt?: number | undefined;
|
|
5982
|
+
readonly supersededDecisions?: readonly {
|
|
5983
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
5984
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5985
|
+
readonly published: {
|
|
5986
|
+
readonly itemId: string;
|
|
5987
|
+
readonly questionId: string;
|
|
5988
|
+
readonly request: string;
|
|
5989
|
+
readonly revision: string;
|
|
5990
|
+
readonly sourcePath: string;
|
|
5991
|
+
readonly workId: string;
|
|
5992
|
+
readonly workRevision: string;
|
|
5993
|
+
readonly workSourcePath: string;
|
|
5994
|
+
};
|
|
5995
|
+
readonly reassignedTo?: {
|
|
5996
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
5997
|
+
readonly decisionId: string;
|
|
5998
|
+
} | undefined;
|
|
5999
|
+
readonly supersededAt: number;
|
|
6000
|
+
}[] | undefined;
|
|
6001
|
+
readonly updatedAt?: number | undefined;
|
|
6002
|
+
readonly archivedAt: number;
|
|
4559
6003
|
}[] | undefined;
|
|
4560
|
-
readonly
|
|
4561
|
-
|
|
6004
|
+
readonly workId: string;
|
|
6005
|
+
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("./storage/errors.ts").StorageAdmission | import("./storage/errors.ts").StorageCapacity | import("./storage/errors.ts").StorageConflict | import("./storage/errors.ts").StorageQuota, never>;
|
|
6006
|
+
readonly recordResponse: (workId: string, decisionId: string, responseId: string) => Effect.Effect<{
|
|
6007
|
+
value: {
|
|
4562
6008
|
readonly admissionReady?: boolean | undefined;
|
|
4563
6009
|
readonly areas?: readonly string[] | undefined;
|
|
4564
6010
|
readonly attempts: readonly {
|
|
@@ -4594,6 +6040,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4594
6040
|
readonly observationRetries?: number | undefined;
|
|
4595
6041
|
readonly operationId: string;
|
|
4596
6042
|
readonly output?: string | undefined;
|
|
6043
|
+
readonly overLimit?: boolean | undefined;
|
|
4597
6044
|
readonly progress?: {
|
|
4598
6045
|
readonly at: number;
|
|
4599
6046
|
readonly signature: string;
|
|
@@ -4634,42 +6081,183 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4634
6081
|
readonly terminalReceipts?: readonly {
|
|
4635
6082
|
readonly sessionId: string;
|
|
4636
6083
|
readonly turnId: string;
|
|
4637
|
-
}[] | undefined;
|
|
4638
|
-
}[];
|
|
4639
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
4640
|
-
readonly blocker?: string | undefined;
|
|
4641
|
-
readonly boardContext?: string | undefined;
|
|
4642
|
-
readonly boardRevision: string;
|
|
4643
|
-
readonly boardSourcePath?: string | undefined;
|
|
4644
|
-
readonly checks?: {
|
|
4645
|
-
readonly evidence: readonly string[];
|
|
4646
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
4647
|
-
readonly head: string;
|
|
4648
|
-
readonly passed: boolean;
|
|
4649
|
-
readonly pending?: boolean | undefined;
|
|
4650
|
-
readonly repairPrompt?: string | undefined;
|
|
6084
|
+
}[] | undefined;
|
|
6085
|
+
}[];
|
|
6086
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6087
|
+
readonly blocker?: string | undefined;
|
|
6088
|
+
readonly boardContext?: string | undefined;
|
|
6089
|
+
readonly boardRevision: string;
|
|
6090
|
+
readonly boardSourcePath?: string | undefined;
|
|
6091
|
+
readonly checks?: {
|
|
6092
|
+
readonly evidence: readonly string[];
|
|
6093
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
6094
|
+
readonly head: string;
|
|
6095
|
+
readonly passed: boolean;
|
|
6096
|
+
readonly pending?: boolean | undefined;
|
|
6097
|
+
readonly repairPrompt?: string | undefined;
|
|
6098
|
+
} | undefined;
|
|
6099
|
+
readonly completedAt?: number | undefined;
|
|
6100
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
6101
|
+
readonly cwd: string;
|
|
6102
|
+
readonly decision?: {
|
|
6103
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6104
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6105
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
6106
|
+
readonly id: string;
|
|
6107
|
+
readonly links: readonly string[];
|
|
6108
|
+
readonly publicationWork?: {
|
|
6109
|
+
readonly approved: boolean;
|
|
6110
|
+
readonly areas?: readonly string[] | undefined;
|
|
6111
|
+
readonly context: string;
|
|
6112
|
+
readonly deliverable?: "report" | undefined;
|
|
6113
|
+
readonly dependsOn: readonly string[];
|
|
6114
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
6115
|
+
readonly revision: string;
|
|
6116
|
+
readonly sourcePath: string;
|
|
6117
|
+
readonly status?: string | undefined;
|
|
6118
|
+
readonly workId: string;
|
|
6119
|
+
} | undefined;
|
|
6120
|
+
readonly published?: {
|
|
6121
|
+
readonly itemId: string;
|
|
6122
|
+
readonly questionId: string;
|
|
6123
|
+
readonly request: string;
|
|
6124
|
+
readonly revision: string;
|
|
6125
|
+
readonly sourcePath: string;
|
|
6126
|
+
readonly workId: string;
|
|
6127
|
+
readonly workRevision: string;
|
|
6128
|
+
readonly workSourcePath: string;
|
|
6129
|
+
} | undefined;
|
|
6130
|
+
readonly reason: string;
|
|
6131
|
+
readonly recommendation: string;
|
|
6132
|
+
readonly worker?: {
|
|
6133
|
+
readonly sessionId: string;
|
|
6134
|
+
readonly turnId: string;
|
|
6135
|
+
} | undefined;
|
|
6136
|
+
} | undefined;
|
|
6137
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
6138
|
+
readonly decisionPublished?: boolean | undefined;
|
|
6139
|
+
readonly deliverable?: "report" | undefined;
|
|
6140
|
+
readonly dispatchNow?: {
|
|
6141
|
+
readonly ignoreAreas: boolean;
|
|
6142
|
+
} | undefined;
|
|
6143
|
+
readonly integrationRetry?: {
|
|
6144
|
+
readonly error: string;
|
|
6145
|
+
readonly failures: number;
|
|
6146
|
+
readonly retryAt: number;
|
|
6147
|
+
} | undefined;
|
|
6148
|
+
readonly launch?: {
|
|
6149
|
+
readonly effort?: string | undefined;
|
|
6150
|
+
readonly model?: string | undefined;
|
|
6151
|
+
readonly serviceTier?: string | undefined;
|
|
6152
|
+
} | undefined;
|
|
6153
|
+
readonly launchRetry?: {
|
|
6154
|
+
readonly prompt?: string | undefined;
|
|
6155
|
+
readonly rejectedAt: number;
|
|
6156
|
+
readonly rejections: number;
|
|
6157
|
+
readonly retryAt: number;
|
|
6158
|
+
} | undefined;
|
|
6159
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
6160
|
+
readonly mergeReadyAt?: number | undefined;
|
|
6161
|
+
readonly mergeReadyHead?: string | undefined;
|
|
6162
|
+
readonly outcome?: {
|
|
6163
|
+
readonly head: string;
|
|
6164
|
+
readonly revision: string;
|
|
6165
|
+
readonly url: string;
|
|
6166
|
+
} | {
|
|
6167
|
+
readonly evidence: readonly string[];
|
|
6168
|
+
} | undefined;
|
|
6169
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
6170
|
+
readonly preparation: {
|
|
6171
|
+
readonly baselinePaths: readonly string[];
|
|
6172
|
+
readonly baseRevision: string;
|
|
6173
|
+
readonly configuration: readonly {
|
|
6174
|
+
readonly path: string;
|
|
6175
|
+
readonly relevantKeys: readonly string[];
|
|
6176
|
+
}[];
|
|
6177
|
+
readonly contextComplete: boolean;
|
|
6178
|
+
readonly dependencyPaths: readonly string[];
|
|
6179
|
+
readonly observedAt: number;
|
|
6180
|
+
readonly ownedPaths: readonly string[];
|
|
6181
|
+
readonly qualityPaths: readonly string[];
|
|
6182
|
+
readonly setupPaths: readonly string[];
|
|
6183
|
+
readonly sourcePaths: readonly string[];
|
|
6184
|
+
readonly validation: readonly {
|
|
6185
|
+
readonly command: string;
|
|
6186
|
+
readonly revision: string;
|
|
6187
|
+
}[];
|
|
6188
|
+
};
|
|
6189
|
+
readonly prompt: string;
|
|
6190
|
+
readonly releaseReason?: string | undefined;
|
|
6191
|
+
readonly report?: {
|
|
6192
|
+
readonly itemId: string;
|
|
6193
|
+
readonly receipt: {
|
|
6194
|
+
readonly sessionId: string;
|
|
6195
|
+
readonly turnId: string;
|
|
6196
|
+
};
|
|
6197
|
+
readonly revision: string;
|
|
6198
|
+
readonly sourcePath: string;
|
|
6199
|
+
readonly workRevision: string;
|
|
4651
6200
|
} | undefined;
|
|
4652
|
-
readonly
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
readonly decision?: {
|
|
4656
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6201
|
+
readonly responses?: readonly {
|
|
6202
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
6203
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
4657
6204
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4658
|
-
readonly
|
|
4659
|
-
readonly
|
|
4660
|
-
readonly
|
|
4661
|
-
|
|
4662
|
-
readonly
|
|
4663
|
-
readonly
|
|
4664
|
-
readonly context: string;
|
|
4665
|
-
readonly deliverable?: "report" | undefined;
|
|
4666
|
-
readonly dependsOn: readonly string[];
|
|
6205
|
+
readonly decisionId: string;
|
|
6206
|
+
readonly processedAt: number;
|
|
6207
|
+
readonly published?: {
|
|
6208
|
+
readonly itemId: string;
|
|
6209
|
+
readonly questionId: string;
|
|
6210
|
+
readonly request: string;
|
|
4667
6211
|
readonly revision: string;
|
|
4668
6212
|
readonly sourcePath: string;
|
|
4669
|
-
readonly status?: string | undefined;
|
|
4670
6213
|
readonly workId: string;
|
|
6214
|
+
readonly workRevision: string;
|
|
6215
|
+
readonly workSourcePath: string;
|
|
4671
6216
|
} | undefined;
|
|
4672
|
-
readonly
|
|
6217
|
+
readonly questionId: string;
|
|
6218
|
+
readonly questionRevision: string;
|
|
6219
|
+
readonly responseId: string;
|
|
6220
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
6221
|
+
}[] | undefined;
|
|
6222
|
+
readonly result?: {
|
|
6223
|
+
readonly head: string;
|
|
6224
|
+
readonly kind: "change";
|
|
6225
|
+
readonly paths: readonly string[];
|
|
6226
|
+
readonly pr: string;
|
|
6227
|
+
readonly prNumber?: number | undefined;
|
|
6228
|
+
} | {
|
|
6229
|
+
readonly evidence: readonly string[];
|
|
6230
|
+
readonly head: string;
|
|
6231
|
+
readonly kind: "no-change";
|
|
6232
|
+
} | undefined;
|
|
6233
|
+
readonly resultObservations?: readonly ({
|
|
6234
|
+
readonly head: string;
|
|
6235
|
+
readonly kind: "change";
|
|
6236
|
+
readonly paths: readonly string[];
|
|
6237
|
+
readonly pr: string;
|
|
6238
|
+
readonly prNumber?: number | undefined;
|
|
6239
|
+
} | {
|
|
6240
|
+
readonly evidence: readonly string[];
|
|
6241
|
+
readonly head: string;
|
|
6242
|
+
readonly kind: "no-change";
|
|
6243
|
+
})[] | undefined;
|
|
6244
|
+
readonly review?: {
|
|
6245
|
+
readonly evidence: readonly string[];
|
|
6246
|
+
readonly findings?: readonly string[] | undefined;
|
|
6247
|
+
readonly head: string;
|
|
6248
|
+
readonly receipt: {
|
|
6249
|
+
readonly sessionId: string;
|
|
6250
|
+
readonly turnId: string;
|
|
6251
|
+
};
|
|
6252
|
+
readonly repairPrompt: string;
|
|
6253
|
+
readonly verdict: "approved" | "changes";
|
|
6254
|
+
} | undefined;
|
|
6255
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
6256
|
+
readonly stageEnteredAt?: number | undefined;
|
|
6257
|
+
readonly supersededDecisions?: readonly {
|
|
6258
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
6259
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6260
|
+
readonly published: {
|
|
4673
6261
|
readonly itemId: string;
|
|
4674
6262
|
readonly questionId: string;
|
|
4675
6263
|
readonly request: string;
|
|
@@ -4678,155 +6266,290 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4678
6266
|
readonly workId: string;
|
|
4679
6267
|
readonly workRevision: string;
|
|
4680
6268
|
readonly workSourcePath: string;
|
|
6269
|
+
};
|
|
6270
|
+
readonly reassignedTo?: {
|
|
6271
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
6272
|
+
readonly decisionId: string;
|
|
4681
6273
|
} | undefined;
|
|
4682
|
-
readonly
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
6274
|
+
readonly supersededAt: number;
|
|
6275
|
+
}[] | undefined;
|
|
6276
|
+
readonly updatedAt?: number | undefined;
|
|
6277
|
+
readonly history?: readonly {
|
|
6278
|
+
readonly admissionReady?: boolean | undefined;
|
|
6279
|
+
readonly areas?: readonly string[] | undefined;
|
|
6280
|
+
readonly attempts: readonly {
|
|
6281
|
+
readonly abandoned?: {
|
|
6282
|
+
readonly at: number;
|
|
6283
|
+
readonly interruptError?: string | undefined;
|
|
6284
|
+
readonly observation?: {
|
|
6285
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
6286
|
+
readonly error?: string | undefined;
|
|
6287
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
6288
|
+
readonly output: string;
|
|
6289
|
+
readonly progress?: readonly {
|
|
6290
|
+
readonly id: string;
|
|
6291
|
+
readonly status?: string | undefined;
|
|
6292
|
+
}[] | undefined;
|
|
6293
|
+
readonly provisioning: "ready" | "unknown";
|
|
6294
|
+
readonly receipt: {
|
|
6295
|
+
readonly sessionId: string;
|
|
6296
|
+
readonly turnId: string;
|
|
6297
|
+
};
|
|
6298
|
+
readonly turnMissing?: boolean | undefined;
|
|
6299
|
+
} | undefined;
|
|
6300
|
+
readonly observationError?: string | undefined;
|
|
6301
|
+
} | undefined;
|
|
6302
|
+
readonly briefSteers?: readonly {
|
|
6303
|
+
readonly error?: string | undefined;
|
|
6304
|
+
readonly requestedAt: number;
|
|
6305
|
+
readonly revision: string;
|
|
6306
|
+
readonly steeredAt?: number | undefined;
|
|
6307
|
+
}[] | undefined;
|
|
6308
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
6309
|
+
readonly missingSince?: number | undefined;
|
|
6310
|
+
readonly observationRetries?: number | undefined;
|
|
6311
|
+
readonly operationId: string;
|
|
6312
|
+
readonly output?: string | undefined;
|
|
6313
|
+
readonly overLimit?: boolean | undefined;
|
|
6314
|
+
readonly progress?: {
|
|
6315
|
+
readonly at: number;
|
|
6316
|
+
readonly signature: string;
|
|
6317
|
+
} | undefined;
|
|
6318
|
+
readonly prompt?: string | undefined;
|
|
6319
|
+
readonly providerFailures?: number | undefined;
|
|
6320
|
+
readonly readRetry?: {
|
|
6321
|
+
readonly error: string;
|
|
6322
|
+
readonly failures: number;
|
|
6323
|
+
readonly retryAt: number;
|
|
6324
|
+
} | undefined;
|
|
6325
|
+
readonly receipt?: {
|
|
6326
|
+
readonly sessionId: string;
|
|
6327
|
+
readonly turnId: string;
|
|
6328
|
+
} | undefined;
|
|
6329
|
+
readonly reviewHead?: string | undefined;
|
|
6330
|
+
readonly reviewRevision?: string | undefined;
|
|
6331
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
6332
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
6333
|
+
readonly sessionId?: string | undefined;
|
|
6334
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
6335
|
+
readonly settings?: {
|
|
6336
|
+
readonly effort?: string | undefined;
|
|
6337
|
+
readonly model?: string | undefined;
|
|
6338
|
+
readonly serviceTier?: string | undefined;
|
|
6339
|
+
} | undefined;
|
|
6340
|
+
readonly stallRecovery?: {
|
|
6341
|
+
readonly count: number;
|
|
6342
|
+
readonly interruptedAt?: number | undefined;
|
|
6343
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
6344
|
+
readonly lastActionAt: number;
|
|
6345
|
+
readonly steeredAt?: number | undefined;
|
|
6346
|
+
} | undefined;
|
|
6347
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
6348
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
6349
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
6350
|
+
readonly submittedAt: number;
|
|
6351
|
+
readonly terminalReceipts?: readonly {
|
|
6352
|
+
readonly sessionId: string;
|
|
6353
|
+
readonly turnId: string;
|
|
6354
|
+
}[] | undefined;
|
|
6355
|
+
}[];
|
|
6356
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6357
|
+
readonly blocker?: string | undefined;
|
|
6358
|
+
readonly boardContext?: string | undefined;
|
|
6359
|
+
readonly boardRevision: string;
|
|
6360
|
+
readonly boardSourcePath?: string | undefined;
|
|
6361
|
+
readonly checks?: {
|
|
6362
|
+
readonly evidence: readonly string[];
|
|
6363
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
6364
|
+
readonly head: string;
|
|
6365
|
+
readonly passed: boolean;
|
|
6366
|
+
readonly pending?: boolean | undefined;
|
|
6367
|
+
readonly repairPrompt?: string | undefined;
|
|
6368
|
+
} | undefined;
|
|
6369
|
+
readonly completedAt?: number | undefined;
|
|
6370
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
6371
|
+
readonly cwd: string;
|
|
6372
|
+
readonly decision?: {
|
|
6373
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6374
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6375
|
+
readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
|
|
6376
|
+
readonly id: string;
|
|
6377
|
+
readonly links: readonly string[];
|
|
6378
|
+
readonly publicationWork?: {
|
|
6379
|
+
readonly approved: boolean;
|
|
6380
|
+
readonly areas?: readonly string[] | undefined;
|
|
6381
|
+
readonly context: string;
|
|
6382
|
+
readonly deliverable?: "report" | undefined;
|
|
6383
|
+
readonly dependsOn: readonly string[];
|
|
6384
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
6385
|
+
readonly revision: string;
|
|
6386
|
+
readonly sourcePath: string;
|
|
6387
|
+
readonly status?: string | undefined;
|
|
6388
|
+
readonly workId: string;
|
|
6389
|
+
} | undefined;
|
|
6390
|
+
readonly published?: {
|
|
6391
|
+
readonly itemId: string;
|
|
6392
|
+
readonly questionId: string;
|
|
6393
|
+
readonly request: string;
|
|
6394
|
+
readonly revision: string;
|
|
6395
|
+
readonly sourcePath: string;
|
|
6396
|
+
readonly workId: string;
|
|
6397
|
+
readonly workRevision: string;
|
|
6398
|
+
readonly workSourcePath: string;
|
|
6399
|
+
} | undefined;
|
|
6400
|
+
readonly reason: string;
|
|
6401
|
+
readonly recommendation: string;
|
|
6402
|
+
readonly worker?: {
|
|
6403
|
+
readonly sessionId: string;
|
|
6404
|
+
readonly turnId: string;
|
|
6405
|
+
} | undefined;
|
|
6406
|
+
} | undefined;
|
|
6407
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
6408
|
+
readonly decisionPublished?: boolean | undefined;
|
|
6409
|
+
readonly deliverable?: "report" | undefined;
|
|
6410
|
+
readonly dispatchNow?: {
|
|
6411
|
+
readonly ignoreAreas: boolean;
|
|
6412
|
+
} | undefined;
|
|
6413
|
+
readonly integrationRetry?: {
|
|
6414
|
+
readonly error: string;
|
|
6415
|
+
readonly failures: number;
|
|
6416
|
+
readonly retryAt: number;
|
|
6417
|
+
} | undefined;
|
|
6418
|
+
readonly launch?: {
|
|
6419
|
+
readonly effort?: string | undefined;
|
|
6420
|
+
readonly model?: string | undefined;
|
|
6421
|
+
readonly serviceTier?: string | undefined;
|
|
4687
6422
|
} | undefined;
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
readonly
|
|
4695
|
-
readonly
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
readonly model?: string | undefined;
|
|
4700
|
-
readonly serviceTier?: string | undefined;
|
|
4701
|
-
} | undefined;
|
|
4702
|
-
readonly launchRetry?: {
|
|
4703
|
-
readonly prompt?: string | undefined;
|
|
4704
|
-
readonly rejectedAt: number;
|
|
4705
|
-
readonly rejections: number;
|
|
4706
|
-
readonly retryAt: number;
|
|
4707
|
-
} | undefined;
|
|
4708
|
-
readonly mergeAreasReleased?: boolean | undefined;
|
|
4709
|
-
readonly mergeReadyAt?: number | undefined;
|
|
4710
|
-
readonly mergeReadyHead?: string | undefined;
|
|
4711
|
-
readonly outcome?: {
|
|
4712
|
-
readonly head: string;
|
|
4713
|
-
readonly revision: string;
|
|
4714
|
-
readonly url: string;
|
|
4715
|
-
} | {
|
|
4716
|
-
readonly evidence: readonly string[];
|
|
4717
|
-
} | undefined;
|
|
4718
|
-
readonly pendingAnswers?: readonly string[] | undefined;
|
|
4719
|
-
readonly preparation: {
|
|
4720
|
-
readonly baselinePaths: readonly string[];
|
|
4721
|
-
readonly baseRevision: string;
|
|
4722
|
-
readonly configuration: readonly {
|
|
4723
|
-
readonly path: string;
|
|
4724
|
-
readonly relevantKeys: readonly string[];
|
|
4725
|
-
}[];
|
|
4726
|
-
readonly contextComplete: boolean;
|
|
4727
|
-
readonly dependencyPaths: readonly string[];
|
|
4728
|
-
readonly observedAt: number;
|
|
4729
|
-
readonly ownedPaths: readonly string[];
|
|
4730
|
-
readonly qualityPaths: readonly string[];
|
|
4731
|
-
readonly setupPaths: readonly string[];
|
|
4732
|
-
readonly sourcePaths: readonly string[];
|
|
4733
|
-
readonly validation: readonly {
|
|
4734
|
-
readonly command: string;
|
|
4735
|
-
readonly revision: string;
|
|
4736
|
-
}[];
|
|
4737
|
-
};
|
|
4738
|
-
readonly prompt: string;
|
|
4739
|
-
readonly releaseReason?: string | undefined;
|
|
4740
|
-
readonly report?: {
|
|
4741
|
-
readonly itemId: string;
|
|
4742
|
-
readonly receipt: {
|
|
4743
|
-
readonly sessionId: string;
|
|
4744
|
-
readonly turnId: string;
|
|
4745
|
-
};
|
|
4746
|
-
readonly revision: string;
|
|
4747
|
-
readonly sourcePath: string;
|
|
4748
|
-
readonly workRevision: string;
|
|
4749
|
-
} | undefined;
|
|
4750
|
-
readonly responses?: readonly {
|
|
4751
|
-
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
4752
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
4753
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4754
|
-
readonly decisionId: string;
|
|
4755
|
-
readonly processedAt: number;
|
|
4756
|
-
readonly published?: {
|
|
4757
|
-
readonly itemId: string;
|
|
4758
|
-
readonly questionId: string;
|
|
4759
|
-
readonly request: string;
|
|
6423
|
+
readonly launchRetry?: {
|
|
6424
|
+
readonly prompt?: string | undefined;
|
|
6425
|
+
readonly rejectedAt: number;
|
|
6426
|
+
readonly rejections: number;
|
|
6427
|
+
readonly retryAt: number;
|
|
6428
|
+
} | undefined;
|
|
6429
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
6430
|
+
readonly mergeReadyAt?: number | undefined;
|
|
6431
|
+
readonly mergeReadyHead?: string | undefined;
|
|
6432
|
+
readonly outcome?: {
|
|
6433
|
+
readonly head: string;
|
|
4760
6434
|
readonly revision: string;
|
|
4761
|
-
readonly
|
|
4762
|
-
|
|
4763
|
-
readonly
|
|
4764
|
-
readonly workSourcePath: string;
|
|
6435
|
+
readonly url: string;
|
|
6436
|
+
} | {
|
|
6437
|
+
readonly evidence: readonly string[];
|
|
4765
6438
|
} | undefined;
|
|
4766
|
-
readonly
|
|
4767
|
-
readonly
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
readonly paths: readonly string[];
|
|
4786
|
-
readonly pr: string;
|
|
4787
|
-
readonly prNumber?: number | undefined;
|
|
4788
|
-
} | {
|
|
4789
|
-
readonly evidence: readonly string[];
|
|
4790
|
-
readonly head: string;
|
|
4791
|
-
readonly kind: "no-change";
|
|
4792
|
-
})[] | undefined;
|
|
4793
|
-
readonly review?: {
|
|
4794
|
-
readonly evidence: readonly string[];
|
|
4795
|
-
readonly findings?: readonly string[] | undefined;
|
|
4796
|
-
readonly head: string;
|
|
4797
|
-
readonly receipt: {
|
|
4798
|
-
readonly sessionId: string;
|
|
4799
|
-
readonly turnId: string;
|
|
6439
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
6440
|
+
readonly preparation: {
|
|
6441
|
+
readonly baselinePaths: readonly string[];
|
|
6442
|
+
readonly baseRevision: string;
|
|
6443
|
+
readonly configuration: readonly {
|
|
6444
|
+
readonly path: string;
|
|
6445
|
+
readonly relevantKeys: readonly string[];
|
|
6446
|
+
}[];
|
|
6447
|
+
readonly contextComplete: boolean;
|
|
6448
|
+
readonly dependencyPaths: readonly string[];
|
|
6449
|
+
readonly observedAt: number;
|
|
6450
|
+
readonly ownedPaths: readonly string[];
|
|
6451
|
+
readonly qualityPaths: readonly string[];
|
|
6452
|
+
readonly setupPaths: readonly string[];
|
|
6453
|
+
readonly sourcePaths: readonly string[];
|
|
6454
|
+
readonly validation: readonly {
|
|
6455
|
+
readonly command: string;
|
|
6456
|
+
readonly revision: string;
|
|
6457
|
+
}[];
|
|
4800
6458
|
};
|
|
4801
|
-
readonly
|
|
4802
|
-
readonly
|
|
4803
|
-
|
|
4804
|
-
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
4805
|
-
readonly stageEnteredAt?: number | undefined;
|
|
4806
|
-
readonly supersededDecisions?: readonly {
|
|
4807
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
4808
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4809
|
-
readonly published: {
|
|
6459
|
+
readonly prompt: string;
|
|
6460
|
+
readonly releaseReason?: string | undefined;
|
|
6461
|
+
readonly report?: {
|
|
4810
6462
|
readonly itemId: string;
|
|
4811
|
-
readonly
|
|
4812
|
-
|
|
6463
|
+
readonly receipt: {
|
|
6464
|
+
readonly sessionId: string;
|
|
6465
|
+
readonly turnId: string;
|
|
6466
|
+
};
|
|
4813
6467
|
readonly revision: string;
|
|
4814
6468
|
readonly sourcePath: string;
|
|
4815
|
-
readonly workId: string;
|
|
4816
6469
|
readonly workRevision: string;
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
readonly
|
|
6470
|
+
} | undefined;
|
|
6471
|
+
readonly responses?: readonly {
|
|
6472
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
6473
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
6474
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4821
6475
|
readonly decisionId: string;
|
|
6476
|
+
readonly processedAt: number;
|
|
6477
|
+
readonly published?: {
|
|
6478
|
+
readonly itemId: string;
|
|
6479
|
+
readonly questionId: string;
|
|
6480
|
+
readonly request: string;
|
|
6481
|
+
readonly revision: string;
|
|
6482
|
+
readonly sourcePath: string;
|
|
6483
|
+
readonly workId: string;
|
|
6484
|
+
readonly workRevision: string;
|
|
6485
|
+
readonly workSourcePath: string;
|
|
6486
|
+
} | undefined;
|
|
6487
|
+
readonly questionId: string;
|
|
6488
|
+
readonly questionRevision: string;
|
|
6489
|
+
readonly responseId: string;
|
|
6490
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
6491
|
+
}[] | undefined;
|
|
6492
|
+
readonly result?: {
|
|
6493
|
+
readonly head: string;
|
|
6494
|
+
readonly kind: "change";
|
|
6495
|
+
readonly paths: readonly string[];
|
|
6496
|
+
readonly pr: string;
|
|
6497
|
+
readonly prNumber?: number | undefined;
|
|
6498
|
+
} | {
|
|
6499
|
+
readonly evidence: readonly string[];
|
|
6500
|
+
readonly head: string;
|
|
6501
|
+
readonly kind: "no-change";
|
|
4822
6502
|
} | undefined;
|
|
4823
|
-
readonly
|
|
6503
|
+
readonly resultObservations?: readonly ({
|
|
6504
|
+
readonly head: string;
|
|
6505
|
+
readonly kind: "change";
|
|
6506
|
+
readonly paths: readonly string[];
|
|
6507
|
+
readonly pr: string;
|
|
6508
|
+
readonly prNumber?: number | undefined;
|
|
6509
|
+
} | {
|
|
6510
|
+
readonly evidence: readonly string[];
|
|
6511
|
+
readonly head: string;
|
|
6512
|
+
readonly kind: "no-change";
|
|
6513
|
+
})[] | undefined;
|
|
6514
|
+
readonly review?: {
|
|
6515
|
+
readonly evidence: readonly string[];
|
|
6516
|
+
readonly findings?: readonly string[] | undefined;
|
|
6517
|
+
readonly head: string;
|
|
6518
|
+
readonly receipt: {
|
|
6519
|
+
readonly sessionId: string;
|
|
6520
|
+
readonly turnId: string;
|
|
6521
|
+
};
|
|
6522
|
+
readonly repairPrompt: string;
|
|
6523
|
+
readonly verdict: "approved" | "changes";
|
|
6524
|
+
} | undefined;
|
|
6525
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
6526
|
+
readonly stageEnteredAt?: number | undefined;
|
|
6527
|
+
readonly supersededDecisions?: readonly {
|
|
6528
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
6529
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6530
|
+
readonly published: {
|
|
6531
|
+
readonly itemId: string;
|
|
6532
|
+
readonly questionId: string;
|
|
6533
|
+
readonly request: string;
|
|
6534
|
+
readonly revision: string;
|
|
6535
|
+
readonly sourcePath: string;
|
|
6536
|
+
readonly workId: string;
|
|
6537
|
+
readonly workRevision: string;
|
|
6538
|
+
readonly workSourcePath: string;
|
|
6539
|
+
};
|
|
6540
|
+
readonly reassignedTo?: {
|
|
6541
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
6542
|
+
readonly decisionId: string;
|
|
6543
|
+
} | undefined;
|
|
6544
|
+
readonly supersededAt: number;
|
|
6545
|
+
}[] | undefined;
|
|
6546
|
+
readonly updatedAt?: number | undefined;
|
|
6547
|
+
readonly archivedAt: number;
|
|
4824
6548
|
}[] | undefined;
|
|
4825
|
-
readonly
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("./storage/errors.ts").StorageAdmission | import("./storage/errors.ts").StorageCapacity | import("./storage/errors.ts").StorageConflict | import("./storage/errors.ts").StorageQuota, never>;
|
|
6549
|
+
readonly workId: string;
|
|
6550
|
+
};
|
|
6551
|
+
version: number;
|
|
6552
|
+
}, import("@shivaedev/platform/errors/taxonomy.ts").BadRequest | import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Conflict | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("./storage/errors.ts").StorageAdmission | import("./storage/errors.ts").StorageCapacity | import("./storage/errors.ts").StorageConflict | import("./storage/errors.ts").StorageQuota, never>;
|
|
4830
6553
|
readonly resolve: (workId: string, decisionId: string, responseId: string) => Effect.Effect<import("./storage/model.ts").Versioned<{
|
|
4831
6554
|
readonly admissionReady?: boolean | undefined;
|
|
4832
6555
|
readonly areas?: readonly string[] | undefined;
|
|
@@ -4863,6 +6586,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4863
6586
|
readonly observationRetries?: number | undefined;
|
|
4864
6587
|
readonly operationId: string;
|
|
4865
6588
|
readonly output?: string | undefined;
|
|
6589
|
+
readonly overLimit?: boolean | undefined;
|
|
4866
6590
|
readonly progress?: {
|
|
4867
6591
|
readonly at: number;
|
|
4868
6592
|
readonly signature: string;
|
|
@@ -4933,6 +6657,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4933
6657
|
readonly context: string;
|
|
4934
6658
|
readonly deliverable?: "report" | undefined;
|
|
4935
6659
|
readonly dependsOn: readonly string[];
|
|
6660
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
4936
6661
|
readonly revision: string;
|
|
4937
6662
|
readonly sourcePath: string;
|
|
4938
6663
|
readonly status?: string | undefined;
|
|
@@ -4958,6 +6683,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
4958
6683
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
4959
6684
|
readonly decisionPublished?: boolean | undefined;
|
|
4960
6685
|
readonly deliverable?: "report" | undefined;
|
|
6686
|
+
readonly dispatchNow?: {
|
|
6687
|
+
readonly ignoreAreas: boolean;
|
|
6688
|
+
} | undefined;
|
|
4961
6689
|
readonly integrationRetry?: {
|
|
4962
6690
|
readonly error: string;
|
|
4963
6691
|
readonly failures: number;
|
|
@@ -5128,6 +6856,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
5128
6856
|
readonly observationRetries?: number | undefined;
|
|
5129
6857
|
readonly operationId: string;
|
|
5130
6858
|
readonly output?: string | undefined;
|
|
6859
|
+
readonly overLimit?: boolean | undefined;
|
|
5131
6860
|
readonly progress?: {
|
|
5132
6861
|
readonly at: number;
|
|
5133
6862
|
readonly signature: string;
|
|
@@ -5198,6 +6927,7 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
5198
6927
|
readonly context: string;
|
|
5199
6928
|
readonly deliverable?: "report" | undefined;
|
|
5200
6929
|
readonly dependsOn: readonly string[];
|
|
6930
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
5201
6931
|
readonly revision: string;
|
|
5202
6932
|
readonly sourcePath: string;
|
|
5203
6933
|
readonly status?: string | undefined;
|
|
@@ -5223,6 +6953,9 @@ export declare const Fleet: import("effect/Context").Service<"@shivaedev/work-fl
|
|
|
5223
6953
|
readonly decisionAcknowledged?: boolean | undefined;
|
|
5224
6954
|
readonly decisionPublished?: boolean | undefined;
|
|
5225
6955
|
readonly deliverable?: "report" | undefined;
|
|
6956
|
+
readonly dispatchNow?: {
|
|
6957
|
+
readonly ignoreAreas: boolean;
|
|
6958
|
+
} | undefined;
|
|
5226
6959
|
readonly integrationRetry?: {
|
|
5227
6960
|
readonly error: string;
|
|
5228
6961
|
readonly failures: number;
|