Commit Graph
2080 Commits
Author SHA1 Message Date
DottaandPaperclip b88158bc82 Merge historical cleanup fixture repair into sleep-07-tool-review-projection
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:17 -05:00
DottaandPaperclip d5af91e508 Merge historical cleanup fixture repair into sleep-06-interrupted-tool-recovery
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:16 -05:00
DottaandPaperclip f50921371c Merge historical cleanup fixture repair into sleep-05-approved-tool-recovery
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:16 -05:00
DottaandPaperclip fde5e42f02 Merge historical cleanup fixture repair into sleep-04-tool-review-expiry
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:16 -05:00
DottaandPaperclip 390bbf1102 Merge historical cleanup fixture repair into sleep-03-gateway-credential-expiry
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:16 -05:00
DottaandPaperclip 1160da1702 Merge historical cleanup fixture repair into sleep-02-secret-proposal-expiry
Propagate the verified historical cleanup deadline observation correction while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:14:15 -05:00
DottaandPaperclip d945965c4a Wait for historical cleanup retry discovery in its regression test
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 22:13:28 -05:00
DottaandPaperclip fa93beba30 Merge recovery fixture settlement repairs into sleep-07-tool-review-projection
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:07 -05:00
DottaandPaperclip 94ace362a8 Merge recovery fixture settlement repairs into sleep-06-interrupted-tool-recovery
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:07 -05:00
DottaandPaperclip b01729cb19 Merge recovery fixture settlement repairs into sleep-05-approved-tool-recovery
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:07 -05:00
DottaandPaperclip 79c9d5c0f0 Merge recovery fixture settlement repairs into sleep-04-tool-review-expiry
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:07 -05:00
DottaandPaperclip 7e8dffbcc7 Merge recovery fixture settlement repairs into sleep-03-gateway-credential-expiry
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:06 -05:00
DottaandPaperclip bd023a8997 Merge recovery fixture settlement repairs into sleep-02-secret-proposal-expiry
Propagate the verified foreground recovery and login cleanup fixture corrections while preserving this PR boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:06 -05:00
DottaandPaperclip 6b9874f9b8 Carry login cleanup fixture settlement through the whole stack
Backport the existing deadline-aware settlement helper so earlier PRs no longer leave fake-time cleanup work paused beyond their initial clock jump. All sixteen login lifecycle cases pass.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-26 21:10:06 -05:00
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 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
DottaandPaperclip a5be42b19f Merge deadline precision repair into shared expiry scheduling
Keep the shared deadline owner introduced here and apply the parent fix to it. Custom-image, secret-proposal, and startup regression suites pass: 122 tests.

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