Commit Graph
410 Commits
Author SHA1 Message Date
DottaandPaperclip 18082bdfa7 test: prove scheduler admission and ordinary subtree restore
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:50:37 -05:00
Dotta 38cf9c8b2f Merge branch 'codex/sleep-stack-c2' into codex/sleep-09-aggregate
* codex/sleep-stack-c2:
  Drive live run and resource recovery from scoped durable deadlines
  Checkpoint residual recovery deadline rechecks and owning producers
  Checkpoint scoped live recovery owners and durable cohorts
2026-10-30 20:37:12 -05:00
DottaandPaperclip 67e5d2797f merge: preserve residual recovery and existing owner notifications
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:37:12 -05:00
DottaandPaperclip 31955507a3 Drive live run and resource recovery from scoped durable deadlines
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:34:30 -05:00
Dotta 7add4d4c5c Merge branch 'codex/sleep-stack-04' into codex/sleep-09-aggregate
* codex/sleep-stack-04:
  fix(ui): supersede startup jobs when newer edits are admitted
  fix(ui): retain startup autosave through session recovery
  fix(ui): retain startup autosave through session recovery
  fix(server): bound and coalesce issue retention invalidations
  perf(runner): cache verified native executable digests (#18390)
  fix(server): reconcile failed sandbox cleanup with signed absence (#18407)
  Reuse signed master images for npm canaries (#18404)
  perf(server): overlap independent heartbeat preparation reads (#18372)
  test(e2e): add a portable active follow-up journey (#18345)
  fix(server): preserve budget history for deleted resources (#18389)
2026-10-30 20:34:09 -05:00
DottaandPaperclip 3e8f00cce2 merge: preserve GitHub receipt fences and scoped confirmation effects
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:28:21 -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 113e57667e test: distinguish startup readiness from settled maintenance
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:11:53 -05:00
DottaandPaperclip 0adc252bbc test: qualify assembled maintenance producers and shutdown
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:07:09 -05:00
DottaandPaperclip 255713e0cd fix(server): bound and coalesce issue retention invalidations
Bound reverse ancestor discovery before materializing adjacency, deduplicate cycles and emit one canonical affected-issue batch per write. Overflow delegates complete company reconstruction to existing paging instead of dropping eligibility or creating per-ancestor worker debt. Prove real high-fanin producer bursts, PostgreSQL execution limits, canonical cyclic batches and far ancestor archive deadlines.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 20:02:36 -05:00
Dotta f131ecd7e0 Merge commit 'd1af4fd95405b1c25e3008e935b0c0b6e5b0369a' into codex/sleep-09-aggregate
* commit 'd1af4fd95405b1c25e3008e935b0c0b6e5b0369a':
  Join receipt acceptance passes before advancing saved deadlines
  fix(server): retain live evidence beyond blocker graph admission
  Retain moved receipt deadlines and wake released execution gates
  Drive saved execution receipts from committed work and deadlines
2026-10-30 19:58:12 -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 dff6c00468 Join receipt acceptance passes before advancing saved deadlines
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:50:27 -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
Dotta fa54edbcd3 Merge commit 'e4b1ed83e4c4b029a4f6f82e3537e1129076814e' into codex/sleep-09-aggregate
* commit 'e4b1ed83e4c4b029a4f6f82e3537e1129076814e':
  fix: bound status-card active-hours calculation work
  fix: scope comment-triggered recovery to the affected issue
  test: await issue recovery dispatch and cancellation settlement
  fix(server): bound blocker facts and preserve origin authority
  test: await committed recovery and adapter admission outcomes
  test: model retention reads in native cleanup transaction fixture
2026-10-30 19:45:34 -05:00
Dotta 0adba98c10 Merge commit 'e3fff84b6f81448c730dd165253a1a673f8d19b3' into codex/sleep-deferred-execution-receipts
* commit 'e3fff84b6f81448c730dd165253a1a673f8d19b3':
  fix: scope comment-triggered recovery to the affected issue
  test: await issue recovery dispatch and cancellation settlement
2026-10-30 19:45:15 -05:00
DottaandPaperclip e4b1ed83e4 merge: bound repeated status-card timezone work
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '6469daec07fed5afc68d8d441f4a0009dcea9673':
  fix: bound status-card active-hours calculation work
2026-10-30 19:43:39 -05:00
DottaandPaperclip 6469daec07 fix: bound status-card active-hours calculation work
Reuse bounded timezone formatters and upcoming openings only within their exact searched closed ranges. Short-circuit empty windows while preserving the existing cold DST search and precise instant eligibility. Verify cost bounds, cache eviction, timezone transitions and twenty-card ordinary source delivery.

Co-Authored-By: Paperclip <paperclip@paperclip.ing>
2026-10-30 19:41:19 -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
Dotta d5254137e1 merge: preserve scoped comment recovery in combined sleep work
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit 'e3fff84b6f81448c730dd165253a1a673f8d19b3':
  fix: scope comment-triggered recovery to the affected issue
  test: await issue recovery dispatch and cancellation settlement

# Conflicts:
#	server/src/services/issue-comment-writes.ts
#	server/src/services/native-status-reassessment-notifications.ts
2026-10-30 19:41:03 -05:00
DottaandPaperclip e3fff84b6f fix: scope comment-triggered recovery to the affected issue
Preserve company reconstruction for graph, run and eligibility changes. A real PostgreSQL producer regression verifies one assignment check among1000 open tasks, with broader eligibility reconstruction still intact.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:39:21 -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 d26c7b09ad test: qualify assembled maintenance boot and lifecycle
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 19:26:52 -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
Dotta 0afcc625e2 Integrate company-scoped status-card deletion
* commit '32044a63e138e7b6a38ec801878d0db65cce6bbe':
  fix: scope status-card deletion notifications to its company
2026-10-30 19:04:59 -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 32044a63e1 fix: scope status-card deletion notifications to its company 2026-10-30 19:00:51 -05:00
Dotta b29236d341 Integrate bounded issue recovery and canonical scope hints 2026-10-30 19:00:47 -05:00
Dotta 0fe6e038c2 Restore independent recovery duties and bound committed-source work 2026-10-30 18:58:39 -05:00
Dotta 09e9d59479 Integrate coalesced status-card invalidation 2026-10-30 18:49:58 -05:00
DottaandPaperclip cd4caaab26 fix: batch status-card source notifications
Coalesce committed company hints in a fixed one-second window without flooring real deadlines. Verify one hundred ordinary issue/comment writes, company isolation, deadline preemption, retained hints and settled SQL quietness. Await actual evaluation I/O in fake-clock acceptance instead of jumping across connection timers.

Co-Authored-By: Paperclip <paperclip@paperclip.ing>
2026-10-30 18:49:20 -05:00
Dotta 7ca047f536 Integrate expired-backup retry and consumer contract fixes 2026-10-30 18:45:01 -05:00
Dotta 4c4e4a469c fix: retain expired backup cleanup after listing failures 2026-10-30 18:44:34 -05:00
Dotta fef4c0ab35 Integrate selected external resolver authority fencing 2026-10-30 18:43:50 -05:00
DottaandPaperclip 594a4ee657 fix(external-objects): fence selected plugin results
Revalidate the exact selected plugin before result persistence even when an allowed fallback still supports the object. Preserve due debt and token ownership so a fresh allowed resolver can proceed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:41:23 -05:00
Dotta 11a0c67af9 Integrate GitHub receipt completion fencing 2026-10-30 18:34:25 -05:00
Dotta c9d27c2039 Integrate durable status-card deadline reasons 2026-10-30 18:33:19 -05:00
Dotta f657d9326c Integrate per-root retention traversal budgets 2026-10-30 18:33:04 -05:00
DottaandPaperclip 573dcfb883 Integrate GitHub receipts with refresh fences and confirmation deadlines
Use the owning receipt transaction for source hints and snapshot token invalidation. Preserve scoped confirmation candidates, cancellation, and deferred outer-commit effects.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:29:35 -05:00
DottaandPaperclip 418f9ad395 fix(github): preserve terminal receipts across competing failure
Guard the failure writer against another receiver's committed success. Prove the rollback race red/green and bounded HTTP body cancellation with unrelated-company progress.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:29:21 -05:00
DottaandPaperclip 2ee5c7d6dc fix: preserve status-card deadline ownership through restart
Use a dedicated advisory-lock connection so a one-slot write pool can finish evaluation and result writeback. Record internal deadline provenance so startup recovers lost membership hints without advancing saved policy or retry debt.

Co-Authored-By: Paperclip <paperclip@paperclip.ing>
2026-10-30 18:28:40 -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 a5d31c7f1f fix(github): retain transaction ownership and scoped credential debt
Preserve webhook metadata across OAuth rotation and lease cleanup; scope and coalesce GitHub work activation, retaining explicit producer coverage.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-30 18:21:05 -05:00