Skip to content

docs(store): correct conditional-write limitations prose (epic #837 Stage A) - #838

Merged
jimhoyd merged 1 commit into
mainfrom
claude/epic-837-staged-prs-98e643
Sep 28, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
claude/epic-837-staged-prs-98e643

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Stage A of epic #837

Per #837's delivery sequence, Stage A is: land #833 through normal checks, fix #836, and enumerate existing exports/missing-handler-access/targets/privilege classes so Stage B's contract PR has a factual baseline.

This PR

Fixes #836: docs/STORE.md's storage-limitations paragraph said PUT/PATCH have no optimistic concurrency at all, contradicting the "Conditional writes" section immediately above it (single-record If-Match/ifMatch, tested in packages/store/test/records.test.ts). Now distinguishes the implemented per-record conditional write from the still-missing cross-record/cross-collection transaction (#835).

npm run typecheck and node scripts/check-local-links.ts pass; this is prose-only, no schema/behavior change.

Stage A inventory (exit evidence)

Posted as a comment on #837: existing typed extension exports (AuthExports/StoreExports/FormsExports/MailExports/AuditExports/AbuseExports), what's reachable from an ordinary function/middleware route today vs. extension-to-extension only, what identity/authority each reachable surface carries, and what sandbox: true currently refuses vs. a trusted function. That inventory is the concrete gap-size Stage B's generic handoff needs to close.

#833 status

PR #833 ("Expose native session identity to application function routes") has all 32 CI checks green and is mergeable with no outstanding review decision. Landing it is Stage A's other deliverable — leaving that to maintainer review/merge per normal process (main is protected; this PR does not touch it).

  • Changes match the documented portable contract; docs/examples are updated where needed.
  • Relevant tests and package checks pass, or limitations are explained above.
  • No credentials, customer data or private project material are included.
  • Runtime/starter changes remain aligned where applicable.

🤖 Generated with Claude Code

The "storage limitations" paragraph said PUT/PATCH have no optimistic
concurrency, contradicting the implemented single-record If-Match/ifMatch
conditional-write contract documented just above it and tested in
packages/store/test/records.test.ts. Distinguish that implemented
per-record guarantee from the still-missing cross-record/cross-collection
transaction (tracked separately in #835).

Resolves #836. Part of epic #837 Stage A.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@jimhoyd
jimhoyd merged commit 0dc7ded into main Sep 28, 2026
16 checks passed
@jimhoyd
jimhoyd deleted the claude/epic-837-staged-prs-98e643 branch September 28, 2026 04:40
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.

[Request]: Correct store limitations prose to acknowledge conditional writes

1 participant