Commit Graph
2742 Commits
Author SHA1 Message Date
DottaandPaperclip f173144c79 Merge agent approval preparation recovery into sleep-07-tool-review-projection
Propagate the verified agent-origin preparation and dispatch-claim correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 20:10:03 -05:00
DottaandPaperclip 260d899d31 Merge agent approval recovery into interruption slice
Preserve the interruption owner and relocated shared fixtures while consuming the verified preparation and dispatch ownership correction.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 20:10:03 -05:00
DottaandPaperclip 280dad5e39 Preserve agent approvals across preparation failures
Share the undispatched claim-release and dispatch ownership boundary with Test-tab actions. Keep provider execution and uncertain outcomes outside preparation retry; verify real PostgreSQL timeout, competing claim, and no-replay behavior.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 20:09:34 -05:00
DottaandPaperclip 3993eeec68 Merge approved preparation recovery fix into sleep-07-tool-review-projection
Propagate the verified approved-action preparation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:50:52 -05:00
DottaandPaperclip ca7b44d131 Merge approved preparation recovery into interrupted-review slice
Keep the later shared Test-tab fixtures and interruption owner while carrying the new claim-release regression coverage.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:50:52 -05:00
DottaandPaperclip 86d82f1e17 Retain approved tool actions after pre-dispatch dependency failures
Release only the owned, undispatched Test-tab claim and leave provider outcomes outside the preparation retry boundary. Prove PostgreSQL read-timeout recovery, claim fencing, transaction rollback and no replay with real persisted state.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:50:08 -05:00
DottaandPaperclip b09ab059e5 Merge workspace recovery fix into sleep-07-tool-review-projection
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:46 -05:00
DottaandPaperclip ed2320b037 Merge workspace recovery fix into sleep-06-interrupted-tool-recovery
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:46 -05:00
DottaandPaperclip c5c6ecac74 Merge workspace recovery fix into sleep-05-approved-tool-recovery
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:46 -05:00
DottaandPaperclip 72d5d563f1 Merge workspace recovery fix into sleep-04-tool-review-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:45 -05:00
DottaandPaperclip bdb8ce40f2 Merge workspace recovery fix into sleep-03-gateway-credential-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:45 -05:00
DottaandPaperclip 171681888b Merge workspace recovery fix into sleep-02-secret-proposal-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:45 -05:00
DottaandPaperclip 2c0387d0be Preserve UUID literal type in workspace fairness fixture
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:32:44 -05:00
DottaandPaperclip 3ccc22b767 Align interaction test fixtures with bounded tool-link lookup
Model the query limit, preserve executing-action rejection, and supply an actual linked row for terminal expiry. An unlinked withdrawal now asserts that it does not issue a tool-action update.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:29:04 -05:00
DottaandPaperclip 92eec16592 Merge workspace recovery fix into sleep-07-tool-review-projection
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:04 -05:00
DottaandPaperclip b336158708 Merge workspace recovery fix into sleep-06-interrupted-tool-recovery
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:03 -05:00
DottaandPaperclip e7c2f2cbe4 Merge workspace recovery fix into sleep-05-approved-tool-recovery
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:03 -05:00
DottaandPaperclip 39a562c28d Merge workspace recovery fix into sleep-04-tool-review-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:03 -05:00
DottaandPaperclip 0e13585a5b Merge workspace recovery fix into sleep-03-gateway-credential-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:02 -05:00
DottaandPaperclip 7863913ff0 Merge workspace recovery fix into sleep-02-secret-proposal-expiry
Propagate the tested retained-workspace slot correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:28:02 -05:00
DottaandPaperclip 5ff99c2e0e Fix retained workspace candidate starvation behind active exports
Exclude locally owned exports before cursor pagination so a free slot discovers earlier candidates in the same pass. Make the CI regression deterministic without increasing its timeout.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 19:27:40 -05:00
DottaandPaperclip 622220dde4 Scope tool review projection recovery to linked company changes
Preserve startup reconstruction and legacy linked cards while keeping ordinary confirmations quiet. Integrate the verified parent startup fixture repair.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:50:13 -05:00
DottaandPaperclip ac9624d3ca Merge updated parent into sleep-06-interrupted-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:38:04 -05:00
DottaandPaperclip e937d89aa0 Merge updated parent into sleep-05-approved-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:38:04 -05:00
DottaandPaperclip 1ff4b95644 Merge updated parent into sleep-04-tool-review-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:38:04 -05:00
DottaandPaperclip f5f5a157d2 Merge updated parent into sleep-03-gateway-credential-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:38:04 -05:00
DottaandPaperclip b754e72720 test(server): prove secret expiry startup loads scoped deadlines
Record registration failures instead of discarding their evidence; use the current expiry service contract and assert successful deadline reconstruction.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:38:03 -05:00
DottaandPaperclip b2d69dc66b test(server): include company in saved review outcome signal
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:22:04 -05:00
DottaandPaperclip 0bb940250e Merge company-scoped review work into projection recovery
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:21:39 -05:00
DottaandPaperclip 800d00bc22 Merge scoped tool review notifications into interrupted recovery
Preserve execution ownership and register company-scoped work before settlement writes inside the existing transaction.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:21:12 -05:00
DottaandPaperclip b04548e345 fix(server): scope approved review recovery to affected companies
Keep startup reconstruction and paginated recovery in the existing owner. Preserve per-company retry deadlines across notifications and let healthy companies progress independently.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:20:18 -05:00
DottaandPaperclip 069eb3ca4a Merge company-scoped review notifications into approval recovery
Keep rate admission, locked history reconciliation, and formal approval parking while carrying company identity through every approval producer.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:12:32 -05:00
DottaandPaperclip b1bb59e286 fix(server): scope pending tool review expiry to company changes
Require company hints at existing review-write boundaries, refresh saved company deadlines, and drain bounded due batches without scanning unrelated companies.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 18:11:01 -05:00
DottaandPaperclip fa504d68e1 Merge updated parent into sleep-07-tool-review-projection
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:35 -05:00
DottaandPaperclip cb20460a2c Merge updated parent into sleep-06-interrupted-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:35 -05:00
DottaandPaperclip 35a912b1bb Merge updated parent into sleep-05-approved-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:35 -05:00
DottaandPaperclip a9f26387f5 Merge updated parent into sleep-03-gateway-credential-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:34 -05:00
DottaandPaperclip bad22d99b1 fix(server): scope secret expiry to committed company changes
Preserve saved deadlines, bounded company expiry, independent retry backoffs, and deletion invalidation. Move shared deadline dispatch earlier in the stack so expiry and later workers use one owner.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:34 -05:00
DottaandPaperclip ea99a4fe0f Merge updated parent into sleep-04-tool-review-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:40:34 -05:00
DottaandPaperclip b2eb8fdcef Merge updated parent into sleep-07-tool-review-projection
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:05:39 -05:00
DottaandPaperclip 4ea9db1440 Preserve saved cancelled tool outcomes during recovery
Treat cancelled invocations as terminal evidence instead of overwriting their recorded outcome with unknown-execution failure. The regression fails before the fix and all 14 interrupted-review worker cases pass.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 17:05:39 -05:00
DottaandPaperclip dd7463ebb1 Merge updated parent into sleep-07-tool-review-projection
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:55:33 -05:00
DottaandPaperclip 4eec699943 Merge approved-review repairs into interrupted-review recovery
Keep the shared test fixture introduced by this slice and carry forward its optional rate-limit policy.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:55:32 -05:00
DottaandPaperclip cd516fdc2b Settle invalid approved reviews and park pending formal decisions
Reconcile durable invocation history under the claim locks before dispatch, retain retries for configuration and dependency failures, and wake formal approval waits only from committed decisions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:54:57 -05:00
DottaandPaperclip fb7e906a27 Retain admitted rate slots while tool actions await approval
Reuse the durable admission only for the same bound invocation and unchanged rate rule. Keep approval, current permissions, policy changes, and execution claims with their existing owners. Cover agent and Test-tab foreground/recovery paths, approval-policy preservation, and invalid invocation states. All 139 gateway/policy cases and server typechecking pass.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:41:07 -05:00
DottaandPaperclip 8860c8c15c Merge updated parent into sleep-07-tool-review-projection
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:12:33 -05:00
DottaandPaperclip fd331d99f3 Merge updated parent into sleep-03-gateway-credential-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:12:32 -05:00
DottaandPaperclip 3962c5cbaa Merge updated parent into sleep-04-tool-review-expiry
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:12:32 -05:00
DottaandPaperclip 0a6571b8d7 Merge updated parent into sleep-06-interrupted-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:12:32 -05:00
DottaandPaperclip d8ae842246 Merge updated parent into sleep-05-approved-tool-recovery
Preserve the existing PR boundary while integrating master through the sleep migration stack.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 16:12:32 -05:00