@shivaedev/work-fleet 0.5.0 → 0.7.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 +33 -0
- package/README.md +7 -5
- package/dist/DecisionCode.d.ts +1 -1
- package/dist/DecisionCode.d.ts.map +1 -1
- package/dist/DecisionCode.js +1 -0
- package/dist/DecisionCode.js.map +1 -1
- package/dist/admit.d.ts +2 -4
- package/dist/admit.d.ts.map +1 -1
- package/dist/board/acknowledgeDecision.d.ts.map +1 -1
- package/dist/board/acknowledgeDecision.js +11 -5
- package/dist/board/acknowledgeDecision.js.map +1 -1
- package/dist/board/briefRevision.d.ts +1 -1
- package/dist/board/briefRevision.d.ts.map +1 -1
- package/dist/board/briefRevision.js +1 -1
- package/dist/board/briefRevision.js.map +1 -1
- package/dist/board/closePublishedDecision.d.ts +22 -0
- package/dist/board/closePublishedDecision.d.ts.map +1 -0
- package/dist/board/closePublishedDecision.js +41 -0
- package/dist/board/closePublishedDecision.js.map +1 -0
- package/dist/board/decisionAnswer.d.ts +2 -2
- package/dist/board/decisionAnswer.d.ts.map +1 -1
- package/dist/board/decisionAnswer.js +8 -8
- package/dist/board/decisionAnswer.js.map +1 -1
- package/dist/board/decisionReading.js +2 -2
- package/dist/board/decisionReading.js.map +1 -1
- package/dist/board/documents.d.ts +1 -2
- package/dist/board/documents.d.ts.map +1 -1
- package/dist/board/documents.js +4 -4
- package/dist/board/documents.js.map +1 -1
- package/dist/board/fleetField.d.ts +1 -1
- package/dist/board/fleetField.d.ts.map +1 -1
- package/dist/board/markdown.d.ts.map +1 -1
- package/dist/board/markdown.js +6 -5
- package/dist/board/markdown.js.map +1 -1
- package/dist/board/publish.d.ts +1 -1
- package/dist/board/publish.d.ts.map +1 -1
- package/dist/board/publish.js +10 -8
- package/dist/board/publish.js.map +1 -1
- package/dist/board/publishReport.js +2 -2
- package/dist/board/publishReport.js.map +1 -1
- package/dist/board/readDocument.js +1 -1
- package/dist/board/readDocument.js.map +1 -1
- package/dist/board/readPass.d.ts +1 -1
- package/dist/board/readPass.d.ts.map +1 -1
- package/dist/board/readPass.js +1 -1
- package/dist/board/readPass.js.map +1 -1
- package/dist/board/reportIdentity.js +1 -1
- package/dist/board/reportIdentity.js.map +1 -1
- package/dist/board/reportLinks.js +1 -1
- package/dist/board/reportLinks.js.map +1 -1
- package/dist/board/schema.d.ts +13 -13
- package/dist/board/schema.js +2 -2
- package/dist/board/schema.js.map +1 -1
- package/dist/board/upgradeDecisionClosure.d.ts +5 -0
- package/dist/board/upgradeDecisionClosure.d.ts.map +1 -0
- package/dist/board/upgradeDecisionClosure.js +46 -0
- package/dist/board/upgradeDecisionClosure.js.map +1 -0
- package/dist/board/workRevision.js +2 -2
- package/dist/board/workRevision.js.map +1 -1
- package/dist/board/writeHealth.d.ts +1 -1
- package/dist/board/writeHealth.d.ts.map +1 -1
- package/dist/board/writeHealth.js +1 -1
- package/dist/board/writeHealth.js.map +1 -1
- package/dist/board/writePublished.d.ts +1 -1
- package/dist/board/writePublished.d.ts.map +1 -1
- package/dist/board/writePublished.js +5 -1
- package/dist/board/writePublished.js.map +1 -1
- package/dist/cli.js +11 -5
- package/dist/cli.js.map +1 -1
- package/dist/engine/abandonStalled.d.ts +530 -569
- package/dist/engine/abandonStalled.d.ts.map +1 -1
- package/dist/engine/admissionOrder.d.ts +4 -8
- package/dist/engine/admissionOrder.d.ts.map +1 -1
- package/dist/engine/applyResolution.d.ts +4 -8
- package/dist/engine/applyResolution.d.ts.map +1 -1
- package/dist/engine/approveBrief.d.ts +6 -12
- package/dist/engine/approveBrief.d.ts.map +1 -1
- package/dist/engine/authorizeResolution.d.ts +528 -565
- package/dist/engine/authorizeResolution.d.ts.map +1 -1
- package/dist/engine/authorizeResolution.js +1 -1
- package/dist/engine/authorizeResolution.js.map +1 -1
- package/dist/engine/boardBrief.d.ts +7 -12
- package/dist/engine/boardBrief.d.ts.map +1 -1
- package/dist/engine/boardBrief.js +3 -10
- package/dist/engine/boardBrief.js.map +1 -1
- package/dist/engine/capacityRetry.d.ts +1715 -1828
- package/dist/engine/capacityRetry.d.ts.map +1 -1
- package/dist/engine/closeDecisions.d.ts +4 -8
- package/dist/engine/closeDecisions.d.ts.map +1 -1
- package/dist/engine/completeBoardWork.d.ts +4 -8
- package/dist/engine/completeBoardWork.d.ts.map +1 -1
- package/dist/engine/completeReport.d.ts +277 -284
- package/dist/engine/completeReport.d.ts.map +1 -1
- package/dist/engine/continueCommand.d.ts +2 -4
- package/dist/engine/continueCommand.d.ts.map +1 -1
- package/dist/engine/continueWorker.d.ts +4 -8
- package/dist/engine/continueWorker.d.ts.map +1 -1
- package/dist/engine/decisionCopy.d.ts +15 -0
- package/dist/engine/decisionCopy.d.ts.map +1 -0
- package/dist/engine/decisionCopy.js +44 -0
- package/dist/engine/decisionCopy.js.map +1 -0
- package/dist/engine/deliverPendingAnswers.d.ts +534 -577
- package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.d.ts +3 -6
- package/dist/engine/dispatchCommand.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.js +4 -29
- package/dist/engine/dispatchCommand.js.map +1 -1
- package/dist/engine/dispatchFailure.d.ts +9391 -0
- package/dist/engine/dispatchFailure.d.ts.map +1 -0
- package/dist/engine/dispatchFailure.js +24 -0
- package/dist/engine/dispatchFailure.js.map +1 -0
- package/dist/engine/ensureDecisionOwner.d.ts +4 -8
- package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
- package/dist/engine/ensurePublication.d.ts +4 -8
- package/dist/engine/ensurePublication.d.ts.map +1 -1
- package/dist/engine/failureCode.js +1 -1
- package/dist/engine/failureCode.js.map +1 -1
- package/dist/engine/health.d.ts +1 -1
- package/dist/engine/health.d.ts.map +1 -1
- package/dist/engine/inspectRenewal.d.ts +4 -8
- package/dist/engine/inspectRenewal.d.ts.map +1 -1
- package/dist/engine/launchInput.d.ts +2 -4
- package/dist/engine/launchInput.d.ts.map +1 -1
- package/dist/engine/launchReceipt.d.ts +2 -4
- package/dist/engine/launchReceipt.d.ts.map +1 -1
- package/dist/engine/makeAdopt.d.ts +4 -8
- package/dist/engine/makeAdopt.d.ts.map +1 -1
- package/dist/engine/makeAdvance.d.ts +2 -4
- package/dist/engine/makeAdvance.d.ts.map +1 -1
- package/dist/engine/makeDeliver.d.ts +4 -8
- package/dist/engine/makeDeliver.d.ts.map +1 -1
- package/dist/engine/makeDeliver.js +5 -1
- package/dist/engine/makeDeliver.js.map +1 -1
- package/dist/engine/makeHuman.d.ts +4 -8
- package/dist/engine/makeHuman.d.ts.map +1 -1
- package/dist/engine/makeLaunch.d.ts +4 -8
- package/dist/engine/makeLaunch.d.ts.map +1 -1
- package/dist/engine/makeObserve.d.ts +4 -8
- package/dist/engine/makeObserve.d.ts.map +1 -1
- package/dist/engine/makeReview.d.ts +4 -8
- package/dist/engine/makeReview.d.ts.map +1 -1
- package/dist/engine/makeState.d.ts +534 -568
- package/dist/engine/makeState.d.ts.map +1 -1
- package/dist/engine/makeState.js +18 -3
- package/dist/engine/makeState.js.map +1 -1
- package/dist/engine/makeValidate.d.ts +4 -8
- package/dist/engine/makeValidate.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.d.ts +536 -581
- package/dist/engine/mergeReadiness.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.js +1 -1
- package/dist/engine/mergeReadiness.js.map +1 -1
- package/dist/engine/missingBoardWork.d.ts +9936 -0
- package/dist/engine/missingBoardWork.d.ts.map +1 -0
- package/dist/engine/missingBoardWork.js +17 -0
- package/dist/engine/missingBoardWork.js.map +1 -0
- package/dist/engine/observeDeliveryFailure.d.ts +530 -569
- package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
- package/dist/engine/observeRenewal.d.ts +6 -12
- package/dist/engine/observeRenewal.d.ts.map +1 -1
- package/dist/engine/obtainReview.d.ts +2 -4
- package/dist/engine/obtainReview.d.ts.map +1 -1
- package/dist/engine/obtainReview.js +1 -1
- package/dist/engine/obtainReview.js.map +1 -1
- package/dist/engine/operationRecord.d.ts +26 -52
- package/dist/engine/operationRecord.d.ts.map +1 -1
- package/dist/engine/pendingAcknowledgements.d.ts.map +1 -1
- package/dist/engine/pendingAcknowledgements.js +3 -1
- package/dist/engine/pendingAcknowledgements.js.map +1 -1
- package/dist/engine/persistTerminalReceipts.d.ts +4 -8
- package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
- package/dist/engine/prepareCommand.d.ts +2 -4
- package/dist/engine/prepareCommand.d.ts.map +1 -1
- package/dist/engine/queueAnswerCommand.d.ts +2 -4
- package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.d.ts +2 -4
- package/dist/engine/readOrContinueReview.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.js +1 -1
- package/dist/engine/readOrContinueReview.js.map +1 -1
- package/dist/engine/readResolution.d.ts +1 -1
- package/dist/engine/readResolution.js +1 -1
- package/dist/engine/readResolution.js.map +1 -1
- package/dist/engine/readRetry.d.ts +1177 -1255
- package/dist/engine/readRetry.d.ts.map +1 -1
- package/dist/engine/reassignCommand.d.ts +2 -4
- package/dist/engine/reassignCommand.d.ts.map +1 -1
- package/dist/engine/reconcileAttempt.d.ts +2 -4
- package/dist/engine/reconcileAttempt.d.ts.map +1 -1
- package/dist/engine/reconcileCommand.d.ts +2 -4
- package/dist/engine/reconcileCommand.d.ts.map +1 -1
- package/dist/engine/reconcileCommand.js +2 -1
- package/dist/engine/reconcileCommand.js.map +1 -1
- package/dist/engine/recordResponseCommand.d.ts +2 -4
- package/dist/engine/recordResponseCommand.d.ts.map +1 -1
- package/dist/engine/recoverStall.d.ts +530 -569
- package/dist/engine/recoverStall.d.ts.map +1 -1
- package/dist/engine/recoverUnobservable.d.ts +530 -569
- package/dist/engine/recoverUnobservable.d.ts.map +1 -1
- package/dist/engine/refreshBrief.d.ts +1177 -1255
- package/dist/engine/refreshBrief.d.ts.map +1 -1
- package/dist/engine/refreshReviewResult.d.ts +4 -8
- package/dist/engine/refreshReviewResult.d.ts.map +1 -1
- package/dist/engine/releaseClosedPreparation.d.ts +530 -569
- package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
- package/dist/engine/releaseExecution.d.ts +530 -569
- package/dist/engine/releaseExecution.d.ts.map +1 -1
- package/dist/engine/releaseFinishedWork.d.ts +2 -4
- package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
- package/dist/engine/releaseFinishedWork.js +0 -1
- package/dist/engine/releaseFinishedWork.js.map +1 -1
- package/dist/engine/repository.d.ts +24 -48
- package/dist/engine/repository.d.ts.map +1 -1
- package/dist/engine/repository.js +1 -1
- package/dist/engine/repository.js.map +1 -1
- package/dist/engine/requestConflictRepair.d.ts +530 -569
- package/dist/engine/requestConflictRepair.d.ts.map +1 -1
- package/dist/engine/requestRework.d.ts +4 -8
- package/dist/engine/requestRework.d.ts.map +1 -1
- package/dist/engine/resolveCommand.d.ts +2 -4
- package/dist/engine/resolveCommand.d.ts.map +1 -1
- package/dist/engine/resolveExecution.d.ts +530 -569
- package/dist/engine/resolveExecution.d.ts.map +1 -1
- package/dist/engine/resumeAttempt.d.ts +530 -569
- package/dist/engine/resumeAttempt.d.ts.map +1 -1
- package/dist/engine/retireUnacknowledged.d.ts +4 -8
- package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
- package/dist/engine/retryTerminal.d.ts +528 -565
- package/dist/engine/retryTerminal.d.ts.map +1 -1
- package/dist/engine/saveLaunch.d.ts +533 -574
- package/dist/engine/saveLaunch.d.ts.map +1 -1
- package/dist/engine/saveLaunch.js +16 -2
- package/dist/engine/saveLaunch.js.map +1 -1
- package/dist/engine/scheduler.d.ts +4 -8
- package/dist/engine/scheduler.d.ts.map +1 -1
- package/dist/engine/scheduler.js +4 -1
- package/dist/engine/scheduler.js.map +1 -1
- package/dist/engine/sessionCleanup.d.ts +4 -8
- package/dist/engine/sessionCleanup.d.ts.map +1 -1
- package/dist/engine/settleMergedDelivery.d.ts +530 -569
- package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
- package/dist/engine/situations/choices.d.ts +20 -0
- package/dist/engine/situations/choices.d.ts.map +1 -0
- package/dist/engine/situations/choices.js +21 -0
- package/dist/engine/situations/choices.js.map +1 -0
- package/dist/engine/situations/service.d.ts +60 -0
- package/dist/engine/situations/service.d.ts.map +1 -0
- package/dist/engine/situations/service.js +51 -0
- package/dist/engine/situations/service.js.map +1 -0
- package/dist/engine/situations/stop.d.ts +25 -0
- package/dist/engine/situations/stop.d.ts.map +1 -0
- package/dist/engine/situations/stop.js +25 -0
- package/dist/engine/situations/stop.js.map +1 -0
- package/dist/engine/situations/work.d.ts +114 -0
- package/dist/engine/situations/work.d.ts.map +1 -0
- package/dist/engine/situations/work.js +91 -0
- package/dist/engine/situations/work.js.map +1 -0
- package/dist/engine/steerBrief.d.ts +532 -573
- package/dist/engine/steerBrief.d.ts.map +1 -1
- package/dist/engine/submissionFailure.d.ts +526 -561
- package/dist/engine/submissionFailure.d.ts.map +1 -1
- package/dist/engine/submitLaunch.d.ts +528 -565
- package/dist/engine/submitLaunch.d.ts.map +1 -1
- package/dist/engine/threadNames.js +1 -1
- package/dist/engine/threadNames.js.map +1 -1
- package/dist/engine/workerReport.d.ts +7 -13
- package/dist/engine/workerReport.d.ts.map +1 -1
- package/dist/exposeFailure.js +1 -1
- package/dist/exposeFailure.js.map +1 -1
- package/dist/fleet.d.ts +26 -52
- package/dist/fleet.d.ts.map +1 -1
- package/dist/fleet.js +1 -1
- package/dist/fleet.js.map +1 -1
- package/dist/host/actionCommands.d.ts +10 -10
- package/dist/host/actionCommands.d.ts.map +1 -1
- package/dist/host/actionCommands.js +6 -6
- package/dist/host/actionCommands.js.map +1 -1
- package/dist/host/admission.d.ts +4 -8
- package/dist/host/admission.d.ts.map +1 -1
- package/dist/host/answerWork.d.ts +4 -5
- package/dist/host/answerWork.d.ts.map +1 -1
- package/dist/host/cliOptions.d.ts +5 -1
- package/dist/host/cliOptions.d.ts.map +1 -1
- package/dist/host/cliOptions.js +6 -4
- package/dist/host/cliOptions.js.map +1 -1
- package/dist/host/commands.d.ts +1 -1
- package/dist/host/commands.d.ts.map +1 -1
- package/dist/host/configSettings.d.ts +5 -5
- package/dist/host/daemon.d.ts +133 -150
- package/dist/host/daemon.d.ts.map +1 -1
- package/dist/host/daemon.js +7 -3
- package/dist/host/daemon.js.map +1 -1
- package/dist/host/daemonClient.d.ts +1054 -1072
- package/dist/host/daemonClient.d.ts.map +1 -1
- package/dist/host/daemonClient.js +1 -1
- package/dist/host/daemonClient.js.map +1 -1
- package/dist/host/daemonContract.d.ts +146 -172
- package/dist/host/daemonContract.d.ts.map +1 -1
- package/dist/host/daemonContract.js +1 -1
- package/dist/host/daemonContract.js.map +1 -1
- package/dist/host/daemonDiagnostics.js +1 -1
- package/dist/host/daemonDiagnostics.js.map +1 -1
- package/dist/host/daemonHandlers.d.ts +1 -1
- package/dist/host/daemonHandlers.d.ts.map +1 -1
- package/dist/host/daemonPort.d.ts +6 -0
- package/dist/host/daemonPort.d.ts.map +1 -0
- package/dist/host/daemonPort.js +40 -0
- package/dist/host/daemonPort.js.map +1 -0
- package/dist/host/daemonSnapshots.d.ts +1 -1
- package/dist/host/daemonSnapshots.d.ts.map +1 -1
- package/dist/host/daemonSnapshots.js +1 -1
- package/dist/host/daemonSnapshots.js.map +1 -1
- package/dist/host/fleetStatus.d.ts +5 -5
- package/dist/host/follow.d.ts +1 -0
- package/dist/host/follow.d.ts.map +1 -1
- package/dist/host/follow.js +10 -4
- package/dist/host/follow.js.map +1 -1
- package/dist/host/followCommands.d.ts +2 -2
- package/dist/host/followCommands.d.ts.map +1 -1
- package/dist/host/followCommands.js +4 -2
- package/dist/host/followCommands.js.map +1 -1
- package/dist/host/githubApi.js +1 -1
- package/dist/host/githubApi.js.map +1 -1
- package/dist/host/githubDelivery.js +3 -1
- package/dist/host/githubDelivery.js.map +1 -1
- package/dist/host/healthLayer.js +1 -1
- package/dist/host/healthLayer.js.map +1 -1
- package/dist/host/integrations.js +1 -1
- package/dist/host/integrations.js.map +1 -1
- package/dist/host/mainSource.js +1 -1
- package/dist/host/mainSource.js.map +1 -1
- package/dist/host/providerHealth.js +1 -1
- package/dist/host/providerHealth.js.map +1 -1
- package/dist/host/quota.js +1 -1
- package/dist/host/quota.js.map +1 -1
- package/dist/host/recordDecisionResponse.d.ts +3 -2
- package/dist/host/recordDecisionResponse.d.ts.map +1 -1
- package/dist/host/recordDecisionResponse.js +1 -1
- package/dist/host/recordDecisionResponse.js.map +1 -1
- package/dist/host/releaseWork.d.ts +6 -9
- package/dist/host/releaseWork.d.ts.map +1 -1
- package/dist/host/releaseWork.js +2 -2
- package/dist/host/releaseWork.js.map +1 -1
- package/dist/host/renderStatus.d.ts +4 -1
- package/dist/host/renderStatus.d.ts.map +1 -1
- package/dist/host/renderStatus.js +6 -6
- package/dist/host/renderStatus.js.map +1 -1
- package/dist/host/reportBoard.js +1 -1
- package/dist/host/reportBoard.js.map +1 -1
- package/dist/host/runtime.d.ts +2 -2
- package/dist/host/runtime.d.ts.map +1 -1
- package/dist/host/runtime.js +1 -1
- package/dist/host/runtime.js.map +1 -1
- package/dist/host/statusLayer.js +2 -2
- package/dist/host/statusLayer.js.map +1 -1
- package/dist/host/watch.d.ts.map +1 -1
- package/dist/host/watch.js +1 -1
- package/dist/host/watch.js.map +1 -1
- package/dist/model.d.ts +9 -12
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +1 -2
- package/dist/model.js.map +1 -1
- package/dist/operations.d.ts +57 -99
- 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 +3 -2
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +2 -1
- package/dist/policy.js.map +1 -1
- package/dist/prompt/briefEdit.js +1 -1
- package/dist/prompt/briefEdit.js.map +1 -1
- package/dist/providers/codexCloud.js +1 -1
- package/dist/providers/codexCloud.js.map +1 -1
- package/dist/providers/codexLocal.js +1 -1
- package/dist/providers/codexLocal.js.map +1 -1
- package/dist/qualifyDependencies.d.ts +2 -4
- package/dist/qualifyDependencies.d.ts.map +1 -1
- package/dist/reportFileDirectory.js +1 -1
- package/dist/reportFileDirectory.js.map +1 -1
- package/dist/scheduling/admission.d.ts +6 -12
- package/dist/scheduling/admission.d.ts.map +1 -1
- package/dist/scheduling/areas.d.ts +7 -12
- package/dist/scheduling/areas.d.ts.map +1 -1
- package/dist/scheduling/areas.js +2 -2
- package/dist/scheduling/areas.js.map +1 -1
- package/dist/scheduling/backPressure.d.ts +6 -12
- package/dist/scheduling/backPressure.d.ts.map +1 -1
- package/dist/session/schema.d.ts +1 -1
- package/dist/session/service.js +1 -1
- package/dist/session/service.js.map +1 -1
- package/dist/storage/fleetMigrations.d.ts.map +1 -1
- package/dist/storage/fleetMigrations.js +10 -0
- package/dist/storage/fleetMigrations.js.map +1 -1
- package/dist/storage/makeFleetTransaction.d.ts +1 -1
- package/dist/storage/makeFleetTransaction.d.ts.map +1 -1
- package/dist/storage/makeFleetTransaction.js +1 -1
- package/dist/storage/makeFleetTransaction.js.map +1 -1
- package/dist/storage/makeForeignReservations.d.ts.map +1 -1
- package/dist/storage/makeForeignReservations.js +16 -4
- package/dist/storage/makeForeignReservations.js.map +1 -1
- package/dist/storage/model.d.ts +1 -0
- package/dist/storage/model.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/DecisionCode.ts +1 -0
- package/src/board/acknowledgeDecision.ts +11 -5
- package/src/board/briefRevision.ts +2 -2
- package/src/board/closePublishedDecision.ts +51 -0
- package/src/board/decisionAnswer.ts +11 -9
- package/src/board/decisionReading.ts +3 -3
- package/src/board/documents.ts +5 -6
- package/src/board/fleetField.ts +1 -1
- package/src/board/markdown.ts +6 -5
- package/src/board/publish.ts +10 -8
- package/src/board/publishReport.ts +2 -2
- package/src/board/readDocument.ts +1 -1
- package/src/board/readPass.ts +2 -2
- package/src/board/reportIdentity.ts +1 -1
- package/src/board/reportLinks.ts +1 -1
- package/src/board/schema.ts +2 -2
- package/src/board/upgradeDecisionClosure.ts +61 -0
- package/src/board/workRevision.ts +2 -2
- package/src/board/writeHealth.ts +2 -2
- package/src/board/writePublished.ts +13 -4
- package/src/cli.ts +13 -5
- package/src/engine/authorizeResolution.ts +1 -1
- package/src/engine/boardBrief.ts +11 -19
- package/src/engine/decisionCopy.ts +63 -0
- package/src/engine/dispatchCommand.ts +4 -36
- package/src/engine/dispatchFailure.ts +25 -0
- package/src/engine/failureCode.ts +1 -1
- package/src/engine/health.ts +1 -1
- package/src/engine/makeDeliver.ts +5 -1
- package/src/engine/makeState.ts +24 -5
- package/src/engine/mergeReadiness.ts +0 -2
- package/src/engine/missingBoardWork.ts +24 -0
- package/src/engine/obtainReview.ts +1 -1
- package/src/engine/pendingAcknowledgements.ts +9 -1
- package/src/engine/readOrContinueReview.ts +1 -1
- package/src/engine/readResolution.ts +2 -2
- package/src/engine/reconcileCommand.ts +7 -1
- package/src/engine/releaseFinishedWork.ts +0 -1
- package/src/engine/repository.ts +1 -1
- package/src/engine/saveLaunch.ts +27 -2
- package/src/engine/scheduler.ts +4 -1
- package/src/engine/situations/choices.ts +36 -0
- package/src/engine/situations/service.ts +82 -0
- package/src/engine/situations/stop.ts +60 -0
- package/src/engine/situations/work.ts +94 -0
- package/src/engine/threadNames.ts +1 -1
- package/src/exposeFailure.ts +1 -1
- package/src/fleet.ts +1 -1
- package/src/host/actionCommands.ts +6 -6
- package/src/host/cliOptions.ts +10 -5
- package/src/host/daemon.ts +7 -3
- package/src/host/daemonClient.ts +1 -1
- package/src/host/daemonContract.ts +1 -1
- package/src/host/daemonDiagnostics.ts +1 -1
- package/src/host/daemonPort.ts +50 -0
- package/src/host/daemonSnapshots.ts +1 -1
- package/src/host/follow.ts +16 -5
- package/src/host/followCommands.ts +4 -2
- package/src/host/githubApi.ts +1 -1
- package/src/host/githubDelivery.ts +3 -1
- package/src/host/healthLayer.ts +1 -1
- package/src/host/integrations.ts +1 -1
- package/src/host/mainSource.ts +1 -1
- package/src/host/providerHealth.ts +1 -1
- package/src/host/quota.ts +1 -1
- package/src/host/recordDecisionResponse.ts +1 -1
- package/src/host/releaseWork.ts +2 -2
- package/src/host/renderStatus.ts +6 -7
- package/src/host/reportBoard.ts +1 -1
- package/src/host/runtime.ts +1 -1
- package/src/host/statusLayer.ts +3 -3
- package/src/host/watch.ts +4 -1
- package/src/model.ts +1 -2
- package/src/packageInfo.ts +1 -1
- package/src/policy.ts +2 -1
- package/src/prompt/briefEdit.ts +1 -1
- package/src/providers/codexCloud.ts +1 -1
- package/src/providers/codexLocal.ts +1 -1
- package/src/reportFileDirectory.ts +1 -1
- package/src/scheduling/areas.ts +2 -2
- package/src/session/service.ts +1 -1
- package/src/storage/fleetMigrations.ts +10 -0
- package/src/storage/makeFleetTransaction.ts +2 -2
- package/src/storage/makeForeignReservations.ts +15 -4
- package/src/storage/model.ts +1 -1
- package/dist/engine/releaseOnly.d.ts +0 -3
- package/dist/engine/releaseOnly.d.ts.map +0 -1
- package/dist/engine/releaseOnly.js +0 -19
- package/dist/engine/releaseOnly.js.map +0 -1
- package/src/engine/releaseOnly.ts +0 -24
|
@@ -2,9 +2,10 @@ import { Effect } from "effect";
|
|
|
2
2
|
import { NotFound } from "@shivaedev/platform/errors/taxonomy.ts";
|
|
3
3
|
import { FleetRepository } from "#engine/repository.ts";
|
|
4
4
|
import type { Attempt, FleetRecord } from "#model.ts";
|
|
5
|
-
import { BoardGateway, type BoardWork, type Decision, type FleetConfiguration, FleetIntegrations, FleetPolicy } from "#policy.ts";
|
|
5
|
+
import { type BoardFailure, BoardGateway, type BoardWork, type Decision, type FleetConfiguration, FleetIntegrations, FleetPolicy } from "#policy.ts";
|
|
6
6
|
import type { AdmissionLimits, Versioned } from "#storage/model.ts";
|
|
7
7
|
export interface LaunchAdmission {
|
|
8
|
+
readonly areaWaiters: readonly string[];
|
|
8
9
|
readonly ignoreAreas?: boolean;
|
|
9
10
|
readonly implementer?: boolean;
|
|
10
11
|
readonly overLimit?: boolean;
|
|
@@ -13,18 +14,17 @@ export interface LaunchAdmission {
|
|
|
13
14
|
}
|
|
14
15
|
export declare const makeState: Effect.Effect<{
|
|
15
16
|
board: {
|
|
16
|
-
readonly acknowledgeDecision: (input: import("../board/schema.ts").BoardDecisionAcknowledgement) => Effect.Effect<void,
|
|
17
|
-
readonly complete?: (workId: string, sourcePath: string, nextAction: string) => Effect.Effect<void,
|
|
17
|
+
readonly acknowledgeDecision: (input: import("../board/schema.ts").BoardDecisionAcknowledgement) => Effect.Effect<void, BoardFailure | import("../board/schema.ts").BoardAcknowledgementStale>;
|
|
18
|
+
readonly complete?: (workId: string, sourcePath: string, nextAction: string) => Effect.Effect<void, BoardFailure>;
|
|
18
19
|
readonly get: (workId: string, options?: {
|
|
19
20
|
readonly fresh?: boolean;
|
|
20
|
-
}) => Effect.Effect<BoardWork,
|
|
21
|
-
readonly decision: (workId: string, decision: Decision, original?: BoardWork) => Effect.Effect<import("../board/schema.ts").BoardDecision,
|
|
22
|
-
readonly readDecision: (decision: import("../board/schema.ts").BoardDecision) => Effect.Effect<import("../board/schema.ts").BoardDecisionReading,
|
|
23
|
-
readonly report: (work: BoardWork, observation: import("#session/schema.ts").SessionObservation) => Effect.Effect<import("../board/schema.ts").BoardReport,
|
|
21
|
+
}) => Effect.Effect<BoardWork, BoardFailure>;
|
|
22
|
+
readonly decision: (workId: string, decision: Decision, original?: BoardWork) => Effect.Effect<import("../board/schema.ts").BoardDecision, BoardFailure>;
|
|
23
|
+
readonly readDecision: (decision: import("../board/schema.ts").BoardDecision) => Effect.Effect<import("../board/schema.ts").BoardDecisionReading, BoardFailure>;
|
|
24
|
+
readonly report: (work: BoardWork, observation: import("#session/schema.ts").SessionObservation) => Effect.Effect<import("../board/schema.ts").BoardReport, BoardFailure>;
|
|
24
25
|
};
|
|
25
26
|
current: Effect.Effect<FleetConfiguration, never, never>;
|
|
26
27
|
decision: (stored: Versioned<{
|
|
27
|
-
readonly admissionReady?: boolean | undefined;
|
|
28
28
|
readonly areas?: readonly string[] | undefined;
|
|
29
29
|
readonly attempts: readonly {
|
|
30
30
|
readonly abandoned?: {
|
|
@@ -121,7 +121,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
121
121
|
readonly decision?: {
|
|
122
122
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
123
123
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
124
|
-
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;
|
|
124
|
+
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-closed" | "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;
|
|
125
125
|
readonly id: string;
|
|
126
126
|
readonly links: readonly string[];
|
|
127
127
|
readonly publicationWork?: {
|
|
@@ -294,7 +294,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
294
294
|
}[] | undefined;
|
|
295
295
|
readonly updatedAt?: number | undefined;
|
|
296
296
|
readonly history?: readonly {
|
|
297
|
-
readonly admissionReady?: boolean | undefined;
|
|
298
297
|
readonly areas?: readonly string[] | undefined;
|
|
299
298
|
readonly attempts: readonly {
|
|
300
299
|
readonly abandoned?: {
|
|
@@ -391,7 +390,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
391
390
|
readonly decision?: {
|
|
392
391
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
393
392
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
394
|
-
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;
|
|
393
|
+
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-closed" | "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;
|
|
395
394
|
readonly id: string;
|
|
396
395
|
readonly links: readonly string[];
|
|
397
396
|
readonly publicationWork?: {
|
|
@@ -566,7 +565,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
566
565
|
readonly archivedAt: number;
|
|
567
566
|
}[] | undefined;
|
|
568
567
|
readonly workId: string;
|
|
569
|
-
}>, 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", reason: string, recommendation: string, worker?: {
|
|
568
|
+
}>, 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-closed" | "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", reason: string, recommendation: string, worker?: {
|
|
570
569
|
readonly sessionId: string;
|
|
571
570
|
readonly turnId: string;
|
|
572
571
|
} | undefined, attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined, publicationWork?: {
|
|
@@ -580,553 +579,548 @@ export declare const makeState: Effect.Effect<{
|
|
|
580
579
|
readonly sourcePath: string;
|
|
581
580
|
readonly status?: string | undefined;
|
|
582
581
|
readonly workId: string;
|
|
583
|
-
} | undefined) => Effect.Effect<{
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
readonly
|
|
587
|
-
|
|
588
|
-
readonly
|
|
589
|
-
|
|
590
|
-
readonly
|
|
591
|
-
readonly observation?: {
|
|
592
|
-
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
593
|
-
readonly error?: string | undefined;
|
|
594
|
-
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
595
|
-
readonly output: string;
|
|
596
|
-
readonly progress?: readonly {
|
|
597
|
-
readonly id: string;
|
|
598
|
-
readonly status?: string | undefined;
|
|
599
|
-
}[] | undefined;
|
|
600
|
-
readonly provisioning: "ready" | "unknown";
|
|
601
|
-
readonly receipt: {
|
|
602
|
-
readonly sessionId: string;
|
|
603
|
-
readonly turnId: string;
|
|
604
|
-
};
|
|
605
|
-
readonly turnMissing?: boolean | undefined;
|
|
606
|
-
} | undefined;
|
|
607
|
-
readonly observationError?: string | undefined;
|
|
608
|
-
} | undefined;
|
|
609
|
-
readonly briefSteers?: readonly {
|
|
582
|
+
} | undefined) => Effect.Effect<Versioned<{
|
|
583
|
+
readonly areas?: readonly string[] | undefined;
|
|
584
|
+
readonly attempts: readonly {
|
|
585
|
+
readonly abandoned?: {
|
|
586
|
+
readonly at: number;
|
|
587
|
+
readonly interruptError?: string | undefined;
|
|
588
|
+
readonly observation?: {
|
|
589
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
610
590
|
readonly error?: string | undefined;
|
|
611
|
-
readonly
|
|
612
|
-
readonly
|
|
613
|
-
readonly
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
readonly
|
|
623
|
-
readonly signature: string;
|
|
624
|
-
} | undefined;
|
|
625
|
-
readonly prompt?: string | undefined;
|
|
626
|
-
readonly providerFailures?: number | undefined;
|
|
627
|
-
readonly readRetry?: {
|
|
628
|
-
readonly error: string;
|
|
629
|
-
readonly failures: number;
|
|
630
|
-
readonly retryAt: number;
|
|
631
|
-
} | undefined;
|
|
632
|
-
readonly receipt?: {
|
|
633
|
-
readonly sessionId: string;
|
|
634
|
-
readonly turnId: string;
|
|
635
|
-
} | undefined;
|
|
636
|
-
readonly reviewHead?: string | undefined;
|
|
637
|
-
readonly reviewRevision?: string | undefined;
|
|
638
|
-
readonly role: "repair" | "reviewer" | "worker";
|
|
639
|
-
readonly sessionCleanupComplete?: boolean | undefined;
|
|
640
|
-
readonly sessionId?: string | undefined;
|
|
641
|
-
readonly sessionUnusable?: boolean | undefined;
|
|
642
|
-
readonly settings?: {
|
|
643
|
-
readonly effort?: string | undefined;
|
|
644
|
-
readonly model?: string | undefined;
|
|
645
|
-
readonly serviceTier?: string | undefined;
|
|
646
|
-
} | undefined;
|
|
647
|
-
readonly stallRecovery?: {
|
|
648
|
-
readonly count: number;
|
|
649
|
-
readonly interruptedAt?: number | undefined;
|
|
650
|
-
readonly interruptRequestedAt?: number | undefined;
|
|
651
|
-
readonly lastActionAt: number;
|
|
652
|
-
readonly steeredAt?: number | undefined;
|
|
653
|
-
} | undefined;
|
|
654
|
-
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
655
|
-
readonly submissionTimedOut?: boolean | undefined;
|
|
656
|
-
readonly submissionUncertain?: boolean | undefined;
|
|
657
|
-
readonly submittedAt: number;
|
|
658
|
-
readonly terminalReceipts?: readonly {
|
|
659
|
-
readonly sessionId: string;
|
|
660
|
-
readonly turnId: string;
|
|
661
|
-
}[] | undefined;
|
|
662
|
-
}[];
|
|
663
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
664
|
-
readonly blocker?: string | undefined;
|
|
665
|
-
readonly boardContext?: string | undefined;
|
|
666
|
-
readonly boardRevision: string;
|
|
667
|
-
readonly boardSourcePath?: string | undefined;
|
|
668
|
-
readonly checks?: {
|
|
669
|
-
readonly evidence: readonly string[];
|
|
670
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
671
|
-
readonly head: string;
|
|
672
|
-
readonly passed: boolean;
|
|
673
|
-
readonly pending?: boolean | undefined;
|
|
674
|
-
readonly repairPrompt?: string | undefined;
|
|
675
|
-
} | undefined;
|
|
676
|
-
readonly completedAt?: number | undefined;
|
|
677
|
-
readonly conflictRepairs?: readonly string[] | undefined;
|
|
678
|
-
readonly cwd: string;
|
|
679
|
-
readonly decision?: {
|
|
680
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
681
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
682
|
-
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;
|
|
683
|
-
readonly id: string;
|
|
684
|
-
readonly links: readonly string[];
|
|
685
|
-
readonly publicationWork?: {
|
|
686
|
-
readonly approved: boolean;
|
|
687
|
-
readonly areas?: readonly string[] | undefined;
|
|
688
|
-
readonly context: string;
|
|
689
|
-
readonly deliverable?: "report" | undefined;
|
|
690
|
-
readonly dependsOn: readonly string[];
|
|
691
|
-
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
692
|
-
readonly revision: string;
|
|
693
|
-
readonly sourcePath: string;
|
|
694
|
-
readonly status?: string | undefined;
|
|
695
|
-
readonly workId: string;
|
|
696
|
-
} | undefined;
|
|
697
|
-
readonly published?: {
|
|
698
|
-
readonly itemId: string;
|
|
699
|
-
readonly questionId: string;
|
|
700
|
-
readonly request: string;
|
|
701
|
-
readonly revision: string;
|
|
702
|
-
readonly sourcePath: string;
|
|
703
|
-
readonly workId: string;
|
|
704
|
-
readonly workRevision: string;
|
|
705
|
-
readonly workSourcePath: string;
|
|
706
|
-
} | undefined;
|
|
707
|
-
readonly reason: string;
|
|
708
|
-
readonly recommendation: string;
|
|
709
|
-
readonly worker?: {
|
|
710
|
-
readonly sessionId: string;
|
|
711
|
-
readonly turnId: string;
|
|
591
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
592
|
+
readonly output: string;
|
|
593
|
+
readonly progress?: readonly {
|
|
594
|
+
readonly id: string;
|
|
595
|
+
readonly status?: string | undefined;
|
|
596
|
+
}[] | undefined;
|
|
597
|
+
readonly provisioning: "ready" | "unknown";
|
|
598
|
+
readonly receipt: {
|
|
599
|
+
readonly sessionId: string;
|
|
600
|
+
readonly turnId: string;
|
|
601
|
+
};
|
|
602
|
+
readonly turnMissing?: boolean | undefined;
|
|
712
603
|
} | undefined;
|
|
604
|
+
readonly observationError?: string | undefined;
|
|
713
605
|
} | undefined;
|
|
714
|
-
readonly
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
readonly
|
|
606
|
+
readonly briefSteers?: readonly {
|
|
607
|
+
readonly error?: string | undefined;
|
|
608
|
+
readonly requestedAt: number;
|
|
609
|
+
readonly revision: string;
|
|
610
|
+
readonly steeredAt?: number | undefined;
|
|
611
|
+
}[] | undefined;
|
|
612
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
613
|
+
readonly missingSince?: number | undefined;
|
|
614
|
+
readonly observationRetries?: number | undefined;
|
|
615
|
+
readonly operationId: string;
|
|
616
|
+
readonly output?: string | undefined;
|
|
617
|
+
readonly overLimit?: boolean | undefined;
|
|
618
|
+
readonly progress?: {
|
|
619
|
+
readonly at: number;
|
|
620
|
+
readonly signature: string;
|
|
719
621
|
} | undefined;
|
|
720
|
-
readonly
|
|
622
|
+
readonly prompt?: string | undefined;
|
|
623
|
+
readonly providerFailures?: number | undefined;
|
|
624
|
+
readonly readRetry?: {
|
|
721
625
|
readonly error: string;
|
|
722
626
|
readonly failures: number;
|
|
723
627
|
readonly retryAt: number;
|
|
724
628
|
} | undefined;
|
|
725
|
-
readonly
|
|
629
|
+
readonly receipt?: {
|
|
630
|
+
readonly sessionId: string;
|
|
631
|
+
readonly turnId: string;
|
|
632
|
+
} | undefined;
|
|
633
|
+
readonly reviewHead?: string | undefined;
|
|
634
|
+
readonly reviewRevision?: string | undefined;
|
|
635
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
636
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
637
|
+
readonly sessionId?: string | undefined;
|
|
638
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
639
|
+
readonly settings?: {
|
|
726
640
|
readonly effort?: string | undefined;
|
|
727
641
|
readonly model?: string | undefined;
|
|
728
642
|
readonly serviceTier?: string | undefined;
|
|
729
643
|
} | undefined;
|
|
730
|
-
readonly
|
|
731
|
-
readonly
|
|
732
|
-
readonly
|
|
733
|
-
readonly
|
|
734
|
-
readonly
|
|
644
|
+
readonly stallRecovery?: {
|
|
645
|
+
readonly count: number;
|
|
646
|
+
readonly interruptedAt?: number | undefined;
|
|
647
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
648
|
+
readonly lastActionAt: number;
|
|
649
|
+
readonly steeredAt?: number | undefined;
|
|
735
650
|
} | undefined;
|
|
736
|
-
readonly
|
|
737
|
-
readonly
|
|
738
|
-
readonly
|
|
739
|
-
readonly
|
|
740
|
-
|
|
651
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
652
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
653
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
654
|
+
readonly submittedAt: number;
|
|
655
|
+
readonly terminalReceipts?: readonly {
|
|
656
|
+
readonly sessionId: string;
|
|
657
|
+
readonly turnId: string;
|
|
658
|
+
}[] | undefined;
|
|
659
|
+
}[];
|
|
660
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
661
|
+
readonly blocker?: string | undefined;
|
|
662
|
+
readonly boardContext?: string | undefined;
|
|
663
|
+
readonly boardRevision: string;
|
|
664
|
+
readonly boardSourcePath?: string | undefined;
|
|
665
|
+
readonly checks?: {
|
|
666
|
+
readonly evidence: readonly string[];
|
|
667
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
668
|
+
readonly head: string;
|
|
669
|
+
readonly passed: boolean;
|
|
670
|
+
readonly pending?: boolean | undefined;
|
|
671
|
+
readonly repairPrompt?: string | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
readonly completedAt?: number | undefined;
|
|
674
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
675
|
+
readonly cwd: string;
|
|
676
|
+
readonly decision?: {
|
|
677
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
678
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
679
|
+
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-closed" | "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;
|
|
680
|
+
readonly id: string;
|
|
681
|
+
readonly links: readonly string[];
|
|
682
|
+
readonly publicationWork?: {
|
|
683
|
+
readonly approved: boolean;
|
|
684
|
+
readonly areas?: readonly string[] | undefined;
|
|
685
|
+
readonly context: string;
|
|
686
|
+
readonly deliverable?: "report" | undefined;
|
|
687
|
+
readonly dependsOn: readonly string[];
|
|
688
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
741
689
|
readonly revision: string;
|
|
742
|
-
readonly
|
|
743
|
-
|
|
744
|
-
readonly
|
|
690
|
+
readonly sourcePath: string;
|
|
691
|
+
readonly status?: string | undefined;
|
|
692
|
+
readonly workId: string;
|
|
745
693
|
} | undefined;
|
|
746
|
-
readonly
|
|
747
|
-
readonly preparation: {
|
|
748
|
-
readonly baselinePaths: readonly string[];
|
|
749
|
-
readonly baseRevision: string;
|
|
750
|
-
readonly configuration: readonly {
|
|
751
|
-
readonly path: string;
|
|
752
|
-
readonly relevantKeys: readonly string[];
|
|
753
|
-
}[];
|
|
754
|
-
readonly contextComplete: boolean;
|
|
755
|
-
readonly dependencyPaths: readonly string[];
|
|
756
|
-
readonly observedAt: number;
|
|
757
|
-
readonly ownedPaths: readonly string[];
|
|
758
|
-
readonly qualityPaths: readonly string[];
|
|
759
|
-
readonly setupPaths: readonly string[];
|
|
760
|
-
readonly sourcePaths: readonly string[];
|
|
761
|
-
readonly validation: readonly {
|
|
762
|
-
readonly command: string;
|
|
763
|
-
readonly revision: string;
|
|
764
|
-
}[];
|
|
765
|
-
};
|
|
766
|
-
readonly prompt: string;
|
|
767
|
-
readonly releaseReason?: string | undefined;
|
|
768
|
-
readonly report?: {
|
|
694
|
+
readonly published?: {
|
|
769
695
|
readonly itemId: string;
|
|
770
|
-
readonly
|
|
771
|
-
|
|
772
|
-
readonly turnId: string;
|
|
773
|
-
};
|
|
696
|
+
readonly questionId: string;
|
|
697
|
+
readonly request: string;
|
|
774
698
|
readonly revision: string;
|
|
775
699
|
readonly sourcePath: string;
|
|
700
|
+
readonly workId: string;
|
|
776
701
|
readonly workRevision: string;
|
|
702
|
+
readonly workSourcePath: string;
|
|
777
703
|
} | undefined;
|
|
778
|
-
readonly
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
704
|
+
readonly reason: string;
|
|
705
|
+
readonly recommendation: string;
|
|
706
|
+
readonly worker?: {
|
|
707
|
+
readonly sessionId: string;
|
|
708
|
+
readonly turnId: string;
|
|
709
|
+
} | undefined;
|
|
710
|
+
} | undefined;
|
|
711
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
712
|
+
readonly decisionPublished?: boolean | undefined;
|
|
713
|
+
readonly deliverable?: "report" | undefined;
|
|
714
|
+
readonly dispatchNow?: {
|
|
715
|
+
readonly ignoreAreas: boolean;
|
|
716
|
+
} | undefined;
|
|
717
|
+
readonly integrationRetry?: {
|
|
718
|
+
readonly error: string;
|
|
719
|
+
readonly failures: number;
|
|
720
|
+
readonly retryAt: number;
|
|
721
|
+
} | undefined;
|
|
722
|
+
readonly launch?: {
|
|
723
|
+
readonly effort?: string | undefined;
|
|
724
|
+
readonly model?: string | undefined;
|
|
725
|
+
readonly serviceTier?: string | undefined;
|
|
726
|
+
} | undefined;
|
|
727
|
+
readonly launchRetry?: {
|
|
728
|
+
readonly prompt?: string | undefined;
|
|
729
|
+
readonly rejectedAt: number;
|
|
730
|
+
readonly rejections: number;
|
|
731
|
+
readonly retryAt: number;
|
|
732
|
+
} | undefined;
|
|
733
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
734
|
+
readonly mergeReadyAt?: number | undefined;
|
|
735
|
+
readonly mergeReadyHead?: string | undefined;
|
|
736
|
+
readonly outcome?: {
|
|
737
|
+
readonly head: string;
|
|
738
|
+
readonly revision: string;
|
|
739
|
+
readonly url: string;
|
|
740
|
+
} | {
|
|
741
|
+
readonly evidence: readonly string[];
|
|
742
|
+
} | undefined;
|
|
743
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
744
|
+
readonly preparation: {
|
|
745
|
+
readonly baselinePaths: readonly string[];
|
|
746
|
+
readonly baseRevision: string;
|
|
747
|
+
readonly configuration: readonly {
|
|
748
|
+
readonly path: string;
|
|
749
|
+
readonly relevantKeys: readonly string[];
|
|
750
|
+
}[];
|
|
751
|
+
readonly contextComplete: boolean;
|
|
752
|
+
readonly dependencyPaths: readonly string[];
|
|
753
|
+
readonly observedAt: number;
|
|
754
|
+
readonly ownedPaths: readonly string[];
|
|
755
|
+
readonly qualityPaths: readonly string[];
|
|
756
|
+
readonly setupPaths: readonly string[];
|
|
757
|
+
readonly sourcePaths: readonly string[];
|
|
758
|
+
readonly validation: readonly {
|
|
759
|
+
readonly command: string;
|
|
760
|
+
readonly revision: string;
|
|
761
|
+
}[];
|
|
762
|
+
};
|
|
763
|
+
readonly prompt: string;
|
|
764
|
+
readonly releaseReason?: string | undefined;
|
|
765
|
+
readonly report?: {
|
|
766
|
+
readonly itemId: string;
|
|
767
|
+
readonly receipt: {
|
|
768
|
+
readonly sessionId: string;
|
|
769
|
+
readonly turnId: string;
|
|
770
|
+
};
|
|
771
|
+
readonly revision: string;
|
|
772
|
+
readonly sourcePath: string;
|
|
773
|
+
readonly workRevision: string;
|
|
774
|
+
} | undefined;
|
|
775
|
+
readonly responses?: readonly {
|
|
776
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
777
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
778
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
779
|
+
readonly decisionId: string;
|
|
780
|
+
readonly processedAt: number;
|
|
781
|
+
readonly published?: {
|
|
782
|
+
readonly itemId: string;
|
|
794
783
|
readonly questionId: string;
|
|
795
|
-
readonly
|
|
796
|
-
readonly
|
|
797
|
-
readonly
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
readonly
|
|
801
|
-
readonly kind: "change";
|
|
802
|
-
readonly paths: readonly string[];
|
|
803
|
-
readonly pr: string;
|
|
804
|
-
readonly prNumber?: number | undefined;
|
|
805
|
-
} | {
|
|
806
|
-
readonly evidence: readonly string[];
|
|
807
|
-
readonly head: string;
|
|
808
|
-
readonly kind: "no-change";
|
|
784
|
+
readonly request: string;
|
|
785
|
+
readonly revision: string;
|
|
786
|
+
readonly sourcePath: string;
|
|
787
|
+
readonly workId: string;
|
|
788
|
+
readonly workRevision: string;
|
|
789
|
+
readonly workSourcePath: string;
|
|
809
790
|
} | undefined;
|
|
810
|
-
readonly
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
791
|
+
readonly questionId: string;
|
|
792
|
+
readonly questionRevision: string;
|
|
793
|
+
readonly responseId: string;
|
|
794
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
795
|
+
}[] | undefined;
|
|
796
|
+
readonly result?: {
|
|
797
|
+
readonly head: string;
|
|
798
|
+
readonly kind: "change";
|
|
799
|
+
readonly paths: readonly string[];
|
|
800
|
+
readonly pr: string;
|
|
801
|
+
readonly prNumber?: number | undefined;
|
|
802
|
+
} | {
|
|
803
|
+
readonly evidence: readonly string[];
|
|
804
|
+
readonly head: string;
|
|
805
|
+
readonly kind: "no-change";
|
|
806
|
+
} | undefined;
|
|
807
|
+
readonly resultObservations?: readonly ({
|
|
808
|
+
readonly head: string;
|
|
809
|
+
readonly kind: "change";
|
|
810
|
+
readonly paths: readonly string[];
|
|
811
|
+
readonly pr: string;
|
|
812
|
+
readonly prNumber?: number | undefined;
|
|
813
|
+
} | {
|
|
814
|
+
readonly evidence: readonly string[];
|
|
815
|
+
readonly head: string;
|
|
816
|
+
readonly kind: "no-change";
|
|
817
|
+
})[] | undefined;
|
|
818
|
+
readonly review?: {
|
|
819
|
+
readonly evidence: readonly string[];
|
|
820
|
+
readonly findings?: readonly string[] | undefined;
|
|
821
|
+
readonly head: string;
|
|
822
|
+
readonly receipt: {
|
|
823
|
+
readonly sessionId: string;
|
|
824
|
+
readonly turnId: string;
|
|
825
|
+
};
|
|
826
|
+
readonly repairPrompt: string;
|
|
827
|
+
readonly verdict: "approved" | "changes";
|
|
828
|
+
} | undefined;
|
|
829
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
830
|
+
readonly stageEnteredAt?: number | undefined;
|
|
831
|
+
readonly supersededDecisions?: readonly {
|
|
832
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
833
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
834
|
+
readonly published: {
|
|
835
|
+
readonly itemId: string;
|
|
836
|
+
readonly questionId: string;
|
|
837
|
+
readonly request: string;
|
|
838
|
+
readonly revision: string;
|
|
839
|
+
readonly sourcePath: string;
|
|
840
|
+
readonly workId: string;
|
|
841
|
+
readonly workRevision: string;
|
|
842
|
+
readonly workSourcePath: string;
|
|
843
|
+
};
|
|
844
|
+
readonly reassignedTo?: {
|
|
845
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
846
|
+
readonly decisionId: string;
|
|
831
847
|
} | undefined;
|
|
832
|
-
readonly
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
readonly
|
|
842
|
-
|
|
843
|
-
readonly workId: string;
|
|
844
|
-
readonly workRevision: string;
|
|
845
|
-
readonly workSourcePath: string;
|
|
846
|
-
};
|
|
847
|
-
readonly reassignedTo?: {
|
|
848
|
-
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
849
|
-
readonly decisionId: string;
|
|
850
|
-
} | undefined;
|
|
851
|
-
readonly supersededAt: number;
|
|
852
|
-
}[] | undefined;
|
|
853
|
-
readonly updatedAt?: number | undefined;
|
|
854
|
-
readonly history?: readonly {
|
|
855
|
-
readonly admissionReady?: boolean | undefined;
|
|
856
|
-
readonly areas?: readonly string[] | undefined;
|
|
857
|
-
readonly attempts: readonly {
|
|
858
|
-
readonly abandoned?: {
|
|
859
|
-
readonly at: number;
|
|
860
|
-
readonly interruptError?: string | undefined;
|
|
861
|
-
readonly observation?: {
|
|
862
|
-
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
863
|
-
readonly error?: string | undefined;
|
|
864
|
-
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
865
|
-
readonly output: string;
|
|
866
|
-
readonly progress?: readonly {
|
|
867
|
-
readonly id: string;
|
|
868
|
-
readonly status?: string | undefined;
|
|
869
|
-
}[] | undefined;
|
|
870
|
-
readonly provisioning: "ready" | "unknown";
|
|
871
|
-
readonly receipt: {
|
|
872
|
-
readonly sessionId: string;
|
|
873
|
-
readonly turnId: string;
|
|
874
|
-
};
|
|
875
|
-
readonly turnMissing?: boolean | undefined;
|
|
876
|
-
} | undefined;
|
|
877
|
-
readonly observationError?: string | undefined;
|
|
878
|
-
} | undefined;
|
|
879
|
-
readonly briefSteers?: readonly {
|
|
848
|
+
readonly supersededAt: number;
|
|
849
|
+
}[] | undefined;
|
|
850
|
+
readonly updatedAt?: number | undefined;
|
|
851
|
+
readonly history?: readonly {
|
|
852
|
+
readonly areas?: readonly string[] | undefined;
|
|
853
|
+
readonly attempts: readonly {
|
|
854
|
+
readonly abandoned?: {
|
|
855
|
+
readonly at: number;
|
|
856
|
+
readonly interruptError?: string | undefined;
|
|
857
|
+
readonly observation?: {
|
|
858
|
+
readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
|
|
880
859
|
readonly error?: string | undefined;
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
readonly
|
|
893
|
-
readonly signature: string;
|
|
894
|
-
} | undefined;
|
|
895
|
-
readonly prompt?: string | undefined;
|
|
896
|
-
readonly providerFailures?: number | undefined;
|
|
897
|
-
readonly readRetry?: {
|
|
898
|
-
readonly error: string;
|
|
899
|
-
readonly failures: number;
|
|
900
|
-
readonly retryAt: number;
|
|
901
|
-
} | undefined;
|
|
902
|
-
readonly receipt?: {
|
|
903
|
-
readonly sessionId: string;
|
|
904
|
-
readonly turnId: string;
|
|
905
|
-
} | undefined;
|
|
906
|
-
readonly reviewHead?: string | undefined;
|
|
907
|
-
readonly reviewRevision?: string | undefined;
|
|
908
|
-
readonly role: "repair" | "reviewer" | "worker";
|
|
909
|
-
readonly sessionCleanupComplete?: boolean | undefined;
|
|
910
|
-
readonly sessionId?: string | undefined;
|
|
911
|
-
readonly sessionUnusable?: boolean | undefined;
|
|
912
|
-
readonly settings?: {
|
|
913
|
-
readonly effort?: string | undefined;
|
|
914
|
-
readonly model?: string | undefined;
|
|
915
|
-
readonly serviceTier?: string | undefined;
|
|
916
|
-
} | undefined;
|
|
917
|
-
readonly stallRecovery?: {
|
|
918
|
-
readonly count: number;
|
|
919
|
-
readonly interruptedAt?: number | undefined;
|
|
920
|
-
readonly interruptRequestedAt?: number | undefined;
|
|
921
|
-
readonly lastActionAt: number;
|
|
922
|
-
readonly steeredAt?: number | undefined;
|
|
923
|
-
} | undefined;
|
|
924
|
-
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
925
|
-
readonly submissionTimedOut?: boolean | undefined;
|
|
926
|
-
readonly submissionUncertain?: boolean | undefined;
|
|
927
|
-
readonly submittedAt: number;
|
|
928
|
-
readonly terminalReceipts?: readonly {
|
|
929
|
-
readonly sessionId: string;
|
|
930
|
-
readonly turnId: string;
|
|
931
|
-
}[] | undefined;
|
|
932
|
-
}[];
|
|
933
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
934
|
-
readonly blocker?: string | undefined;
|
|
935
|
-
readonly boardContext?: string | undefined;
|
|
936
|
-
readonly boardRevision: string;
|
|
937
|
-
readonly boardSourcePath?: string | undefined;
|
|
938
|
-
readonly checks?: {
|
|
939
|
-
readonly evidence: readonly string[];
|
|
940
|
-
readonly failedChecks?: readonly string[] | undefined;
|
|
941
|
-
readonly head: string;
|
|
942
|
-
readonly passed: boolean;
|
|
943
|
-
readonly pending?: boolean | undefined;
|
|
944
|
-
readonly repairPrompt?: string | undefined;
|
|
945
|
-
} | undefined;
|
|
946
|
-
readonly completedAt?: number | undefined;
|
|
947
|
-
readonly conflictRepairs?: readonly string[] | undefined;
|
|
948
|
-
readonly cwd: string;
|
|
949
|
-
readonly decision?: {
|
|
950
|
-
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
951
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
952
|
-
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;
|
|
953
|
-
readonly id: string;
|
|
954
|
-
readonly links: readonly string[];
|
|
955
|
-
readonly publicationWork?: {
|
|
956
|
-
readonly approved: boolean;
|
|
957
|
-
readonly areas?: readonly string[] | undefined;
|
|
958
|
-
readonly context: string;
|
|
959
|
-
readonly deliverable?: "report" | undefined;
|
|
960
|
-
readonly dependsOn: readonly string[];
|
|
961
|
-
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
962
|
-
readonly revision: string;
|
|
963
|
-
readonly sourcePath: string;
|
|
964
|
-
readonly status?: string | undefined;
|
|
965
|
-
readonly workId: string;
|
|
966
|
-
} | undefined;
|
|
967
|
-
readonly published?: {
|
|
968
|
-
readonly itemId: string;
|
|
969
|
-
readonly questionId: string;
|
|
970
|
-
readonly request: string;
|
|
971
|
-
readonly revision: string;
|
|
972
|
-
readonly sourcePath: string;
|
|
973
|
-
readonly workId: string;
|
|
974
|
-
readonly workRevision: string;
|
|
975
|
-
readonly workSourcePath: string;
|
|
976
|
-
} | undefined;
|
|
977
|
-
readonly reason: string;
|
|
978
|
-
readonly recommendation: string;
|
|
979
|
-
readonly worker?: {
|
|
980
|
-
readonly sessionId: string;
|
|
981
|
-
readonly turnId: string;
|
|
860
|
+
readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
|
|
861
|
+
readonly output: string;
|
|
862
|
+
readonly progress?: readonly {
|
|
863
|
+
readonly id: string;
|
|
864
|
+
readonly status?: string | undefined;
|
|
865
|
+
}[] | undefined;
|
|
866
|
+
readonly provisioning: "ready" | "unknown";
|
|
867
|
+
readonly receipt: {
|
|
868
|
+
readonly sessionId: string;
|
|
869
|
+
readonly turnId: string;
|
|
870
|
+
};
|
|
871
|
+
readonly turnMissing?: boolean | undefined;
|
|
982
872
|
} | undefined;
|
|
873
|
+
readonly observationError?: string | undefined;
|
|
983
874
|
} | undefined;
|
|
984
|
-
readonly
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
readonly
|
|
875
|
+
readonly briefSteers?: readonly {
|
|
876
|
+
readonly error?: string | undefined;
|
|
877
|
+
readonly requestedAt: number;
|
|
878
|
+
readonly revision: string;
|
|
879
|
+
readonly steeredAt?: number | undefined;
|
|
880
|
+
}[] | undefined;
|
|
881
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
882
|
+
readonly missingSince?: number | undefined;
|
|
883
|
+
readonly observationRetries?: number | undefined;
|
|
884
|
+
readonly operationId: string;
|
|
885
|
+
readonly output?: string | undefined;
|
|
886
|
+
readonly overLimit?: boolean | undefined;
|
|
887
|
+
readonly progress?: {
|
|
888
|
+
readonly at: number;
|
|
889
|
+
readonly signature: string;
|
|
989
890
|
} | undefined;
|
|
990
|
-
readonly
|
|
891
|
+
readonly prompt?: string | undefined;
|
|
892
|
+
readonly providerFailures?: number | undefined;
|
|
893
|
+
readonly readRetry?: {
|
|
991
894
|
readonly error: string;
|
|
992
895
|
readonly failures: number;
|
|
993
896
|
readonly retryAt: number;
|
|
994
897
|
} | undefined;
|
|
995
|
-
readonly
|
|
898
|
+
readonly receipt?: {
|
|
899
|
+
readonly sessionId: string;
|
|
900
|
+
readonly turnId: string;
|
|
901
|
+
} | undefined;
|
|
902
|
+
readonly reviewHead?: string | undefined;
|
|
903
|
+
readonly reviewRevision?: string | undefined;
|
|
904
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
905
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
906
|
+
readonly sessionId?: string | undefined;
|
|
907
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
908
|
+
readonly settings?: {
|
|
996
909
|
readonly effort?: string | undefined;
|
|
997
910
|
readonly model?: string | undefined;
|
|
998
911
|
readonly serviceTier?: string | undefined;
|
|
999
912
|
} | undefined;
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly
|
|
1003
|
-
readonly
|
|
1004
|
-
readonly
|
|
913
|
+
readonly stallRecovery?: {
|
|
914
|
+
readonly count: number;
|
|
915
|
+
readonly interruptedAt?: number | undefined;
|
|
916
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
917
|
+
readonly lastActionAt: number;
|
|
918
|
+
readonly steeredAt?: number | undefined;
|
|
1005
919
|
} | undefined;
|
|
1006
|
-
readonly
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
|
|
920
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
921
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
922
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
923
|
+
readonly submittedAt: number;
|
|
924
|
+
readonly terminalReceipts?: readonly {
|
|
925
|
+
readonly sessionId: string;
|
|
926
|
+
readonly turnId: string;
|
|
927
|
+
}[] | undefined;
|
|
928
|
+
}[];
|
|
929
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
930
|
+
readonly blocker?: string | undefined;
|
|
931
|
+
readonly boardContext?: string | undefined;
|
|
932
|
+
readonly boardRevision: string;
|
|
933
|
+
readonly boardSourcePath?: string | undefined;
|
|
934
|
+
readonly checks?: {
|
|
935
|
+
readonly evidence: readonly string[];
|
|
936
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
937
|
+
readonly head: string;
|
|
938
|
+
readonly passed: boolean;
|
|
939
|
+
readonly pending?: boolean | undefined;
|
|
940
|
+
readonly repairPrompt?: string | undefined;
|
|
941
|
+
} | undefined;
|
|
942
|
+
readonly completedAt?: number | undefined;
|
|
943
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
944
|
+
readonly cwd: string;
|
|
945
|
+
readonly decision?: {
|
|
946
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
947
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
948
|
+
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-closed" | "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;
|
|
949
|
+
readonly id: string;
|
|
950
|
+
readonly links: readonly string[];
|
|
951
|
+
readonly publicationWork?: {
|
|
952
|
+
readonly approved: boolean;
|
|
953
|
+
readonly areas?: readonly string[] | undefined;
|
|
954
|
+
readonly context: string;
|
|
955
|
+
readonly deliverable?: "report" | undefined;
|
|
956
|
+
readonly dependsOn: readonly string[];
|
|
957
|
+
readonly priority?: "high" | "normal" | "urgent" | undefined;
|
|
958
|
+
readonly revision: string;
|
|
959
|
+
readonly sourcePath: string;
|
|
960
|
+
readonly status?: string | undefined;
|
|
961
|
+
readonly workId: string;
|
|
962
|
+
} | undefined;
|
|
963
|
+
readonly published?: {
|
|
964
|
+
readonly itemId: string;
|
|
965
|
+
readonly questionId: string;
|
|
966
|
+
readonly request: string;
|
|
1011
967
|
readonly revision: string;
|
|
1012
|
-
readonly
|
|
1013
|
-
|
|
1014
|
-
readonly
|
|
968
|
+
readonly sourcePath: string;
|
|
969
|
+
readonly workId: string;
|
|
970
|
+
readonly workRevision: string;
|
|
971
|
+
readonly workSourcePath: string;
|
|
1015
972
|
} | undefined;
|
|
1016
|
-
readonly
|
|
1017
|
-
readonly
|
|
1018
|
-
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
973
|
+
readonly reason: string;
|
|
974
|
+
readonly recommendation: string;
|
|
975
|
+
readonly worker?: {
|
|
976
|
+
readonly sessionId: string;
|
|
977
|
+
readonly turnId: string;
|
|
978
|
+
} | undefined;
|
|
979
|
+
} | undefined;
|
|
980
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
981
|
+
readonly decisionPublished?: boolean | undefined;
|
|
982
|
+
readonly deliverable?: "report" | undefined;
|
|
983
|
+
readonly dispatchNow?: {
|
|
984
|
+
readonly ignoreAreas: boolean;
|
|
985
|
+
} | undefined;
|
|
986
|
+
readonly integrationRetry?: {
|
|
987
|
+
readonly error: string;
|
|
988
|
+
readonly failures: number;
|
|
989
|
+
readonly retryAt: number;
|
|
990
|
+
} | undefined;
|
|
991
|
+
readonly launch?: {
|
|
992
|
+
readonly effort?: string | undefined;
|
|
993
|
+
readonly model?: string | undefined;
|
|
994
|
+
readonly serviceTier?: string | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
readonly launchRetry?: {
|
|
997
|
+
readonly prompt?: string | undefined;
|
|
998
|
+
readonly rejectedAt: number;
|
|
999
|
+
readonly rejections: number;
|
|
1000
|
+
readonly retryAt: number;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
1003
|
+
readonly mergeReadyAt?: number | undefined;
|
|
1004
|
+
readonly mergeReadyHead?: string | undefined;
|
|
1005
|
+
readonly outcome?: {
|
|
1006
|
+
readonly head: string;
|
|
1007
|
+
readonly revision: string;
|
|
1008
|
+
readonly url: string;
|
|
1009
|
+
} | {
|
|
1010
|
+
readonly evidence: readonly string[];
|
|
1011
|
+
} | undefined;
|
|
1012
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
1013
|
+
readonly preparation: {
|
|
1014
|
+
readonly baselinePaths: readonly string[];
|
|
1015
|
+
readonly baseRevision: string;
|
|
1016
|
+
readonly configuration: readonly {
|
|
1017
|
+
readonly path: string;
|
|
1018
|
+
readonly relevantKeys: readonly string[];
|
|
1019
|
+
}[];
|
|
1020
|
+
readonly contextComplete: boolean;
|
|
1021
|
+
readonly dependencyPaths: readonly string[];
|
|
1022
|
+
readonly observedAt: number;
|
|
1023
|
+
readonly ownedPaths: readonly string[];
|
|
1024
|
+
readonly qualityPaths: readonly string[];
|
|
1025
|
+
readonly setupPaths: readonly string[];
|
|
1026
|
+
readonly sourcePaths: readonly string[];
|
|
1027
|
+
readonly validation: readonly {
|
|
1028
|
+
readonly command: string;
|
|
1029
|
+
readonly revision: string;
|
|
1030
|
+
}[];
|
|
1031
|
+
};
|
|
1032
|
+
readonly prompt: string;
|
|
1033
|
+
readonly releaseReason?: string | undefined;
|
|
1034
|
+
readonly report?: {
|
|
1035
|
+
readonly itemId: string;
|
|
1036
|
+
readonly receipt: {
|
|
1037
|
+
readonly sessionId: string;
|
|
1038
|
+
readonly turnId: string;
|
|
1035
1039
|
};
|
|
1036
|
-
readonly
|
|
1037
|
-
readonly
|
|
1038
|
-
readonly
|
|
1040
|
+
readonly revision: string;
|
|
1041
|
+
readonly sourcePath: string;
|
|
1042
|
+
readonly workRevision: string;
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
readonly responses?: readonly {
|
|
1045
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
1046
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1047
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1048
|
+
readonly decisionId: string;
|
|
1049
|
+
readonly processedAt: number;
|
|
1050
|
+
readonly published?: {
|
|
1039
1051
|
readonly itemId: string;
|
|
1040
|
-
readonly
|
|
1041
|
-
|
|
1042
|
-
readonly turnId: string;
|
|
1043
|
-
};
|
|
1052
|
+
readonly questionId: string;
|
|
1053
|
+
readonly request: string;
|
|
1044
1054
|
readonly revision: string;
|
|
1045
1055
|
readonly sourcePath: string;
|
|
1056
|
+
readonly workId: string;
|
|
1046
1057
|
readonly workRevision: string;
|
|
1058
|
+
readonly workSourcePath: string;
|
|
1047
1059
|
} | undefined;
|
|
1048
|
-
readonly
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1060
|
+
readonly questionId: string;
|
|
1061
|
+
readonly questionRevision: string;
|
|
1062
|
+
readonly responseId: string;
|
|
1063
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
1064
|
+
}[] | undefined;
|
|
1065
|
+
readonly result?: {
|
|
1066
|
+
readonly head: string;
|
|
1067
|
+
readonly kind: "change";
|
|
1068
|
+
readonly paths: readonly string[];
|
|
1069
|
+
readonly pr: string;
|
|
1070
|
+
readonly prNumber?: number | undefined;
|
|
1071
|
+
} | {
|
|
1072
|
+
readonly evidence: readonly string[];
|
|
1073
|
+
readonly head: string;
|
|
1074
|
+
readonly kind: "no-change";
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
readonly resultObservations?: readonly ({
|
|
1077
|
+
readonly head: string;
|
|
1078
|
+
readonly kind: "change";
|
|
1079
|
+
readonly paths: readonly string[];
|
|
1080
|
+
readonly pr: string;
|
|
1081
|
+
readonly prNumber?: number | undefined;
|
|
1082
|
+
} | {
|
|
1083
|
+
readonly evidence: readonly string[];
|
|
1084
|
+
readonly head: string;
|
|
1085
|
+
readonly kind: "no-change";
|
|
1086
|
+
})[] | undefined;
|
|
1087
|
+
readonly review?: {
|
|
1088
|
+
readonly evidence: readonly string[];
|
|
1089
|
+
readonly findings?: readonly string[] | undefined;
|
|
1090
|
+
readonly head: string;
|
|
1091
|
+
readonly receipt: {
|
|
1092
|
+
readonly sessionId: string;
|
|
1093
|
+
readonly turnId: string;
|
|
1094
|
+
};
|
|
1095
|
+
readonly repairPrompt: string;
|
|
1096
|
+
readonly verdict: "approved" | "changes";
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
1099
|
+
readonly stageEnteredAt?: number | undefined;
|
|
1100
|
+
readonly supersededDecisions?: readonly {
|
|
1101
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
1102
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1103
|
+
readonly published: {
|
|
1104
|
+
readonly itemId: string;
|
|
1064
1105
|
readonly questionId: string;
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
readonly
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
readonly
|
|
1074
|
-
readonly
|
|
1075
|
-
} | {
|
|
1076
|
-
readonly evidence: readonly string[];
|
|
1077
|
-
readonly head: string;
|
|
1078
|
-
readonly kind: "no-change";
|
|
1079
|
-
} | undefined;
|
|
1080
|
-
readonly resultObservations?: readonly ({
|
|
1081
|
-
readonly head: string;
|
|
1082
|
-
readonly kind: "change";
|
|
1083
|
-
readonly paths: readonly string[];
|
|
1084
|
-
readonly pr: string;
|
|
1085
|
-
readonly prNumber?: number | undefined;
|
|
1086
|
-
} | {
|
|
1087
|
-
readonly evidence: readonly string[];
|
|
1088
|
-
readonly head: string;
|
|
1089
|
-
readonly kind: "no-change";
|
|
1090
|
-
})[] | undefined;
|
|
1091
|
-
readonly review?: {
|
|
1092
|
-
readonly evidence: readonly string[];
|
|
1093
|
-
readonly findings?: readonly string[] | undefined;
|
|
1094
|
-
readonly head: string;
|
|
1095
|
-
readonly receipt: {
|
|
1096
|
-
readonly sessionId: string;
|
|
1097
|
-
readonly turnId: string;
|
|
1098
|
-
};
|
|
1099
|
-
readonly repairPrompt: string;
|
|
1100
|
-
readonly verdict: "approved" | "changes";
|
|
1106
|
+
readonly request: string;
|
|
1107
|
+
readonly revision: string;
|
|
1108
|
+
readonly sourcePath: string;
|
|
1109
|
+
readonly workId: string;
|
|
1110
|
+
readonly workRevision: string;
|
|
1111
|
+
readonly workSourcePath: string;
|
|
1112
|
+
};
|
|
1113
|
+
readonly reassignedTo?: {
|
|
1114
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1115
|
+
readonly decisionId: string;
|
|
1101
1116
|
} | undefined;
|
|
1102
|
-
readonly
|
|
1103
|
-
readonly stageEnteredAt?: number | undefined;
|
|
1104
|
-
readonly supersededDecisions?: readonly {
|
|
1105
|
-
readonly boardAcknowledged?: boolean | undefined;
|
|
1106
|
-
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1107
|
-
readonly published: {
|
|
1108
|
-
readonly itemId: string;
|
|
1109
|
-
readonly questionId: string;
|
|
1110
|
-
readonly request: string;
|
|
1111
|
-
readonly revision: string;
|
|
1112
|
-
readonly sourcePath: string;
|
|
1113
|
-
readonly workId: string;
|
|
1114
|
-
readonly workRevision: string;
|
|
1115
|
-
readonly workSourcePath: string;
|
|
1116
|
-
};
|
|
1117
|
-
readonly reassignedTo?: {
|
|
1118
|
-
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
1119
|
-
readonly decisionId: string;
|
|
1120
|
-
} | undefined;
|
|
1121
|
-
readonly supersededAt: number;
|
|
1122
|
-
}[] | undefined;
|
|
1123
|
-
readonly updatedAt?: number | undefined;
|
|
1124
|
-
readonly archivedAt: number;
|
|
1117
|
+
readonly supersededAt: number;
|
|
1125
1118
|
}[] | undefined;
|
|
1126
|
-
readonly
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1119
|
+
readonly updatedAt?: number | undefined;
|
|
1120
|
+
readonly archivedAt: number;
|
|
1121
|
+
}[] | undefined;
|
|
1122
|
+
readonly workId: string;
|
|
1123
|
+
}>, BoardFailure | 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>;
|
|
1130
1124
|
integrations: {
|
|
1131
1125
|
readonly main: (preparation: import("../preparation/schema.ts").Preparation) => Effect.Effect<import("../preparation/schema.ts").MainObservation, import("../errors.ts").FleetError>;
|
|
1132
1126
|
readonly result: (work: BoardWork, observation: import("#session/schema.ts").SessionObservation) => Effect.Effect<import("#policy.ts").WorkResult, import("../errors.ts").FleetError>;
|
|
@@ -1143,7 +1137,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
1143
1137
|
launchScope: import("effect/Scope").Scope;
|
|
1144
1138
|
load: (workId: string) => Effect.Effect<{
|
|
1145
1139
|
value: {
|
|
1146
|
-
readonly admissionReady?: boolean | undefined;
|
|
1147
1140
|
readonly areas?: readonly string[] | undefined;
|
|
1148
1141
|
readonly attempts: readonly {
|
|
1149
1142
|
readonly abandoned?: {
|
|
@@ -1240,7 +1233,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
1240
1233
|
readonly decision?: {
|
|
1241
1234
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1242
1235
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1243
|
-
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;
|
|
1236
|
+
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-closed" | "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;
|
|
1244
1237
|
readonly id: string;
|
|
1245
1238
|
readonly links: readonly string[];
|
|
1246
1239
|
readonly publicationWork?: {
|
|
@@ -1413,7 +1406,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
1413
1406
|
}[] | undefined;
|
|
1414
1407
|
readonly updatedAt?: number | undefined;
|
|
1415
1408
|
readonly history?: readonly {
|
|
1416
|
-
readonly admissionReady?: boolean | undefined;
|
|
1417
1409
|
readonly areas?: readonly string[] | undefined;
|
|
1418
1410
|
readonly attempts: readonly {
|
|
1419
1411
|
readonly abandoned?: {
|
|
@@ -1510,7 +1502,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
1510
1502
|
readonly decision?: {
|
|
1511
1503
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1512
1504
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1513
|
-
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;
|
|
1505
|
+
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-closed" | "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;
|
|
1514
1506
|
readonly id: string;
|
|
1515
1507
|
readonly links: readonly string[];
|
|
1516
1508
|
readonly publicationWork?: {
|
|
@@ -1694,7 +1686,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
1694
1686
|
}>;
|
|
1695
1687
|
save: (stored: Versioned<FleetRecord>, value: FleetRecord, admission?: LaunchAdmission) => Effect.Effect<{
|
|
1696
1688
|
value: {
|
|
1697
|
-
readonly admissionReady?: boolean | undefined;
|
|
1698
1689
|
readonly areas?: readonly string[] | undefined;
|
|
1699
1690
|
readonly attempts: readonly {
|
|
1700
1691
|
readonly abandoned?: {
|
|
@@ -1791,7 +1782,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
1791
1782
|
readonly decision?: {
|
|
1792
1783
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
1793
1784
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
1794
|
-
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;
|
|
1785
|
+
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-closed" | "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;
|
|
1795
1786
|
readonly id: string;
|
|
1796
1787
|
readonly links: readonly string[];
|
|
1797
1788
|
readonly publicationWork?: {
|
|
@@ -1964,7 +1955,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
1964
1955
|
}[] | undefined;
|
|
1965
1956
|
readonly updatedAt?: number | undefined;
|
|
1966
1957
|
readonly history?: readonly {
|
|
1967
|
-
readonly admissionReady?: boolean | undefined;
|
|
1968
1958
|
readonly areas?: readonly string[] | undefined;
|
|
1969
1959
|
readonly attempts: readonly {
|
|
1970
1960
|
readonly abandoned?: {
|
|
@@ -2061,7 +2051,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
2061
2051
|
readonly decision?: {
|
|
2062
2052
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2063
2053
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2064
|
-
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;
|
|
2054
|
+
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-closed" | "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;
|
|
2065
2055
|
readonly id: string;
|
|
2066
2056
|
readonly links: readonly string[];
|
|
2067
2057
|
readonly publicationWork?: {
|
|
@@ -2330,7 +2320,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
2330
2320
|
readonly backlog: boolean;
|
|
2331
2321
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2332
2322
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
2333
|
-
readonly admissionReady?: boolean | undefined;
|
|
2334
2323
|
readonly areas?: readonly string[] | undefined;
|
|
2335
2324
|
readonly attempts: readonly {
|
|
2336
2325
|
readonly abandoned?: {
|
|
@@ -2427,7 +2416,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
2427
2416
|
readonly decision?: {
|
|
2428
2417
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2429
2418
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2430
|
-
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;
|
|
2419
|
+
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-closed" | "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;
|
|
2431
2420
|
readonly id: string;
|
|
2432
2421
|
readonly links: readonly string[];
|
|
2433
2422
|
readonly publicationWork?: {
|
|
@@ -2600,7 +2589,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
2600
2589
|
}[] | undefined;
|
|
2601
2590
|
readonly updatedAt?: number | undefined;
|
|
2602
2591
|
readonly history?: readonly {
|
|
2603
|
-
readonly admissionReady?: boolean | undefined;
|
|
2604
2592
|
readonly areas?: readonly string[] | undefined;
|
|
2605
2593
|
readonly attempts: readonly {
|
|
2606
2594
|
readonly abandoned?: {
|
|
@@ -2697,7 +2685,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
2697
2685
|
readonly decision?: {
|
|
2698
2686
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2699
2687
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2700
|
-
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;
|
|
2688
|
+
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-closed" | "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;
|
|
2701
2689
|
readonly id: string;
|
|
2702
2690
|
readonly links: readonly string[];
|
|
2703
2691
|
readonly publicationWork?: {
|
|
@@ -2874,7 +2862,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
2874
2862
|
readonly workId: string;
|
|
2875
2863
|
}, limits?: AdmissionLimits) => Effect.Effect<{
|
|
2876
2864
|
value: {
|
|
2877
|
-
readonly admissionReady?: boolean | undefined;
|
|
2878
2865
|
readonly areas?: readonly string[] | undefined;
|
|
2879
2866
|
readonly attempts: readonly {
|
|
2880
2867
|
readonly abandoned?: {
|
|
@@ -2971,7 +2958,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
2971
2958
|
readonly decision?: {
|
|
2972
2959
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
2973
2960
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
2974
|
-
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;
|
|
2961
|
+
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-closed" | "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;
|
|
2975
2962
|
readonly id: string;
|
|
2976
2963
|
readonly links: readonly string[];
|
|
2977
2964
|
readonly publicationWork?: {
|
|
@@ -3144,7 +3131,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
3144
3131
|
}[] | undefined;
|
|
3145
3132
|
readonly updatedAt?: number | undefined;
|
|
3146
3133
|
readonly history?: readonly {
|
|
3147
|
-
readonly admissionReady?: boolean | undefined;
|
|
3148
3134
|
readonly areas?: readonly string[] | undefined;
|
|
3149
3135
|
readonly attempts: readonly {
|
|
3150
3136
|
readonly abandoned?: {
|
|
@@ -3241,7 +3227,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
3241
3227
|
readonly decision?: {
|
|
3242
3228
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
3243
3229
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
3244
|
-
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;
|
|
3230
|
+
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-closed" | "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;
|
|
3245
3231
|
readonly id: string;
|
|
3246
3232
|
readonly links: readonly string[];
|
|
3247
3233
|
readonly publicationWork?: {
|
|
@@ -3421,7 +3407,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
3421
3407
|
}, 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>;
|
|
3422
3408
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3423
3409
|
insert: (record: {
|
|
3424
|
-
readonly admissionReady?: boolean | undefined;
|
|
3425
3410
|
readonly areas?: readonly string[] | undefined;
|
|
3426
3411
|
readonly attempts: readonly {
|
|
3427
3412
|
readonly abandoned?: {
|
|
@@ -3518,7 +3503,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
3518
3503
|
readonly decision?: {
|
|
3519
3504
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
3520
3505
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
3521
|
-
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;
|
|
3506
|
+
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-closed" | "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;
|
|
3522
3507
|
readonly id: string;
|
|
3523
3508
|
readonly links: readonly string[];
|
|
3524
3509
|
readonly publicationWork?: {
|
|
@@ -3691,7 +3676,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
3691
3676
|
}[] | undefined;
|
|
3692
3677
|
readonly updatedAt?: number | undefined;
|
|
3693
3678
|
readonly history?: readonly {
|
|
3694
|
-
readonly admissionReady?: boolean | undefined;
|
|
3695
3679
|
readonly areas?: readonly string[] | undefined;
|
|
3696
3680
|
readonly attempts: readonly {
|
|
3697
3681
|
readonly abandoned?: {
|
|
@@ -3788,7 +3772,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
3788
3772
|
readonly decision?: {
|
|
3789
3773
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
3790
3774
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
3791
|
-
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;
|
|
3775
|
+
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-closed" | "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;
|
|
3792
3776
|
readonly id: string;
|
|
3793
3777
|
readonly links: readonly string[];
|
|
3794
3778
|
readonly publicationWork?: {
|
|
@@ -3965,7 +3949,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
3965
3949
|
readonly workId: string;
|
|
3966
3950
|
}, limits?: AdmissionLimits) => Effect.Effect<{
|
|
3967
3951
|
value: {
|
|
3968
|
-
readonly admissionReady?: boolean | undefined;
|
|
3969
3952
|
readonly areas?: readonly string[] | undefined;
|
|
3970
3953
|
readonly attempts: readonly {
|
|
3971
3954
|
readonly abandoned?: {
|
|
@@ -4062,7 +4045,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
4062
4045
|
readonly decision?: {
|
|
4063
4046
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
4064
4047
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4065
|
-
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;
|
|
4048
|
+
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-closed" | "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;
|
|
4066
4049
|
readonly id: string;
|
|
4067
4050
|
readonly links: readonly string[];
|
|
4068
4051
|
readonly publicationWork?: {
|
|
@@ -4235,7 +4218,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
4235
4218
|
}[] | undefined;
|
|
4236
4219
|
readonly updatedAt?: number | undefined;
|
|
4237
4220
|
readonly history?: readonly {
|
|
4238
|
-
readonly admissionReady?: boolean | undefined;
|
|
4239
4221
|
readonly areas?: readonly string[] | undefined;
|
|
4240
4222
|
readonly attempts: readonly {
|
|
4241
4223
|
readonly abandoned?: {
|
|
@@ -4332,7 +4314,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
4332
4314
|
readonly decision?: {
|
|
4333
4315
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
4334
4316
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4335
|
-
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;
|
|
4317
|
+
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-closed" | "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;
|
|
4336
4318
|
readonly id: string;
|
|
4337
4319
|
readonly links: readonly string[];
|
|
4338
4320
|
readonly publicationWork?: {
|
|
@@ -4511,7 +4493,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
4511
4493
|
version: number;
|
|
4512
4494
|
}, 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>;
|
|
4513
4495
|
list: () => Effect.Effect<Versioned<{
|
|
4514
|
-
readonly admissionReady?: boolean | undefined;
|
|
4515
4496
|
readonly areas?: readonly string[] | undefined;
|
|
4516
4497
|
readonly attempts: readonly {
|
|
4517
4498
|
readonly abandoned?: {
|
|
@@ -4608,7 +4589,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
4608
4589
|
readonly decision?: {
|
|
4609
4590
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
4610
4591
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4611
|
-
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;
|
|
4592
|
+
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-closed" | "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;
|
|
4612
4593
|
readonly id: string;
|
|
4613
4594
|
readonly links: readonly string[];
|
|
4614
4595
|
readonly publicationWork?: {
|
|
@@ -4781,7 +4762,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
4781
4762
|
}[] | undefined;
|
|
4782
4763
|
readonly updatedAt?: number | undefined;
|
|
4783
4764
|
readonly history?: readonly {
|
|
4784
|
-
readonly admissionReady?: boolean | undefined;
|
|
4785
4765
|
readonly areas?: readonly string[] | undefined;
|
|
4786
4766
|
readonly attempts: readonly {
|
|
4787
4767
|
readonly abandoned?: {
|
|
@@ -4878,7 +4858,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
4878
4858
|
readonly decision?: {
|
|
4879
4859
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
4880
4860
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
4881
|
-
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;
|
|
4861
|
+
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-closed" | "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;
|
|
4882
4862
|
readonly id: string;
|
|
4883
4863
|
readonly links: readonly string[];
|
|
4884
4864
|
readonly publicationWork?: {
|
|
@@ -5056,7 +5036,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
5056
5036
|
}>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5057
5037
|
load: (workId: string) => Effect.Effect<{
|
|
5058
5038
|
value: {
|
|
5059
|
-
readonly admissionReady?: boolean | undefined;
|
|
5060
5039
|
readonly areas?: readonly string[] | undefined;
|
|
5061
5040
|
readonly attempts: readonly {
|
|
5062
5041
|
readonly abandoned?: {
|
|
@@ -5153,7 +5132,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
5153
5132
|
readonly decision?: {
|
|
5154
5133
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5155
5134
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5156
|
-
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;
|
|
5135
|
+
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-closed" | "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;
|
|
5157
5136
|
readonly id: string;
|
|
5158
5137
|
readonly links: readonly string[];
|
|
5159
5138
|
readonly publicationWork?: {
|
|
@@ -5326,7 +5305,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
5326
5305
|
}[] | undefined;
|
|
5327
5306
|
readonly updatedAt?: number | undefined;
|
|
5328
5307
|
readonly history?: readonly {
|
|
5329
|
-
readonly admissionReady?: boolean | undefined;
|
|
5330
5308
|
readonly areas?: readonly string[] | undefined;
|
|
5331
5309
|
readonly attempts: readonly {
|
|
5332
5310
|
readonly abandoned?: {
|
|
@@ -5423,7 +5401,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
5423
5401
|
readonly decision?: {
|
|
5424
5402
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5425
5403
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5426
|
-
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;
|
|
5404
|
+
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-closed" | "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;
|
|
5427
5405
|
readonly id: string;
|
|
5428
5406
|
readonly links: readonly string[];
|
|
5429
5407
|
readonly publicationWork?: {
|
|
@@ -5617,7 +5595,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
5617
5595
|
readonly backlog: boolean;
|
|
5618
5596
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5619
5597
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
5620
|
-
readonly admissionReady?: boolean | undefined;
|
|
5621
5598
|
readonly areas?: readonly string[] | undefined;
|
|
5622
5599
|
readonly attempts: readonly {
|
|
5623
5600
|
readonly abandoned?: {
|
|
@@ -5714,7 +5691,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
5714
5691
|
readonly decision?: {
|
|
5715
5692
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5716
5693
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5717
|
-
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;
|
|
5694
|
+
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-closed" | "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;
|
|
5718
5695
|
readonly id: string;
|
|
5719
5696
|
readonly links: readonly string[];
|
|
5720
5697
|
readonly publicationWork?: {
|
|
@@ -5887,7 +5864,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
5887
5864
|
}[] | undefined;
|
|
5888
5865
|
readonly updatedAt?: number | undefined;
|
|
5889
5866
|
readonly history?: readonly {
|
|
5890
|
-
readonly admissionReady?: boolean | undefined;
|
|
5891
5867
|
readonly areas?: readonly string[] | undefined;
|
|
5892
5868
|
readonly attempts: readonly {
|
|
5893
5869
|
readonly abandoned?: {
|
|
@@ -5984,7 +5960,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
5984
5960
|
readonly decision?: {
|
|
5985
5961
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
5986
5962
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
5987
|
-
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;
|
|
5963
|
+
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-closed" | "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;
|
|
5988
5964
|
readonly id: string;
|
|
5989
5965
|
readonly links: readonly string[];
|
|
5990
5966
|
readonly publicationWork?: {
|
|
@@ -6161,7 +6137,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
6161
6137
|
readonly workId: string;
|
|
6162
6138
|
}, limits?: AdmissionLimits) => Effect.Effect<{
|
|
6163
6139
|
value: {
|
|
6164
|
-
readonly admissionReady?: boolean | undefined;
|
|
6165
6140
|
readonly areas?: readonly string[] | undefined;
|
|
6166
6141
|
readonly attempts: readonly {
|
|
6167
6142
|
readonly abandoned?: {
|
|
@@ -6258,7 +6233,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
6258
6233
|
readonly decision?: {
|
|
6259
6234
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6260
6235
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6261
|
-
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;
|
|
6236
|
+
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-closed" | "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;
|
|
6262
6237
|
readonly id: string;
|
|
6263
6238
|
readonly links: readonly string[];
|
|
6264
6239
|
readonly publicationWork?: {
|
|
@@ -6431,7 +6406,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
6431
6406
|
}[] | undefined;
|
|
6432
6407
|
readonly updatedAt?: number | undefined;
|
|
6433
6408
|
readonly history?: readonly {
|
|
6434
|
-
readonly admissionReady?: boolean | undefined;
|
|
6435
6409
|
readonly areas?: readonly string[] | undefined;
|
|
6436
6410
|
readonly attempts: readonly {
|
|
6437
6411
|
readonly abandoned?: {
|
|
@@ -6528,7 +6502,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
6528
6502
|
readonly decision?: {
|
|
6529
6503
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6530
6504
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6531
|
-
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;
|
|
6505
|
+
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-closed" | "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;
|
|
6532
6506
|
readonly id: string;
|
|
6533
6507
|
readonly links: readonly string[];
|
|
6534
6508
|
readonly publicationWork?: {
|
|
@@ -6708,7 +6682,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
6708
6682
|
}, 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>;
|
|
6709
6683
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
6710
6684
|
insert: (record: {
|
|
6711
|
-
readonly admissionReady?: boolean | undefined;
|
|
6712
6685
|
readonly areas?: readonly string[] | undefined;
|
|
6713
6686
|
readonly attempts: readonly {
|
|
6714
6687
|
readonly abandoned?: {
|
|
@@ -6805,7 +6778,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
6805
6778
|
readonly decision?: {
|
|
6806
6779
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
6807
6780
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
6808
|
-
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;
|
|
6781
|
+
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-closed" | "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;
|
|
6809
6782
|
readonly id: string;
|
|
6810
6783
|
readonly links: readonly string[];
|
|
6811
6784
|
readonly publicationWork?: {
|
|
@@ -6978,7 +6951,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
6978
6951
|
}[] | undefined;
|
|
6979
6952
|
readonly updatedAt?: number | undefined;
|
|
6980
6953
|
readonly history?: readonly {
|
|
6981
|
-
readonly admissionReady?: boolean | undefined;
|
|
6982
6954
|
readonly areas?: readonly string[] | undefined;
|
|
6983
6955
|
readonly attempts: readonly {
|
|
6984
6956
|
readonly abandoned?: {
|
|
@@ -7075,7 +7047,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
7075
7047
|
readonly decision?: {
|
|
7076
7048
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
7077
7049
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
7078
|
-
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;
|
|
7050
|
+
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-closed" | "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;
|
|
7079
7051
|
readonly id: string;
|
|
7080
7052
|
readonly links: readonly string[];
|
|
7081
7053
|
readonly publicationWork?: {
|
|
@@ -7252,7 +7224,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
7252
7224
|
readonly workId: string;
|
|
7253
7225
|
}, limits?: AdmissionLimits) => Effect.Effect<{
|
|
7254
7226
|
value: {
|
|
7255
|
-
readonly admissionReady?: boolean | undefined;
|
|
7256
7227
|
readonly areas?: readonly string[] | undefined;
|
|
7257
7228
|
readonly attempts: readonly {
|
|
7258
7229
|
readonly abandoned?: {
|
|
@@ -7349,7 +7320,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
7349
7320
|
readonly decision?: {
|
|
7350
7321
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
7351
7322
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
7352
|
-
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;
|
|
7323
|
+
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-closed" | "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;
|
|
7353
7324
|
readonly id: string;
|
|
7354
7325
|
readonly links: readonly string[];
|
|
7355
7326
|
readonly publicationWork?: {
|
|
@@ -7522,7 +7493,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
7522
7493
|
}[] | undefined;
|
|
7523
7494
|
readonly updatedAt?: number | undefined;
|
|
7524
7495
|
readonly history?: readonly {
|
|
7525
|
-
readonly admissionReady?: boolean | undefined;
|
|
7526
7496
|
readonly areas?: readonly string[] | undefined;
|
|
7527
7497
|
readonly attempts: readonly {
|
|
7528
7498
|
readonly abandoned?: {
|
|
@@ -7619,7 +7589,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
7619
7589
|
readonly decision?: {
|
|
7620
7590
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
7621
7591
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
7622
|
-
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;
|
|
7592
|
+
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-closed" | "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;
|
|
7623
7593
|
readonly id: string;
|
|
7624
7594
|
readonly links: readonly string[];
|
|
7625
7595
|
readonly publicationWork?: {
|
|
@@ -7798,7 +7768,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
7798
7768
|
version: number;
|
|
7799
7769
|
}, 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>;
|
|
7800
7770
|
list: () => Effect.Effect<Versioned<{
|
|
7801
|
-
readonly admissionReady?: boolean | undefined;
|
|
7802
7771
|
readonly areas?: readonly string[] | undefined;
|
|
7803
7772
|
readonly attempts: readonly {
|
|
7804
7773
|
readonly abandoned?: {
|
|
@@ -7895,7 +7864,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
7895
7864
|
readonly decision?: {
|
|
7896
7865
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
7897
7866
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
7898
|
-
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;
|
|
7867
|
+
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-closed" | "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;
|
|
7899
7868
|
readonly id: string;
|
|
7900
7869
|
readonly links: readonly string[];
|
|
7901
7870
|
readonly publicationWork?: {
|
|
@@ -8068,7 +8037,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
8068
8037
|
}[] | undefined;
|
|
8069
8038
|
readonly updatedAt?: number | undefined;
|
|
8070
8039
|
readonly history?: readonly {
|
|
8071
|
-
readonly admissionReady?: boolean | undefined;
|
|
8072
8040
|
readonly areas?: readonly string[] | undefined;
|
|
8073
8041
|
readonly attempts: readonly {
|
|
8074
8042
|
readonly abandoned?: {
|
|
@@ -8165,7 +8133,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
8165
8133
|
readonly decision?: {
|
|
8166
8134
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
8167
8135
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
8168
|
-
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;
|
|
8136
|
+
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-closed" | "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;
|
|
8169
8137
|
readonly id: string;
|
|
8170
8138
|
readonly links: readonly string[];
|
|
8171
8139
|
readonly publicationWork?: {
|
|
@@ -8343,7 +8311,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
8343
8311
|
}>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
8344
8312
|
load: (workId: string) => Effect.Effect<{
|
|
8345
8313
|
value: {
|
|
8346
|
-
readonly admissionReady?: boolean | undefined;
|
|
8347
8314
|
readonly areas?: readonly string[] | undefined;
|
|
8348
8315
|
readonly attempts: readonly {
|
|
8349
8316
|
readonly abandoned?: {
|
|
@@ -8440,7 +8407,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
8440
8407
|
readonly decision?: {
|
|
8441
8408
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
8442
8409
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
8443
|
-
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;
|
|
8410
|
+
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-closed" | "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;
|
|
8444
8411
|
readonly id: string;
|
|
8445
8412
|
readonly links: readonly string[];
|
|
8446
8413
|
readonly publicationWork?: {
|
|
@@ -8613,7 +8580,6 @@ export declare const makeState: Effect.Effect<{
|
|
|
8613
8580
|
}[] | undefined;
|
|
8614
8581
|
readonly updatedAt?: number | undefined;
|
|
8615
8582
|
readonly history?: readonly {
|
|
8616
|
-
readonly admissionReady?: boolean | undefined;
|
|
8617
8583
|
readonly areas?: readonly string[] | undefined;
|
|
8618
8584
|
readonly attempts: readonly {
|
|
8619
8585
|
readonly abandoned?: {
|
|
@@ -8710,7 +8676,7 @@ export declare const makeState: Effect.Effect<{
|
|
|
8710
8676
|
readonly decision?: {
|
|
8711
8677
|
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
8712
8678
|
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
8713
|
-
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;
|
|
8679
|
+
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-closed" | "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;
|
|
8714
8680
|
readonly id: string;
|
|
8715
8681
|
readonly links: readonly string[];
|
|
8716
8682
|
readonly publicationWork?: {
|