Commit Graph
319 Commits
Author SHA1 Message Date
DottaandPaperclip cfa4e96ad4 Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '2ef4fa60c3d6f4dc9b7b739e0886f56c8ee2c3e5':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
  fix: cancel merge confirmation acceptance under lock
  Bound repeated external-object eligibility reconstruction
2026-10-31 02:02:03 -05:00
DottaandPaperclip 2ef4fa60c3 Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '2d273d7ebb66179fa5c7c51dcfed6fee7b1f4e16':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
  fix: cancel merge confirmation acceptance under lock
  Bound repeated external-object eligibility reconstruction
2026-10-31 02:02:01 -05:00
DottaandPaperclip 2d273d7ebb Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit 'a72a0a6d653a9b338669c6aba9bbd7f0855f98a7':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
  fix: cancel merge confirmation acceptance under lock
  Bound repeated external-object eligibility reconstruction
2026-10-31 02:01:59 -05:00
DottaandPaperclip a72a0a6d65 Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '2d59dd1ba339f9ba55faaa8ae5763f4e7d8e5fb1':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
  fix: cancel merge confirmation acceptance under lock
2026-10-31 02:01:56 -05:00
DottaandPaperclip 2d59dd1ba3 Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '74970cc21e2e5e1881516228bc7c7dbbba881a63':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
2026-10-31 02:01:55 -05:00
DottaandPaperclip 74970cc21e Merge qualified sleep review fixes and prerequisites
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '5726ecf7a39339c2d68b094d9bbe1b1d0c436845':
  fix(retention): wake blocker retention after no-run workspace export
  Bound blocker workspace history reads by candidate workspace
  Validate eligibility before first attention retention materialization
  fix(retention): exclude finalized blockers before graph bounds
  test: hold lifecycle verification before retry identity assertions
  Exercise saved legacy input through its eligibility producer
2026-10-31 02:01:53 -05:00
DottaandPaperclip 57f914747c Bound blocker workspace history reads by candidate workspace
Share finalized and legacy operation facts across blocker pairs, retaining attributed operation precedence and strict later-finalize semantics. Qualify retained and unrelated history using actual query plans and structural work limits.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-31 02:00:29 -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
Dotta de500e03ec Merge commit 'eb798009058f9d761ebea63491c711d0c60e3f1e' into codex/sleep-live-run-resource-recovery
* commit 'eb798009058f9d761ebea63491c711d0c60e3f1e':
  Remove trailing blank line in refresh notification module
  Remove unused aggregate watchdog diagnostics
  test: settle delegated chat completion before plan assertions
  test(github): isolate scheduler time from postgres housekeeping
  test: settle saved retry cleanup before idle assertion
  fix: wake retry scheduling only when retry state changes
  fix(external-objects): scope issue deletion activation
  fix: retain sandbox attachment run scope for backup cleanup

# Conflicts:
#	server/src/services/run-dispatch-notifications.ts
2026-10-30 22:14:39 -05:00
Dotta eb79800905 Merge verified sleep prerequisites into 04
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '11ba37c87c0de94b8fc1bc74e6d4bf24817ac11b':
  Remove trailing blank line in refresh notification module
  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
  fix(external-objects): scope issue deletion activation
  fix: retain sandbox attachment run scope for backup cleanup

# Conflicts:
#	server/src/services/heartbeat/retries.ts
#	server/src/services/native-runtime/native-provider-capacity-retry.ts
2026-10-30 22:13:41 -05:00
DottaandPaperclip 11ba37c87c Merge verified sleep prerequisites into 08
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit 'ca1d142f9bc339754dc1ae0a726b54e0923adb5d':
  Remove trailing blank line in refresh notification module
  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
  fix(external-objects): scope issue deletion activation
2026-10-30 22:13:16 -05:00
DottaandPaperclip 18cf130c4e fix(external-objects): scope issue deletion activation
Select distinct company-owned mention object IDs before the issue cascade and notify only those objects. Preserve shared references and unrelated future inventory without company-wide reconstruction.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:46:27 -05:00
DottaandPaperclip 03176bc44a Merge reviewed sleep worker predecessor into live recovery
Preserve all retention, routine, card and recovery notification topics and native event projection guards.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:03:51 -05:00
DottaandPaperclip d6c7c17589 Close native admission and stranded status producer edges
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 21:02:26 -05:00
DottaandPaperclip 8c72649a39 merge: preserve backup expiry alongside source-driven workers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:27:24 -05:00
DottaandPaperclip 28f37718da merge: retain external refresh and predecessor notifications
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:27:08 -05:00
DottaandPaperclip 8cc1e2be07 merge: preserve confirmation and attention mutation notifications
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:26:35 -05:00
DottaandPaperclip 40bd4df17b merge: preserve routine projections across retained execution producers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:26:14 -05:00
DottaandPaperclip 688f35763d merge: preserve attention, status-card and recovery source ownership
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:25:15 -05:00
DottaandPaperclip 9b4beff72b merge: preserve status-card and recovery producers in the review stack
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:24:40 -05:00
DottaandPaperclip d1af4fd954 merge: integrate deferred execution recovery with sleep workers
Preserve retention, status-card, routine, GitHub, and deferred eligibility notifications in each owning transaction.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:56:57 -05:00
Dotta 37a6f5dbaf Merge commit '8911cca5d0b43a9f8e8adddc8677b333b3f3d2bb' into codex/sleep-finish-integration
* commit '8911cca5d0b43a9f8e8adddc8677b333b3f3d2bb':
  fix(server): retain live evidence beyond blocker graph admission
2026-10-30 19:56:09 -05:00
DottaandPaperclip 8911cca5d0 fix(server): retain live evidence beyond blocker graph admission
Keep bounded returned child facts independent of graph node and edge admission, and use the existing live-work predicate for running status, active runs and pending waits. Cover the opposite query ordering with 1,999 explicit blockers, fresh retention checks, no archive/outbox and unchanged SQL/resource bounds.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:49:06 -05:00
DottaandPaperclip 9c81433fcc merge: retain bounded attention facts and trusted recovery origins
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '71d7b9f09e5a1a0c5c38bbd4084802dfd52f313d':
  fix(server): bound blocker facts and preserve origin authority
  test: model retention reads in native cleanup transaction fixture
2026-10-30 19:41:11 -05:00
DottaandPaperclip 71d7b9f09e fix(server): bound blocker facts and preserve origin authority
Resolve liveness/stranded references through trusted company issue rows, including valid none sentinels. Bound shared blocker nodes, edges and query results; return private deferred-root completeness so retention immediately performs finite exact source checks. Preserve already-observed live work, completed-root classification and true deadlines. Cover historical producer metadata, moved recovery tasks, many-heavy graph limits, quiet rechecks and faithful transaction fixtures.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:35:20 -05:00
DottaandPaperclip 30b9276354 Checkpoint scoped live recovery owners and durable cohorts
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:32:47 -05:00
DottaandPaperclip ac6c5191ee Drive saved execution receipts from committed work and deadlines
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:22:39 -05:00
Dotta 1f1b046d72 Integrate bounded attention-retention source reconciliation 2026-10-30 19:06:00 -05:00
DottaandPaperclip e41bde2146 fix(server): bound graph queries and scope issue retention work
Chunk graph recovery, agent and workspace inputs; prove a70000-node PostgreSQL graph stays below parameter limits. Route ordinary issue writes through identity-scoped dependency invalidation for old/new parents, blocker ancestors, run links and liveness origins. Correlate all issue-related attention sources, preserve unrelated deadlines, and canonicalize notification keys. Exercise actual held/burst producers, visibility, relation and incident transitions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:01:12 -05:00
Dotta 0fe6e038c2 Restore independent recovery duties and bound committed-source work 2026-10-30 18:58:39 -05:00
Dotta f657d9326c Integrate per-root retention traversal budgets 2026-10-30 18:33:04 -05:00
DottaandPaperclip efbe3fa67d fix(server): isolate blocker traversal budgets per root
Share queried graph facts across roots while retaining independent node/depth limits, expanded reachability and truncation for classification. Unrelated limited graphs must not change terminal subjects or delay archive deadlines. Prove depth/node overflow and overlapping-root liveness red/green, preserve the100-root SQL bound, and qualify existing owner assertions on isolated PostgreSQL.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:25:01 -05:00
DottaandPaperclip 0afb5ea379 Integrate event-driven issue recovery and source fanout
Preserve routine restore, card, retention, and issue recovery notifications in their original writer transactions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:20:52 -05:00
DottaandPaperclip 04afdcdee5 Integrate scoped backup expiration notifications
Preserve backup issue identity alongside existing recovery, retention, card, routine, merge, and external-object owners.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:20:27 -05:00
DottaandPaperclip 2bca873c63 Integrate external refresh with existing deadline owners
Preserve all company mutation consumers and verify both merge-confirmation and external-refresh startup registrations.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:19:58 -05:00
DottaandPaperclip 97063b307f Integrate merge-confirmation deadline owner
Retain all scoped issue consumers beside merge-confirmation notifications.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:19:28 -05:00
DottaandPaperclip bc3559eb5e Integrate routine status with scoped execution and source notifications
Keep all owner subscriptions, restore issue identity, and remove only the replaced routine and retention sweeps.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:18:44 -05:00
DottaandPaperclip 091f5a37c6 Integrate attention retention with recovery and card notifications
Union feature-owned hints and preserve existing scoped queue behavior; replace the old retention sweep with its deadline owner.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:18:19 -05:00
DottaandPaperclip a836109fb0 Restore complete parent sources in local integration resolution
Reconstruct conflicted files from immutable parents and apply only line-bounded additive resolutions. Keep this unpublished integration correction visible in history.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:17:28 -05:00
DottaandPaperclip 94ddb74c0c Integrate recovery and status-card sleep owners for combined verification
Preserve both notification subscribers and all existing execution queues; retain the union of scoped execution identities.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:15:42 -05:00
Dotta dc4456c76b Drive issue recovery from scoped source writes and saved deadlines 2026-10-30 18:10:00 -05:00
DottaandPaperclip 259a3ae4df fix(server): scope backup invalidation to retained session references
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:01:35 -05:00
DottaandPaperclip a12f68ef13 fix: preserve scoped status-card work across mutations and recovery
Complete transactional source coverage, cached feature gating, startup scope reconstruction, off-page relative query expiry and busy-lock retry. Verify producer, persistence, failure, budget resume, compatibility and startup paths with isolated PostgreSQL and focused tests.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 17:50:38 -05:00
DottaandPaperclip 46f2c0bb9a fix(server): bound and scope routine projection recovery
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 17:25:24 -05:00
DottaandPaperclip 4af412eaea refactor: drive status-card evaluation from committed work
Move generation sequencing into a feature-owned deadline worker and retain persisted evaluation, eligibility and relative-search obligations. Add transactional producer hints and initial PostgreSQL acceptance coverage; follow-up completes the producer audit and remaining lifecycle gates.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 17:25:18 -05:00
DottaandPaperclip 6fe6d6d29c fix(server): bound retention reconstruction and preserve producer transactions
Batch review and confirmation eligibility per company, scope decision and budget hints, and keep child blocker relation intents inside their owning transaction. Cover ordinary child, budget and execution producers plus full candidate-page query bounds; update startup/import fixtures for source-driven retention.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 17:10:15 -05:00
DottaandPaperclip 15cc12dba6 fix(heartbeat): scope and batch dispatch wakeups by owner
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 17:06:23 -05:00
DottaandPaperclip d820f2bae4 refactor(recovery): expose scoped issue recovery obligations
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 16:53:01 -05:00
DottaandPaperclip 0f3017c96d perf(server): archive attention from source deadlines
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 16:44:21 -05:00
DottaandPaperclip 50cd007005 perf(external-objects): schedule scoped refresh obligations
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 16:24:47 -05:00