Skip to content

feat: complete durable query parity - #33

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

feat: complete durable query parity#33
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;
  • the identical clean head c642f2657762c46e9e9eee7c165c79f2c18f5710 passed permanent Quality 33285350009 on the superseded draft PR; this non-draft PR exists only because the connector's mark-ready GraphQL mutation is currently broken.

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

@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.

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