Commit Graph
6153 Commits
Author SHA1 Message Date
DottaandPaperclip a0e2a3515d fix(retention): wake blocker retention after no-run workspace export
Register finalization intent before state writes, preserving caller transactions. Shared workspace export invalidates only the company blocker source; known issue-only export stays scoped and unattached operations do not activate retention. Add actual recorder controls and the shared-root integration journey.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-31 02:00:39 -05:00
DottaandPaperclip a53f22861f fix(retention): exclude finalized blockers before graph bounds
Share the dependency owner finalization predicate with bounded blocker selection, resolve relation identities before correlated checks, and refuse automatic archives from incomplete fresh graphs. Cover completed history, live evidence and primary-key lookup work.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-31 00:40:30 -05:00
DottaandPaperclip 2aa0179c35 Merge qualified recovery grouping and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '0cb21925bf9901d818d456b8621ebf58e82ec119':
  Preserve native receipt grouping within each bounded worker pass
2026-10-31 00:06:47 -05:00
DottaandPaperclip 0cb21925bf Merge qualified recovery grouping and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '6e8119550dc3dccafa165d5aebed21bd43bb4ee3':
  Preserve native receipt grouping within each bounded worker pass
2026-10-31 00:06:47 -05:00
DottaandPaperclip 6e8119550d Preserve native receipt grouping within each bounded worker pass
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-31 00:06:19 -05:00
Dotta 96b516dcb6 Merge commit '499afce285c429f814f5cd22fd437bafabf530e7' into codex/sleep-final-qualified-18388
* commit '499afce285c429f814f5cd22fd437bafabf530e7':
  test: align deferred recovery clocks with real execution
  Keep recovery acceptance timers on their owning clock
  fix(server): recheck reactive sources after status summary commit
  test: measure retention page fairness on a controlled clock
  fix(heartbeat): resume saved chat work on feature enablement
  test: await resolved interaction execution before outcome assertions
  Wake saved conversation assignments when Agent Chat becomes enabled
2026-10-30 23:27:02 -05:00
Dotta 499afce285 Merge commit 'a0f5caa00241e9f2653992f47106bbe38fec130f' into codex/sleep-final-qualified-18401
* commit 'a0f5caa00241e9f2653992f47106bbe38fec130f':
  test: align deferred recovery clocks with real execution
  Keep recovery acceptance timers on their owning clock
  test: measure retention page fairness on a controlled clock
  fix(heartbeat): resume saved chat work on feature enablement
  test: await resolved interaction execution before outcome assertions
  Wake saved conversation assignments when Agent Chat becomes enabled

# Conflicts:
#	server/src/services/instance-settings.ts
2026-10-30 23:26:43 -05:00
DottaandPaperclip a0f5caa002 Merge qualified issue recovery and test prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '5c1ef3b5f4a49e2e45d915e66bd280ad34e0b863':
  Keep recovery acceptance timers on their owning clock
  test: measure retention page fairness on a controlled clock
  test: await resolved interaction execution before outcome assertions
  Wake saved conversation assignments when Agent Chat becomes enabled
2026-10-30 23:24:40 -05:00
DottaandPaperclip e6deb559ad test: align deferred recovery clocks with real execution
Keep manual receipt cursor progress when chat is disabled. Follow saved cleanup deadlines after actual child-process and PostgreSQL work settles, and preserve the exact failure-backoff boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 23:24:40 -05:00
Dotta 5c1ef3b5f4 Merge commit '3466bcdada87c9fec474014e441a78bae6af35fd' into codex/sleep-chat-recovery-flag-integrated-a3466
* commit '3466bcdada87c9fec474014e441a78bae6af35fd':
  test: measure retention page fairness on a controlled clock
  test: await resolved interaction execution before outcome assertions
2026-10-30 23:23:03 -05:00
DottaandPaperclip 005310cd0d Keep recovery acceptance timers on their owning clock
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 23:20:31 -05:00
DottaandPaperclip 3466bcdada Merge qualified continuation and fairness fixtures into dispatch scheduling
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '21aed2b3e490d396554189766410a50816b921e4':
  test: measure retention page fairness on a controlled clock
  test: await resolved interaction execution before outcome assertions
2026-10-30 23:09:12 -05:00
DottaandPaperclip 09a70c3bef fix(server): recheck reactive sources after status summary commit
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:55:58 -05:00
DottaandPaperclip 21aed2b3e4 test: measure retention page fairness on a controlled clock
Keep virtual time fixed while actual filesystem and database work settles, then advance the coordinator deadline. Preserve the three-second page-gap limit and snapshot grace assertions; starvation mutation remains detected.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:54:06 -05:00
DottaandPaperclip 8d027fd2b6 fix(heartbeat): resume saved chat work on feature enablement
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:47:56 -05:00
DottaandPaperclip 97dcec4226 test: await resolved interaction execution before outcome assertions
Observe the target adapter-start event, then await its existing run-specific completion barrier. Preserve succeeded, execution-count and review-promotion assertions, including deliberately slow completion beyond the old terminal poll.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:42:23 -05:00
DottaandPaperclip e43163bfaf Wake saved conversation assignments when Agent Chat becomes enabled
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:36:47 -05:00
Dotta 98a68b492f Merge verified sleep prerequisites into 01
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit 'd287074fba0ab0365d61416dadc392cc3078eee5':
  Remove unused aggregate watchdog diagnostics
  test: settle delegated chat completion before plan assertions
  test: settle saved retry cleanup before idle assertion
  fix: wake retry scheduling only when retry state changes

# Conflicts:
#	server/src/services/heartbeat/retries.ts
#	server/src/services/native-runtime/native-provider-capacity-retry.ts
2026-10-30 22:12:53 -05:00
Dotta d287074fba Merge verified sleep prerequisites into 07
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '78bd3560a886c7fd3eea03baccb6cf49f6e8499a':
  Remove unused aggregate watchdog diagnostics
  test: settle delegated chat completion before plan assertions
  test: settle saved retry cleanup before idle assertion
  fix: wake retry scheduling only when retry state changes

# Conflicts:
#	server/src/services/heartbeat/retries.ts
2026-10-30 22:12:31 -05:00
DottaandPaperclip 78bd3560a8 Merge verified sleep prerequisites into c1
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '08e27cfe096a2f1bad63cd344f525c6b76008647':
  Remove unused aggregate watchdog diagnostics
  test: settle delegated chat completion before plan assertions
2026-10-30 22:12:08 -05:00
DottaandPaperclip 08e27cfe09 Remove unused aggregate watchdog diagnostics
The deadline worker retains its incomplete-subtree error and classifier tests. Remove the obsolete reporter and its two isolated tests after its aggregate callers were removed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:12:07 -05:00
DottaandPaperclip aa8eb8147c Merge verified sleep prerequisites into 02b
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '1142e1b3eefae4a174787244794e7750942a4d65':
  test: settle delegated chat completion before plan assertions
2026-10-30 22:12:07 -05:00
DottaandPaperclip 1142e1b3ee Merge tested UI fixture prerequisite into retry scheduling
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '804a64a842be3255cb4c8d7c1e2f42e61f84908d':
  test: settle delegated chat completion before plan assertions
2026-10-30 22:11:26 -05:00
DottaandPaperclip 804a64a842 test: settle delegated chat completion before plan assertions
Handle completion notifications in the deterministic agent instead of replaying the original plan command. Wait for the real completion turn and retain exact plan revision, output, project, and assignee assertions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 22:10:55 -05:00
DottaandPaperclip 6ee17aae1c test: settle saved retry cleanup before idle assertion
Observe the specific succeeded retry before closing its task and draining all execution. Once execution has settled, advance bounded fake cleanup time while joining worker passes; retain the existing timeout, exact retry identity, output and zero-SQL assertions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:55:27 -05:00
DottaandPaperclip 822b173281 test: preserve retry producer boundaries in receipt recovery
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* fix/sleep-forward-02b-security:
  fix: wake retry scheduling only when retry state changes
2026-10-30 21:51:11 -05:00
Dotta 63c922a193 Merge commit 'c2ff3eb92113fb16713b270e34932636956ff16b' into fix/sleep-forward-02b-security
* commit 'c2ff3eb92113fb16713b270e34932636956ff16b':
  fix: wake retry scheduling only when retry state changes
2026-10-30 21:50:49 -05:00
DottaandPaperclip c2ff3eb921 fix: wake retry scheduling only when retry state changes
Separate retry-schedule notifications from ordinary queued-run eligibility. Preserve exact deadlines and prove native producer commit/rollback behavior without global retry scans on ordinary agent or issue edits.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:49:38 -05:00
Dotta 63bb758f01 test: integrate reviewed predecessor fixes for PR 18388
* commit '5e1a5974a74fa832a6db683726251a8cc1833c33':
  fix(server): fence status card refresh decisions and retry debt
  fix: park unchanged project budget execution waits
2026-10-30 21:20:29 -05:00
DottaandPaperclip 5e1a5974a7 Merge commit 'af7b7d3316c86cdefc0845dc90f26b7cb436b9d1' into codex/sleep-status-card-evaluation
* commit 'af7b7d3316c86cdefc0845dc90f26b7cb436b9d1':
  fix: park unchanged project budget execution waits

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:18:22 -05:00
DottaandPaperclip def5a23997 fix(server): fence status card refresh decisions and retry debt
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:18:05 -05:00
DottaandPaperclip af7b7d3316 fix: park unchanged project budget execution waits
Lock and re-read project pause eligibility before publishing budget intent. Cover actual project Retry parking/release and concurrent pause admission without no-op hints.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:13:42 -05:00
Dotta 09c96dc137 Merge commit 'bea9c6e4fd6f4845c22596b634cca0e52dd7f6f9' into codex/sleep-stack-01
* commit 'bea9c6e4fd6f4845c22596b634cca0e52dd7f6f9':
  test(ui): wait for task panel activation to settle
2026-10-30 20:56:19 -05:00
Dotta bea9c6e4fd Merge commit '51d63d74f73458a9e883a33ea03bd0b9fd20dc82' into codex/sleep-stack-07
* commit '51d63d74f73458a9e883a33ea03bd0b9fd20dc82':
  test(ui): wait for task panel activation to settle
2026-10-30 20:56:19 -05:00
Dotta 51d63d74f7 Merge commit 'c63317e1765ab2d6190ac2dbd8bf2dd311feb93a' into codex/sleep-stack-c1
* commit 'c63317e1765ab2d6190ac2dbd8bf2dd311feb93a':
  test(ui): wait for task panel activation to settle
2026-10-30 20:56:19 -05:00
Dotta c63317e176 Merge commit '32b522b03ee0ce74bc9a30ec7ebde95f02fdcf6e' into codex/sleep-stack-02b
* commit '32b522b03ee0ce74bc9a30ec7ebde95f02fdcf6e':
  test(ui): wait for task panel activation to settle
2026-10-30 20:56:18 -05:00
Dotta 32b522b03e Merge commit '5e0f8aab7665435f82f9cf022e8b2c5ff0d6ecd7' into codex/sleep-stack-02a
* commit '5e0f8aab7665435f82f9cf022e8b2c5ff0d6ecd7':
  test(ui): wait for task panel activation to settle
2026-10-30 20:56:18 -05:00
DottaandPaperclip 5e0f8aab76 test(ui): wait for task panel activation to settle
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:54:00 -05:00
Dotta 2248af92a8 Merge branch 'codex/sleep-stack-07' into codex/sleep-stack-01
* codex/sleep-stack-07:
  fix(ui): invalidate pending startup work on sign-out
  fix(server): park persisted deferred admission refusals
2026-10-30 20:51:05 -05:00
DottaandPaperclip 11e92e3875 merge: preserve typed admission refusals and status-card source signals
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:51:04 -05:00
Dotta a91c4280aa Merge commit '295f4f82722d92b93d8b5135399bca937116b536' into codex/sleep-stack-01
* commit '295f4f82722d92b93d8b5135399bca937116b536':
  test(server): preserve attention feed beyond blocker root budget
2026-10-30 20:51:04 -05:00
Dotta 6cf6495fd8 Merge branch 'codex/sleep-stack-02b' into codex/sleep-stack-c1
* codex/sleep-stack-02b:
  fix(ui): invalidate pending startup work on sign-out
2026-10-30 20:50:39 -05:00
Dotta c0fe0feffb Merge commit '19a97bbe57d1ebd3691c70dd822488efe7e5d3e1' into codex/sleep-stack-c1
* commit '19a97bbe57d1ebd3691c70dd822488efe7e5d3e1':
  fix(server): park persisted deferred admission refusals
2026-10-30 20:50:39 -05:00
Dotta 67cd9b285d Merge branch 'codex/sleep-stack-02a' into codex/sleep-stack-02b
* codex/sleep-stack-02a:
  fix(ui): invalidate pending startup work on sign-out
2026-10-30 20:50:38 -05:00
Dotta cec3046246 Merge commit 'a8783f8acebdb50b30cc8118e9d20da18d04fd3b' into codex/sleep-stack-02a
* commit 'a8783f8acebdb50b30cc8118e9d20da18d04fd3b':
  fix(ui): invalidate pending startup work on sign-out
2026-10-30 20:50:38 -05:00
DottaandPaperclip a8783f8ace fix(ui): invalidate pending startup work on sign-out
Keep session-readiness failures inside the existing bounded retry policy.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:44:52 -05:00
DottaandPaperclip 19a97bbe57 fix(server): park persisted deferred admission refusals
Distinguish a budget or agent refusal saved on the existing receipt from genuine recovery failure. Preserve HTTP409 messages and details, grant each new wait reason its existing finite grace, and retain failure backoff for unsaved or unexpected errors. Prove actual Retry admission,25-minute SQL quiet, independent warm producer-to-process release, missing/cancelled receipts and real PostgreSQL write failure.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:35:57 -05:00
DottaandPaperclip 295f4f8272 test(server): preserve attention feed beyond blocker root budget
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:35:52 -05:00
Dotta 17c1a82192 Merge branch 'codex/sleep-stack-c1' into codex/sleep-stack-07
* codex/sleep-stack-c1:
  fix(ui): supersede startup jobs when newer edits are admitted
2026-10-30 20:34:06 -05:00
Dotta bcc2cd2e21 Merge branch 'codex/sleep-stack-07' into codex/sleep-stack-01
* codex/sleep-stack-07:
  fix(ui): supersede startup jobs when newer edits are admitted
2026-10-30 20:34:06 -05:00