Skip to content

feat(driver-sql, driver-turso): compile the SharedRecordIds fixed-read leaf to an in-database subquery (ADR-0155 step 3) - #35893

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-thptm0
Nov 20, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-thptm0

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread
Fixes #35872
The one item round 0 left open, O2's non-text outer key on PostgreSQL, moved to its own decision card, #35906 (ADR-0155 D-0). This PR carries every other item of the card.
Refs #33787

Clause-②: yes
Metadata-protocol: none

维护者速读

  • 问题:用户暂时无感。共享给某人的记录超过五千条时,列表和详情会悄悄漏掉多出来的部分;本次压测在一万条可见记录上复现到只读出六千条。
  • 这一步做什么:属于「共享记录不再被五千条上限截断」这项工作的第三步,让 SQL 类数据库在同一条语句里自己查出共享给当前用户的记录,不再先读一份名单再拼进语句。
  • 不做会怎样:最后一步接上之前没有任何地方写入这种新条件,所以这一步出错也碰不到用户,可以直接撤回;不做的话,最后一步就没有数据库能执行它。
  • 要你做的:无。PostgreSQL 上主键不是文本的外部表该怎么比较,这个待定问题已经单独放到一张决策卡上,不挡这次合并。

What changes

The SQL drivers now compile the SharedRecordIds fixed-read leaf. This is ADR-0155 plan step 3. Nothing on main writes the leaf yet; step 6 (the plugin-sharing switch) will.

  • The compile (driver-sql). A leaf in a field's $in compiles to one subquery in the list's own position:
    id IN (SELECT record_id FROM sys_record_share WHERE object_name = ? AND recipient_type = 'user' AND recipient_id = ? AND record_id IS NOT NULL AND record_id NE ''). Here NE stands for SQL's not-equal operator.
    • The write form adds AND access_level IN (…) inside the subquery.
    • Every value is bound.
    • The subquery carries no tenant scope (① ruled A). The outer statement's tenant wall is unchanged.
    • Oracle drops the empty-string half, because Oracle stores '' as NULL.
    • The rule has no cap, no ordering, no EXISTS, no correlation and no join, and runs on the same datasource.
  • The remote transport (driver-turso). RemoteTransport is its own compiler. It builds the same subquery from the same predicates (fixedInnerReadPredicates, exported by driver-sql). It also compiles the subquery inside a resolved ReadableIds semi-join scope.
  • The declaration. SqlDriver.supports.fixedReadLeaves = ['SharedRecordIds'] lands in the same commit as the compile. TursoDriver inherits it on both faces; remote mode declares it only because the remote compiler now compiles it.
  • The refusal. A leaf anywhere other than a field's $in comparand is refused before any statement runs. It uses ADR-0139 D3's envelope, INTERNAL_ERROR / 500, and is logged at error once per driver. The message names the position and the leaf, never the recipient.
  • The shared case-set (spec). It gains note n5 (a doc whose only grant is stamped in another organization) and a nested case read under a tenant. Together they witness, in the nested position, that the inner read carries no tenant scope.
  • The chokepoint gate. check:tenant-chokepoint reads the builder written here and flagged it unscoped, as predicted (A6). It now holds one EXEMPT entry for fixedReadLeafSubquery, which cites ① ruled A.

Compile surfaces, one conclusion each

  1. driver-sql applyFilterCondition: changed here. The $in arm compiles the leaf, and applyFilters refuses a misplaced one. SqliteWasmDriver and Turso local inherit it. SqliteWasmDriver was measured ad hoc: it declares ["SharedRecordIds"] and passes 14 of 14 shared cases.
  2. Turso RemoteTransport.buildWhereSQL: changed here. It adds fixedInnerReadSQL and the $in arm. TursoDriver.toRemoteWhere refuses a misplaced leaf.
  3. service-analytics compileScopedFilterToSql: out of scope. It belongs to step 5 (ADR-0155 step 5: the rest of the census — storage refusal for the share-grant leaf, the analytics compilers, the explainer record pass #35874).
  4. service-analytics lowerAnalyticsWhere: out of scope. It belongs to step 5.
  5. formula matchesFilterCondition: already compliant, by step 2's seam. The seam is objectql fixed-read-leaf-position.ts#collectFixedReadLeaves, reached through fixed-read-leaf-seam.ts. It refuses a leaf in having and in aggregations[i].filter with INTERNAL_ERROR / 500 before any in-memory evaluation. The engine's only caller of the matcher is having-filter.ts. This PR does not change it.
  • half. objectql applyHaving / matchesHaving: already compliant, by step 2's seam. The seam refuses a leaf in having ("the leaf is legal only in the where of a read, never in having"). This PR does not change it.
  1. driver-memory: out of scope. It belongs to step 4 (ADR-0155 step 4 (driver-memory): evaluate the share-grant leaf in process, on reads and the predicate update path #35873).
  2. driver-mongodb translateFieldOperators: out of scope. It belongs to step 5.

Read these first (risk order)

  1. packages/drivers/driver-sql/src/sql-driver-internal-helpers.ts, fixedReadLeafSubquery. This is the unwalled builder (① A) and the Oracle branch. The risk is a tenant wall missing where it is owed, or present where it is ruled away.
  2. packages/drivers/driver-sql/src/fixed-read-leaf-compile.ts, findMisplacedFixedReadLeaf. This is the role-aware walk that separates a legal $in comparand from every refused position. The risk is a legal position refused, or a misplaced leaf compiled as a value.
  3. packages/drivers/driver-turso/src/remote-transport.ts, fixedInnerReadSQL and the $in arm. This is the second, independent compiler. The risk is drift from the driver-sql shape.

Tests

Two new suites cover the compile: sql-driver-fixed-read-leaf-conformance.test.ts (driver-sql, every live dialect cell) and turso-fixed-read-leaf-conformance.test.ts (both Turso faces). Each covers:

  • the declaration;
  • the shared cases on find and count, plus aggregate;
  • the predicate update's two statements (③ ruled A): the engine's prior-row read and updateMany with the same AST, each answering the case's rows;
  • the tenant write;
  • freshness: grants inserted and deleted between the two statements, each statement reading them as they stand;
  • N4's empty-string witnesses on read, negation and write;
  • O2: comparison and collation;
  • the statement pin: one organization_id predicate, outside the subquery;
  • the refusals: seven positions on find, count and updateMany, each asserting code + status with no row written;
  • the log-once behaviour.
dialect how it ran covered
SQLite (better-sqlite3) live, locally and in CI the whole suite, plus an INTEGER outer key (O2)
PostgreSQL 16 live, locally, on a private cluster. CI's live PG cell is the Temporal Conformance job, which runs on push to main and not on pull requests the whole suite except the INTEGER key; a non-string key was measured separately (O2, below)
MySQL compiled SQL pinned. The live cell is in the suite and runs in Temporal Conformance after merge. No MySQL server in this container the statement shape and bindings
SQL Server compiled SQL pinned the statement shape and bindings
Oracle compiled SQL pinned the statement shape and bindings, without the empty-string half
Turso local live (libsql) the whole Turso suite
Turso remote live, against the in-process Turso HTTP stub backed by SQLite; the statement is pinned at execute the whole Turso suite, plus the standalone transport cases

The package runs below are at 9a099c3d2. The head is now 71324295d, which changes only the changeset text (git diff --stat 9a099c3d2 71324295d: 1 file, 1 insertion, 1 deletion), so they stand for the head's code. The ablations ran at 71324295d. Every run went through the shared verify lock.

Package suites and typechecks at 9a099c3
driver-sql   pnpm --filter @objectstack/driver-sql test
             (OS_TEST_POSTGRES_URL set; PG server TimeZone Asia/Shanghai, process TZ America/New_York)
  Test Files  276 passed | 4 skipped (280)
       Tests  5710 passed | 133 skipped (5843)        VERDICT command-exit 0
  live-dialect block: sqlite RAN · live postgres RAN · live mysql NOT RUN
driver-turso pnpm --filter @objectstack/driver-turso test
  Test Files  103 passed | 1 skipped (104)
       Tests  2647 passed | 36 skipped (2683)         VERDICT command-exit 0
spec         vitest run src/data
  Test Files  183 passed (183)
       Tests  6646 passed | 1 todo (6647)             VERDICT command-exit 0
typecheck    driver-sql, driver-turso, spec           VERDICT command-exit 0 each

The first driver-sql run used a UTC PostgreSQL server. Six live-PG timezone files failed on their own precondition ("the live postgres server runs at UTC … this cell proves nothing"). The run above uses the three-way zone skew those files ask for, and every file passes.

spec was narrowed to src/data, because the case-set's only consumers in spec live there. The full spec suite and test:repo run in CI.

Ablation. Five mutations, each made after the code was committed and each through scripts/ablation-replace.mjs. That tool proves the anchor left the file and the blob changed. Each restore is proven by the file's blob equalling HEAD's and by an empty git diff HEAD. Each count was predicted before its run. The SQL suite ran with live SQLite and live PG, plus the five compile-shape pins; the MySQL cell is the skip. Both suites were green at the head before the first mutation: SQL 78 passed | 1 skipped (79), Turso 54 passed (54). Every observed count equals its prediction.

mutation suite predicted observed
a the $in arm's whereIn deleted, so the leaf is dropped SQL 50 failed, 28 passed, 1 skipped 50 failed, 28 passed, 1 skipped (79)
a, TRUE the arm compiled to 1 = 1 SQL 52 failed, 26 passed, 1 skipped 52 failed, 26 passed, 1 skipped (79)
b the outer tenant scope added to the inner read SQL 10 failed, 68 passed, 1 skipped 10 failed, 68 passed, 1 skipped (79)
b the same, on the remote transport's fixedInnerReadSQL Turso 4 failed, 50 passed 4 failed, 50 passed (54)
c the misplacement walk answers null SQL 18 failed, 60 passed, 1 skipped 18 failed, 60 passed, 1 skipped (79)
c the same, through a rebuilt driver-sql Turso 13 failed, 41 passed 13 failed, 41 passed (54)
d the notEmpty line of fixedReadLeafSubquery deleted (round 0, at 9a099c3d2) SQL 12 failed, 66 passed, 1 skipped 12 failed, 66 passed, 1 skipped (79)
What went red in each ablation, and the restore proofs
  • (a), the leaf dropped.
    • Red on each live cell, 23 on SQLite and 22 on PG:
      • 11 of the 14 shared cases;
      • aggregate, both write cases, the tenant write and freshness;
      • the three N4 tests;
      • the O2 tests (3 on SQLite, 2 on PG);
      • the statement pin.
    • Red on all 5 compile-shape pins.
    • Three shared cases stay green: the D-0 list, $and with id d2, and the read scope of u3.
    • A dropped disjunct inside an $or narrows the result, so the nested case answers [n2].
    • Restore blob 8dbf613e04b1.
  • (a, TRUE), the leaf as no restriction.
    • The red set is (a)'s plus the read scope of u3: 24 on SQLite, 23 on PG and 5 compile-shape.
    • The nested case answers [n1, n2, n3, n5]: n3 too, as the case's note predicts. I had also predicted n4, and was wrong on that one row: n4 names no record.
    • Restore blob 8dbf613e04b1.
  • (b), SQL.
    • The mutation ANDs organization_id = tenantId onto fixedReadLeafSubquery's builder at the $in arm. options is threaded into nested scopes, so it reaches the nested position too.
    • Red on each live cell: the tenant direct case (g7, stamped org_b), the nested-under-tenant case, aggregate under org_a, the tenant write and the statement pin.
    • Restore blob 8dbf613e04b1.
  • (b), Turso remote.
    • The mutation is two anchors in remote-transport.ts, the first held. scopedWhereSQL hands its scope to fixedInnerReadSQL for the length of one compile, and that call appends the scope inside the subquery.
    • Red on the remote face: the tenant direct case, the nested-under-tenant case, the tenant write and the transport statement pin. The local face stays green.
    • Restore blob bfafe299e93e.
  • (c), SQL.
    • The mutation inserts if ((globalThis as any).ABLATION_C_SKIP_WALK !== 0) return null; at the head of findMisplacedFixedReadLeaf.
    • Red on each live cell: the 7 misplaced-position pins, the message pin and log-once.
    • No misplaced pin resolved with rows. Every printed failure is an envelope mismatch: another refusal, or a database error, where INTERNAL_ERROR / 500 was expected.
    • Restore blob ea97d9f49ecb, taken after the Turso leg below.
  • (c), Turso.
    • The Turso suite resolves driver-sql through dist/, so the mutation was built. ablation-dist-preflight found the marker in dist/index.js and dist/index.mjs.
    • Red: the 4 misplaced pins and the message pin on each face, log-once on both faces, and the standalone RemoteTransport pin.
    • The restore was rebuilt, and ablation-dist-preflight --absent reported the marker absent from all 6 built files and the tree clean. The Turso suite then ran 54 passed (54) again.
    • Restore blob ea97d9f49ecb.
  • (d) is round 0's, at 9a099c3d2.
    • Red: the three N4 tests and the bindings pin on each live cell, plus the sqlite, pg, mysql and mssql compile-shape pins.
    • The shared case that cites g10 stays green.
    • Restore blob bd8d9c663c2c.

Acceptance notes

  • O2: comparison, type and collation.
    • On string keys the leaf answers today's list's rows on SQLite and PG. The grants were K1, k2 and k3 against ids k1, k2, k3. Both answer only k3: deterministic and unpadded, as the list is.
    • SQLite with an INTEGER outer key gives the same rows as the list (grants 42 and 07 answer 42 and 7), through column affinity.
    • PostgreSQL with an integer or uuid outer key does not keep the same rows. The list answers [7, 42] and both uuids. The leaf fails with DATABASE_ERROR 42883 ("operator does not exist: integer = character varying", and the uuid twin).
    • This item is open on its own decision card, [Decision] ADR-0155 O2: the share-grant subquery on PostgreSQL for an object whose id is not text (integer, uuid) #35906 (ADR-0155 D-0), and is settled before step 6 writes the leaf. The compile was left as it is and no refusal was added. The changeset names the case.
    • Federated objects are sharing-scoped (plugin-sharing federated-phantom-anchors.ts), so the case is reachable once step 6 writes the leaf.
    • MySQL and SQL Server convert implicitly by documentation (unmeasured). Oracle RAW(16) keys are expected to differ, because the list goes through HEXTORAW (unmeasured).
  • D6: the caller with no grant. The bench is R9 (packages/qa/dogfood/bench/sql-perf/bench.mjs --shares N). Today's statement was read from the bench's own --sql-log: owner_id = ? with no grants, and (owner_id = ?) or (id in (…list…)) with grants. The figures below are the median of 15 runs at 100k and 9 runs at 1M, after one warmup, on a shared box, with plans from EXPLAIN. The page is order by created_at desc, id desc limit 50. The member owns every 10th account.
    • SQLite still serves the page and the total from the owner index, as MULTI-INDEX OR: the owner_id index plus the subquery probe on (object_name, recipient_type, recipient_id). Across 1,000 and 10,000 accounts and 900 to 109,000 grants in the table, the page goes from 0.164 ms to 0.190 ms at the smallest and 1.825 ms to 1.954 ms at the largest (×0.86 to ×1.34 across the eight readings). The total goes from 0.015–0.051 ms today to 0.047–0.123 ms with the leaf (×1.8 to ×3.1).
    • PostgreSQL 16 no longer uses the owner index. It cannot bitmap-OR a hashed SubPlan.
      • The page walks idx_bench_account_created_at_id backward with the OR as a filter: ×0.65 to ×1.19, no regression at this owner share. At 10,000 accounts today's page already walks that index.
      • The total turns from a Bitmap Index Scan on idx_bench_account_owner_id into a Seq Scan on bench_account: ×1.55 to ×2.5 at 1,000 accounts (0.149 ms to 0.346 ms), and ×2.1 to ×6.0 at 10,000 accounts (0.162 ms to 0.972 ms, and 0.394 ms to 1.968 ms).
      • That cost is a full scan of the object's table for every total, so it grows with the table and not with the caller's rows. The switch (step 6) quotes it.
  • O3: should the index carry record_id. This is an out-of-scope finding with numbers, for the seat. The index was not edited.
    • As the bench seeds it, the member holds every grant in the table, so both planners correctly seq-scan the share table and a covering index changes nothing.
    • With 100,000 grants of other recipients added (the instrument adds them and then deletes them; the count is read back), both use the shipped index. A covering (object_name, recipient_type, recipient_id, record_id) makes the inner read index-only on both (PG after VACUUM ANALYZE).
    • Inner read: at 900 grants it is noise, 0.237 ms to 0.279 ms on SQLite and 0.651 ms to 0.895 ms on PG. At 9,000 grants it is 4.19 ms to 2.02 ms on SQLite and 3.63 ms to 2.96 ms on PG. The flat page and total move by the same order.
    • One plan flip was observed, on PG, in the nested position (the leaf inside a two-level parent chain, a statement constructed for the nested position), at 9,000 grants plus 100,000 others. With the shipped index the planner goes to hash joins and seq scans: 250.1 ms, against 10.6 ms for today's list. With the covering index it keeps the nested loop: 12.8 ms. This is a single observation, driven by estimates.
  • The defect itself, reproduced on main. At --scale 1000000 --shares 9000 the bench member reads 6,000 accounts of the 10,000 expected, and the last shared account answers 404. With the leaf, the same statement counts 10,000.
  • A conflict in the dispatch text, followed per the ADR. The template's invariant line says "a refusal with INVALID_FILTER". ADR-0155 and step 2's seam say INTERNAL_ERROR / 500, "never INVALID_FILTER". The refusals here follow the ADR.
  • Not measured locally.
    • The live MySQL cell: no server here. It runs in Temporal Conformance after merge.
    • objectql's engine-fixed-read-leaf-seam.test.ts: it reads only the case-set's .seam, which is byte-unchanged, and it needs a closure not built here. CI's Test Core runs it.

Verification

Two minutes, with a PostgreSQL URL or without one:

pnpm --filter @objectstack/driver-sql exec vitest run --maxWorkers=2 src/sql-driver-fixed-read-leaf-conformance.test.ts

Expect every test to pass. Without OS_TEST_POSTGRES_URL, the live postgres and mysql cells report NOT RUN in the live-dialect block. With it, they report Tests 78 passed | 1 skipped (79), where the skip is the MySQL cell.

Local gates at 9a099c3: 114 derived families, each exit code captured before any pipe

The list comes from node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 9a099c3. It was reconciled with --ran (codes recorded): 114 derived, 113 run, 1 NOT-MEASURED, 0 UNRUN.

  • 111 exited 0 on the first run, and 113 by the end. The 111 include check:tenant-chokepoint ("every unscoped one is an insert or one of 1 EXEMPT entr(ies) with its reason"), check:adr-anchors, check:nul-bytes, check:facade-delegation-only ("4 file(s) within their line ceiling"), check:driver-conformance, check:test-source-alias, check:error-status-conformance and check:where-matcher.
  • check-plugin-teardown-shape --self-test exited 3, because its positive control is pinned to a commit this shallow checkout lacked. After fetching that one commit, the rerun exited 0.
  • check:dts-closure exited 1, naming 55 built packages without declarations. That was this box's state, not this diff: the CLI closure had been built with OS_SKIP_DTS=1 to boot the R9 bench. None of the three touched packages is among the 55. Rebuilt with declarations and rerun: exit 0, "81 built package(s) swept - 260/260 declared declaration file(s) present".
  • check:dual-build-cjs-loads exited 3 (PREREQUISITE NOT MET: some packages had no dist/). NOT MEASURED locally; CI builds everything and runs it.

engine.ts is untouched at 6854 of 6854 lines. sql-driver.ts is at 10067 of its 10071-line ceiling.

Local gates at 7132429: the families that read the changeset, the only path round 1 changed

The 14 families the derivation matches through .changeset/35872-shared-record-ids-sql-compile.md were run at 71324295d, each exit code captured before any pipe.

  • 13 exited 0:
    • check:changeset-gate-self-tests, check:closed-ceremony-text and check:published-files;
    • check-adr-0087-registration (--base origin/main and --self-test);
    • check-changeset-no-major --base origin/main;
    • check-empty-changeset (--base origin/main and --self-test);
    • the self-tests of snapshot-next, check-governed-queue-guard, release-rehearsal-clone and release-pending-publish;
    • check-governed-queue-guard --toolchain-needed.
  • check-governed-queue-guard with no flag exited 1: "could not read GITHUB_EVENT_PATH". It reads only the workflow event payload. --ran classifies it, and the toolchain leg, as CI-measured only and outside the derived total.
  • Outside the derivation, check-issue-citations and check-nul-bytes also exited 0.
  • --ran on round 1's record alone: 114 derived, 12 run, 0 NOT-MEASURED, 102 UNRUN. The 102 read only paths that are byte-identical between the two heads.
  • --ran with round 0's codes for those 102: 114 derived, 113 run, 1 NOT-MEASURED, 0 UNRUN. The NOT-MEASURED one is check:dual-build-cjs-loads, as above.

…d leaf to an in-database subquery (ADR-0155 step 3)

driver-sql's filter compiler and the Turso remote transport compile a
SharedRecordIds leaf, as the $in comparand of a field, to its fixed inner
read: field IN (SELECT record_id FROM sys_record_share WHERE object_name = ?
AND recipient_type = ? AND recipient_id = ? [AND access_level IN (...)] AND
record_id IS NOT NULL AND record_id <> ?), every value bound, with no tenant
scope on the subquery (ADR-0155 1 ruled A) and the outer statement's wall
untouched. Oracle omits the <> '' half, since it stores '' as NULL.

Both faces declare fixedReadLeaves: ['SharedRecordIds'] in this commit:
SqlDriver declares it, and TursoDriver inherits it in every mode now that
its remote transport compiles the leaf with its own compiler.

A leaf anywhere else is refused with ADR-0139 D3's envelope
(INTERNAL_ERROR / 500), logged once per driver. The tenant chokepoint
guard reads the new builder, so its absence of a tenant scope is recorded
as an EXEMPT entry citing the ruling.

The shared case-set gains the cross-organization nested witness (step 1's
L2 N4): note n5 names d7, whose only grant is stamped org_b.

Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz
Co-authored-by: Claude <noreply@anthropic.com>
…ialect and on both Turso faces (ADR-0155 step 3)

The shared case-set runs on every live dialect cell and on both Turso
faces, find and count; the predicate update's two statements (the
prior-row find and updateMany, same AST) each answer the write-form
cases' rows, and each reads the grants as they stand when it runs. A
record whose id is the empty string witnesses the <> '' half of the
blank-id guard (step 1's L2 N4). O2: the leaf answers today's list's rows
for case and padding variants, and for an INTEGER federated key on
SQLite. The compiled statement is pinned on SQLite, PostgreSQL, MySQL,
SQL Server and Oracle; refusals assert code and status.

Also: a changeset, and ADR anchors for the three files whose behaviour
ADR-0155 decides.

Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation protocol:data tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 3 package(s): @objectstack/driver-sql, @objectstack/driver-turso, @objectstack/spec, touching 66 documentable anchor(s). ⚠️ 1 changed file(s) yielded no anchor (packages/drivers/driver-sql/src/index.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

28 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json f44758b21e61094570ee9c04bfe26f228ffefdf7.

⛔ 11 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/drivers/driver-sql/src/index.ts) — pages documenting those are invisible to this run
  • 10 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 178 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json f44758b21e61094570ee9c04bfe26f228ffefdf7 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 5a04db8b66c157753a53d459a126ea8ffb9afedf — the merge of head 71324295d471099c8ab8926e1b44ddace72ce7ae into base f44758b21e61094570ee9c04bfe26f228ffefdf7, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 5a04db8b66c157753a53d459a126ea8ffb9afedf && git checkout 5a04db8b66c157753a53d459a126ea8ffb9afedf
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin f44758b21e61094570ee9c04bfe26f228ffefdf7 71324295d471099c8ab8926e1b44ddace72ce7ae && git checkout -B drift-repro f44758b21e61094570ee9c04bfe26f228ffefdf7 && git merge --no-ff 71324295d471099c8ab8926e1b44ddace72ce7ae

node scripts/docs-audit/affected-docs.mjs --json f44758b21e61094570ee9c04bfe26f228ffefdf7

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs f44758b21e61094570ee9c04bfe26f228ffefdf7 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH

L1: REWORK at 9a099c3d2185545c884facf47618d8041a5d0a53 (2026-11-20T17:47Z). A changeset sentence and the ablation record

Scope. I reviewed the 16 files against merge base eb9f8ed801 (+1,114 / −20). The dev report is 7046516194 and the claim is 7043112112.

The compile, the refusal, the Turso remote face, the chokepoint exemption and the case-set hold. Two things are owed. The changeset claims PostgreSQL coverage that the dev's own O2 measurement contradicts, and the report records no ablation.

What I checked

  • The compile (fixedReadLeafSubquery, sql-driver-internal-helpers.ts).
    • It builds getBuilder(table).select(column), then the leaf's own equals and memberOf predicates, then whereNotNull, then <> '' except on Oracle (emptyStringIsNull: this.isOracle). Every value is bound.
    • There is no applyTenantScope on the inner builder, as ① ruled A. The outer builder keeps its wall.
    • The $in arm of applyFilterCondition embeds the subquery in the list's own position, whereIn or orWhereIn.
    • I agree with keeping the walled readableIdsSubquery and the unwalled inner read deliberately different. ✔
  • The walk (findMisplacedFixedReadLeaf).
    • It treats $and and $or members, $not, and a composed scope (and on the remote face, a resolved semi-join's scope) as nodes, and a field's value as an operator map.
    • A field's $in comparand is the one admitted position. A leaf anywhere else, including a bare field value, $eq, $nin or inside a list, is found.
    • Cycles are guarded with an on-path set.
    • applyFilters refuses it before compiling, through refuseFixedReadLeafOnce on its own per-driver flag. ✔
  • The refusal is INTERNAL_ERROR / 500, not INVALID_FILTER. I agree. ADR-0155 holds a fixed-read leaf refusal at 500 wherever it occurs, as the step-2 seam does (feat(objectql, core, spec): the engine seam for the fixed-read leaf and its driver declaration (ADR-0155, step 2 of 6) #35839). The dispatch text was the error, not the dev. The pins assert { code: 'INTERNAL_ERROR', status: 500 }, plus one error log per driver on both Turso faces. ✔
  • Turso.
    • Local and embedded-replica modes inherit the SqlDriver compile.
    • The remote transport's fixedInnerReadSQL builds the same statement from the same exported predicates, with emptyStringIsNull: false because libSQL is SQLite.
    • TursoDriver walks and logs first, and the transport throws the unlogged envelope.
    • The pins check the transport's statement text and bindings. ✔
  • check-tenant-chokepoint.mjs. It adds exactly one EXEMPT entry, keyed …::fixedReadLeafSubquery::inner, with the ruling cited, and the summary line counts it. scripts/ is not a governed path. ✔
  • The case-set (@objectstack/spec).
    • n5 reaches d7, whose only grant is stamped in org_b.
    • The new nested-under-tenant case carries requiresUnwalledInnerRead: true and tenantId, so the existing spec test that every such case is tenant-read holds.
    • Its note names the failure it discriminates: a walled inner read drops n5.
    • Clause-②: yes and patch on spec are right for a published fixture whose expectations widen. ✔
  • CI at 9a099c3d21: 58 success, 11 skipped, 0 red, as relayed. ✔

Required

  1. The changeset overclaims PostgreSQL. It says the compile "covers every read verb and updateMany, on SQLite, PostgreSQL, MySQL, SQL Server and Oracle", and that the engine's seam "now hands the leaf to these drivers".
    • The dev's O2 measurement says otherwise: on PostgreSQL, an object whose id column is not text (a federated table keyed by integer or uuid) fails the statement with DATABASE_ERROR 42883, where today's list answers the rows. supports.fixedReadLeaves is declared for every dialect, so once a producer writes the leaf (step 6), the engine hands it to PostgreSQL for such an object.
    • Nothing writes the leaf today, so nothing breaks now. The release note still has to say what is true when it ships.
    • Fix: add one sentence. For example: "On PostgreSQL, an object whose id column is not text (an integer- or uuid-keyed federated table) fails the statement (DATABASE_ERROR, 42883) instead of answering its rows: that case is open on ADR-0155 step 3 (driver-sql + Turso remote): compile the share-grant leaf to a subquery, reads and the predicate update path #35872 (ADR-0155 D-0) and is settled before the sharing plugin writes the leaf." Optionally also say that MySQL, SQL Server and Oracle are pinned at compile shape here and run live in CI's Temporal Conformance job.
  2. Ablations: a record, no new head.
    • The report has no ablations key. The pins are dense, but L1 takes positive controls as evidence that they discriminate. Run each mutation on the face(s) shown, and post the reds and the clean restore as a report amendment:
      • (a) Drop the leaf. Replace the $in arm with "no restriction" (continue before whereIn). The case that "returns n3 too" should go red. Run on SQL.
      • (b) Wall the inner read. Add applyTenantScope (or a tenantId predicate) to the inner builder. The nested-under-tenant case and the g7 direct case should go red. Run on SQL, and in Turso remote by adding the scope to fixedInnerReadSQL.
      • (c) Skip the walk. Make findMisplacedFixedReadLeaf answer null. The misplaced pins should go red. Run on both faces.
      • (d) Drop the blank-id guard. Remove <> ''. The g10 and "empty id names no record" cases should go red.

For the seat (not L1's to rule)

Before landing

  • Delta L1 after item 1.
  • CI green on that head.
  • CONTRACT_REVIEW_TIER L2 PASS (packages/spec/src/**).

Generated by Claude Code

…aredRecordIds compile (ADR-0155 step 3)

The changeset said the compile covers every dialect without saying that on
PostgreSQL an object whose id column is not text fails the subquery with
DATABASE_ERROR 42883. It now says so, says the case is open on its own
decision card (ADR-0155 D-0) and settled before the sharing plugin writes the
leaf, and says which dialects ran live and which are pinned at compile shape.

Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH

L1 delta: ACCEPT at 71324295d471099c8ab8926e1b44ddace72ce7ae (2026-11-20T18:26Z)

This follows my REWORK 7046597905 at 9a099c3d21. Both required items are met.

What changed, and what I checked

Before landing

  • CONTRACT_REVIEW_TIER L2 PASS on 71324295d4, because the PR touches packages/spec/src/** (the case-set). That is the seat's to run.
  • Undraft.

Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz

Contract-review-claim: session_01L9qibyXo4gSy8DJPNz4ANz · head 7132429 · 2026-11-20T18:27Z

L1 ACCEPT 7047412922 (delta, on this head). The CONTRACT_REVIEW_TIER review runs as an isolated sub-agent of this card thread; its record and the filled brief follow on this PR.

@objectstack-fleet objectstack-fleet Bot added the needs:contract-review Marker only — PR awaits its at-tier Contract review PASS; no check reads it, the record decides label Nov 20, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 71324295d471099c8ab8926e1b44ddace72ce7ae
Local-runs: none
Scope: packages/spec/src/data/fixed-read-leaf-conformance.ts + packages/drivers/driver-sql/src/fixed-read-leaf-compile.ts, packages/drivers/driver-sql/src/sql-driver-internal-helpers.ts, packages/drivers/driver-sql/src/sql-driver-filter-helpers.ts, packages/drivers/driver-sql/src/sql-driver.ts, packages/drivers/driver-sql/src/index.ts, packages/drivers/driver-turso/src/remote-transport.ts, packages/drivers/driver-turso/src/turso-driver.ts, scripts/check-tenant-chokepoint.mjs

Read: card #35872 (body, triage 7042499013, claim 7043112112, reports 7046516194 and 7047340985), PR #35893 (body, 16 files, net diff from eb9f8ed801), ADR-0155 at the head, and the head's check-runs. The rest of the diff (the two driver suites, the spec self-test, the three scripts/adr-anchors/ files, the changeset prose) is the lane seat's ACCEPT at TIER_DEFAULT.

Check-runs on this head: 78 runs, 61 success, 17 skipped, 0 failure, none pending. Check Changeset (3 runs), Governed Surface Queue Guard, PR-body guards, Lint · PM dispatch-gates, Test Core 1/10 to 10/10, Type Check (workspace, source gates, consumer gates, debt ledger) and Spec property liveness are success. Temporal Conformance (live PG + MySQL) is skipped by its own selector, so no check-run on this head measured a live PostgreSQL or MySQL cell; the live PostgreSQL figures are the dev's local runs, and MySQL, SQL Server and Oracle rest on compile-shape pins.

① Derived judgments

  1. driver-sql accepts a SharedRecordIds leaf as a field's $in comparand and compiles it to field IN (SELECT record_id FROM sys_record_share WHERE …). Right: it is the position ADR-0155 D1 names and the form fixed-read-leaf.ts on main describes ("field IN (SELECT column FROM table …), where field is the one whose $in the leaf is"). Every compile path in the package enters through applyFilters (find, count, aggregate and its per-aggregation filter, distinct, the bulk and predicate writes, latest-per, window, query plan, the ReadableIds subquery), so the arm and the refusal hold on all of them.
  2. A leaf at any other position is refused before a statement runs, INTERNAL_ERROR / 500, logged once per driver. Right: D4 and D5 ("evaluates the leaf exactly, or refuses it loudly"), with the envelope @objectstack/core's refuseFixedReadLeafOnce already carries on main.
  3. SqlDriver.supports.fixedReadLeaves is ['SharedRecordIds'], inherited by SqliteWasmDriver and by TursoDriver in every mode. Right for the compile, and it lands in the same change as the compile, as the card orders. The engine's seam now hands the leaf to these drivers. One known class does not answer its rows: PostgreSQL with a non-text outer key (see ③).
  4. The Turso remote transport accepts the leaf in $in and compiles the same subquery from fixedInnerReadPredicates. Right: D5's second row. Remote mode declares the leaf only because this compiler exists.
  5. @objectstack/driver-sql gains five exports: findMisplacedFixedReadLeaf, fixedInnerReadPredicates, misplacedFixedReadLeafMessage, and the types FixedInnerReadPredicates and MisplacedFixedReadLeaf. Right: the remote compiler lives in another package and D4 forbids it a private copy of the predicates.
  6. SHARED_RECORD_IDS_CASE_SET changes as data, with no export added or removed: a fifth note row n5, one existing case's expected moves from [n1, n2] to [n1, n2, n5], and one case is added under a tenant. Right: every consumer seeds from the set and asserts from the set, so none restates the rows. On main the only consumers of .cases are the spec self-test and, in this diff, the two driver suites; objectql reads .seam, which is unchanged.
  7. check:tenant-chokepoint admits one unscoped read builder, fixedReadLeafSubquery::inner, where it admitted none. Right: D2 orders exactly this record ("an exemption citing this record if the guard reads the builder"), and the key silences that one binding only (violationsOf looks up file::method::binding).
  8. The driver also compiles a placed leaf on deleteMany and in a per-aggregation filter, wider than D1's verbs. Right: the verb rule is the seam's, and the driver's answer there is the exact set, never an ordinary comparand.

② Semver level

  • Changeset: patch on @objectstack/driver-sql, @objectstack/driver-turso and @objectstack/spec. It matches what the diff publishes: no key, value or type a metadata author can write changes (the leaf has no authored spelling, and DriverCapabilities.fixedReadLeaves is already on main), so Metadata-protocol: none, and AGENTS.md gives none the level patch for a widening that is not a protocol change.
  • Clause-②: yes is line-initial in the PR body and in the changeset body, and it is the right value: judgments 1, 3, 4 and 5 widen an accept-set or the public surface. No arm is owed, and the title carries no !.
  • The changeset's own account agrees with the tree: it says the compile exists on five dialects, names which were run live, and names the PostgreSQL non-text-key class and its card.

③ Boundary flags

④ Design judgment

No must-fix, no should-fix.

packages/spec/src/data/fixed-read-leaf-conformance.ts holds against ADR-0155 and its first consumers.

  • I recomputed the two nested cases from the rows. Unscoped: the doc scope owner = u1 OR id IN G(u1) answers d1, d2, d3, d7, d8, so the notes are n1, n2, n5. Under org_a: the composed scope's subquery is walled (readableIdsSubquery calls applyTenantScope), d8 leaves, and the notes are still n1, n2, n5. With the inner read walled as well, g7 (stamped org_b) leaves G, d7 leaves, and n5 drops: the case fails exactly the reading ① ruled A forbids, in the nested position step 1's L2 N4 asked for.
  • The new case is the only way the shared set can tell a walled inner read apart inside a composed scope: the direct case cannot, because there the arm under test is at depth one.
  • The empty-id half of N4 is not in the shared set, and that is right: a doc with an empty id would enter every evaluator's row set. Both driver suites witness it locally.
  • driver-memory refuses a tenant-scoped call, and the module's own rule already says such a driver records the refusal for every case that carries options, so the new case does not strand step 4.

The implementing files agree with the contract.

  • fixedReadLeafSubquery builds what D2 writes: the table and column from the leaf's description, each equals and memberOf bound, IS NOT NULL, the not-equal-to-empty half except on Oracle, no applyTenantScope, no limit, no order. record_id is a keyed text field with maxLength: 100, so it is created as varchar(100) on every dialect, Oracle included, and the comparison is varchar to varchar on the tables the platform manages.
  • The inner columns are unqualified, and every one is a column of sys_record_share, so none can bind to an outer table in the nested position.
  • findMisplacedFixedReadLeaf returns a finding only for a value isFixedReadLeaf vouches for, so it cannot refuse a filter that holds no leaf. The one position it passes, a field's operator map $in, is the position both compilers compile: compileFilters routes any map holding a $ operator to applyFilterCondition, whose $and, $or, $not and operator-map branches match the walk's roles. I found no position the walk admits and a compiler reads as a value.
  • On the remote face a placed leaf survives replaceComposedReadableIds (it copies only nodes it rewrites) and toRemoteFieldSpec (a non-list $in passes by reference), so the brand reaches the transport. Every remote door with a where goes through toRemoteWhere.
  • The message names the position, the leaf's name and its table, never the recipient.
  • The gate's exemption text states a reason a reader can check, and its success line now counts the entries.

Nits, none with an effect on correctness or the contract:

Implemented-by: claude/project-thread-thptm0
Reviewed-by: session_01L9qibyXo4gSy8DJPNz4ANz

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz

The brief handed to the isolated CONTRACT_REVIEW_TIER sub-agent whose record is 7047602668 (PASS on 71324295d471099c8ab8926e1b44ddace72ce7ae), posted for the seat to read before adopting it. needs:contract-review comes off with this comment.

Contract review brief — PR #35893 @ 71324295d471099c8ab8926e1b44ddace72ce7ae (card #35872)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --paths packages/spec/src/data/fixed-read-leaf-conformance.ts — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35872: its body and EVERY comment (rulings and earlier records included)
· PR #35893: its body, its file list, and the net diff against main at 71324295d471099c8ab8926e1b44ddace72ce7ae
· the check-runs on 71324295d471099c8ab8926e1b44ddace72ce7ae: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: packages/spec/src/data/fixed-read-leaf-conformance.ts;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/1cb35bdc-0d81-5349-bc14-73d1d05fc076/scratchpad/pr-35893/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet objectstack-fleet Bot removed the needs:contract-review Marker only — PR awaits its at-tier Contract review PASS; no check reads it, the record decides label Nov 20, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz

Landing · 2026-11-20T18:39Z · head 71324295d471099c8ab8926e1b44ddace72ce7ae

Probe Reading
check-governed-merges.mjs --pr 35893 NOT governed: 0 of 16 paths hit the register; 1,134 changed lines ≤ 3,000
landing-k.mjs --pr 35893 K = 3 < 15; no new locale pack; no shared book moved
overlap-check.mjs clean against origin/main, 0 PR heads
Reviews on this head L1 ACCEPT 7047412922 (delta after REWORK 7046597905); L2 CONTRACT_REVIEW_TIER PASS 7047602668 (brief 7047621799), no must-fix, no should-fix
Check-runs on this head every check success or skipped by its own selector, 0 failure

State: needs:contract-review removed with the brief; ready + auto-merge armed by this stroke. On merge, #35872 closes by Fixes; its close-out follows. O2's PostgreSQL non-text key is on #35906 (#33787 Blocked-by it).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 20, 2026 18:40
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 643fe3b Nov 20, 2026
82 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-thptm0 branch November 20, 2026 19:09
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 protocol:data size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADR-0155 step 3 (driver-sql + Turso remote): compile the share-grant leaf to a subquery, reads and the predicate update path

1 participant