Skip to content

superseded: complete durable query parity - #32

Closed
tim8es wants to merge 16 commits into
mainfrom
feature/durable-query-parity
Closed

superseded: complete durable query parity#32
tim8es wants to merge 16 commits into
mainfrom
feature/durable-query-parity

Conversation

@tim8es

@tim8es tim8es commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Completes durable ADR-0005 v0.1 query parity for ListGoals, ListGoalTasks, and GetTaskExecutionView.

Key guarantees:

  • list reads come directly from canonical D1 state with deterministic bounded cursor pagination;
  • missing Goal/Task parents return bounded NOT_FOUND envelopes;
  • GetTaskExecutionView derives Task, effective Lease, and latest Checkpoint in one D1 statement so one response cannot mix separate database read snapshots;
  • effective Lease projection respects Lease expiry plus Session status/liveness at authoritative server time;
  • no retained application state or second authority is introduced.

TDD evidence:

  • RED Quality 33284893955: the previous 143 tests remained green while exactly the three new query regressions failed on UNSUPPORTED_OPERATION;
  • hardening run 33285112259: 34/34 test files, 146/146 tests, full pnpm check, coverage 85.1% statements / 74.51% branches / 96.79% functions / 86.86% lines;
  • docs reconciliation 33285227052: full pnpm check and coverage passed after temporary harness cleanup.

docs/CURRENT_STATE.md, docs/roadmap/V0_1.md, and CHANGELOG.md now record complete local durable command/query parity and retain the explicit no-deployed-Cloudflare claim.

tim8es commented Aug 30, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

tim8es commented Aug 30, 2026

Copy link
Copy Markdown
Owner Author

Superseding this draft mechanically because the GitHub connector's markPullRequestReadyForReview mutation currently fails on an invalid Repository.fullDatabaseId field. No code/tree change is involved. Exact head c642f2657762c46e9e9eee7c165c79f2c18f5710 already passed permanent Quality run 33285350009; the replacement PR will point to this identical head.

@tim8es tim8es changed the title feat: complete durable query parity superseded: complete durable query parity Aug 30, 2026
@tim8es tim8es closed this Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant