Repository navigation
Description
Runtime revision and environment
Docs on origin/main fe5d03f0 (after #986). Found in a coherence audit of the docs edited by the ~40 PRs merged on 2026-09-29. Docs only; no runtime behaviour is in question.
Minimal reproduction
Each finding cites origin/main file:line, the statement, and what the code does.
-
STORE.mdsays the interval index is the only derived object; there are three kinds now.docs/STORE.md:1868-1870: "The one derived object is the partial index a declaredintervalsreads through: activation builds it, and drops an interval index no live activation declares any more."- Code:
packages/store/src/store.ts:181and:363-371build and drop three families of derived indexes: interval (store_intervals_*, Store: declarative interval constraint, declarative transfer, retries for host transactions, multi-process serving #902), unique (store_unique_*, [Gap]: Store: a transfer recipient directory can't be unique across owners, so a lookup by name is spoofable #953) and list (store_list_*, [Request]: Store: order sorted and filtered lists in SQL near the 10,000-record maximum #951).STORE.md:1497-1501already describes the list indexes. So the storage bullet contradicts the listing section on the same page.
-
CAPACITY.mdstill describes sorted and filtered lists the way they worked before [Request]: Store: order sorted and filtered lists in SQL near the 10,000-record maximum #951.docs/CAPACITY.md:126(extension storage bounds table): "Store sorted or filtered lists | read theidand the named fields of every record in scope (at mostmaxRecords), then the page".- Since feat(store): order and filter store lists in SQL (#951) #986 a sorted or filtered page is one keyset query through an index (
packages/store/src/listing.ts;docs/STORE.md:1488-1496, andCAPACITY.md:236-261on the same page). The in-memory path now runs only while the collection holds a row the index key cannot order (STORE.md:1504-1510). The table row should say that, or link to STORE.md.
-
Audit's normative delivery guarantee describes the store's retired JSON file.
packages/audit/SECURITY.md:17-19: "A producer change commits if and only if its audit events are committed in the same storage transaction (store: the same atomic file replace)."- The store is SQLite. Each write is one
BEGIN IMMEDIATEtransaction that inserts the event intostore_audit_outbox(docs/STORE.md:1854-1858and:1884-1887;packages/store/src/collection.ts). JSON data files "are not read or imported" (STORE.md:1876-1877). This is the normative section of a SECURITY file, so a stale mechanism there matters.
-
Auth's security model states the shared rate limit unconditionally, but the operator can switch it to per-process storage.
packages/auth/SECURITY.md:12-16: the limiter "keeps its counters in the auth database'srateLimittable, so every process serving that database on one host shares one limit".packages/auth/README.md:149-155saysbetterAuth.rateLimit.storagecan choose Better Auth's per-processmemoryinstead. Code:packages/auth/src/auth.ts:148spreads...extra.rateLimitafterstorage: 'database', and onlyenabled: trueis forced. So the operator can overridestorage, and alsowindow,maxandcustomRules. SECURITY.md should say that the shared limit is the default and name which settings can be overridden.docs/STORE.md:2031-2033anddocs/CAPACITY.md:385-386repeat the unconditional claim too.
-
Lease and topology facts are copied into five places instead of linked.
- The lease timing (renewed every 5 s, live 20 s), the lease tables and the "refuses a network filesystem / live peer on another host" rule are restated in
docs/STORE.md:1981-2025,docs/EXTENSIONS.md:689,docs/RUNTIME-IMPLEMENTATION.md:98,packages/auth/README.md:156-170,packages/audit/README.md:169-176,docs/OPERATIONS.md:467-469,docs/CAPACITY.md:381-383anddocs/FRAMEWORK.md:260-263. The code has one source:packages/core/src/host-lease.ts:63(SERVER_LEASE = {heartbeatMs: 5_000, ttlMs: 20_000}). - I found no copy that disagrees today. But the auth and audit READMEs and
EXTENSIONS.md:689restate the numbers rather than linkingSTORE.md#several-serving-processes-on-one-host, which is the kind of duplication CONTRIBUTING's "maintain existing pages first" asks us to avoid.
- The lease timing (renewed every 5 s, live 20 s), the lease tables and the "refuses a network filesystem / live peer on another host" rule are restated in
Relevant output
What I verified: items 1-4 against the cited source lines. Item 5 is a maintenance finding, not a contradiction.
Not verified: I did not run the auth rate-limit override in item 4. The conclusion comes from reading auth.ts:148.
Activity
docs: store and extension storage docs match the code (#993) (#1004)