@shivaedev/work-fleet 0.0.0 → 0.1.1
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 +164 -0
- package/LICENSE +21 -0
- package/README.md +362 -1
- package/dist/DecisionCode.d.ts +4 -0
- package/dist/DecisionCode.d.ts.map +1 -0
- package/dist/DecisionCode.js +49 -0
- package/dist/DecisionCode.js.map +1 -0
- package/dist/admit.d.ts +494 -0
- package/dist/admit.d.ts.map +1 -0
- package/dist/admit.js +28 -0
- package/dist/admit.js.map +1 -0
- package/dist/attention.d.ts +18 -0
- package/dist/attention.d.ts.map +1 -0
- package/dist/attention.js +15 -0
- package/dist/attention.js.map +1 -0
- package/dist/board/acknowledgeDecision.d.ts +20 -0
- package/dist/board/acknowledgeDecision.d.ts.map +1 -0
- package/dist/board/acknowledgeDecision.js +44 -0
- package/dist/board/acknowledgeDecision.js.map +1 -0
- package/dist/board/briefRevision.d.ts +3 -0
- package/dist/board/briefRevision.d.ts.map +1 -0
- package/dist/board/briefRevision.js +13 -0
- package/dist/board/briefRevision.js.map +1 -0
- package/dist/board/completionFields.d.ts +8 -0
- package/dist/board/completionFields.d.ts.map +1 -0
- package/dist/board/completionFields.js +56 -0
- package/dist/board/completionFields.js.map +1 -0
- package/dist/board/completionMarkdown.d.ts +2 -0
- package/dist/board/completionMarkdown.d.ts.map +1 -0
- package/dist/board/completionMarkdown.js +24 -0
- package/dist/board/completionMarkdown.js.map +1 -0
- package/dist/board/decisionAnswer.d.ts +3 -0
- package/dist/board/decisionAnswer.d.ts.map +1 -0
- package/dist/board/decisionAnswer.js +11 -0
- package/dist/board/decisionAnswer.js.map +1 -0
- package/dist/board/decisionReading.d.ts +41 -0
- package/dist/board/decisionReading.d.ts.map +1 -0
- package/dist/board/decisionReading.js +43 -0
- package/dist/board/decisionReading.js.map +1 -0
- package/dist/board/documents.d.ts +14 -0
- package/dist/board/documents.d.ts.map +1 -0
- package/dist/board/documents.js +62 -0
- package/dist/board/documents.js.map +1 -0
- package/dist/board/fleetField.d.ts +5 -0
- package/dist/board/fleetField.d.ts.map +1 -0
- package/dist/board/fleetField.js +30 -0
- package/dist/board/fleetField.js.map +1 -0
- package/dist/board/markdown.d.ts +4 -0
- package/dist/board/markdown.d.ts.map +1 -0
- package/dist/board/markdown.js +92 -0
- package/dist/board/markdown.js.map +1 -0
- package/dist/board/publish.d.ts +57 -0
- package/dist/board/publish.d.ts.map +1 -0
- package/dist/board/publish.js +89 -0
- package/dist/board/publish.js.map +1 -0
- package/dist/board/publishReport.d.ts +39 -0
- package/dist/board/publishReport.d.ts.map +1 -0
- package/dist/board/publishReport.js +36 -0
- package/dist/board/publishReport.js.map +1 -0
- package/dist/board/readDocument.d.ts +14 -0
- package/dist/board/readDocument.d.ts.map +1 -0
- package/dist/board/readDocument.js +28 -0
- package/dist/board/readDocument.js.map +1 -0
- package/dist/board/readPass.d.ts +29 -0
- package/dist/board/readPass.d.ts.map +1 -0
- package/dist/board/readPass.js +84 -0
- package/dist/board/readPass.js.map +1 -0
- package/dist/board/reportContent.d.ts +5 -0
- package/dist/board/reportContent.d.ts.map +1 -0
- package/dist/board/reportContent.js +15 -0
- package/dist/board/reportContent.js.map +1 -0
- package/dist/board/reportFiles.d.ts +5 -0
- package/dist/board/reportFiles.d.ts.map +1 -0
- package/dist/board/reportFiles.js +64 -0
- package/dist/board/reportFiles.js.map +1 -0
- package/dist/board/reportIdentity.d.ts +11 -0
- package/dist/board/reportIdentity.d.ts.map +1 -0
- package/dist/board/reportIdentity.js +7 -0
- package/dist/board/reportIdentity.js.map +1 -0
- package/dist/board/reportLinks.d.ts +4 -0
- package/dist/board/reportLinks.d.ts.map +1 -0
- package/dist/board/reportLinks.js +16 -0
- package/dist/board/reportLinks.js.map +1 -0
- package/dist/board/reportPayload.d.ts +26 -0
- package/dist/board/reportPayload.d.ts.map +1 -0
- package/dist/board/reportPayload.js +53 -0
- package/dist/board/reportPayload.js.map +1 -0
- package/dist/board/reportPayloadFile.d.ts +4 -0
- package/dist/board/reportPayloadFile.d.ts.map +1 -0
- package/dist/board/reportPayloadFile.js +69 -0
- package/dist/board/reportPayloadFile.js.map +1 -0
- package/dist/board/schema.d.ts +75 -0
- package/dist/board/schema.d.ts.map +1 -0
- package/dist/board/schema.js +40 -0
- package/dist/board/schema.js.map +1 -0
- package/dist/board/statusMarkdown.d.ts +4 -0
- package/dist/board/statusMarkdown.d.ts.map +1 -0
- package/dist/board/statusMarkdown.js +34 -0
- package/dist/board/statusMarkdown.js.map +1 -0
- package/dist/board/workRevision.d.ts +2 -0
- package/dist/board/workRevision.d.ts.map +1 -0
- package/dist/board/workRevision.js +8 -0
- package/dist/board/workRevision.js.map +1 -0
- package/dist/board/writeCompletion.d.ts +3 -0
- package/dist/board/writeCompletion.d.ts.map +1 -0
- package/dist/board/writeCompletion.js +45 -0
- package/dist/board/writeCompletion.js.map +1 -0
- package/dist/board/writeHealth.d.ts +5 -0
- package/dist/board/writeHealth.d.ts.map +1 -0
- package/dist/board/writeHealth.js +20 -0
- package/dist/board/writeHealth.js.map +1 -0
- package/dist/board/writePublished.d.ts +4 -0
- package/dist/board/writePublished.d.ts.map +1 -0
- package/dist/board/writePublished.js +42 -0
- package/dist/board/writePublished.js.map +1 -0
- package/dist/board/writeStatus.d.ts +5 -0
- package/dist/board/writeStatus.d.ts.map +1 -0
- package/dist/board/writeStatus.js +8 -0
- package/dist/board/writeStatus.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +59 -0
- package/dist/cli.js.map +1 -0
- package/dist/completion.d.ts +8 -0
- package/dist/completion.d.ts.map +1 -0
- package/dist/completion.js +23 -0
- package/dist/completion.js.map +1 -0
- package/dist/engine/ReportInspection.d.ts +10 -0
- package/dist/engine/ReportInspection.d.ts.map +1 -0
- package/dist/engine/ReportInspection.js +4 -0
- package/dist/engine/ReportInspection.js.map +1 -0
- package/dist/engine/applyResolution.d.ts +983 -0
- package/dist/engine/applyResolution.d.ts.map +1 -0
- package/dist/engine/applyResolution.js +97 -0
- package/dist/engine/applyResolution.js.map +1 -0
- package/dist/engine/approveBrief.d.ts +1475 -0
- package/dist/engine/approveBrief.d.ts.map +1 -0
- package/dist/engine/approveBrief.js +82 -0
- package/dist/engine/approveBrief.js.map +1 -0
- package/dist/engine/authorizeResolution.d.ts +8355 -0
- package/dist/engine/authorizeResolution.d.ts.map +1 -0
- package/dist/engine/authorizeResolution.js +18 -0
- package/dist/engine/authorizeResolution.js.map +1 -0
- package/dist/engine/boardBrief.d.ts +1470 -0
- package/dist/engine/boardBrief.d.ts.map +1 -0
- package/dist/engine/boardBrief.js +57 -0
- package/dist/engine/boardBrief.js.map +1 -0
- package/dist/engine/capacityRetry.d.ts +25539 -0
- package/dist/engine/capacityRetry.d.ts.map +1 -0
- package/dist/engine/capacityRetry.js +55 -0
- package/dist/engine/capacityRetry.js.map +1 -0
- package/dist/engine/closeDecisions.d.ts +963 -0
- package/dist/engine/closeDecisions.d.ts.map +1 -0
- package/dist/engine/closeDecisions.js +74 -0
- package/dist/engine/closeDecisions.js.map +1 -0
- package/dist/engine/completeBoardWork.d.ts +965 -0
- package/dist/engine/completeBoardWork.d.ts.map +1 -0
- package/dist/engine/completeBoardWork.js +29 -0
- package/dist/engine/completeBoardWork.js.map +1 -0
- package/dist/engine/completeReport.d.ts +977 -0
- package/dist/engine/completeReport.d.ts.map +1 -0
- package/dist/engine/completeReport.js +20 -0
- package/dist/engine/completeReport.js.map +1 -0
- package/dist/engine/continueCommand.d.ts +485 -0
- package/dist/engine/continueCommand.d.ts.map +1 -0
- package/dist/engine/continueCommand.js +28 -0
- package/dist/engine/continueCommand.js.map +1 -0
- package/dist/engine/continueWorker.d.ts +984 -0
- package/dist/engine/continueWorker.d.ts.map +1 -0
- package/dist/engine/continueWorker.js +20 -0
- package/dist/engine/continueWorker.js.map +1 -0
- package/dist/engine/continuedRecord.d.ts +3 -0
- package/dist/engine/continuedRecord.d.ts.map +1 -0
- package/dist/engine/continuedRecord.js +23 -0
- package/dist/engine/continuedRecord.js.map +1 -0
- package/dist/engine/deliverPendingAnswers.d.ts +9797 -0
- package/dist/engine/deliverPendingAnswers.d.ts.map +1 -0
- package/dist/engine/deliverPendingAnswers.js +22 -0
- package/dist/engine/deliverPendingAnswers.js.map +1 -0
- package/dist/engine/deliveryFailure.d.ts +6 -0
- package/dist/engine/deliveryFailure.d.ts.map +1 -0
- package/dist/engine/deliveryFailure.js +11 -0
- package/dist/engine/deliveryFailure.js.map +1 -0
- package/dist/engine/dispatchCommand.d.ts +485 -0
- package/dist/engine/dispatchCommand.d.ts.map +1 -0
- package/dist/engine/dispatchCommand.js +69 -0
- package/dist/engine/dispatchCommand.js.map +1 -0
- package/dist/engine/ensureDecisionOwner.d.ts +963 -0
- package/dist/engine/ensureDecisionOwner.d.ts.map +1 -0
- package/dist/engine/ensureDecisionOwner.js +13 -0
- package/dist/engine/ensureDecisionOwner.js.map +1 -0
- package/dist/engine/ensurePublication.d.ts +964 -0
- package/dist/engine/ensurePublication.d.ts.map +1 -0
- package/dist/engine/ensurePublication.js +25 -0
- package/dist/engine/ensurePublication.js.map +1 -0
- package/dist/engine/exhaustedCheckRepairs.d.ts +3 -0
- package/dist/engine/exhaustedCheckRepairs.d.ts.map +1 -0
- package/dist/engine/exhaustedCheckRepairs.js +10 -0
- package/dist/engine/exhaustedCheckRepairs.js.map +1 -0
- package/dist/engine/failureCode.d.ts +3 -0
- package/dist/engine/failureCode.d.ts.map +1 -0
- package/dist/engine/failureCode.js +28 -0
- package/dist/engine/failureCode.js.map +1 -0
- package/dist/engine/failureContext.d.ts +14 -0
- package/dist/engine/failureContext.d.ts.map +1 -0
- package/dist/engine/failureContext.js +9 -0
- package/dist/engine/failureContext.js.map +1 -0
- package/dist/engine/failureMessage.d.ts +2 -0
- package/dist/engine/failureMessage.d.ts.map +1 -0
- package/dist/engine/failureMessage.js +20 -0
- package/dist/engine/failureMessage.js.map +1 -0
- package/dist/engine/failureOwner.d.ts +3 -0
- package/dist/engine/failureOwner.d.ts.map +1 -0
- package/dist/engine/failureOwner.js +9 -0
- package/dist/engine/failureOwner.js.map +1 -0
- package/dist/engine/health.d.ts +36 -0
- package/dist/engine/health.d.ts.map +1 -0
- package/dist/engine/health.js +26 -0
- package/dist/engine/health.js.map +1 -0
- package/dist/engine/inspectRenewal.d.ts +974 -0
- package/dist/engine/inspectRenewal.d.ts.map +1 -0
- package/dist/engine/inspectRenewal.js +53 -0
- package/dist/engine/inspectRenewal.js.map +1 -0
- package/dist/engine/launchInput.d.ts +492 -0
- package/dist/engine/launchInput.d.ts.map +1 -0
- package/dist/engine/launchInput.js +24 -0
- package/dist/engine/launchInput.js.map +1 -0
- package/dist/engine/launchObservationRetries.d.ts +3 -0
- package/dist/engine/launchObservationRetries.d.ts.map +1 -0
- package/dist/engine/launchObservationRetries.js +4 -0
- package/dist/engine/launchObservationRetries.js.map +1 -0
- package/dist/engine/launchReceipt.d.ts +486 -0
- package/dist/engine/launchReceipt.d.ts.map +1 -0
- package/dist/engine/launchReceipt.js +14 -0
- package/dist/engine/launchReceipt.js.map +1 -0
- package/dist/engine/launchRecord.d.ts +4 -0
- package/dist/engine/launchRecord.d.ts.map +1 -0
- package/dist/engine/launchRecord.js +8 -0
- package/dist/engine/launchRecord.js.map +1 -0
- package/dist/engine/localOnlyCriteria.d.ts +13 -0
- package/dist/engine/localOnlyCriteria.d.ts.map +1 -0
- package/dist/engine/localOnlyCriteria.js +13 -0
- package/dist/engine/localOnlyCriteria.js.map +1 -0
- package/dist/engine/makeAdopt.d.ts +974 -0
- package/dist/engine/makeAdopt.d.ts.map +1 -0
- package/dist/engine/makeAdopt.js +52 -0
- package/dist/engine/makeAdopt.js.map +1 -0
- package/dist/engine/makeAdvance.d.ts +485 -0
- package/dist/engine/makeAdvance.d.ts.map +1 -0
- package/dist/engine/makeAdvance.js +79 -0
- package/dist/engine/makeAdvance.js.map +1 -0
- package/dist/engine/makeDeliver.d.ts +963 -0
- package/dist/engine/makeDeliver.d.ts.map +1 -0
- package/dist/engine/makeDeliver.js +85 -0
- package/dist/engine/makeDeliver.js.map +1 -0
- package/dist/engine/makeHuman.d.ts +965 -0
- package/dist/engine/makeHuman.d.ts.map +1 -0
- package/dist/engine/makeHuman.js +39 -0
- package/dist/engine/makeHuman.js.map +1 -0
- package/dist/engine/makeLaunch.d.ts +971 -0
- package/dist/engine/makeLaunch.d.ts.map +1 -0
- package/dist/engine/makeLaunch.js +75 -0
- package/dist/engine/makeLaunch.js.map +1 -0
- package/dist/engine/makeObserve.d.ts +964 -0
- package/dist/engine/makeObserve.d.ts.map +1 -0
- package/dist/engine/makeObserve.js +89 -0
- package/dist/engine/makeObserve.js.map +1 -0
- package/dist/engine/makeReview.d.ts +973 -0
- package/dist/engine/makeReview.d.ts.map +1 -0
- package/dist/engine/makeReview.js +84 -0
- package/dist/engine/makeReview.js.map +1 -0
- package/dist/engine/makeState.d.ts +7880 -0
- package/dist/engine/makeState.d.ts.map +1 -0
- package/dist/engine/makeState.js +61 -0
- package/dist/engine/makeState.js.map +1 -0
- package/dist/engine/makeValidate.d.ts +973 -0
- package/dist/engine/makeValidate.d.ts.map +1 -0
- package/dist/engine/makeValidate.js +34 -0
- package/dist/engine/makeValidate.js.map +1 -0
- package/dist/engine/mergeReadiness.d.ts +10759 -0
- package/dist/engine/mergeReadiness.d.ts.map +1 -0
- package/dist/engine/mergeReadiness.js +25 -0
- package/dist/engine/mergeReadiness.js.map +1 -0
- package/dist/engine/observeDeliveryFailure.d.ts +8836 -0
- package/dist/engine/observeDeliveryFailure.d.ts.map +1 -0
- package/dist/engine/observeDeliveryFailure.js +40 -0
- package/dist/engine/observeDeliveryFailure.js.map +1 -0
- package/dist/engine/observeRenewal.d.ts +1535 -0
- package/dist/engine/observeRenewal.d.ts.map +1 -0
- package/dist/engine/observeRenewal.js +27 -0
- package/dist/engine/observeRenewal.js.map +1 -0
- package/dist/engine/observedAttempt.d.ts +4 -0
- package/dist/engine/observedAttempt.d.ts.map +1 -0
- package/dist/engine/observedAttempt.js +15 -0
- package/dist/engine/observedAttempt.js.map +1 -0
- package/dist/engine/obtainReview.d.ts +515 -0
- package/dist/engine/obtainReview.d.ts.map +1 -0
- package/dist/engine/obtainReview.js +100 -0
- package/dist/engine/obtainReview.js.map +1 -0
- package/dist/engine/operationRecord.d.ts +6299 -0
- package/dist/engine/operationRecord.d.ts.map +1 -0
- package/dist/engine/operationRecord.js +19 -0
- package/dist/engine/operationRecord.js.map +1 -0
- package/dist/engine/originalWork.d.ts +4 -0
- package/dist/engine/originalWork.d.ts.map +1 -0
- package/dist/engine/originalWork.js +14 -0
- package/dist/engine/originalWork.js.map +1 -0
- package/dist/engine/pendingAcknowledgements.d.ts +9 -0
- package/dist/engine/pendingAcknowledgements.d.ts.map +1 -0
- package/dist/engine/pendingAcknowledgements.js +38 -0
- package/dist/engine/pendingAcknowledgements.js.map +1 -0
- package/dist/engine/persistTerminalReceipts.d.ts +968 -0
- package/dist/engine/persistTerminalReceipts.d.ts.map +1 -0
- package/dist/engine/persistTerminalReceipts.js +12 -0
- package/dist/engine/persistTerminalReceipts.js.map +1 -0
- package/dist/engine/prepareCommand.d.ts +488 -0
- package/dist/engine/prepareCommand.d.ts.map +1 -0
- package/dist/engine/prepareCommand.js +69 -0
- package/dist/engine/prepareCommand.js.map +1 -0
- package/dist/engine/queueAnswerCommand.d.ts +487 -0
- package/dist/engine/queueAnswerCommand.d.ts.map +1 -0
- package/dist/engine/queueAnswerCommand.js +15 -0
- package/dist/engine/queueAnswerCommand.js.map +1 -0
- package/dist/engine/readOrContinueReview.d.ts +517 -0
- package/dist/engine/readOrContinueReview.d.ts.map +1 -0
- package/dist/engine/readOrContinueReview.js +54 -0
- package/dist/engine/readOrContinueReview.js.map +1 -0
- package/dist/engine/readResolution.d.ts +134 -0
- package/dist/engine/readResolution.d.ts.map +1 -0
- package/dist/engine/readResolution.js +45 -0
- package/dist/engine/readResolution.js.map +1 -0
- package/dist/engine/readRetry.d.ts +17668 -0
- package/dist/engine/readRetry.d.ts.map +1 -0
- package/dist/engine/readRetry.js +80 -0
- package/dist/engine/readRetry.js.map +1 -0
- package/dist/engine/reassignCommand.d.ts +484 -0
- package/dist/engine/reassignCommand.d.ts.map +1 -0
- package/dist/engine/reassignCommand.js +40 -0
- package/dist/engine/reassignCommand.js.map +1 -0
- package/dist/engine/reconcileAttempt.d.ts +534 -0
- package/dist/engine/reconcileAttempt.d.ts.map +1 -0
- package/dist/engine/reconcileAttempt.js +26 -0
- package/dist/engine/reconcileAttempt.js.map +1 -0
- package/dist/engine/reconcileCommand.d.ts +486 -0
- package/dist/engine/reconcileCommand.d.ts.map +1 -0
- package/dist/engine/reconcileCommand.js +52 -0
- package/dist/engine/reconcileCommand.js.map +1 -0
- package/dist/engine/recoverStall.d.ts +8881 -0
- package/dist/engine/recoverStall.d.ts.map +1 -0
- package/dist/engine/recoverStall.js +62 -0
- package/dist/engine/recoverStall.js.map +1 -0
- package/dist/engine/recoverUnobservable.d.ts +8881 -0
- package/dist/engine/recoverUnobservable.d.ts.map +1 -0
- package/dist/engine/recoverUnobservable.js +26 -0
- package/dist/engine/recoverUnobservable.js.map +1 -0
- package/dist/engine/refreshBrief.d.ts +17675 -0
- package/dist/engine/refreshBrief.d.ts.map +1 -0
- package/dist/engine/refreshBrief.js +48 -0
- package/dist/engine/refreshBrief.js.map +1 -0
- package/dist/engine/refreshReviewResult.d.ts +984 -0
- package/dist/engine/refreshReviewResult.d.ts.map +1 -0
- package/dist/engine/refreshReviewResult.js +69 -0
- package/dist/engine/refreshReviewResult.js.map +1 -0
- package/dist/engine/releaseClosedPreparation.d.ts +8845 -0
- package/dist/engine/releaseClosedPreparation.d.ts.map +1 -0
- package/dist/engine/releaseClosedPreparation.js +17 -0
- package/dist/engine/releaseClosedPreparation.js.map +1 -0
- package/dist/engine/releaseExecution.d.ts +8836 -0
- package/dist/engine/releaseExecution.d.ts.map +1 -0
- package/dist/engine/releaseExecution.js +54 -0
- package/dist/engine/releaseExecution.js.map +1 -0
- package/dist/engine/releaseFinishedWork.d.ts +485 -0
- package/dist/engine/releaseFinishedWork.d.ts.map +1 -0
- package/dist/engine/releaseFinishedWork.js +27 -0
- package/dist/engine/releaseFinishedWork.js.map +1 -0
- package/dist/engine/releaseOnly.d.ts +3 -0
- package/dist/engine/releaseOnly.d.ts.map +1 -0
- package/dist/engine/releaseOnly.js +19 -0
- package/dist/engine/releaseOnly.js.map +1 -0
- package/dist/engine/releaseReceipts.d.ts +12 -0
- package/dist/engine/releaseReceipts.d.ts.map +1 -0
- package/dist/engine/releaseReceipts.js +20 -0
- package/dist/engine/releaseReceipts.js.map +1 -0
- package/dist/engine/repository.d.ts +5824 -0
- package/dist/engine/repository.d.ts.map +1 -0
- package/dist/engine/repository.js +112 -0
- package/dist/engine/repository.js.map +1 -0
- package/dist/engine/requestConflictRepair.d.ts +8835 -0
- package/dist/engine/requestConflictRepair.d.ts.map +1 -0
- package/dist/engine/requestConflictRepair.js +26 -0
- package/dist/engine/requestConflictRepair.js.map +1 -0
- package/dist/engine/requestRework.d.ts +983 -0
- package/dist/engine/requestRework.d.ts.map +1 -0
- package/dist/engine/requestRework.js +35 -0
- package/dist/engine/requestRework.js.map +1 -0
- package/dist/engine/reserveRenewal.d.ts +25 -0
- package/dist/engine/reserveRenewal.d.ts.map +1 -0
- package/dist/engine/reserveRenewal.js +15 -0
- package/dist/engine/reserveRenewal.js.map +1 -0
- package/dist/engine/resolveCommand.d.ts +484 -0
- package/dist/engine/resolveCommand.d.ts.map +1 -0
- package/dist/engine/resolveCommand.js +36 -0
- package/dist/engine/resolveCommand.js.map +1 -0
- package/dist/engine/resolveExecution.d.ts +8834 -0
- package/dist/engine/resolveExecution.d.ts.map +1 -0
- package/dist/engine/resolveExecution.js +32 -0
- package/dist/engine/resolveExecution.js.map +1 -0
- package/dist/engine/restartableReview.d.ts +4 -0
- package/dist/engine/restartableReview.d.ts.map +1 -0
- package/dist/engine/restartableReview.js +14 -0
- package/dist/engine/restartableReview.js.map +1 -0
- package/dist/engine/resumeAttempt.d.ts +8884 -0
- package/dist/engine/resumeAttempt.d.ts.map +1 -0
- package/dist/engine/resumeAttempt.js +21 -0
- package/dist/engine/resumeAttempt.js.map +1 -0
- package/dist/engine/retireUnacknowledged.d.ts +967 -0
- package/dist/engine/retireUnacknowledged.d.ts.map +1 -0
- package/dist/engine/retireUnacknowledged.js +14 -0
- package/dist/engine/retireUnacknowledged.js.map +1 -0
- package/dist/engine/retryPrompt.d.ts +3 -0
- package/dist/engine/retryPrompt.d.ts.map +1 -0
- package/dist/engine/retryPrompt.js +13 -0
- package/dist/engine/retryPrompt.js.map +1 -0
- package/dist/engine/retryTerminal.d.ts +8370 -0
- package/dist/engine/retryTerminal.d.ts.map +1 -0
- package/dist/engine/retryTerminal.js +15 -0
- package/dist/engine/retryTerminal.js.map +1 -0
- package/dist/engine/scheduler.d.ts +966 -0
- package/dist/engine/scheduler.d.ts.map +1 -0
- package/dist/engine/scheduler.js +68 -0
- package/dist/engine/scheduler.js.map +1 -0
- package/dist/engine/sessionCleanup.d.ts +965 -0
- package/dist/engine/sessionCleanup.d.ts.map +1 -0
- package/dist/engine/sessionCleanup.js +42 -0
- package/dist/engine/sessionCleanup.js.map +1 -0
- package/dist/engine/sessionStatus.d.ts +3 -0
- package/dist/engine/sessionStatus.d.ts.map +1 -0
- package/dist/engine/sessionStatus.js +13 -0
- package/dist/engine/sessionStatus.js.map +1 -0
- package/dist/engine/settleMergedDelivery.d.ts +8839 -0
- package/dist/engine/settleMergedDelivery.d.ts.map +1 -0
- package/dist/engine/settleMergedDelivery.js +16 -0
- package/dist/engine/settleMergedDelivery.js.map +1 -0
- package/dist/engine/submissionFailure.d.ts +7875 -0
- package/dist/engine/submissionFailure.d.ts.map +1 -0
- package/dist/engine/submissionFailure.js +32 -0
- package/dist/engine/submissionFailure.js.map +1 -0
- package/dist/engine/submitLaunch.d.ts +8358 -0
- package/dist/engine/submitLaunch.d.ts.map +1 -0
- package/dist/engine/submitLaunch.js +17 -0
- package/dist/engine/submitLaunch.js.map +1 -0
- package/dist/engine/threadNames.d.ts +4 -0
- package/dist/engine/threadNames.d.ts.map +1 -0
- package/dist/engine/threadNames.js +53 -0
- package/dist/engine/threadNames.js.map +1 -0
- package/dist/engine/views.d.ts +3 -0
- package/dist/engine/views.d.ts.map +1 -0
- package/dist/engine/views.js +40 -0
- package/dist/engine/views.js.map +1 -0
- package/dist/engine/workerReport.d.ts +1464 -0
- package/dist/engine/workerReport.d.ts.map +1 -0
- package/dist/engine/workerReport.js +43 -0
- package/dist/engine/workerReport.js.map +1 -0
- package/dist/errors.d.ts +13 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +6 -0
- package/dist/errors.js.map +1 -0
- package/dist/exposeFailure.d.ts +4 -0
- package/dist/exposeFailure.d.ts.map +1 -0
- package/dist/exposeFailure.js +26 -0
- package/dist/exposeFailure.js.map +1 -0
- package/dist/fleet.d.ts +4827 -0
- package/dist/fleet.d.ts.map +1 -0
- package/dist/fleet.js +41 -0
- package/dist/fleet.js.map +1 -0
- package/dist/fleetRecords.d.ts +2 -0
- package/dist/fleetRecords.d.ts.map +1 -0
- package/dist/fleetRecords.js +4 -0
- package/dist/fleetRecords.js.map +1 -0
- package/dist/host/actionCommands.d.ts +35 -0
- package/dist/host/actionCommands.d.ts.map +1 -0
- package/dist/host/actionCommands.js +49 -0
- package/dist/host/actionCommands.js.map +1 -0
- package/dist/host/admission.d.ts +979 -0
- package/dist/host/admission.d.ts.map +1 -0
- package/dist/host/admission.js +105 -0
- package/dist/host/admission.js.map +1 -0
- package/dist/host/answerText.d.ts +4 -0
- package/dist/host/answerText.d.ts.map +1 -0
- package/dist/host/answerText.js +11 -0
- package/dist/host/answerText.js.map +1 -0
- package/dist/host/answerWork.d.ts +483 -0
- package/dist/host/answerWork.d.ts.map +1 -0
- package/dist/host/answerWork.js +70 -0
- package/dist/host/answerWork.js.map +1 -0
- package/dist/host/applyReportPatch.d.ts +4 -0
- package/dist/host/applyReportPatch.d.ts.map +1 -0
- package/dist/host/applyReportPatch.js +107 -0
- package/dist/host/applyReportPatch.js.map +1 -0
- package/dist/host/cliOptions.d.ts +7 -0
- package/dist/host/cliOptions.d.ts.map +1 -0
- package/dist/host/cliOptions.js +12 -0
- package/dist/host/cliOptions.js.map +1 -0
- package/dist/host/commands.d.ts +979 -0
- package/dist/host/commands.d.ts.map +1 -0
- package/dist/host/commands.js +39 -0
- package/dist/host/commands.js.map +1 -0
- package/dist/host/config.d.ts +86 -0
- package/dist/host/config.d.ts.map +1 -0
- package/dist/host/config.js +81 -0
- package/dist/host/config.js.map +1 -0
- package/dist/host/continuationMessage.d.ts +5 -0
- package/dist/host/continuationMessage.d.ts.map +1 -0
- package/dist/host/continuationMessage.js +13 -0
- package/dist/host/continuationMessage.js.map +1 -0
- package/dist/host/daemon.d.ts +5537 -0
- package/dist/host/daemon.d.ts.map +1 -0
- package/dist/host/daemon.js +37 -0
- package/dist/host/daemon.js.map +1 -0
- package/dist/host/daemonClient.d.ts +5520 -0
- package/dist/host/daemonClient.d.ts.map +1 -0
- package/dist/host/daemonClient.js +27 -0
- package/dist/host/daemonClient.js.map +1 -0
- package/dist/host/daemonContract.d.ts +9040 -0
- package/dist/host/daemonContract.d.ts.map +1 -0
- package/dist/host/daemonContract.js +63 -0
- package/dist/host/daemonContract.js.map +1 -0
- package/dist/host/daemonDiagnostics.d.ts +4 -0
- package/dist/host/daemonDiagnostics.d.ts.map +1 -0
- package/dist/host/daemonDiagnostics.js +17 -0
- package/dist/host/daemonDiagnostics.js.map +1 -0
- package/dist/host/daemonHandlers.d.ts +4 -0
- package/dist/host/daemonHandlers.d.ts.map +1 -0
- package/dist/host/daemonHandlers.js +23 -0
- package/dist/host/daemonHandlers.js.map +1 -0
- package/dist/host/daemonSnapshots.d.ts +25 -0
- package/dist/host/daemonSnapshots.d.ts.map +1 -0
- package/dist/host/daemonSnapshots.js +15 -0
- package/dist/host/daemonSnapshots.js.map +1 -0
- package/dist/host/defaults.d.ts +5 -0
- package/dist/host/defaults.d.ts.map +1 -0
- package/dist/host/defaults.js +5 -0
- package/dist/host/defaults.js.map +1 -0
- package/dist/host/fleetItems.d.ts +22 -0
- package/dist/host/fleetItems.d.ts.map +1 -0
- package/dist/host/fleetItems.js +30 -0
- package/dist/host/fleetItems.js.map +1 -0
- package/dist/host/follow.d.ts +10 -0
- package/dist/host/follow.d.ts.map +1 -0
- package/dist/host/follow.js +30 -0
- package/dist/host/follow.js.map +1 -0
- package/dist/host/followCommands.d.ts +20 -0
- package/dist/host/followCommands.d.ts.map +1 -0
- package/dist/host/followCommands.js +45 -0
- package/dist/host/followCommands.js.map +1 -0
- package/dist/host/followState.d.ts +9 -0
- package/dist/host/followState.d.ts.map +1 -0
- package/dist/host/followState.js +30 -0
- package/dist/host/followState.js.map +1 -0
- package/dist/host/github.d.ts +32 -0
- package/dist/host/github.d.ts.map +1 -0
- package/dist/host/github.js +19 -0
- package/dist/host/github.js.map +1 -0
- package/dist/host/githubCheckState.d.ts +34 -0
- package/dist/host/githubCheckState.d.ts.map +1 -0
- package/dist/host/githubCheckState.js +74 -0
- package/dist/host/githubCheckState.js.map +1 -0
- package/dist/host/githubChecks.d.ts +31 -0
- package/dist/host/githubChecks.d.ts.map +1 -0
- package/dist/host/githubChecks.js +38 -0
- package/dist/host/githubChecks.js.map +1 -0
- package/dist/host/githubDelivery.d.ts +15 -0
- package/dist/host/githubDelivery.d.ts.map +1 -0
- package/dist/host/githubDelivery.js +53 -0
- package/dist/host/githubDelivery.js.map +1 -0
- package/dist/host/githubRead.d.ts +5 -0
- package/dist/host/githubRead.d.ts.map +1 -0
- package/dist/host/githubRead.js +15 -0
- package/dist/host/githubRead.js.map +1 -0
- package/dist/host/githubRequiredChecks.d.ts +5 -0
- package/dist/host/githubRequiredChecks.d.ts.map +1 -0
- package/dist/host/githubRequiredChecks.js +13 -0
- package/dist/host/githubRequiredChecks.js.map +1 -0
- package/dist/host/githubResult.d.ts +42 -0
- package/dist/host/githubResult.d.ts.map +1 -0
- package/dist/host/githubResult.js +60 -0
- package/dist/host/githubResult.js.map +1 -0
- package/dist/host/guidance.d.ts +4 -0
- package/dist/host/guidance.d.ts.map +1 -0
- package/dist/host/guidance.js +28 -0
- package/dist/host/guidance.js.map +1 -0
- package/dist/host/healthLayer.d.ts +4 -0
- package/dist/host/healthLayer.d.ts.map +1 -0
- package/dist/host/healthLayer.js +16 -0
- package/dist/host/healthLayer.js.map +1 -0
- package/dist/host/localOnlyBoardPath.d.ts +4 -0
- package/dist/host/localOnlyBoardPath.d.ts.map +1 -0
- package/dist/host/localOnlyBoardPath.js +24 -0
- package/dist/host/localOnlyBoardPath.js.map +1 -0
- package/dist/host/mainSource.d.ts +21 -0
- package/dist/host/mainSource.d.ts.map +1 -0
- package/dist/host/mainSource.js +71 -0
- package/dist/host/mainSource.js.map +1 -0
- package/dist/host/nameThreads.d.ts +10 -0
- package/dist/host/nameThreads.d.ts.map +1 -0
- package/dist/host/nameThreads.js +46 -0
- package/dist/host/nameThreads.js.map +1 -0
- package/dist/host/providerHealth.d.ts +4 -0
- package/dist/host/providerHealth.d.ts.map +1 -0
- package/dist/host/providerHealth.js +46 -0
- package/dist/host/providerHealth.js.map +1 -0
- package/dist/host/providers.d.ts +6 -0
- package/dist/host/providers.d.ts.map +1 -0
- package/dist/host/providers.js +27 -0
- package/dist/host/providers.js.map +1 -0
- package/dist/host/quota.d.ts +10 -0
- package/dist/host/quota.d.ts.map +1 -0
- package/dist/host/quota.js +30 -0
- package/dist/host/quota.js.map +1 -0
- package/dist/host/readCommand.d.ts +5 -0
- package/dist/host/readCommand.d.ts.map +1 -0
- package/dist/host/readCommand.js +18 -0
- package/dist/host/readCommand.js.map +1 -0
- package/dist/host/readWaitStates.d.ts +25 -0
- package/dist/host/readWaitStates.d.ts.map +1 -0
- package/dist/host/readWaitStates.js +26 -0
- package/dist/host/readWaitStates.js.map +1 -0
- package/dist/host/reassignWork.d.ts +485 -0
- package/dist/host/reassignWork.d.ts.map +1 -0
- package/dist/host/reassignWork.js +9 -0
- package/dist/host/reassignWork.js.map +1 -0
- package/dist/host/recordDecisionResponse.d.ts +40 -0
- package/dist/host/recordDecisionResponse.d.ts.map +1 -0
- package/dist/host/recordDecisionResponse.js +37 -0
- package/dist/host/recordDecisionResponse.js.map +1 -0
- package/dist/host/recordPayloads.d.ts +4 -0
- package/dist/host/recordPayloads.d.ts.map +1 -0
- package/dist/host/recordPayloads.js +16 -0
- package/dist/host/recordPayloads.js.map +1 -0
- package/dist/host/releaseWork.d.ts +965 -0
- package/dist/host/releaseWork.d.ts.map +1 -0
- package/dist/host/releaseWork.js +47 -0
- package/dist/host/releaseWork.js.map +1 -0
- package/dist/host/renderStatus.d.ts +3 -0
- package/dist/host/renderStatus.d.ts.map +1 -0
- package/dist/host/renderStatus.js +26 -0
- package/dist/host/renderStatus.js.map +1 -0
- package/dist/host/reportAttachmentFiles.d.ts +5 -0
- package/dist/host/reportAttachmentFiles.d.ts.map +1 -0
- package/dist/host/reportAttachmentFiles.js +71 -0
- package/dist/host/reportAttachmentFiles.js.map +1 -0
- package/dist/host/reportBoard.d.ts +11 -0
- package/dist/host/reportBoard.d.ts.map +1 -0
- package/dist/host/reportBoard.js +103 -0
- package/dist/host/reportBoard.js.map +1 -0
- package/dist/host/reportFileChanges.d.ts +19 -0
- package/dist/host/reportFileChanges.d.ts.map +1 -0
- package/dist/host/reportFileChanges.js +31 -0
- package/dist/host/reportFileChanges.js.map +1 -0
- package/dist/host/reportFileReplay.d.ts +19 -0
- package/dist/host/reportFileReplay.d.ts.map +1 -0
- package/dist/host/reportFileReplay.js +102 -0
- package/dist/host/reportFileReplay.js.map +1 -0
- package/dist/host/reportPublication.d.ts +7 -0
- package/dist/host/reportPublication.d.ts.map +1 -0
- package/dist/host/reportPublication.js +23 -0
- package/dist/host/reportPublication.js.map +1 -0
- package/dist/host/resultReport.d.ts +13 -0
- package/dist/host/resultReport.d.ts.map +1 -0
- package/dist/host/resultReport.js +29 -0
- package/dist/host/resultReport.js.map +1 -0
- package/dist/host/runtime.d.ts +18 -0
- package/dist/host/runtime.d.ts.map +1 -0
- package/dist/host/runtime.js +91 -0
- package/dist/host/runtime.js.map +1 -0
- package/dist/host/snapshotStream.d.ts +7 -0
- package/dist/host/snapshotStream.d.ts.map +1 -0
- package/dist/host/snapshotStream.js +15 -0
- package/dist/host/snapshotStream.js.map +1 -0
- package/dist/host/status.d.ts +294 -0
- package/dist/host/status.d.ts.map +1 -0
- package/dist/host/status.js +14 -0
- package/dist/host/status.js.map +1 -0
- package/dist/host/statusLayer.d.ts +7 -0
- package/dist/host/statusLayer.d.ts.map +1 -0
- package/dist/host/statusLayer.js +76 -0
- package/dist/host/statusLayer.js.map +1 -0
- package/dist/host/wait.d.ts +36 -0
- package/dist/host/wait.d.ts.map +1 -0
- package/dist/host/wait.js +23 -0
- package/dist/host/wait.js.map +1 -0
- package/dist/host/waitOutcome.d.ts +52 -0
- package/dist/host/waitOutcome.d.ts.map +1 -0
- package/dist/host/waitOutcome.js +36 -0
- package/dist/host/waitOutcome.js.map +1 -0
- package/dist/host/watch.d.ts +7 -0
- package/dist/host/watch.d.ts.map +1 -0
- package/dist/host/watch.js +54 -0
- package/dist/host/watch.js.map +1 -0
- package/dist/model.d.ts +1122 -0
- package/dist/model.d.ts.map +1 -0
- package/dist/model.js +114 -0
- package/dist/model.js.map +1 -0
- package/dist/operations.d.ts +11167 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +72 -0
- package/dist/operations.js.map +1 -0
- package/dist/packageInfo.d.ts +4 -0
- package/dist/packageInfo.d.ts.map +1 -0
- package/dist/packageInfo.js +4 -0
- package/dist/packageInfo.js.map +1 -0
- package/dist/policy.d.ts +196 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +85 -0
- package/dist/policy.js.map +1 -0
- package/dist/policyGuidance.d.ts +4 -0
- package/dist/policyGuidance.d.ts.map +1 -0
- package/dist/policyGuidance.js +5 -0
- package/dist/policyGuidance.js.map +1 -0
- package/dist/preparation/compatibility.d.ts +60 -0
- package/dist/preparation/compatibility.d.ts.map +1 -0
- package/dist/preparation/compatibility.js +41 -0
- package/dist/preparation/compatibility.js.map +1 -0
- package/dist/preparation/schema.d.ts +78 -0
- package/dist/preparation/schema.d.ts.map +1 -0
- package/dist/preparation/schema.js +43 -0
- package/dist/preparation/schema.js.map +1 -0
- package/dist/prompt/reviewer.d.ts +31 -0
- package/dist/prompt/reviewer.d.ts.map +1 -0
- package/dist/prompt/reviewer.js +49 -0
- package/dist/prompt/reviewer.js.map +1 -0
- package/dist/prompt/worker.d.ts +28 -0
- package/dist/prompt/worker.d.ts.map +1 -0
- package/dist/prompt/worker.js +116 -0
- package/dist/prompt/worker.js.map +1 -0
- package/dist/providers/capacity.d.ts +2 -0
- package/dist/providers/capacity.d.ts.map +1 -0
- package/dist/providers/capacity.js +8 -0
- package/dist/providers/capacity.js.map +1 -0
- package/dist/providers/codexAdapter.d.ts +13 -0
- package/dist/providers/codexAdapter.d.ts.map +1 -0
- package/dist/providers/codexAdapter.js +55 -0
- package/dist/providers/codexAdapter.js.map +1 -0
- package/dist/providers/codexCloud.d.ts +40 -0
- package/dist/providers/codexCloud.d.ts.map +1 -0
- package/dist/providers/codexCloud.js +92 -0
- package/dist/providers/codexCloud.js.map +1 -0
- package/dist/providers/codexCloudConnection.d.ts +5 -0
- package/dist/providers/codexCloudConnection.d.ts.map +1 -0
- package/dist/providers/codexCloudConnection.js +34 -0
- package/dist/providers/codexCloudConnection.js.map +1 -0
- package/dist/providers/codexLocal.d.ts +16 -0
- package/dist/providers/codexLocal.d.ts.map +1 -0
- package/dist/providers/codexLocal.js +49 -0
- package/dist/providers/codexLocal.js.map +1 -0
- package/dist/providers/codexLogin.d.ts +16 -0
- package/dist/providers/codexLogin.d.ts.map +1 -0
- package/dist/providers/codexLogin.js +63 -0
- package/dist/providers/codexLogin.js.map +1 -0
- package/dist/providers/codexProtocol.d.ts +81 -0
- package/dist/providers/codexProtocol.d.ts.map +1 -0
- package/dist/providers/codexProtocol.js +33 -0
- package/dist/providers/codexProtocol.js.map +1 -0
- package/dist/providers/codexReportAttachments.d.ts +21 -0
- package/dist/providers/codexReportAttachments.d.ts.map +1 -0
- package/dist/providers/codexReportAttachments.js +17 -0
- package/dist/providers/codexReportAttachments.js.map +1 -0
- package/dist/providers/codexRpc.d.ts +24 -0
- package/dist/providers/codexRpc.d.ts.map +1 -0
- package/dist/providers/codexRpc.js +109 -0
- package/dist/providers/codexRpc.js.map +1 -0
- package/dist/providers/codexSettings.d.ts +20 -0
- package/dist/providers/codexSettings.d.ts.map +1 -0
- package/dist/providers/codexSettings.js +24 -0
- package/dist/providers/codexSettings.js.map +1 -0
- package/dist/providers/codexTurns.d.ts +72 -0
- package/dist/providers/codexTurns.d.ts.map +1 -0
- package/dist/providers/codexTurns.js +128 -0
- package/dist/providers/codexTurns.js.map +1 -0
- package/dist/providers/genericRejection.d.ts +3 -0
- package/dist/providers/genericRejection.d.ts.map +1 -0
- package/dist/providers/genericRejection.js +7 -0
- package/dist/providers/genericRejection.js.map +1 -0
- package/dist/providers/makeWaitUntilIdle.d.ts +4 -0
- package/dist/providers/makeWaitUntilIdle.d.ts.map +1 -0
- package/dist/providers/makeWaitUntilIdle.js +27 -0
- package/dist/providers/makeWaitUntilIdle.js.map +1 -0
- package/dist/providers/observeCodexTurn.d.ts +23 -0
- package/dist/providers/observeCodexTurn.d.ts.map +1 -0
- package/dist/providers/observeCodexTurn.js +39 -0
- package/dist/providers/observeCodexTurn.js.map +1 -0
- package/dist/providers/readActiveTurn.d.ts +6 -0
- package/dist/providers/readActiveTurn.d.ts.map +1 -0
- package/dist/providers/readActiveTurn.js +22 -0
- package/dist/providers/readActiveTurn.js.map +1 -0
- package/dist/providers/recoverTurn.d.ts +10 -0
- package/dist/providers/recoverTurn.d.ts.map +1 -0
- package/dist/providers/recoverTurn.js +54 -0
- package/dist/providers/recoverTurn.js.map +1 -0
- package/dist/providers/startCodexTurn.d.ts +9 -0
- package/dist/providers/startCodexTurn.d.ts.map +1 -0
- package/dist/providers/startCodexTurn.js +59 -0
- package/dist/providers/startCodexTurn.js.map +1 -0
- package/dist/qualifyDependencies.d.ts +484 -0
- package/dist/qualifyDependencies.d.ts.map +1 -0
- package/dist/qualifyDependencies.js +36 -0
- package/dist/qualifyDependencies.js.map +1 -0
- package/dist/reportAttachments.d.ts +16 -0
- package/dist/reportAttachments.d.ts.map +1 -0
- package/dist/reportAttachments.js +11 -0
- package/dist/reportAttachments.js.map +1 -0
- package/dist/reportFileDirectory.d.ts +10 -0
- package/dist/reportFileDirectory.d.ts.map +1 -0
- package/dist/reportFileDirectory.js +16 -0
- package/dist/reportFileDirectory.js.map +1 -0
- package/dist/reportFileFailure.d.ts +15 -0
- package/dist/reportFileFailure.d.ts.map +1 -0
- package/dist/reportFileFailure.js +23 -0
- package/dist/reportFileFailure.js.map +1 -0
- package/dist/reportLimits.d.ts +9 -0
- package/dist/reportLimits.d.ts.map +1 -0
- package/dist/reportLimits.js +17 -0
- package/dist/reportLimits.js.map +1 -0
- package/dist/scheduling/areas.d.ts +1447 -0
- package/dist/scheduling/areas.d.ts.map +1 -0
- package/dist/scheduling/areas.js +59 -0
- package/dist/scheduling/areas.js.map +1 -0
- package/dist/session/schema.d.ts +84 -0
- package/dist/session/schema.d.ts.map +1 -0
- package/dist/session/schema.js +55 -0
- package/dist/session/schema.js.map +1 -0
- package/dist/session/service.d.ts +105 -0
- package/dist/session/service.d.ts.map +1 -0
- package/dist/session/service.js +61 -0
- package/dist/session/service.js.map +1 -0
- package/dist/session/transientFailure.d.ts +5 -0
- package/dist/session/transientFailure.d.ts.map +1 -0
- package/dist/session/transientFailure.js +22 -0
- package/dist/session/transientFailure.js.map +1 -0
- package/dist/session/validateReceipt.d.ts +4 -0
- package/dist/session/validateReceipt.d.ts.map +1 -0
- package/dist/session/validateReceipt.js +8 -0
- package/dist/session/validateReceipt.js.map +1 -0
- package/dist/storage/FleetStoreOptions.d.ts +13 -0
- package/dist/storage/FleetStoreOptions.d.ts.map +1 -0
- package/dist/storage/FleetStoreOptions.js +2 -0
- package/dist/storage/FleetStoreOptions.js.map +1 -0
- package/dist/storage/admission.d.ts +18 -0
- package/dist/storage/admission.d.ts.map +1 -0
- package/dist/storage/admission.js +39 -0
- package/dist/storage/admission.js.map +1 -0
- package/dist/storage/admissionReads.d.ts +7 -0
- package/dist/storage/admissionReads.d.ts.map +1 -0
- package/dist/storage/admissionReads.js +12 -0
- package/dist/storage/admissionReads.js.map +1 -0
- package/dist/storage/backfillDecisionCodes.d.ts +4 -0
- package/dist/storage/backfillDecisionCodes.d.ts.map +1 -0
- package/dist/storage/backfillDecisionCodes.js +81 -0
- package/dist/storage/backfillDecisionCodes.js.map +1 -0
- package/dist/storage/errors.d.ts +31 -0
- package/dist/storage/errors.d.ts.map +1 -0
- package/dist/storage/errors.js +22 -0
- package/dist/storage/errors.js.map +1 -0
- package/dist/storage/fleetMigrations.d.ts +43 -0
- package/dist/storage/fleetMigrations.d.ts.map +1 -0
- package/dist/storage/fleetMigrations.js +58 -0
- package/dist/storage/fleetMigrations.js.map +1 -0
- package/dist/storage/makeFleetTransaction.d.ts +6 -0
- package/dist/storage/makeFleetTransaction.d.ts.map +1 -0
- package/dist/storage/makeFleetTransaction.js +12 -0
- package/dist/storage/makeFleetTransaction.js.map +1 -0
- package/dist/storage/makePostgresFleetStore.d.ts +46 -0
- package/dist/storage/makePostgresFleetStore.d.ts.map +1 -0
- package/dist/storage/makePostgresFleetStore.js +109 -0
- package/dist/storage/makePostgresFleetStore.js.map +1 -0
- package/dist/storage/migrateFleet.d.ts +3 -0
- package/dist/storage/migrateFleet.d.ts.map +1 -0
- package/dist/storage/migrateFleet.js +11 -0
- package/dist/storage/migrateFleet.js.map +1 -0
- package/dist/storage/model.d.ts +197 -0
- package/dist/storage/model.d.ts.map +1 -0
- package/dist/storage/model.js +91 -0
- package/dist/storage/model.js.map +1 -0
- package/dist/storage/modelTables.d.ts +37 -0
- package/dist/storage/modelTables.d.ts.map +1 -0
- package/dist/storage/modelTables.js +54 -0
- package/dist/storage/modelTables.js.map +1 -0
- package/dist/storage/nextAdmissionOrder.d.ts +4 -0
- package/dist/storage/nextAdmissionOrder.d.ts.map +1 -0
- package/dist/storage/nextAdmissionOrder.js +7 -0
- package/dist/storage/nextAdmissionOrder.js.map +1 -0
- package/dist/storage/operationEntries.d.ts +6 -0
- package/dist/storage/operationEntries.d.ts.map +1 -0
- package/dist/storage/operationEntries.js +17 -0
- package/dist/storage/operationEntries.js.map +1 -0
- package/dist/storage/pruneEmptyCycles.d.ts +4 -0
- package/dist/storage/pruneEmptyCycles.d.ts.map +1 -0
- package/dist/storage/pruneEmptyCycles.js +20 -0
- package/dist/storage/pruneEmptyCycles.js.map +1 -0
- package/dist/storage/recordTimes.d.ts +23 -0
- package/dist/storage/recordTimes.d.ts.map +1 -0
- package/dist/storage/recordTimes.js +24 -0
- package/dist/storage/recordTimes.js.map +1 -0
- package/dist/storage/recordValue.d.ts +7 -0
- package/dist/storage/recordValue.d.ts.map +1 -0
- package/dist/storage/recordValue.js +39 -0
- package/dist/storage/recordValue.js.map +1 -0
- package/package.json +78 -3
- package/src/DecisionCode.ts +50 -0
- package/src/admit.ts +39 -0
- package/src/attention.ts +24 -0
- package/src/board/acknowledgeDecision.ts +51 -0
- package/src/board/briefRevision.ts +17 -0
- package/src/board/completionFields.ts +65 -0
- package/src/board/completionMarkdown.ts +24 -0
- package/src/board/decisionAnswer.ts +12 -0
- package/src/board/decisionReading.ts +54 -0
- package/src/board/documents.ts +89 -0
- package/src/board/fleetField.ts +35 -0
- package/src/board/markdown.ts +103 -0
- package/src/board/publish.ts +99 -0
- package/src/board/publishReport.ts +43 -0
- package/src/board/readDocument.ts +33 -0
- package/src/board/readPass.ts +115 -0
- package/src/board/reportContent.ts +18 -0
- package/src/board/reportFiles.ts +93 -0
- package/src/board/reportIdentity.ts +10 -0
- package/src/board/reportLinks.ts +24 -0
- package/src/board/reportPayload.ts +73 -0
- package/src/board/reportPayloadFile.ts +93 -0
- package/src/board/schema.ts +48 -0
- package/src/board/statusMarkdown.ts +40 -0
- package/src/board/workRevision.ts +9 -0
- package/src/board/writeCompletion.ts +69 -0
- package/src/board/writeHealth.ts +30 -0
- package/src/board/writePublished.ts +72 -0
- package/src/board/writeStatus.ts +11 -0
- package/src/cli.ts +97 -0
- package/src/completion.ts +27 -0
- package/src/engine/ReportInspection.ts +10 -0
- package/src/engine/applyResolution.ts +117 -0
- package/src/engine/approveBrief.ts +97 -0
- package/src/engine/authorizeResolution.ts +23 -0
- package/src/engine/boardBrief.ts +84 -0
- package/src/engine/capacityRetry.ts +72 -0
- package/src/engine/closeDecisions.ts +92 -0
- package/src/engine/completeBoardWork.ts +33 -0
- package/src/engine/completeReport.ts +24 -0
- package/src/engine/continueCommand.ts +30 -0
- package/src/engine/continueWorker.ts +25 -0
- package/src/engine/continuedRecord.ts +24 -0
- package/src/engine/deliverPendingAnswers.ts +30 -0
- package/src/engine/deliveryFailure.ts +13 -0
- package/src/engine/dispatchCommand.ts +88 -0
- package/src/engine/ensureDecisionOwner.ts +16 -0
- package/src/engine/ensurePublication.ts +32 -0
- package/src/engine/exhaustedCheckRepairs.ts +11 -0
- package/src/engine/failureCode.ts +30 -0
- package/src/engine/failureContext.ts +22 -0
- package/src/engine/failureMessage.ts +19 -0
- package/src/engine/failureOwner.ts +10 -0
- package/src/engine/health.ts +31 -0
- package/src/engine/inspectRenewal.ts +64 -0
- package/src/engine/launchInput.ts +30 -0
- package/src/engine/launchObservationRetries.ts +5 -0
- package/src/engine/launchReceipt.ts +14 -0
- package/src/engine/launchRecord.ts +10 -0
- package/src/engine/localOnlyCriteria.ts +14 -0
- package/src/engine/makeAdopt.ts +57 -0
- package/src/engine/makeAdvance.ts +84 -0
- package/src/engine/makeDeliver.ts +114 -0
- package/src/engine/makeHuman.ts +46 -0
- package/src/engine/makeLaunch.ts +111 -0
- package/src/engine/makeObserve.ts +113 -0
- package/src/engine/makeReview.ts +104 -0
- package/src/engine/makeState.ts +89 -0
- package/src/engine/makeValidate.ts +43 -0
- package/src/engine/mergeReadiness.ts +44 -0
- package/src/engine/observeDeliveryFailure.ts +67 -0
- package/src/engine/observeRenewal.ts +36 -0
- package/src/engine/observedAttempt.ts +17 -0
- package/src/engine/obtainReview.ts +148 -0
- package/src/engine/operationRecord.ts +22 -0
- package/src/engine/originalWork.ts +16 -0
- package/src/engine/pendingAcknowledgements.ts +52 -0
- package/src/engine/persistTerminalReceipts.ts +16 -0
- package/src/engine/prepareCommand.ts +80 -0
- package/src/engine/queueAnswerCommand.ts +16 -0
- package/src/engine/readOrContinueReview.ts +77 -0
- package/src/engine/readResolution.ts +53 -0
- package/src/engine/readRetry.ts +104 -0
- package/src/engine/reassignCommand.ts +45 -0
- package/src/engine/reconcileAttempt.ts +29 -0
- package/src/engine/reconcileCommand.ts +74 -0
- package/src/engine/recoverStall.ts +83 -0
- package/src/engine/recoverUnobservable.ts +39 -0
- package/src/engine/refreshBrief.ts +59 -0
- package/src/engine/refreshReviewResult.ts +85 -0
- package/src/engine/releaseClosedPreparation.ts +31 -0
- package/src/engine/releaseExecution.ts +66 -0
- package/src/engine/releaseFinishedWork.ts +31 -0
- package/src/engine/releaseOnly.ts +24 -0
- package/src/engine/releaseReceipts.ts +25 -0
- package/src/engine/repository.ts +143 -0
- package/src/engine/requestConflictRepair.ts +40 -0
- package/src/engine/requestRework.ts +45 -0
- package/src/engine/reserveRenewal.ts +19 -0
- package/src/engine/resolveCommand.ts +42 -0
- package/src/engine/resolveExecution.ts +42 -0
- package/src/engine/restartableReview.ts +17 -0
- package/src/engine/resumeAttempt.ts +29 -0
- package/src/engine/retireUnacknowledged.ts +19 -0
- package/src/engine/retryPrompt.ts +14 -0
- package/src/engine/retryTerminal.ts +22 -0
- package/src/engine/scheduler.ts +87 -0
- package/src/engine/sessionCleanup.ts +51 -0
- package/src/engine/sessionStatus.ts +14 -0
- package/src/engine/settleMergedDelivery.ts +31 -0
- package/src/engine/submissionFailure.ts +47 -0
- package/src/engine/submitLaunch.ts +43 -0
- package/src/engine/threadNames.ts +56 -0
- package/src/engine/views.ts +42 -0
- package/src/engine/workerReport.ts +54 -0
- package/src/errors.ts +7 -0
- package/src/exposeFailure.ts +30 -0
- package/src/fleet.ts +50 -0
- package/src/fleetRecords.ts +4 -0
- package/src/host/actionCommands.ts +77 -0
- package/src/host/admission.ts +130 -0
- package/src/host/answerText.ts +11 -0
- package/src/host/answerWork.ts +104 -0
- package/src/host/applyReportPatch.ts +111 -0
- package/src/host/cliOptions.ts +15 -0
- package/src/host/commands.ts +63 -0
- package/src/host/config.ts +111 -0
- package/src/host/continuationMessage.ts +19 -0
- package/src/host/daemon.ts +45 -0
- package/src/host/daemonClient.ts +36 -0
- package/src/host/daemonContract.ts +64 -0
- package/src/host/daemonDiagnostics.ts +20 -0
- package/src/host/daemonHandlers.ts +33 -0
- package/src/host/daemonSnapshots.ts +24 -0
- package/src/host/defaults.ts +4 -0
- package/src/host/fleetItems.ts +33 -0
- package/src/host/follow.ts +44 -0
- package/src/host/followCommands.ts +54 -0
- package/src/host/followState.ts +41 -0
- package/src/host/github.ts +32 -0
- package/src/host/githubCheckState.ts +95 -0
- package/src/host/githubChecks.ts +53 -0
- package/src/host/githubDelivery.ts +65 -0
- package/src/host/githubRead.ts +20 -0
- package/src/host/githubRequiredChecks.ts +19 -0
- package/src/host/githubResult.ts +76 -0
- package/src/host/guidance.ts +28 -0
- package/src/host/healthLayer.ts +19 -0
- package/src/host/localOnlyBoardPath.ts +23 -0
- package/src/host/mainSource.ts +97 -0
- package/src/host/nameThreads.ts +61 -0
- package/src/host/providerHealth.ts +57 -0
- package/src/host/providers.ts +34 -0
- package/src/host/quota.ts +46 -0
- package/src/host/readCommand.ts +25 -0
- package/src/host/readWaitStates.ts +39 -0
- package/src/host/reassignWork.ts +17 -0
- package/src/host/recordDecisionResponse.ts +44 -0
- package/src/host/recordPayloads.ts +16 -0
- package/src/host/releaseWork.ts +56 -0
- package/src/host/renderStatus.ts +33 -0
- package/src/host/reportAttachmentFiles.ts +91 -0
- package/src/host/reportBoard.ts +143 -0
- package/src/host/reportFileChanges.ts +32 -0
- package/src/host/reportFileReplay.ts +118 -0
- package/src/host/reportPublication.ts +36 -0
- package/src/host/resultReport.ts +32 -0
- package/src/host/runtime.ts +129 -0
- package/src/host/snapshotStream.ts +21 -0
- package/src/host/status.ts +16 -0
- package/src/host/statusLayer.ts +101 -0
- package/src/host/wait.ts +38 -0
- package/src/host/waitOutcome.ts +47 -0
- package/src/host/watch.ts +68 -0
- package/src/model.ts +123 -0
- package/src/operations.ts +76 -0
- package/src/packageInfo.ts +3 -0
- package/src/policy.ts +131 -0
- package/src/policyGuidance.ts +6 -0
- package/src/preparation/compatibility.ts +49 -0
- package/src/preparation/schema.ts +55 -0
- package/src/prompt/reviewer.ts +64 -0
- package/src/prompt/worker.ts +132 -0
- package/src/providers/capacity.ts +8 -0
- package/src/providers/codexAdapter.ts +73 -0
- package/src/providers/codexCloud.ts +112 -0
- package/src/providers/codexCloudConnection.ts +49 -0
- package/src/providers/codexLocal.ts +67 -0
- package/src/providers/codexLogin.ts +87 -0
- package/src/providers/codexProtocol.ts +33 -0
- package/src/providers/codexReportAttachments.ts +23 -0
- package/src/providers/codexRpc.ts +140 -0
- package/src/providers/codexSettings.ts +31 -0
- package/src/providers/codexTurns.ts +133 -0
- package/src/providers/genericRejection.ts +12 -0
- package/src/providers/makeWaitUntilIdle.ts +30 -0
- package/src/providers/observeCodexTurn.ts +40 -0
- package/src/providers/readActiveTurn.ts +26 -0
- package/src/providers/recoverTurn.ts +69 -0
- package/src/providers/startCodexTurn.ts +78 -0
- package/src/qualifyDependencies.ts +54 -0
- package/src/reportAttachments.ts +26 -0
- package/src/reportFileDirectory.ts +33 -0
- package/src/reportFileFailure.ts +27 -0
- package/src/reportLimits.ts +19 -0
- package/src/scheduling/areas.ts +81 -0
- package/src/session/schema.ts +66 -0
- package/src/session/service.ts +103 -0
- package/src/session/transientFailure.ts +32 -0
- package/src/session/validateReceipt.ts +9 -0
- package/src/storage/FleetStoreOptions.ts +13 -0
- package/src/storage/admission.ts +82 -0
- package/src/storage/admissionReads.ts +16 -0
- package/src/storage/backfillDecisionCodes.ts +89 -0
- package/src/storage/errors.ts +23 -0
- package/src/storage/fleetMigrations.ts +60 -0
- package/src/storage/makeFleetTransaction.ts +16 -0
- package/src/storage/makePostgresFleetStore.ts +147 -0
- package/src/storage/migrateFleet.ts +11 -0
- package/src/storage/model.ts +115 -0
- package/src/storage/modelTables.ts +57 -0
- package/src/storage/nextAdmissionOrder.ts +8 -0
- package/src/storage/operationEntries.ts +24 -0
- package/src/storage/pruneEmptyCycles.ts +20 -0
- package/src/storage/recordTimes.ts +28 -0
- package/src/storage/recordValue.ts +42 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readRetry.d.ts","sourceRoot":"","sources":["../../src/engine/readRetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AA8BnD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0RAKhC,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { ServiceUnavailable } from "@shivaedev/platform/errors/taxonomy.ts";
|
|
3
|
+
import { retryLostReview, retryMissingReview } from "#engine/capacityRetry.ts";
|
|
4
|
+
import { failureCode } from "#engine/failureCode.ts";
|
|
5
|
+
import { failureContext } from "#engine/failureContext.ts";
|
|
6
|
+
import { failureMessage } from "#engine/failureMessage.ts";
|
|
7
|
+
import { BoardFailure } from "#policy.ts";
|
|
8
|
+
import { SessionFailure } from "#session/schema.ts";
|
|
9
|
+
import { requestTimedOut, transientFailure } from "#session/transientFailure.ts";
|
|
10
|
+
function retryKind(error, record) {
|
|
11
|
+
if (error instanceof SessionFailure && retryProviderRead(error, record)) {
|
|
12
|
+
return "provider";
|
|
13
|
+
}
|
|
14
|
+
return (error instanceof ServiceUnavailable && failureContext(error).retryable !== false)
|
|
15
|
+
|| (error instanceof BoardFailure && error.code === "incomplete-observation")
|
|
16
|
+
? "integration"
|
|
17
|
+
: undefined;
|
|
18
|
+
}
|
|
19
|
+
function retryProviderRead(error, record) {
|
|
20
|
+
return (transientFailure(error)
|
|
21
|
+
|| requestTimedOut(error)
|
|
22
|
+
|| (error.reason === "unavailable" && record.attempts.at(-1)?.submissionUncertain === true)
|
|
23
|
+
|| (error.reason === "ambiguous"
|
|
24
|
+
&& (error.code === "session-unavailable" || (record.attempts.at(-1)?.readRetry !== undefined && error.code !== "duplicate-turns"))));
|
|
25
|
+
}
|
|
26
|
+
function retryAttempts(record, operationId, retry, uncertainOperationId) {
|
|
27
|
+
return record.attempts.map((attempt) => attempt.operationId === operationId
|
|
28
|
+
? { ...attempt, readRetry: retry, ...(attempt.operationId === uncertainOperationId ? { submissionUncertain: true } : {}) }
|
|
29
|
+
: attempt);
|
|
30
|
+
}
|
|
31
|
+
export const readRetry = Effect.fn("Fleet.readRetry")(function* (state, current, error, uncertainOperationId) {
|
|
32
|
+
const kind = retryKind(error, current.value);
|
|
33
|
+
if (kind === undefined) {
|
|
34
|
+
return yield* retryMissingReview(state, current.value, error);
|
|
35
|
+
}
|
|
36
|
+
if (current.value.decision !== undefined) {
|
|
37
|
+
return current;
|
|
38
|
+
}
|
|
39
|
+
if (current.value.launchRetry !== undefined) {
|
|
40
|
+
return current;
|
|
41
|
+
}
|
|
42
|
+
const attempt = current.value.attempts.at(-1);
|
|
43
|
+
if (kind === "provider" && (attempt === undefined || !["submitting", "accepted", "running"].includes(attempt.status))) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
const previous = kind === "provider" ? attempt?.readRetry : current.value.integrationRetry;
|
|
47
|
+
if (retryPending(state, current.value)) {
|
|
48
|
+
return current;
|
|
49
|
+
}
|
|
50
|
+
const failures = (previous?.failures ?? 0) + 1;
|
|
51
|
+
if (failures >= 5 && (yield* retryLostReview(state, current.value, error))) {
|
|
52
|
+
return yield* state.load(current.value.workId);
|
|
53
|
+
}
|
|
54
|
+
const retryAt = state.policy.now() + 30_000 * 2 ** (failures - 1);
|
|
55
|
+
const message = failureMessage(error);
|
|
56
|
+
const subject = { integration: "integration evidence", provider: "provider state" }[kind];
|
|
57
|
+
const retry = failures < 5 ? { error: message, failures, retryAt } : undefined;
|
|
58
|
+
const saved = yield* state.save(current, {
|
|
59
|
+
...current.value,
|
|
60
|
+
attempts: kind === "provider" ? retryAttempts(current.value, attempt?.operationId, retry, uncertainOperationId) : current.value.attempts,
|
|
61
|
+
attentionOwner: "automation",
|
|
62
|
+
blocker: `Waiting to read ${subject}: ${message}; read attempt ${failures} of 5; retry after ${new Date(retryAt).toISOString()}`,
|
|
63
|
+
integrationRetry: kind === "integration" ? retry : current.value.integrationRetry,
|
|
64
|
+
});
|
|
65
|
+
return failures < 5
|
|
66
|
+
? saved
|
|
67
|
+
: yield* state
|
|
68
|
+
.decision(saved, failureCode(error), `${message}; ${kind} read failure after ${failures} attempts (${failures - 1} automatic retries); execution ownership retained`, "Restore integration reads and reconcile this existing work before retrying or releasing", undefined, failureContext(error).attentionOwner)
|
|
69
|
+
.pipe(Effect.catchTag("BoardFailure", () => state.load(current.value.workId)));
|
|
70
|
+
});
|
|
71
|
+
export function retryPending(state, record) {
|
|
72
|
+
return [record.integrationRetry, record.attempts.at(-1)?.readRetry].some((retry) => retry !== undefined && state.policy.now() < retry.retryAt);
|
|
73
|
+
}
|
|
74
|
+
export const clearIntegrationRetry = Effect.fn("Fleet.clearIntegrationRetry")(function* (state, current) {
|
|
75
|
+
if (current.value.integrationRetry === undefined) {
|
|
76
|
+
return current;
|
|
77
|
+
}
|
|
78
|
+
return yield* state.save(current, { ...current.value, integrationRetry: undefined });
|
|
79
|
+
});
|
|
80
|
+
//# sourceMappingURL=readRetry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readRetry.js","sourceRoot":"","sources":["../../src/engine/readRetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGjF,SA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AAG,OAAO,CAAC,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,CAAC,CAAC;AACtF,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { Conflict } from "@shivaedev/platform/errors/taxonomy.ts";
|
|
3
|
+
import type { EngineState } from "#engine/makeState.ts";
|
|
4
|
+
export declare function reassignCommand(state: EngineState): (workId: string, decisionId: string, attentionOwner: "automation" | "maintainer" | "orchestrator") => Effect.Effect<import("../storage/model.ts").Versioned<{
|
|
5
|
+
readonly admissionReady?: boolean | undefined;
|
|
6
|
+
readonly areas?: readonly string[] | undefined;
|
|
7
|
+
readonly attempts: readonly {
|
|
8
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
9
|
+
readonly missingSince?: number | undefined;
|
|
10
|
+
readonly observationRetries?: number | undefined;
|
|
11
|
+
readonly operationId: string;
|
|
12
|
+
readonly output?: string | undefined;
|
|
13
|
+
readonly progress?: {
|
|
14
|
+
readonly at: number;
|
|
15
|
+
readonly signature: string;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly prompt?: string | undefined;
|
|
18
|
+
readonly providerFailures?: number | undefined;
|
|
19
|
+
readonly readRetry?: {
|
|
20
|
+
readonly error: string;
|
|
21
|
+
readonly failures: number;
|
|
22
|
+
readonly retryAt: number;
|
|
23
|
+
} | undefined;
|
|
24
|
+
readonly receipt?: {
|
|
25
|
+
readonly sessionId: string;
|
|
26
|
+
readonly turnId: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
readonly reviewHead?: string | undefined;
|
|
29
|
+
readonly reviewRevision?: string | undefined;
|
|
30
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
31
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
32
|
+
readonly sessionId?: string | undefined;
|
|
33
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
34
|
+
readonly settings?: {
|
|
35
|
+
readonly effort?: string | undefined;
|
|
36
|
+
readonly model?: string | undefined;
|
|
37
|
+
readonly serviceTier?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly stallRecovery?: {
|
|
40
|
+
readonly count: number;
|
|
41
|
+
readonly interruptedAt?: number | undefined;
|
|
42
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
43
|
+
readonly lastActionAt: number;
|
|
44
|
+
readonly steeredAt?: number | undefined;
|
|
45
|
+
} | undefined;
|
|
46
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
47
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
48
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
49
|
+
readonly submittedAt: number;
|
|
50
|
+
readonly terminalReceipts?: readonly {
|
|
51
|
+
readonly sessionId: string;
|
|
52
|
+
readonly turnId: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
}[];
|
|
55
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
56
|
+
readonly blocker?: string | undefined;
|
|
57
|
+
readonly boardContext?: string | undefined;
|
|
58
|
+
readonly boardRevision: string;
|
|
59
|
+
readonly boardSourcePath?: string | undefined;
|
|
60
|
+
readonly checks?: {
|
|
61
|
+
readonly evidence: readonly string[];
|
|
62
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
63
|
+
readonly head: string;
|
|
64
|
+
readonly passed: boolean;
|
|
65
|
+
readonly pending?: boolean | undefined;
|
|
66
|
+
readonly repairPrompt?: string | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
readonly completedAt?: number | undefined;
|
|
69
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
70
|
+
readonly cwd: string;
|
|
71
|
+
readonly decision?: {
|
|
72
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
73
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
74
|
+
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;
|
|
75
|
+
readonly id: string;
|
|
76
|
+
readonly links: readonly string[];
|
|
77
|
+
readonly publicationWork?: {
|
|
78
|
+
readonly approved: boolean;
|
|
79
|
+
readonly areas?: readonly string[] | undefined;
|
|
80
|
+
readonly context: string;
|
|
81
|
+
readonly deliverable?: "report" | undefined;
|
|
82
|
+
readonly dependsOn: readonly string[];
|
|
83
|
+
readonly revision: string;
|
|
84
|
+
readonly sourcePath: string;
|
|
85
|
+
readonly status?: string | undefined;
|
|
86
|
+
readonly workId: string;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly published?: {
|
|
89
|
+
readonly itemId: string;
|
|
90
|
+
readonly questionId: string;
|
|
91
|
+
readonly request: string;
|
|
92
|
+
readonly revision: string;
|
|
93
|
+
readonly sourcePath: string;
|
|
94
|
+
readonly workId: string;
|
|
95
|
+
readonly workRevision: string;
|
|
96
|
+
readonly workSourcePath: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
readonly reason: string;
|
|
99
|
+
readonly recommendation: string;
|
|
100
|
+
readonly worker?: {
|
|
101
|
+
readonly sessionId: string;
|
|
102
|
+
readonly turnId: string;
|
|
103
|
+
} | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
106
|
+
readonly decisionPublished?: boolean | undefined;
|
|
107
|
+
readonly deliverable?: "report" | undefined;
|
|
108
|
+
readonly integrationRetry?: {
|
|
109
|
+
readonly error: string;
|
|
110
|
+
readonly failures: number;
|
|
111
|
+
readonly retryAt: number;
|
|
112
|
+
} | undefined;
|
|
113
|
+
readonly launch?: {
|
|
114
|
+
readonly effort?: string | undefined;
|
|
115
|
+
readonly model?: string | undefined;
|
|
116
|
+
readonly serviceTier?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
readonly launchRetry?: {
|
|
119
|
+
readonly prompt?: string | undefined;
|
|
120
|
+
readonly rejectedAt: number;
|
|
121
|
+
readonly rejections: number;
|
|
122
|
+
readonly retryAt: number;
|
|
123
|
+
} | undefined;
|
|
124
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
125
|
+
readonly mergeReadyAt?: number | undefined;
|
|
126
|
+
readonly mergeReadyHead?: string | undefined;
|
|
127
|
+
readonly outcome?: {
|
|
128
|
+
readonly head: string;
|
|
129
|
+
readonly revision: string;
|
|
130
|
+
readonly url: string;
|
|
131
|
+
} | {
|
|
132
|
+
readonly evidence: readonly string[];
|
|
133
|
+
} | undefined;
|
|
134
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
135
|
+
readonly preparation: {
|
|
136
|
+
readonly baselinePaths: readonly string[];
|
|
137
|
+
readonly baseRevision: string;
|
|
138
|
+
readonly configuration: readonly {
|
|
139
|
+
readonly path: string;
|
|
140
|
+
readonly relevantKeys: readonly string[];
|
|
141
|
+
}[];
|
|
142
|
+
readonly contextComplete: boolean;
|
|
143
|
+
readonly dependencyPaths: readonly string[];
|
|
144
|
+
readonly observedAt: number;
|
|
145
|
+
readonly ownedPaths: readonly string[];
|
|
146
|
+
readonly qualityPaths: readonly string[];
|
|
147
|
+
readonly setupPaths: readonly string[];
|
|
148
|
+
readonly sourcePaths: readonly string[];
|
|
149
|
+
readonly validation: readonly {
|
|
150
|
+
readonly command: string;
|
|
151
|
+
readonly revision: string;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
readonly prompt: string;
|
|
155
|
+
readonly releaseReason?: string | undefined;
|
|
156
|
+
readonly report?: {
|
|
157
|
+
readonly itemId: string;
|
|
158
|
+
readonly receipt: {
|
|
159
|
+
readonly sessionId: string;
|
|
160
|
+
readonly turnId: string;
|
|
161
|
+
};
|
|
162
|
+
readonly revision: string;
|
|
163
|
+
readonly sourcePath: string;
|
|
164
|
+
readonly workRevision: string;
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly responses?: readonly {
|
|
167
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
168
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
169
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
170
|
+
readonly decisionId: string;
|
|
171
|
+
readonly processedAt: number;
|
|
172
|
+
readonly published?: {
|
|
173
|
+
readonly itemId: string;
|
|
174
|
+
readonly questionId: string;
|
|
175
|
+
readonly request: string;
|
|
176
|
+
readonly revision: string;
|
|
177
|
+
readonly sourcePath: string;
|
|
178
|
+
readonly workId: string;
|
|
179
|
+
readonly workRevision: string;
|
|
180
|
+
readonly workSourcePath: string;
|
|
181
|
+
} | undefined;
|
|
182
|
+
readonly questionId: string;
|
|
183
|
+
readonly questionRevision: string;
|
|
184
|
+
readonly responseId: string;
|
|
185
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
186
|
+
}[] | undefined;
|
|
187
|
+
readonly result?: {
|
|
188
|
+
readonly head: string;
|
|
189
|
+
readonly kind: "change";
|
|
190
|
+
readonly paths: readonly string[];
|
|
191
|
+
readonly pr: string;
|
|
192
|
+
readonly prNumber?: number | undefined;
|
|
193
|
+
} | {
|
|
194
|
+
readonly evidence: readonly string[];
|
|
195
|
+
readonly head: string;
|
|
196
|
+
readonly kind: "no-change";
|
|
197
|
+
} | undefined;
|
|
198
|
+
readonly resultObservations?: readonly ({
|
|
199
|
+
readonly head: string;
|
|
200
|
+
readonly kind: "change";
|
|
201
|
+
readonly paths: readonly string[];
|
|
202
|
+
readonly pr: string;
|
|
203
|
+
readonly prNumber?: number | undefined;
|
|
204
|
+
} | {
|
|
205
|
+
readonly evidence: readonly string[];
|
|
206
|
+
readonly head: string;
|
|
207
|
+
readonly kind: "no-change";
|
|
208
|
+
})[] | undefined;
|
|
209
|
+
readonly review?: {
|
|
210
|
+
readonly evidence: readonly string[];
|
|
211
|
+
readonly findings?: readonly string[] | undefined;
|
|
212
|
+
readonly head: string;
|
|
213
|
+
readonly receipt: {
|
|
214
|
+
readonly sessionId: string;
|
|
215
|
+
readonly turnId: string;
|
|
216
|
+
};
|
|
217
|
+
readonly repairPrompt: string;
|
|
218
|
+
readonly verdict: "approved" | "changes";
|
|
219
|
+
} | undefined;
|
|
220
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
221
|
+
readonly stageEnteredAt?: number | undefined;
|
|
222
|
+
readonly supersededDecisions?: readonly {
|
|
223
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
224
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
225
|
+
readonly published: {
|
|
226
|
+
readonly itemId: string;
|
|
227
|
+
readonly questionId: string;
|
|
228
|
+
readonly request: string;
|
|
229
|
+
readonly revision: string;
|
|
230
|
+
readonly sourcePath: string;
|
|
231
|
+
readonly workId: string;
|
|
232
|
+
readonly workRevision: string;
|
|
233
|
+
readonly workSourcePath: string;
|
|
234
|
+
};
|
|
235
|
+
readonly reassignedTo?: {
|
|
236
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
237
|
+
readonly decisionId: string;
|
|
238
|
+
} | undefined;
|
|
239
|
+
readonly supersededAt: number;
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
readonly updatedAt?: number | undefined;
|
|
242
|
+
readonly history?: readonly {
|
|
243
|
+
readonly admissionReady?: boolean | undefined;
|
|
244
|
+
readonly areas?: readonly string[] | undefined;
|
|
245
|
+
readonly attempts: readonly {
|
|
246
|
+
readonly checkFailures?: readonly string[] | undefined;
|
|
247
|
+
readonly missingSince?: number | undefined;
|
|
248
|
+
readonly observationRetries?: number | undefined;
|
|
249
|
+
readonly operationId: string;
|
|
250
|
+
readonly output?: string | undefined;
|
|
251
|
+
readonly progress?: {
|
|
252
|
+
readonly at: number;
|
|
253
|
+
readonly signature: string;
|
|
254
|
+
} | undefined;
|
|
255
|
+
readonly prompt?: string | undefined;
|
|
256
|
+
readonly providerFailures?: number | undefined;
|
|
257
|
+
readonly readRetry?: {
|
|
258
|
+
readonly error: string;
|
|
259
|
+
readonly failures: number;
|
|
260
|
+
readonly retryAt: number;
|
|
261
|
+
} | undefined;
|
|
262
|
+
readonly receipt?: {
|
|
263
|
+
readonly sessionId: string;
|
|
264
|
+
readonly turnId: string;
|
|
265
|
+
} | undefined;
|
|
266
|
+
readonly reviewHead?: string | undefined;
|
|
267
|
+
readonly reviewRevision?: string | undefined;
|
|
268
|
+
readonly role: "repair" | "reviewer" | "worker";
|
|
269
|
+
readonly sessionCleanupComplete?: boolean | undefined;
|
|
270
|
+
readonly sessionId?: string | undefined;
|
|
271
|
+
readonly sessionUnusable?: boolean | undefined;
|
|
272
|
+
readonly settings?: {
|
|
273
|
+
readonly effort?: string | undefined;
|
|
274
|
+
readonly model?: string | undefined;
|
|
275
|
+
readonly serviceTier?: string | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
readonly stallRecovery?: {
|
|
278
|
+
readonly count: number;
|
|
279
|
+
readonly interruptedAt?: number | undefined;
|
|
280
|
+
readonly interruptRequestedAt?: number | undefined;
|
|
281
|
+
readonly lastActionAt: number;
|
|
282
|
+
readonly steeredAt?: number | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
|
|
285
|
+
readonly submissionTimedOut?: boolean | undefined;
|
|
286
|
+
readonly submissionUncertain?: boolean | undefined;
|
|
287
|
+
readonly submittedAt: number;
|
|
288
|
+
readonly terminalReceipts?: readonly {
|
|
289
|
+
readonly sessionId: string;
|
|
290
|
+
readonly turnId: string;
|
|
291
|
+
}[] | undefined;
|
|
292
|
+
}[];
|
|
293
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
294
|
+
readonly blocker?: string | undefined;
|
|
295
|
+
readonly boardContext?: string | undefined;
|
|
296
|
+
readonly boardRevision: string;
|
|
297
|
+
readonly boardSourcePath?: string | undefined;
|
|
298
|
+
readonly checks?: {
|
|
299
|
+
readonly evidence: readonly string[];
|
|
300
|
+
readonly failedChecks?: readonly string[] | undefined;
|
|
301
|
+
readonly head: string;
|
|
302
|
+
readonly passed: boolean;
|
|
303
|
+
readonly pending?: boolean | undefined;
|
|
304
|
+
readonly repairPrompt?: string | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
readonly completedAt?: number | undefined;
|
|
307
|
+
readonly conflictRepairs?: readonly string[] | undefined;
|
|
308
|
+
readonly cwd: string;
|
|
309
|
+
readonly decision?: {
|
|
310
|
+
readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
|
|
311
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
312
|
+
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;
|
|
313
|
+
readonly id: string;
|
|
314
|
+
readonly links: readonly string[];
|
|
315
|
+
readonly publicationWork?: {
|
|
316
|
+
readonly approved: boolean;
|
|
317
|
+
readonly areas?: readonly string[] | undefined;
|
|
318
|
+
readonly context: string;
|
|
319
|
+
readonly deliverable?: "report" | undefined;
|
|
320
|
+
readonly dependsOn: readonly string[];
|
|
321
|
+
readonly revision: string;
|
|
322
|
+
readonly sourcePath: string;
|
|
323
|
+
readonly status?: string | undefined;
|
|
324
|
+
readonly workId: string;
|
|
325
|
+
} | undefined;
|
|
326
|
+
readonly published?: {
|
|
327
|
+
readonly itemId: string;
|
|
328
|
+
readonly questionId: string;
|
|
329
|
+
readonly request: string;
|
|
330
|
+
readonly revision: string;
|
|
331
|
+
readonly sourcePath: string;
|
|
332
|
+
readonly workId: string;
|
|
333
|
+
readonly workRevision: string;
|
|
334
|
+
readonly workSourcePath: string;
|
|
335
|
+
} | undefined;
|
|
336
|
+
readonly reason: string;
|
|
337
|
+
readonly recommendation: string;
|
|
338
|
+
readonly worker?: {
|
|
339
|
+
readonly sessionId: string;
|
|
340
|
+
readonly turnId: string;
|
|
341
|
+
} | undefined;
|
|
342
|
+
} | undefined;
|
|
343
|
+
readonly decisionAcknowledged?: boolean | undefined;
|
|
344
|
+
readonly decisionPublished?: boolean | undefined;
|
|
345
|
+
readonly deliverable?: "report" | undefined;
|
|
346
|
+
readonly integrationRetry?: {
|
|
347
|
+
readonly error: string;
|
|
348
|
+
readonly failures: number;
|
|
349
|
+
readonly retryAt: number;
|
|
350
|
+
} | undefined;
|
|
351
|
+
readonly launch?: {
|
|
352
|
+
readonly effort?: string | undefined;
|
|
353
|
+
readonly model?: string | undefined;
|
|
354
|
+
readonly serviceTier?: string | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
readonly launchRetry?: {
|
|
357
|
+
readonly prompt?: string | undefined;
|
|
358
|
+
readonly rejectedAt: number;
|
|
359
|
+
readonly rejections: number;
|
|
360
|
+
readonly retryAt: number;
|
|
361
|
+
} | undefined;
|
|
362
|
+
readonly mergeAreasReleased?: boolean | undefined;
|
|
363
|
+
readonly mergeReadyAt?: number | undefined;
|
|
364
|
+
readonly mergeReadyHead?: string | undefined;
|
|
365
|
+
readonly outcome?: {
|
|
366
|
+
readonly head: string;
|
|
367
|
+
readonly revision: string;
|
|
368
|
+
readonly url: string;
|
|
369
|
+
} | {
|
|
370
|
+
readonly evidence: readonly string[];
|
|
371
|
+
} | undefined;
|
|
372
|
+
readonly pendingAnswers?: readonly string[] | undefined;
|
|
373
|
+
readonly preparation: {
|
|
374
|
+
readonly baselinePaths: readonly string[];
|
|
375
|
+
readonly baseRevision: string;
|
|
376
|
+
readonly configuration: readonly {
|
|
377
|
+
readonly path: string;
|
|
378
|
+
readonly relevantKeys: readonly string[];
|
|
379
|
+
}[];
|
|
380
|
+
readonly contextComplete: boolean;
|
|
381
|
+
readonly dependencyPaths: readonly string[];
|
|
382
|
+
readonly observedAt: number;
|
|
383
|
+
readonly ownedPaths: readonly string[];
|
|
384
|
+
readonly qualityPaths: readonly string[];
|
|
385
|
+
readonly setupPaths: readonly string[];
|
|
386
|
+
readonly sourcePaths: readonly string[];
|
|
387
|
+
readonly validation: readonly {
|
|
388
|
+
readonly command: string;
|
|
389
|
+
readonly revision: string;
|
|
390
|
+
}[];
|
|
391
|
+
};
|
|
392
|
+
readonly prompt: string;
|
|
393
|
+
readonly releaseReason?: string | undefined;
|
|
394
|
+
readonly report?: {
|
|
395
|
+
readonly itemId: string;
|
|
396
|
+
readonly receipt: {
|
|
397
|
+
readonly sessionId: string;
|
|
398
|
+
readonly turnId: string;
|
|
399
|
+
};
|
|
400
|
+
readonly revision: string;
|
|
401
|
+
readonly sourcePath: string;
|
|
402
|
+
readonly workRevision: string;
|
|
403
|
+
} | undefined;
|
|
404
|
+
readonly responses?: readonly {
|
|
405
|
+
readonly action?: "continue" | "release" | "retry" | undefined;
|
|
406
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
407
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
408
|
+
readonly decisionId: string;
|
|
409
|
+
readonly processedAt: number;
|
|
410
|
+
readonly published?: {
|
|
411
|
+
readonly itemId: string;
|
|
412
|
+
readonly questionId: string;
|
|
413
|
+
readonly request: string;
|
|
414
|
+
readonly revision: string;
|
|
415
|
+
readonly sourcePath: string;
|
|
416
|
+
readonly workId: string;
|
|
417
|
+
readonly workRevision: string;
|
|
418
|
+
readonly workSourcePath: string;
|
|
419
|
+
} | undefined;
|
|
420
|
+
readonly questionId: string;
|
|
421
|
+
readonly questionRevision: string;
|
|
422
|
+
readonly responseId: string;
|
|
423
|
+
readonly type: "answer" | "clarify" | "not_now";
|
|
424
|
+
}[] | undefined;
|
|
425
|
+
readonly result?: {
|
|
426
|
+
readonly head: string;
|
|
427
|
+
readonly kind: "change";
|
|
428
|
+
readonly paths: readonly string[];
|
|
429
|
+
readonly pr: string;
|
|
430
|
+
readonly prNumber?: number | undefined;
|
|
431
|
+
} | {
|
|
432
|
+
readonly evidence: readonly string[];
|
|
433
|
+
readonly head: string;
|
|
434
|
+
readonly kind: "no-change";
|
|
435
|
+
} | undefined;
|
|
436
|
+
readonly resultObservations?: readonly ({
|
|
437
|
+
readonly head: string;
|
|
438
|
+
readonly kind: "change";
|
|
439
|
+
readonly paths: readonly string[];
|
|
440
|
+
readonly pr: string;
|
|
441
|
+
readonly prNumber?: number | undefined;
|
|
442
|
+
} | {
|
|
443
|
+
readonly evidence: readonly string[];
|
|
444
|
+
readonly head: string;
|
|
445
|
+
readonly kind: "no-change";
|
|
446
|
+
})[] | undefined;
|
|
447
|
+
readonly review?: {
|
|
448
|
+
readonly evidence: readonly string[];
|
|
449
|
+
readonly findings?: readonly string[] | undefined;
|
|
450
|
+
readonly head: string;
|
|
451
|
+
readonly receipt: {
|
|
452
|
+
readonly sessionId: string;
|
|
453
|
+
readonly turnId: string;
|
|
454
|
+
};
|
|
455
|
+
readonly repairPrompt: string;
|
|
456
|
+
readonly verdict: "approved" | "changes";
|
|
457
|
+
} | undefined;
|
|
458
|
+
readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
|
|
459
|
+
readonly stageEnteredAt?: number | undefined;
|
|
460
|
+
readonly supersededDecisions?: readonly {
|
|
461
|
+
readonly boardAcknowledged?: boolean | undefined;
|
|
462
|
+
readonly boardAcknowledgementDisposition?: "superseded" | undefined;
|
|
463
|
+
readonly published: {
|
|
464
|
+
readonly itemId: string;
|
|
465
|
+
readonly questionId: string;
|
|
466
|
+
readonly request: string;
|
|
467
|
+
readonly revision: string;
|
|
468
|
+
readonly sourcePath: string;
|
|
469
|
+
readonly workId: string;
|
|
470
|
+
readonly workRevision: string;
|
|
471
|
+
readonly workSourcePath: string;
|
|
472
|
+
};
|
|
473
|
+
readonly reassignedTo?: {
|
|
474
|
+
readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
|
|
475
|
+
readonly decisionId: string;
|
|
476
|
+
} | undefined;
|
|
477
|
+
readonly supersededAt: number;
|
|
478
|
+
}[] | undefined;
|
|
479
|
+
readonly updatedAt?: number | undefined;
|
|
480
|
+
readonly archivedAt: number;
|
|
481
|
+
}[] | undefined;
|
|
482
|
+
readonly workId: string;
|
|
483
|
+
}>, import("../policy.ts").BoardFailure | Conflict | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageQuota, never>;
|
|
484
|
+
//# sourceMappingURL=reassignCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reassignCommand.d.ts","sourceRoot":"","sources":["../../src/engine/reassignCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oZAqCjD"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { Conflict } from "@shivaedev/platform/errors/taxonomy.ts";
|
|
3
|
+
import { closeDecisions } from "#engine/closeDecisions.ts";
|
|
4
|
+
import { ensurePublication } from "#engine/ensurePublication.ts";
|
|
5
|
+
export function reassignCommand(state) {
|
|
6
|
+
return Effect.fn("Fleet.reassign")(function* (workId, decisionId, attentionOwner) {
|
|
7
|
+
let stored = yield* state.load(workId);
|
|
8
|
+
if (stored.value.stage !== "needs-human" || stored.value.decision?.id !== decisionId) {
|
|
9
|
+
const prior = stored.value.supersededDecisions?.find((receipt) => receipt.published.request === decisionId);
|
|
10
|
+
if (prior?.reassignedTo?.attentionOwner === attentionOwner && prior.reassignedTo.decisionId === stored.value.decision?.id) {
|
|
11
|
+
stored = yield* ensurePublication(state)(stored);
|
|
12
|
+
return yield* closeDecisions(state)(stored);
|
|
13
|
+
}
|
|
14
|
+
return yield* Effect.fail(new Conflict({ message: "The waiting decision changed" }));
|
|
15
|
+
}
|
|
16
|
+
stored = yield* ensurePublication(state)(stored);
|
|
17
|
+
const previous = stored.value.decision;
|
|
18
|
+
if (previous?.published === undefined) {
|
|
19
|
+
return yield* Effect.fail(new Conflict({ message: "Publish the current decision before reassignment" }));
|
|
20
|
+
}
|
|
21
|
+
if (stored.value.attentionOwner === attentionOwner && previous.attentionOwner === attentionOwner) {
|
|
22
|
+
return yield* closeDecisions(state)(stored);
|
|
23
|
+
}
|
|
24
|
+
const decision = { ...previous, attentionOwner, id: `${workId}.${stored.version}`, published: undefined };
|
|
25
|
+
stored = yield* state.save(stored, {
|
|
26
|
+
...stored.value,
|
|
27
|
+
attentionOwner,
|
|
28
|
+
blocker: undefined,
|
|
29
|
+
decision,
|
|
30
|
+
decisionPublished: false,
|
|
31
|
+
supersededDecisions: [
|
|
32
|
+
...(stored.value.supersededDecisions ?? []),
|
|
33
|
+
{ published: previous.published, reassignedTo: { attentionOwner, decisionId: decision.id }, supersededAt: state.policy.now() },
|
|
34
|
+
],
|
|
35
|
+
});
|
|
36
|
+
stored = yield* ensurePublication(state)(stored);
|
|
37
|
+
return yield* closeDecisions(state)(stored);
|
|
38
|
+
}, (effect) => effect.pipe(Effect.catchTag("StorageConflict", () => Effect.fail(new Conflict({ message: "The waiting decision changed" })))));
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=reassignCommand.js.map
|