@shivaedev/work-fleet 0.4.0 → 0.6.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 +23 -0
- package/README.md +2 -2
- package/dist/admit.d.ts +0 -2
- package/dist/admit.d.ts.map +1 -1
- package/dist/board/acknowledgeDecision.d.ts.map +1 -1
- package/dist/board/acknowledgeDecision.js +4 -2
- package/dist/board/acknowledgeDecision.js.map +1 -1
- package/dist/engine/abandonStalled.d.ts +0 -36
- package/dist/engine/abandonStalled.d.ts.map +1 -1
- package/dist/engine/admissionOrder.d.ts +0 -4
- package/dist/engine/admissionOrder.d.ts.map +1 -1
- package/dist/engine/applyResolution.d.ts +0 -4
- package/dist/engine/applyResolution.d.ts.map +1 -1
- package/dist/engine/approveBrief.d.ts +0 -6
- package/dist/engine/approveBrief.d.ts.map +1 -1
- package/dist/engine/authorizeResolution.d.ts +0 -34
- package/dist/engine/authorizeResolution.d.ts.map +1 -1
- package/dist/engine/boardBrief.d.ts +0 -6
- package/dist/engine/boardBrief.d.ts.map +1 -1
- package/dist/engine/capacityRetry.d.ts +0 -104
- package/dist/engine/capacityRetry.d.ts.map +1 -1
- package/dist/engine/closeDecisions.d.ts +0 -4
- package/dist/engine/closeDecisions.d.ts.map +1 -1
- package/dist/engine/completeBoardWork.d.ts +0 -4
- package/dist/engine/completeBoardWork.d.ts.map +1 -1
- package/dist/engine/completeReport.d.ts +0 -4
- package/dist/engine/completeReport.d.ts.map +1 -1
- package/dist/engine/continueCommand.d.ts +0 -2
- package/dist/engine/continueCommand.d.ts.map +1 -1
- package/dist/engine/continueWorker.d.ts +0 -4
- package/dist/engine/continueWorker.d.ts.map +1 -1
- package/dist/engine/deliverPendingAnswers.d.ts +0 -40
- package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.d.ts +1 -4
- package/dist/engine/dispatchCommand.d.ts.map +1 -1
- package/dist/engine/dispatchCommand.js +1 -3
- package/dist/engine/dispatchCommand.js.map +1 -1
- package/dist/engine/ensureDecisionOwner.d.ts +0 -4
- package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
- package/dist/engine/ensurePublication.d.ts +0 -4
- package/dist/engine/ensurePublication.d.ts.map +1 -1
- package/dist/engine/inspectRenewal.d.ts +0 -4
- package/dist/engine/inspectRenewal.d.ts.map +1 -1
- package/dist/engine/launchInput.d.ts +0 -2
- package/dist/engine/launchInput.d.ts.map +1 -1
- package/dist/engine/launchReceipt.d.ts +0 -2
- package/dist/engine/launchReceipt.d.ts.map +1 -1
- package/dist/engine/makeAdopt.d.ts +0 -4
- package/dist/engine/makeAdopt.d.ts.map +1 -1
- package/dist/engine/makeAdvance.d.ts +0 -2
- package/dist/engine/makeAdvance.d.ts.map +1 -1
- package/dist/engine/makeDeliver.d.ts +0 -4
- package/dist/engine/makeDeliver.d.ts.map +1 -1
- package/dist/engine/makeHuman.d.ts +0 -4
- package/dist/engine/makeHuman.d.ts.map +1 -1
- package/dist/engine/makeLaunch.d.ts +0 -4
- package/dist/engine/makeLaunch.d.ts.map +1 -1
- package/dist/engine/makeObserve.d.ts +0 -4
- package/dist/engine/makeObserve.d.ts.map +1 -1
- package/dist/engine/makeReview.d.ts +0 -4
- package/dist/engine/makeReview.d.ts.map +1 -1
- package/dist/engine/makeState.d.ts +1 -32
- package/dist/engine/makeState.d.ts.map +1 -1
- package/dist/engine/makeState.js +9 -1
- package/dist/engine/makeState.js.map +1 -1
- package/dist/engine/makeValidate.d.ts +0 -4
- package/dist/engine/makeValidate.d.ts.map +1 -1
- package/dist/engine/mergeReadiness.d.ts +0 -42
- package/dist/engine/mergeReadiness.d.ts.map +1 -1
- package/dist/engine/observeDeliveryFailure.d.ts +0 -36
- package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
- package/dist/engine/observeRenewal.d.ts +0 -6
- package/dist/engine/observeRenewal.d.ts.map +1 -1
- package/dist/engine/obtainReview.d.ts +0 -2
- 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 +0 -26
- 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 +0 -4
- package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
- package/dist/engine/prepareCommand.d.ts +0 -2
- package/dist/engine/prepareCommand.d.ts.map +1 -1
- package/dist/engine/queueAnswerCommand.d.ts +0 -2
- package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
- package/dist/engine/readOrContinueReview.d.ts +0 -2
- 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/readRetry.d.ts +0 -72
- package/dist/engine/readRetry.d.ts.map +1 -1
- package/dist/engine/reassignCommand.d.ts +0 -2
- package/dist/engine/reassignCommand.d.ts.map +1 -1
- package/dist/engine/reconcileAttempt.d.ts +0 -2
- package/dist/engine/reconcileAttempt.d.ts.map +1 -1
- package/dist/engine/reconcileCommand.d.ts +0 -2
- package/dist/engine/reconcileCommand.d.ts.map +1 -1
- package/dist/engine/recordResponseCommand.d.ts +0 -2
- package/dist/engine/recordResponseCommand.d.ts.map +1 -1
- package/dist/engine/recoverStall.d.ts +0 -36
- package/dist/engine/recoverStall.d.ts.map +1 -1
- package/dist/engine/recoverUnobservable.d.ts +0 -36
- package/dist/engine/recoverUnobservable.d.ts.map +1 -1
- package/dist/engine/refreshBrief.d.ts +0 -72
- package/dist/engine/refreshBrief.d.ts.map +1 -1
- package/dist/engine/refreshReviewResult.d.ts +0 -4
- package/dist/engine/refreshReviewResult.d.ts.map +1 -1
- package/dist/engine/releaseClosedPreparation.d.ts +0 -36
- package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
- package/dist/engine/releaseExecution.d.ts +0 -36
- package/dist/engine/releaseExecution.d.ts.map +1 -1
- package/dist/engine/releaseFinishedWork.d.ts +0 -2
- 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 +0 -24
- package/dist/engine/repository.d.ts.map +1 -1
- package/dist/engine/requestConflictRepair.d.ts +0 -36
- package/dist/engine/requestConflictRepair.d.ts.map +1 -1
- package/dist/engine/requestRework.d.ts +0 -4
- package/dist/engine/requestRework.d.ts.map +1 -1
- package/dist/engine/resolveCommand.d.ts +0 -2
- package/dist/engine/resolveCommand.d.ts.map +1 -1
- package/dist/engine/resolveExecution.d.ts +0 -36
- package/dist/engine/resolveExecution.d.ts.map +1 -1
- package/dist/engine/resumeAttempt.d.ts +0 -36
- package/dist/engine/resumeAttempt.d.ts.map +1 -1
- package/dist/engine/retireUnacknowledged.d.ts +0 -4
- package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
- package/dist/engine/retryTerminal.d.ts +0 -34
- package/dist/engine/retryTerminal.d.ts.map +1 -1
- package/dist/engine/saveLaunch.d.ts +1 -39
- package/dist/engine/saveLaunch.d.ts.map +1 -1
- package/dist/engine/saveLaunch.js +15 -2
- package/dist/engine/saveLaunch.js.map +1 -1
- package/dist/engine/scheduler.d.ts +0 -4
- package/dist/engine/scheduler.d.ts.map +1 -1
- package/dist/engine/sessionCleanup.d.ts +0 -4
- package/dist/engine/sessionCleanup.d.ts.map +1 -1
- package/dist/engine/settleMergedDelivery.d.ts +0 -36
- package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
- package/dist/engine/steerBrief.d.ts +0 -38
- package/dist/engine/steerBrief.d.ts.map +1 -1
- package/dist/engine/submissionFailure.d.ts +0 -32
- package/dist/engine/submissionFailure.d.ts.map +1 -1
- package/dist/engine/submitLaunch.d.ts +0 -34
- package/dist/engine/submitLaunch.d.ts.map +1 -1
- package/dist/engine/workerReport.d.ts +0 -6
- package/dist/engine/workerReport.d.ts.map +1 -1
- package/dist/fleet.d.ts +0 -26
- package/dist/fleet.d.ts.map +1 -1
- package/dist/host/admission.d.ts +0 -4
- package/dist/host/admission.d.ts.map +1 -1
- package/dist/host/answerWork.d.ts +0 -2
- package/dist/host/answerWork.d.ts.map +1 -1
- package/dist/host/commands.d.ts +0 -1089
- package/dist/host/commands.d.ts.map +1 -1
- package/dist/host/commands.js +1 -13
- package/dist/host/commands.js.map +1 -1
- package/dist/host/daemon.d.ts +0 -18
- package/dist/host/daemon.d.ts.map +1 -1
- package/dist/host/daemonClient.d.ts +0 -18
- package/dist/host/daemonClient.d.ts.map +1 -1
- package/dist/host/daemonContract.d.ts +0 -26
- package/dist/host/daemonContract.d.ts.map +1 -1
- package/dist/host/daemonHandlers.d.ts.map +1 -1
- package/dist/host/daemonHandlers.js +1 -1
- package/dist/host/daemonHandlers.js.map +1 -1
- package/dist/host/{status.d.ts → fleetStatus.d.ts} +1 -3
- package/dist/host/fleetStatus.d.ts.map +1 -0
- package/dist/host/{status.js → fleetStatus.js} +1 -5
- package/dist/host/fleetStatus.js.map +1 -0
- package/dist/host/releaseWork.d.ts +0 -4
- 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/model.d.ts +0 -3
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +0 -1
- package/dist/model.js.map +1 -1
- package/dist/operations.d.ts +0 -42
- package/dist/operations.d.ts.map +1 -1
- package/dist/packageInfo.d.ts +1 -1
- package/dist/packageInfo.js +1 -1
- package/dist/qualifyDependencies.d.ts +0 -2
- package/dist/qualifyDependencies.d.ts.map +1 -1
- package/dist/scheduling/admission.d.ts +0 -6
- package/dist/scheduling/admission.d.ts.map +1 -1
- package/dist/scheduling/areas.d.ts +1 -6
- 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 +0 -6
- package/dist/scheduling/backPressure.d.ts.map +1 -1
- package/dist/storage/fleetMigrations.d.ts.map +1 -1
- package/dist/storage/fleetMigrations.js +5 -0
- package/dist/storage/fleetMigrations.js.map +1 -1
- package/dist/storage/model.d.ts +1 -0
- package/dist/storage/model.d.ts.map +1 -1
- package/package.json +7 -6
- package/src/board/acknowledgeDecision.ts +4 -2
- package/src/engine/dispatchCommand.ts +1 -3
- package/src/engine/makeState.ts +10 -1
- package/src/engine/obtainReview.ts +1 -1
- package/src/engine/pendingAcknowledgements.ts +9 -1
- package/src/engine/readOrContinueReview.ts +1 -1
- package/src/engine/releaseFinishedWork.ts +0 -1
- package/src/engine/saveLaunch.ts +25 -2
- package/src/host/commands.ts +1 -16
- package/src/host/daemonHandlers.ts +1 -1
- package/src/host/{status.ts → fleetStatus.ts} +0 -5
- package/src/host/releaseWork.ts +5 -2
- package/src/model.ts +0 -1
- package/src/packageInfo.ts +1 -1
- package/src/scheduling/areas.ts +2 -2
- package/src/storage/fleetMigrations.ts +5 -0
- package/src/storage/model.ts +1 -1
- package/dist/host/reassignWork.d.ts +0 -549
- package/dist/host/reassignWork.d.ts.map +0 -1
- package/dist/host/reassignWork.js +0 -9
- package/dist/host/reassignWork.js.map +0 -1
- package/dist/host/status.d.ts.map +0 -1
- package/dist/host/status.js.map +0 -1
- package/src/host/reassignWork.ts +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0 - 2026-10-18
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Export `holdsAreas(record, now, mergeWaitMs)` from `scheduling/areas.ts` to share Fleet's area ownership predicate.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- A retry answer on a Board context changed decision now records a single applied receipt instead of also queueing a superseded one, and Fleet refuses to write a second receipt for a question that already has one.
|
|
12
|
+
- Work with unmet dependencies no longer blocks ready work in the same area, including when an existing waiter becomes blocked. Eligible waiters retain their queue order. Area queue checks read only earlier waiters, so an unreadable later item cannot block ready work ahead of it.
|
|
13
|
+
- Repairs and continuations of current area holders skip waiter eligibility reads, so an unreadable earlier waiter cannot prevent them from continuing. Work that must reacquire an area still checks earlier waiters and storage ownership.
|
|
14
|
+
|
|
15
|
+
### Breaking
|
|
16
|
+
|
|
17
|
+
- Remove `FleetRecord.admissionReady` and `FleetCycleSnapshot.admissionReady`; the database migration drops their current and archived columns. `LaunchAdmission.areaWaiters` and `AdmissionLimits.scheduling.waiters` are now required lists of eligible work IDs.
|
|
18
|
+
|
|
19
|
+
## 0.5.0 - 2026-10-18
|
|
20
|
+
|
|
21
|
+
### Breaking
|
|
22
|
+
|
|
23
|
+
- Remove `runFleet`, `continueWork` and `dispatchWork` from `host/commands.ts`, and remove `host/reassignWork.ts` and its `reassignWork` export. Run the host with `serveFleet` from `host/daemon.ts`.
|
|
24
|
+
- Remove the `renderStatus` pass-through from `host/status.ts`; import it directly from `host/renderStatus.ts`. Import `fleetStatus` from `host/fleetStatus.ts` after the module rename.
|
|
25
|
+
|
|
3
26
|
## 0.4.0 - 2026-10-18
|
|
4
27
|
|
|
5
28
|
### Added
|
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ fleet-launch:
|
|
|
108
108
|
|
|
109
109
|
The launch fields are strings. Omitted fields inherit the host settings; without host settings or an override, they inherit provider defaults. An invalid override fails before dispatch. The selected settings also apply to repair turns. `src/board/fleetField.test.ts`, `src/host/commands.test.ts` and `src/engine/launchSettings.spec.ts` cover these rules.
|
|
110
110
|
|
|
111
|
-
The worker brief is the authored content in the item's own Markdown source. Editing a linked goal, plan, report or decision, or an unrelated item, does not change that brief. When prepared or active work has no open decision, Fleet approves an edited brief in place on the next pass if it still has `fleet: approved`, its owner is omitted or `codex`, and its status is not `done`, `superseded` or `deferred`. The worker keeps its session, turn and PR without a Board context changed decision. A changed brief that fails these conditions still stops for a human. `work-fleet dispatch <id>` can explicitly approve the current approved brief in place, even while its worker turn runs. Retry on the context decision approves the brief that decision was published against; an answer to a decision from before an edit cannot approve the new brief. Approval updates the stored context and prompt,
|
|
111
|
+
The worker brief is the authored content in the item's own Markdown source. Editing a linked goal, plan, report or decision, or an unrelated item, does not change that brief. When prepared or active work has no open decision, Fleet approves an edited brief in place on the next pass if it still has `fleet: approved`, its owner is omitted or `codex`, and its status is not `done`, `superseded` or `deferred`. The worker keeps its session, turn and PR without a Board context changed decision. A changed brief that fails these conditions still stops for a human. `work-fleet dispatch <id>` can explicitly approve the current approved brief in place, even while its worker turn runs. Retry on the context decision approves the brief that decision was published against; an answer to a decision from before an edit cannot approve the new brief. Approval updates the stored context and prompt, closes the decision and preserves the current thread and PR. A retry answer closes it with one applied receipt for that answer; dispatch closes it as superseded. Fleet records at most one receipt per question. When the worker or repair turn has an active receipt, Fleet steers it through the existing provider steer operation with a summary of the changes followed by the full new brief. Each authored revision is attempted at most once per turn, including after restart or a brief reverting to a previously steered revision. The approved brief and steer intent commit together before the provider call. CLI status records the request time, acknowledged delivery time or failure; interrupted delivery remains unconfirmed and is not replayed. Unsupported or failed steering leaves the updated brief in place for independent review and later repairs on the same worker thread. Completed turns and reviewers receive no brief steer. `src/engine/briefSteering.spec.ts`, `src/engine/briefSteerRecovery.spec.ts` and `src/host/briefSteering.spec.ts` prove these boundaries with real PostgreSQL, synthetic providers and a daemon SIGKILL/restart. Removing approval stops further execution. Changing the item's `status`, including `done`, preserves work that has started and its open decisions. That work completes through the normal execution, review and delivery path; only an explicit release answer releases unfinished execution ownership. Uncertain provider receipts retain ownership for reconciliation. `src/engine/approvedBrief.spec.ts`, `src/engine/contextScope.spec.ts`, `src/engine/contextAuthority.spec.ts` and `src/host/approvedRevision.spec.ts`, `src/host/approveBrief.spec.ts`, `src/engine/briefApproval.spec.ts` and `src/engine/staleDecisions.spec.ts` cover these transitions against PostgreSQL with Markdown Board fixtures and a synthetic provider.
|
|
112
112
|
|
|
113
113
|
Cloud hosts compute the Board directory's repository-relative path only when that directory is inside the repository and git-ignored. Before launching, Fleet checks each criterion's text for that path. A match publishes an orchestrator decision naming the criteria and explaining that Cloud workers cannot read local-only Board data, without starting a session. Edit the criteria to use data available to the worker, then dispatch again. Local workers, Board directories outside the repository, directories that are not ignored, and paths mentioned only in the body do not trigger this guard. `src/host/localOnlyCriteria.spec.ts` covers these cases and dispatch after an edit against PostgreSQL with a synthetic repository and provider.
|
|
114
114
|
|
|
@@ -313,7 +313,7 @@ Cloud host configuration accepts `cloud.threadNamePrefix` (default `Fleet: `), `
|
|
|
313
313
|
|
|
314
314
|
Fleet persists the session acknowledgement before naming it. Launch naming retains the acknowledged work ID and loads only that record; `src/engine/sessionNaming.spec.ts` proves one lookup with both one and 1,000 stored records, and rejection of missing or ambiguous intents without scanning other records. Naming is best-effort: a rejected or failed request logs a warning with the session ID and cause, then Fleet starts the turn. Project assignment is sent with `thread/start`. `work-fleet name-threads` reads all stored Fleet records, including archived cycles and acknowledged sessions without turns, and renames threads whose current names differ from their Fleet names. It reports each rename to stdout and each read or rename failure to stderr, then continues other sessions. Shared threads are visited once and retain their original role and context. Repeating the command skips successful names and retries failures. `src/engine/threadNames.test.ts`, `src/providers/cloudMetadataFlow.spec.ts` and `src/host/cloudThreadNamesFlow.spec.ts` cover formatting, startup ordering, best-effort failures and backfill idempotence with real PostgreSQL and a synthetic Cloud backend.
|
|
315
315
|
|
|
316
|
-
Restart the host with the same SQL namespace. An attempt intent commits before `thread/start`, its session acknowledgement commits before `turn/start`, and its turn acknowledgement commits before observation. SIGKILL tests against real PostgreSQL and a synthetic Cloud server cover both sides of these mutations and recovery of 10 concurrent attempts with lost turn acknowledgements. These tests prove host persistence and Cloud adapter wire behavior; they do not prove live hosted execution.
|
|
316
|
+
Restart the host with the same SQL namespace. An attempt intent commits before `thread/start`, its session acknowledgement commits before `turn/start`, and its turn acknowledgement commits before observation. The SIGKILL tests in `src/host/cloudRestart.spec.ts` and `src/host/cloudFanout.spec.ts` spawn `serveFleet` for the initial daemon and its restart against real PostgreSQL and a synthetic Cloud server. They cover both sides of these mutations and recovery of 10 concurrent attempts with lost turn acknowledgements. These tests prove host persistence and Cloud adapter wire behavior; they do not prove live hosted execution.
|
|
317
317
|
|
|
318
318
|
If the session ID is known, reconciliation searches all provider turn pages for the persisted operation ID and adopts the exact existing receipt. For an acknowledged Cloud thread with no turns, Fleet polls for `cloud.recoveryGraceMs` (default five seconds) to allow late acceptance to appear. If the thread remains empty, Fleet confirms its environment and starts the saved turn on that same thread, retaining the attempt and operation ID. Retry on a missing-turn decision uses the same recovery, including prepared prompts from older worker records. Recovery requires the current Board revision to remain approved. Missing or incomplete thread evidence, unrelated turns and duplicate operation matches stay blocked. If the thread acknowledgement itself was lost, the current protocol cannot locate that thread by operation ID: Fleet retains the attempt and reservation and raises a human blocker. Recovery never starts another thread for that attempt. `src/host/cloudRestart.spec.ts` proves empty-thread recovery after the configured grace, late acceptance and guided retry after SIGKILL against real PostgreSQL and a synthetic Cloud server; `src/providers/recoverTurn.test.ts` covers the grace period and uncertain evidence. Provider unavailability after session acknowledgement and a mismatched setting after thread creation also retain unresolved ownership.
|
|
319
319
|
|
package/dist/admit.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare const admit: (work: {
|
|
|
13
13
|
readonly status?: string | undefined;
|
|
14
14
|
readonly workId: string;
|
|
15
15
|
}, records: readonly {
|
|
16
|
-
readonly admissionReady?: boolean | undefined;
|
|
17
16
|
readonly areas?: readonly string[] | undefined;
|
|
18
17
|
readonly attempts: readonly {
|
|
19
18
|
readonly abandoned?: {
|
|
@@ -283,7 +282,6 @@ export declare const admit: (work: {
|
|
|
283
282
|
}[] | undefined;
|
|
284
283
|
readonly updatedAt?: number | undefined;
|
|
285
284
|
readonly history?: readonly {
|
|
286
|
-
readonly admissionReady?: boolean | undefined;
|
|
287
285
|
readonly areas?: readonly string[] | undefined;
|
|
288
286
|
readonly attempts: readonly {
|
|
289
287
|
readonly abandoned?: {
|
package/dist/admit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admit.d.ts","sourceRoot":"","sources":["../src/admit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9E,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"admit.d.ts","sourceRoot":"","sources":["../src/admit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9E,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAIH,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,+CA4B9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acknowledgeDecision.d.ts","sourceRoot":"","sources":["../../src/board/acknowledgeDecision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,EAAE,KAAK,aAAa,EAAqB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAqC,MAAM,kBAAkB,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"acknowledgeDecision.d.ts","sourceRoot":"","sources":["../../src/board/acknowledgeDecision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,EAAE,KAAK,aAAa,EAAqB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAqC,MAAM,kBAAkB,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC;;;;;;;;;;;;;;gFAwCvH"}
|
|
@@ -33,8 +33,10 @@ export function acknowledgeDecision(root, realRoot, snapshot) {
|
|
|
33
33
|
const content = `---\n${JSON.stringify({ id, kind: "result", "request_receipt": requestReceipt })}\n---\n# Managed request acknowledgement\n\nThis immutable receipt acknowledges request handling; it grants no execution, acceptance or delivery authority.\n`;
|
|
34
34
|
const file = `responses/${id}.md`;
|
|
35
35
|
const receiptDocument = { file, parsed: boardApi.metadataParse(content) };
|
|
36
|
-
const
|
|
37
|
-
|
|
36
|
+
const others = all.filter((document) => document.file !== file);
|
|
37
|
+
const acknowledged = others.some((document) => document.parsed.fields.requestReceipt?.question === decision.questionId);
|
|
38
|
+
const model = metadataModel([...others, receiptDocument]);
|
|
39
|
+
if (!request || acknowledged || managedRequestReceipt(source, request, model) === undefined) {
|
|
38
40
|
return yield* Effect.fail(new BoardAcknowledgementStale({ message: "The exact managed question and applicable response cannot be qualified for acknowledgement." }));
|
|
39
41
|
}
|
|
40
42
|
yield* publish(root, realRoot, id, content).pipe(Effect.mapError(() => new BoardFailure({ message: "The managed request acknowledgement could not be recorded on Board." })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acknowledgeDecision.js","sourceRoot":"","sources":["../../src/board/acknowledgeDecision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAsB,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAqC,MAAM,kBAAkB,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,EAAE,qBAAqB,EAAE,GAAG,SAAS,CAAC;AAC5C,MAAM,EAAE,aAAa,EAAE,GAAG,QAAQ,CAAC;AACnC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GA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AI,KAAK,IAAI,CAAC,CAAC;QAChE,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,QAAQ,KAAK,QAAQ,CAAC,UAAU,CAAC,CAAC;QACxH,MAAM,KAAK,GAAG,aAAa,CAAC,CAAC,GAAG,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,IAAI,YAAY,IAAI,qBAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;YAC7F,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CACxB,IAAI,yBAAyB,CAAC,EAAE,OAAO,EAAE,6FAA6F,EAAE,CAAC,CACzI,CAAC;QACH,CAAC;QACD,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,CAC/C,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,YAAY,CAAC,EAAE,OAAO,EAAE,qEAAqE,EAAE,CAAC,CAAC,CAC3H,CAAC;QACF,KAAK,CAAC,CAAC,iBAAiB,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,6 @@ export declare const abandonStalled: (state: {
|
|
|
15
15
|
};
|
|
16
16
|
current: Effect.Effect<import("../policy.ts").FleetConfiguration, never, never>;
|
|
17
17
|
decision: (stored: Versioned<{
|
|
18
|
-
readonly admissionReady?: boolean | undefined;
|
|
19
18
|
readonly areas?: readonly string[] | undefined;
|
|
20
19
|
readonly attempts: readonly {
|
|
21
20
|
readonly abandoned?: {
|
|
@@ -285,7 +284,6 @@ export declare const abandonStalled: (state: {
|
|
|
285
284
|
}[] | undefined;
|
|
286
285
|
readonly updatedAt?: number | undefined;
|
|
287
286
|
readonly history?: readonly {
|
|
288
|
-
readonly admissionReady?: boolean | undefined;
|
|
289
287
|
readonly areas?: readonly string[] | undefined;
|
|
290
288
|
readonly attempts: readonly {
|
|
291
289
|
readonly abandoned?: {
|
|
@@ -573,7 +571,6 @@ export declare const abandonStalled: (state: {
|
|
|
573
571
|
readonly workId: string;
|
|
574
572
|
} | undefined) => Effect.Effect<{
|
|
575
573
|
value: {
|
|
576
|
-
readonly admissionReady?: boolean | undefined;
|
|
577
574
|
readonly areas?: readonly string[] | undefined;
|
|
578
575
|
readonly attempts: readonly {
|
|
579
576
|
readonly abandoned?: {
|
|
@@ -843,7 +840,6 @@ export declare const abandonStalled: (state: {
|
|
|
843
840
|
}[] | undefined;
|
|
844
841
|
readonly updatedAt?: number | undefined;
|
|
845
842
|
readonly history?: readonly {
|
|
846
|
-
readonly admissionReady?: boolean | undefined;
|
|
847
843
|
readonly areas?: readonly string[] | undefined;
|
|
848
844
|
readonly attempts: readonly {
|
|
849
845
|
readonly abandoned?: {
|
|
@@ -1134,7 +1130,6 @@ export declare const abandonStalled: (state: {
|
|
|
1134
1130
|
launchScope: import("effect/Scope").Scope;
|
|
1135
1131
|
load: (workId: string) => Effect.Effect<{
|
|
1136
1132
|
value: {
|
|
1137
|
-
readonly admissionReady?: boolean | undefined;
|
|
1138
1133
|
readonly areas?: readonly string[] | undefined;
|
|
1139
1134
|
readonly attempts: readonly {
|
|
1140
1135
|
readonly abandoned?: {
|
|
@@ -1404,7 +1399,6 @@ export declare const abandonStalled: (state: {
|
|
|
1404
1399
|
}[] | undefined;
|
|
1405
1400
|
readonly updatedAt?: number | undefined;
|
|
1406
1401
|
readonly history?: readonly {
|
|
1407
|
-
readonly admissionReady?: boolean | undefined;
|
|
1408
1402
|
readonly areas?: readonly string[] | undefined;
|
|
1409
1403
|
readonly attempts: readonly {
|
|
1410
1404
|
readonly abandoned?: {
|
|
@@ -1685,7 +1679,6 @@ export declare const abandonStalled: (state: {
|
|
|
1685
1679
|
}>;
|
|
1686
1680
|
save: (stored: Versioned<FleetRecord>, value: FleetRecord, admission?: import("#engine/makeState.ts").LaunchAdmission) => Effect.Effect<{
|
|
1687
1681
|
value: {
|
|
1688
|
-
readonly admissionReady?: boolean | undefined;
|
|
1689
1682
|
readonly areas?: readonly string[] | undefined;
|
|
1690
1683
|
readonly attempts: readonly {
|
|
1691
1684
|
readonly abandoned?: {
|
|
@@ -1955,7 +1948,6 @@ export declare const abandonStalled: (state: {
|
|
|
1955
1948
|
}[] | undefined;
|
|
1956
1949
|
readonly updatedAt?: number | undefined;
|
|
1957
1950
|
readonly history?: readonly {
|
|
1958
|
-
readonly admissionReady?: boolean | undefined;
|
|
1959
1951
|
readonly areas?: readonly string[] | undefined;
|
|
1960
1952
|
readonly attempts: readonly {
|
|
1961
1953
|
readonly abandoned?: {
|
|
@@ -2321,7 +2313,6 @@ export declare const abandonStalled: (state: {
|
|
|
2321
2313
|
readonly backlog: boolean;
|
|
2322
2314
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
2323
2315
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
2324
|
-
readonly admissionReady?: boolean | undefined;
|
|
2325
2316
|
readonly areas?: readonly string[] | undefined;
|
|
2326
2317
|
readonly attempts: readonly {
|
|
2327
2318
|
readonly abandoned?: {
|
|
@@ -2591,7 +2582,6 @@ export declare const abandonStalled: (state: {
|
|
|
2591
2582
|
}[] | undefined;
|
|
2592
2583
|
readonly updatedAt?: number | undefined;
|
|
2593
2584
|
readonly history?: readonly {
|
|
2594
|
-
readonly admissionReady?: boolean | undefined;
|
|
2595
2585
|
readonly areas?: readonly string[] | undefined;
|
|
2596
2586
|
readonly attempts: readonly {
|
|
2597
2587
|
readonly abandoned?: {
|
|
@@ -2865,7 +2855,6 @@ export declare const abandonStalled: (state: {
|
|
|
2865
2855
|
readonly workId: string;
|
|
2866
2856
|
}, limits?: import("#storage/model.ts").AdmissionLimits) => Effect.Effect<{
|
|
2867
2857
|
value: {
|
|
2868
|
-
readonly admissionReady?: boolean | undefined;
|
|
2869
2858
|
readonly areas?: readonly string[] | undefined;
|
|
2870
2859
|
readonly attempts: readonly {
|
|
2871
2860
|
readonly abandoned?: {
|
|
@@ -3135,7 +3124,6 @@ export declare const abandonStalled: (state: {
|
|
|
3135
3124
|
}[] | undefined;
|
|
3136
3125
|
readonly updatedAt?: number | undefined;
|
|
3137
3126
|
readonly history?: readonly {
|
|
3138
|
-
readonly admissionReady?: boolean | undefined;
|
|
3139
3127
|
readonly areas?: readonly string[] | undefined;
|
|
3140
3128
|
readonly attempts: readonly {
|
|
3141
3129
|
readonly abandoned?: {
|
|
@@ -3412,7 +3400,6 @@ export declare const abandonStalled: (state: {
|
|
|
3412
3400
|
}, 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>;
|
|
3413
3401
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
3414
3402
|
insert: (record: {
|
|
3415
|
-
readonly admissionReady?: boolean | undefined;
|
|
3416
3403
|
readonly areas?: readonly string[] | undefined;
|
|
3417
3404
|
readonly attempts: readonly {
|
|
3418
3405
|
readonly abandoned?: {
|
|
@@ -3682,7 +3669,6 @@ export declare const abandonStalled: (state: {
|
|
|
3682
3669
|
}[] | undefined;
|
|
3683
3670
|
readonly updatedAt?: number | undefined;
|
|
3684
3671
|
readonly history?: readonly {
|
|
3685
|
-
readonly admissionReady?: boolean | undefined;
|
|
3686
3672
|
readonly areas?: readonly string[] | undefined;
|
|
3687
3673
|
readonly attempts: readonly {
|
|
3688
3674
|
readonly abandoned?: {
|
|
@@ -3956,7 +3942,6 @@ export declare const abandonStalled: (state: {
|
|
|
3956
3942
|
readonly workId: string;
|
|
3957
3943
|
}, limits?: import("#storage/model.ts").AdmissionLimits) => Effect.Effect<{
|
|
3958
3944
|
value: {
|
|
3959
|
-
readonly admissionReady?: boolean | undefined;
|
|
3960
3945
|
readonly areas?: readonly string[] | undefined;
|
|
3961
3946
|
readonly attempts: readonly {
|
|
3962
3947
|
readonly abandoned?: {
|
|
@@ -4226,7 +4211,6 @@ export declare const abandonStalled: (state: {
|
|
|
4226
4211
|
}[] | undefined;
|
|
4227
4212
|
readonly updatedAt?: number | undefined;
|
|
4228
4213
|
readonly history?: readonly {
|
|
4229
|
-
readonly admissionReady?: boolean | undefined;
|
|
4230
4214
|
readonly areas?: readonly string[] | undefined;
|
|
4231
4215
|
readonly attempts: readonly {
|
|
4232
4216
|
readonly abandoned?: {
|
|
@@ -4502,7 +4486,6 @@ export declare const abandonStalled: (state: {
|
|
|
4502
4486
|
version: number;
|
|
4503
4487
|
}, 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>;
|
|
4504
4488
|
list: () => Effect.Effect<Versioned<{
|
|
4505
|
-
readonly admissionReady?: boolean | undefined;
|
|
4506
4489
|
readonly areas?: readonly string[] | undefined;
|
|
4507
4490
|
readonly attempts: readonly {
|
|
4508
4491
|
readonly abandoned?: {
|
|
@@ -4772,7 +4755,6 @@ export declare const abandonStalled: (state: {
|
|
|
4772
4755
|
}[] | undefined;
|
|
4773
4756
|
readonly updatedAt?: number | undefined;
|
|
4774
4757
|
readonly history?: readonly {
|
|
4775
|
-
readonly admissionReady?: boolean | undefined;
|
|
4776
4758
|
readonly areas?: readonly string[] | undefined;
|
|
4777
4759
|
readonly attempts: readonly {
|
|
4778
4760
|
readonly abandoned?: {
|
|
@@ -5047,7 +5029,6 @@ export declare const abandonStalled: (state: {
|
|
|
5047
5029
|
}>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5048
5030
|
load: (workId: string) => Effect.Effect<{
|
|
5049
5031
|
value: {
|
|
5050
|
-
readonly admissionReady?: boolean | undefined;
|
|
5051
5032
|
readonly areas?: readonly string[] | undefined;
|
|
5052
5033
|
readonly attempts: readonly {
|
|
5053
5034
|
readonly abandoned?: {
|
|
@@ -5317,7 +5298,6 @@ export declare const abandonStalled: (state: {
|
|
|
5317
5298
|
}[] | undefined;
|
|
5318
5299
|
readonly updatedAt?: number | undefined;
|
|
5319
5300
|
readonly history?: readonly {
|
|
5320
|
-
readonly admissionReady?: boolean | undefined;
|
|
5321
5301
|
readonly areas?: readonly string[] | undefined;
|
|
5322
5302
|
readonly attempts: readonly {
|
|
5323
5303
|
readonly abandoned?: {
|
|
@@ -5608,7 +5588,6 @@ export declare const abandonStalled: (state: {
|
|
|
5608
5588
|
readonly backlog: boolean;
|
|
5609
5589
|
}) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
5610
5590
|
compareAndSet: (workId: string, expectedVersion: number, record: {
|
|
5611
|
-
readonly admissionReady?: boolean | undefined;
|
|
5612
5591
|
readonly areas?: readonly string[] | undefined;
|
|
5613
5592
|
readonly attempts: readonly {
|
|
5614
5593
|
readonly abandoned?: {
|
|
@@ -5878,7 +5857,6 @@ export declare const abandonStalled: (state: {
|
|
|
5878
5857
|
}[] | undefined;
|
|
5879
5858
|
readonly updatedAt?: number | undefined;
|
|
5880
5859
|
readonly history?: readonly {
|
|
5881
|
-
readonly admissionReady?: boolean | undefined;
|
|
5882
5860
|
readonly areas?: readonly string[] | undefined;
|
|
5883
5861
|
readonly attempts: readonly {
|
|
5884
5862
|
readonly abandoned?: {
|
|
@@ -6152,7 +6130,6 @@ export declare const abandonStalled: (state: {
|
|
|
6152
6130
|
readonly workId: string;
|
|
6153
6131
|
}, limits?: import("#storage/model.ts").AdmissionLimits) => Effect.Effect<{
|
|
6154
6132
|
value: {
|
|
6155
|
-
readonly admissionReady?: boolean | undefined;
|
|
6156
6133
|
readonly areas?: readonly string[] | undefined;
|
|
6157
6134
|
readonly attempts: readonly {
|
|
6158
6135
|
readonly abandoned?: {
|
|
@@ -6422,7 +6399,6 @@ export declare const abandonStalled: (state: {
|
|
|
6422
6399
|
}[] | undefined;
|
|
6423
6400
|
readonly updatedAt?: number | undefined;
|
|
6424
6401
|
readonly history?: readonly {
|
|
6425
|
-
readonly admissionReady?: boolean | undefined;
|
|
6426
6402
|
readonly areas?: readonly string[] | undefined;
|
|
6427
6403
|
readonly attempts: readonly {
|
|
6428
6404
|
readonly abandoned?: {
|
|
@@ -6699,7 +6675,6 @@ export declare const abandonStalled: (state: {
|
|
|
6699
6675
|
}, 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>;
|
|
6700
6676
|
hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
6701
6677
|
insert: (record: {
|
|
6702
|
-
readonly admissionReady?: boolean | undefined;
|
|
6703
6678
|
readonly areas?: readonly string[] | undefined;
|
|
6704
6679
|
readonly attempts: readonly {
|
|
6705
6680
|
readonly abandoned?: {
|
|
@@ -6969,7 +6944,6 @@ export declare const abandonStalled: (state: {
|
|
|
6969
6944
|
}[] | undefined;
|
|
6970
6945
|
readonly updatedAt?: number | undefined;
|
|
6971
6946
|
readonly history?: readonly {
|
|
6972
|
-
readonly admissionReady?: boolean | undefined;
|
|
6973
6947
|
readonly areas?: readonly string[] | undefined;
|
|
6974
6948
|
readonly attempts: readonly {
|
|
6975
6949
|
readonly abandoned?: {
|
|
@@ -7243,7 +7217,6 @@ export declare const abandonStalled: (state: {
|
|
|
7243
7217
|
readonly workId: string;
|
|
7244
7218
|
}, limits?: import("#storage/model.ts").AdmissionLimits) => Effect.Effect<{
|
|
7245
7219
|
value: {
|
|
7246
|
-
readonly admissionReady?: boolean | undefined;
|
|
7247
7220
|
readonly areas?: readonly string[] | undefined;
|
|
7248
7221
|
readonly attempts: readonly {
|
|
7249
7222
|
readonly abandoned?: {
|
|
@@ -7513,7 +7486,6 @@ export declare const abandonStalled: (state: {
|
|
|
7513
7486
|
}[] | undefined;
|
|
7514
7487
|
readonly updatedAt?: number | undefined;
|
|
7515
7488
|
readonly history?: readonly {
|
|
7516
|
-
readonly admissionReady?: boolean | undefined;
|
|
7517
7489
|
readonly areas?: readonly string[] | undefined;
|
|
7518
7490
|
readonly attempts: readonly {
|
|
7519
7491
|
readonly abandoned?: {
|
|
@@ -7789,7 +7761,6 @@ export declare const abandonStalled: (state: {
|
|
|
7789
7761
|
version: number;
|
|
7790
7762
|
}, 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>;
|
|
7791
7763
|
list: () => Effect.Effect<Versioned<{
|
|
7792
|
-
readonly admissionReady?: boolean | undefined;
|
|
7793
7764
|
readonly areas?: readonly string[] | undefined;
|
|
7794
7765
|
readonly attempts: readonly {
|
|
7795
7766
|
readonly abandoned?: {
|
|
@@ -8059,7 +8030,6 @@ export declare const abandonStalled: (state: {
|
|
|
8059
8030
|
}[] | undefined;
|
|
8060
8031
|
readonly updatedAt?: number | undefined;
|
|
8061
8032
|
readonly history?: readonly {
|
|
8062
|
-
readonly admissionReady?: boolean | undefined;
|
|
8063
8033
|
readonly areas?: readonly string[] | undefined;
|
|
8064
8034
|
readonly attempts: readonly {
|
|
8065
8035
|
readonly abandoned?: {
|
|
@@ -8334,7 +8304,6 @@ export declare const abandonStalled: (state: {
|
|
|
8334
8304
|
}>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
|
|
8335
8305
|
load: (workId: string) => Effect.Effect<{
|
|
8336
8306
|
value: {
|
|
8337
|
-
readonly admissionReady?: boolean | undefined;
|
|
8338
8307
|
readonly areas?: readonly string[] | undefined;
|
|
8339
8308
|
readonly attempts: readonly {
|
|
8340
8309
|
readonly abandoned?: {
|
|
@@ -8604,7 +8573,6 @@ export declare const abandonStalled: (state: {
|
|
|
8604
8573
|
}[] | undefined;
|
|
8605
8574
|
readonly updatedAt?: number | undefined;
|
|
8606
8575
|
readonly history?: readonly {
|
|
8607
|
-
readonly admissionReady?: boolean | undefined;
|
|
8608
8576
|
readonly areas?: readonly string[] | undefined;
|
|
8609
8577
|
readonly attempts: readonly {
|
|
8610
8578
|
readonly abandoned?: {
|
|
@@ -8885,7 +8853,6 @@ export declare const abandonStalled: (state: {
|
|
|
8885
8853
|
}[], import("effect/sql/SqlError").SqlError, never>;
|
|
8886
8854
|
}, "operationEntries">>;
|
|
8887
8855
|
}, stored: Versioned<{
|
|
8888
|
-
readonly admissionReady?: boolean | undefined;
|
|
8889
8856
|
readonly areas?: readonly string[] | undefined;
|
|
8890
8857
|
readonly attempts: readonly {
|
|
8891
8858
|
readonly abandoned?: {
|
|
@@ -9155,7 +9122,6 @@ export declare const abandonStalled: (state: {
|
|
|
9155
9122
|
}[] | undefined;
|
|
9156
9123
|
readonly updatedAt?: number | undefined;
|
|
9157
9124
|
readonly history?: readonly {
|
|
9158
|
-
readonly admissionReady?: boolean | undefined;
|
|
9159
9125
|
readonly areas?: readonly string[] | undefined;
|
|
9160
9126
|
readonly attempts: readonly {
|
|
9161
9127
|
readonly abandoned?: {
|
|
@@ -9428,7 +9394,6 @@ export declare const abandonStalled: (state: {
|
|
|
9428
9394
|
}[] | undefined;
|
|
9429
9395
|
readonly workId: string;
|
|
9430
9396
|
}>) => Effect.Effect<Versioned<{
|
|
9431
|
-
readonly admissionReady?: boolean | undefined;
|
|
9432
9397
|
readonly areas?: readonly string[] | undefined;
|
|
9433
9398
|
readonly attempts: readonly {
|
|
9434
9399
|
readonly abandoned?: {
|
|
@@ -9698,7 +9663,6 @@ export declare const abandonStalled: (state: {
|
|
|
9698
9663
|
}[] | undefined;
|
|
9699
9664
|
readonly updatedAt?: number | undefined;
|
|
9700
9665
|
readonly history?: readonly {
|
|
9701
|
-
readonly admissionReady?: boolean | undefined;
|
|
9702
9666
|
readonly areas?: readonly string[] | undefined;
|
|
9703
9667
|
readonly attempts: readonly {
|
|
9704
9668
|
readonly abandoned?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abandonStalled.d.ts","sourceRoot":"","sources":["../../src/engine/abandonStalled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AAExC,OAAO,KAAK,EAAW,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0RAwCzB,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { Effect } from "effect";
|
|
|
2
2
|
import type { EngineState } from "#engine/makeState.ts";
|
|
3
3
|
import type { Versioned } from "#storage/model.ts";
|
|
4
4
|
export declare function admissionOrder(state: EngineState): (records: readonly Versioned<{
|
|
5
|
-
readonly admissionReady?: boolean | undefined;
|
|
6
5
|
readonly areas?: readonly string[] | undefined;
|
|
7
6
|
readonly attempts: readonly {
|
|
8
7
|
readonly abandoned?: {
|
|
@@ -272,7 +271,6 @@ export declare function admissionOrder(state: EngineState): (records: readonly V
|
|
|
272
271
|
}[] | undefined;
|
|
273
272
|
readonly updatedAt?: number | undefined;
|
|
274
273
|
readonly history?: readonly {
|
|
275
|
-
readonly admissionReady?: boolean | undefined;
|
|
276
274
|
readonly areas?: readonly string[] | undefined;
|
|
277
275
|
readonly attempts: readonly {
|
|
278
276
|
readonly abandoned?: {
|
|
@@ -545,7 +543,6 @@ export declare function admissionOrder(state: EngineState): (records: readonly V
|
|
|
545
543
|
}[] | undefined;
|
|
546
544
|
readonly workId: string;
|
|
547
545
|
}>[]) => Effect.Effect<Versioned<{
|
|
548
|
-
readonly admissionReady?: boolean | undefined;
|
|
549
546
|
readonly areas?: readonly string[] | undefined;
|
|
550
547
|
readonly attempts: readonly {
|
|
551
548
|
readonly abandoned?: {
|
|
@@ -815,7 +812,6 @@ export declare function admissionOrder(state: EngineState): (records: readonly V
|
|
|
815
812
|
}[] | undefined;
|
|
816
813
|
readonly updatedAt?: number | undefined;
|
|
817
814
|
readonly history?: readonly {
|
|
818
|
-
readonly admissionReady?: boolean | undefined;
|
|
819
815
|
readonly areas?: readonly string[] | undefined;
|
|
820
816
|
readonly attempts: readonly {
|
|
821
817
|
readonly abandoned?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admissionOrder.d.ts","sourceRoot":"","sources":["../../src/engine/admissionOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW
|
|
1
|
+
{"version":3,"file":"admissionOrder.d.ts","sourceRoot":"","sources":["../../src/engine/admissionOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAehD"}
|
|
@@ -2,7 +2,6 @@ import { Effect } from "effect";
|
|
|
2
2
|
import type { EngineState } from "#engine/makeState.ts";
|
|
3
3
|
import type { Versioned } from "#storage/model.ts";
|
|
4
4
|
export declare function applyResolution(state: EngineState): (stored: Versioned<{
|
|
5
|
-
readonly admissionReady?: boolean | undefined;
|
|
6
5
|
readonly areas?: readonly string[] | undefined;
|
|
7
6
|
readonly attempts: readonly {
|
|
8
7
|
readonly abandoned?: {
|
|
@@ -272,7 +271,6 @@ export declare function applyResolution(state: EngineState): (stored: Versioned<
|
|
|
272
271
|
}[] | undefined;
|
|
273
272
|
readonly updatedAt?: number | undefined;
|
|
274
273
|
readonly history?: readonly {
|
|
275
|
-
readonly admissionReady?: boolean | undefined;
|
|
276
274
|
readonly areas?: readonly string[] | undefined;
|
|
277
275
|
readonly attempts: readonly {
|
|
278
276
|
readonly abandoned?: {
|
|
@@ -565,7 +563,6 @@ export declare function applyResolution(state: EngineState): (stored: Versioned<
|
|
|
565
563
|
readonly responseId: string;
|
|
566
564
|
readonly type: "answer" | "clarify" | "not_now";
|
|
567
565
|
}[], action: "continue" | "release" | "retry" | undefined, body: string, responseId: string) => Effect.Effect<Versioned<{
|
|
568
|
-
readonly admissionReady?: boolean | undefined;
|
|
569
566
|
readonly areas?: readonly string[] | undefined;
|
|
570
567
|
readonly attempts: readonly {
|
|
571
568
|
readonly abandoned?: {
|
|
@@ -835,7 +832,6 @@ export declare function applyResolution(state: EngineState): (stored: Versioned<
|
|
|
835
832
|
}[] | undefined;
|
|
836
833
|
readonly updatedAt?: number | undefined;
|
|
837
834
|
readonly history?: readonly {
|
|
838
|
-
readonly admissionReady?: boolean | undefined;
|
|
839
835
|
readonly areas?: readonly string[] | undefined;
|
|
840
836
|
readonly attempts: readonly {
|
|
841
837
|
readonly abandoned?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyResolution.d.ts","sourceRoot":"","sources":["../../src/engine/applyResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW
|
|
1
|
+
{"version":3,"file":"applyResolution.d.ts","sourceRoot":"","sources":["../../src/engine/applyResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMxD,OAAO,KAAK,EAAE,S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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wnBAmBjD"}
|
|
@@ -4,7 +4,6 @@ import { type FleetRecord } from "#model.ts";
|
|
|
4
4
|
import type { BoardWork } from "#policy.ts";
|
|
5
5
|
import type { Versioned } from "#storage/model.ts";
|
|
6
6
|
export declare function approveBrief(state: EngineState): (input: Versioned<{
|
|
7
|
-
readonly admissionReady?: boolean | undefined;
|
|
8
7
|
readonly areas?: readonly string[] | undefined;
|
|
9
8
|
readonly attempts: readonly {
|
|
10
9
|
readonly abandoned?: {
|
|
@@ -274,7 +273,6 @@ export declare function approveBrief(state: EngineState): (input: Versioned<{
|
|
|
274
273
|
}[] | undefined;
|
|
275
274
|
readonly updatedAt?: number | undefined;
|
|
276
275
|
readonly history?: readonly {
|
|
277
|
-
readonly admissionReady?: boolean | undefined;
|
|
278
276
|
readonly areas?: readonly string[] | undefined;
|
|
279
277
|
readonly attempts: readonly {
|
|
280
278
|
readonly abandoned?: {
|
|
@@ -578,7 +576,6 @@ export declare function approveBrief(state: EngineState): (input: Versioned<{
|
|
|
578
576
|
readonly responseId: string;
|
|
579
577
|
readonly type: "answer" | "clarify" | "not_now";
|
|
580
578
|
}[] | undefined) => Effect.Effect<Versioned<{
|
|
581
|
-
readonly admissionReady?: boolean | undefined;
|
|
582
579
|
readonly areas?: readonly string[] | undefined;
|
|
583
580
|
readonly attempts: readonly {
|
|
584
581
|
readonly abandoned?: {
|
|
@@ -848,7 +845,6 @@ export declare function approveBrief(state: EngineState): (input: Versioned<{
|
|
|
848
845
|
}[] | undefined;
|
|
849
846
|
readonly updatedAt?: number | undefined;
|
|
850
847
|
readonly history?: readonly {
|
|
851
|
-
readonly admissionReady?: boolean | undefined;
|
|
852
848
|
readonly areas?: readonly string[] | undefined;
|
|
853
849
|
readonly attempts: readonly {
|
|
854
850
|
readonly abandoned?: {
|
|
@@ -1122,7 +1118,6 @@ export declare function approveBrief(state: EngineState): (input: Versioned<{
|
|
|
1122
1118
|
readonly workId: string;
|
|
1123
1119
|
}>, import("#policy.ts").BoardFailure | import("@shivaedev/platform/errors/taxonomy.ts").Forbidden | import("@shivaedev/platform/errors/taxonomy.ts").NotFound | import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
|
|
1124
1120
|
export declare function approveDispatchedBrief(state: EngineState, stored: Versioned<FleetRecord>, work: BoardWork, prompt?: string): Effect.Effect<Versioned<{
|
|
1125
|
-
readonly admissionReady?: boolean | undefined;
|
|
1126
1121
|
readonly areas?: readonly string[] | undefined;
|
|
1127
1122
|
readonly attempts: readonly {
|
|
1128
1123
|
readonly abandoned?: {
|
|
@@ -1392,7 +1387,6 @@ export declare function approveDispatchedBrief(state: EngineState, stored: Versi
|
|
|
1392
1387
|
}[] | undefined;
|
|
1393
1388
|
readonly updatedAt?: number | undefined;
|
|
1394
1389
|
readonly history?: readonly {
|
|
1395
|
-
readonly admissionReady?: boolean | undefined;
|
|
1396
1390
|
readonly areas?: readonly string[] | undefined;
|
|
1397
1391
|
readonly attempts: readonly {
|
|
1398
1392
|
readonly abandoned?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approveBrief.d.ts","sourceRoot":"","sources":["../../src/engine/approveBrief.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAOhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,YAAY,CAAC;AAC9D,OAAO,KAAK,EAA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