Skip to content

Document immutable edge tables and queue/v1 - #442

Merged
em3s merged 8 commits into
mainfrom
docs/immutable-edge-and-queue
Jul 22, 2026
Merged

em3s merged 8 commits into
mainfrom
docs/immutable-edge-and-queue

Conversation

@em3s

@em3s em3s commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Document immutable edge tables and queue/v1 (shipped across #434 and #436–#441) on the docs site. English-only; the site falls back to English for untranslated pages.

Changes

  • New: design/queue.mdx, api-references/queue.mdx
  • Updated: design/schema.mdx, api-references/mutation.mdx, internals/encoding.mdx

How to Test

cd website && CHECK_LINKS=true npm run build — passes; all internal links valid.

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: claude code

em3s and others added 7 commits July 22, 2026 01:09
- schema.mdx: IMMUTABLE_INDEXED in the label type table; a section covering
  the append-only model (index rows are the record), the constraints (at most
  one index, single direction, INSERT only) and why they exist (a single scan
  reaches every row, so scan-delete is a complete delete), and behavioral
  differences (no point get, no count/total, no CDC, eviction via scan-delete);
  IMMUTABLE_INDEXED <-> IMMUTABLE_EDGE in the v2/v3 mapping.
- encoding.mdx: immutable tables persist Edge Index rows only (no State, no Count).

Co-Authored-By: Claude Fable 5 <[email protected]>
Architecture over the immutable edge table (partition = src, seq = index,
ULID message id), xxhash32 partitioning (default 30), the poll -> process ->
commit lifecycle with offset semantics, single-consumer-per-partition and
at-least-once delivery, and no CDC. Bumps storage-backends/glossary sidebar
order to slot queue after query.

Co-Authored-By: Claude Fable 5 <[email protected]>
Section 5: DELETE /graph/v3/.../edges/scan/{index} (immutable-only, required
limit capped at 1000, callers loop to drain), an INSERT-only note under Event
Types, and EdgeScanDeleteResponse in the data model.

Co-Authored-By: Claude Fable 5 <[email protected]>
DDL (create/get/enable/disable/delete, with the disable-before-delete guard)
and runtime (partitions, enqueue, poll, commit) endpoints in the house
endpoint template, plus the queue payload data model.

Co-Authored-By: Claude Fable 5 <[email protected]>
v3 is the default vocabulary now; drop the v2 terms (Service, Label,
src, tgt, field, IMMUTABLE_INDEXED) and the (v3: ...) parentheticals
from the Architecture mapping table.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Trim endpoint and section intros to one sentence, drop rhetorical
italics, and replace spaced em-dash asides with semicolons/colons.
No behavioral facts or headings changed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
… into one edge-mapping table

- design/queue.mdx: merge the concept map and operation lowering into a
  single queue/v1 -> immutable edge table; add Use Cases (fit + non-goals)
  and the seq ordering-key contract, per current code (post-commit).
- design/schema.mdx: drop the IMMUTABLE_INDEXED row from the v2/v3 table.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@em3s
em3s marked this pull request as ready for review July 22, 2026 02:37
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jul 22, 2026
Fixes the failing `lint` (prettier --check) job; formatting only.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@em3s
em3s merged commit c24208e into main Jul 22, 2026
3 checks passed
@em3s
em3s deleted the docs/immutable-edge-and-queue branch July 22, 2026 02:48
@em3s em3s self-assigned this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant