Repository navigation
feat(driver-sql): compare the share-grant subquery by the key's type on PostgreSQL (ADR-0155 O2, ruling A) - #35967
Conversation
…share-grant subquery on PostgreSQL (ADR-0155 O2) On PostgreSQL the fixed-read leaf's inner read now projects record_id cast to the outer key column's base type, read once per table from the catalog and cached per knex client, so an integer, bigint, uuid, character(n) or domain key answers the rows today's id list answers. Text and varchar keys keep step 3's statement. Every door that compiles a where primes the type beside its other catalog primes; other dialects read nothing. Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
…grant key cast (ADR-0155 O2) Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 14 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 6 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 15 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 3e6496aff9c57421c99e313bcd1a197a7fb5b07c && git checkout 3e6496aff9c57421c99e313bcd1a197a7fb5b07c
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin d6be99d50cb2bd6e4d3140cbbf76767b5a6e1b9b 1e61bf84ede6ce71a16f5c8a0c67958531dac589 && git checkout -B drift-repro d6be99d50cb2bd6e4d3140cbbf76767b5a6e1b9b && git merge --no-ff 1e61bf84ede6ce71a16f5c8a0c67958531dac589
node scripts/docs-audit/affected-docs.mjs --json d6be99d50cb2bd6e4d3140cbbf76767b5a6e1b9b
|
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Contract-review-claim: session_01L9qibyXo4gSy8DJPNz4ANz · head 0f3e1d4 · 2026-11-21T01:23Z The face is the |
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH L1 · PR #35967 · head
|
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Contract reviewServed-tier: Face: the ① Derived judgmentsThe diff implies these accept-set and surface changes. Each is judged on its own.
② Semver level
③ Boundary flagsEvery dev flag and every open question is answered or routed:
Graded findings:
Implemented-by: VERDICT: PASS |
… first statement; smallint and numeric key pins (ADR-0155 O2) Each where-compiling door (count, updateMany, deleteMany, distinct, aggregate, the aggregate's joined parent, analyzeQuery, findWithWindowFunctions) now runs as the first statement of a fresh driver on a character(4) key, so a door that skips the prime answers wrong rows and loses the cast. Adds smallint and numeric(10,2) to the per-type pins. aggregate folds its measure filters into the prime as the SQL Server prime does. Docblock, anchor and changeset state that an unprimed or retyped character(n) key compares silently differently, and that an Oracle RAW(16) key is expected to fail. Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz The filled brief the TIER_DEFAULT sub-agent reviewed under (record above): Contract review brief — PR #35967 @
|
… table has no catalog reading (ADR-0155 O2, D2) "No reading" is now kept apart from "read: a text key". A failed or empty catalog read still records nothing, and a leaf compared with a table the driver holds no reading of is refused in ADR-0139 D3's envelope (INTERNAL_ERROR / 500, logged once per knex client) instead of compiling uncast, which on a character(n) key missed a padded grant silently. A type name knex cannot bind as one identifier is refused the same way. Live PG pins: a pool the caller's transaction holds times the catalog read out (find, count, updateMany refuse, nothing written, logged once, the next statement reads again), and a table created in the caller's uncommitted transaction is refused. Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
…sal pins Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH Delta L1 · PR #35967 · head
|
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Contract reviewServed-tier: This is a DELTA review. It starts from The delta is a fast-forward of three commits, 9 files, +401 / −49 (
The other files of the earlier diff are byte-identical on the two heads. They are ① Derived judgmentsGate verdicts are the check-runs on this head, read at 2026-11-21T02:52Z: 57 runs, 39 success, 18 skipped, none failed, none cancelled, none in progress.
Accept-set and public-surface changes in the delta:
② Semver level
③ Boundary flagsF1 (earlier record): closed. On the two points asked:
F2 (earlier nit): closed. F3 (earlier nit): closed per the dev's account. The PR body was rewritten to this head. That is not judged here, because the check-runs carry the gates. The 8-door first-statement pins: right, and they test what they claim.
The
SQL push-down (Prime Directive 5): no finding. The delta adds no id materialisation and no in-app join. The refusal is raised before any statement runs. Graded findings:
No must-fix. Implemented-by: VERDICT: PASS |
… a savepoint (ADR-0155 D-0, O2) A door running in the caller's transaction now reads the PostgreSQL catalog on that transaction's own connection, inside a knex nested transaction (a savepoint), instead of on a second pooled connection. A pool the transaction holds can no longer time the read out, a table the transaction created is read, and a failed read rolls back the savepoint alone, leaving the caller's transaction usable. That reading is kept for that transaction only. Outside a transaction the read stays on the pool. A failed or empty read still records nothing, and no reading is still refused (500, logged once). Live PG pins: a held single-connection pool answers the list's rows, cast, on find, count and updateMany; a character(4) table created in the uncommitted transaction answers [k1], cast; a catalog read failing inside the transaction is refused while the transaction stays usable. Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH Delta-2 L1 · PR #35967 · head
|
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Contract reviewServed-tier: This is a DELTA review. It starts from The delta is a fast-forward of one commit,
① Derived judgmentsGate verdicts are the check-runs on this head, read at 2026-11-21T03:44Z: 57 runs, 39 success, 18 skipped, none failed, none cancelled, none in progress.
Accept-set and public-surface changes in the delta:
The per-transaction cache is right, and a committed transaction cannot leak a stale reading.
② Semver level
③ Boundary flagsS1 (earlier delta record): closed. The two cases the earlier record named are both pinned live on PostgreSQL:
Both cases now answer the list's rows on a text key as well. What is left is a catalog read that actually fails, which is loud and is D2's allowed answer. The PR body states that as the narrowed step-6 note. Does every door thread its options? Partly. All 9 prime sites pass the door's own SQL push-down (Prime Directive 5): no finding. The delta adds a savepoint around a metadata read, and no id materialisation or in-app join. Graded findings:
No must-fix. Implemented-by: VERDICT: PASS |
…aches its key-type reading (ADR-0155 D-0, O2) updateMany on an object whose updated_at is only presumed issues its stamped attempt in a savepoint attemptWithoutPoisoning opens on the caller's transaction, so the leaf compiled under a transaction object the door never primed under and was refused (500) on every write, text keys included. The lookup and the prime now walk knex's parentTransaction chain: a savepoint sees what its parent sees, so the parent's reading holds there; a savepoint's own reading never reaches its parent. Live PG pin: on a fresh driver, a managed object in the presumed updated_at state, text and character(4) keys, a predicate updateMany with the write-form leaf in a caller transaction answers the list's rows and touches them. The changeset, the anchor and the prime's docblock say so, and the docblock names the savepoint's effect on concurrent statements on the same transaction. Claude-Session: https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#7 · os-tesla · session_01L9qibyQBB3KuDoNobNq9LH Delta-3 L1 · PR #35967 · head
|
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Contract reviewServed-tier: This is a DELTA review. It starts from The delta is a fast-forward of one commit,
① Derived judgmentsGate verdicts are the check-runs on this head, read at 2026-11-21T04:22Z: 57 runs, 39 success, 18 skipped, none failed, none cancelled, none in progress.
Accept-set and public-surface changes in the delta:
The parent walk is sound.
② Semver level
③ Boundary flagsS2 (second delta record): closed.
N1 (second delta record): closed as a documented nit. The The dev's sweep is confirmed. No other door compiles under derived options.
SQL push-down (Prime Directive 5): no finding. The delta adds a walk over in-memory links: no read, no id materialisation, no in-app join. No must-fix, no should-fix. Nothing open from the earlier records. The boundary facts below stand, and none moves the head:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz Landing · 2026-11-21T04:24Z · head
|
| Probe | Reading |
|---|---|
check-governed-merges.mjs --pr 35967 |
NOT governed: 0 of 14 paths hit the register; 1,231 changed lines ≤ 3,000 |
landing-k.mjs --pr 35967 |
K = 1 < 15; no new locale pack; no shared book moved |
overlap-check.mjs |
clean against origin/main f9f45d3 |
| Reviews on this head | L1 delta-3 ACCEPT 7057216047 (after REWORK 7055124444, ACCEPT 7056216450, REWORK 7056796280). L2 TIER_DEFAULT (face: Clause-②: yes declaration only, contract-review.md): PASS 7055157866 (F1), delta PASS 7056236983 (S1), delta-2 PASS 7056813710 (S2), delta-3 PASS 7057221897 on this head with F1, S1, S2 and N1 closed and no finding open; brief 7055169201 |
| Check-runs on this head | 39 success, 18 skipped by their own selectors, 0 failure |
State: needs:contract-review removed; ready + auto-merge armed by this stroke. On merge, #35906 closes by Fixes; its close-out follows.
Carried, not in this PR: Oracle RAW(16) → #35952; MySQL and SQL Server left unmeasured, as named; the live-PG pins (a)–(d) run on push only, so the seat reads the first push run on main for the PG cell. Step 6 (#33787) inherits three preconditions: a catalog read that fails or finds no relation answers 500; one savepoint plus one catalog read per transaction per table; a failed catalog read rolls back the caller's concurrent statements on that transaction.
Fixes #35906
Requested by Tesla · project thread
Refs #33787
Clause-②: yes
The compiled share-grant subquery changes its SQL on PostgreSQL for a key that is not text, and keeps ADR-0155 D-0's same rows (ruled A). A behaviour change in its own right: on a
character(n)key the subquery silently missed padded ids under step 3's SQL (the list answered[k1, k2], the leaf[k2]); thebpcharcast makes it answer the list's rows. No producer writes the leaf before step 6, so no reader has seen the miss.Metadata-protocol: none
维护者速读
What changes
On PostgreSQL, the
SharedRecordIdssubquery now comparesrecord_idas the outer key's own type. This is ADR-0155's O2, ruled A on the decision card.record_idcast to the base type of the column it is compared with:id IN (SELECT CAST(NULLIF(record_id, '') AS "pg_catalog"."int4") FROM sys_record_share WHERE …). A domain is cast to the type under it. The cast carries no typmod, the way a bound list member has none, so a long value is compared and never truncated. TheWHEREis step 3's, unchanged.textorvarcharkey takes no cast and compiles to step 3's exact statement. That covers every table the platform creates.NULLIF(record_id, '')keeps the cast total on a blank grant if a planner evaluates the projection before the blank-id guard. NULL is in noINset, so the set is unchanged.fixed-read-leaf-key-type.ts(new) reads each column's base type of the compared table frompg_catalog(pg_attribute, with domains walked down throughpg_type.typbasetype). It reads once per physical table, asgetBuilderaddresses it, and caches the answer for the life of the driver's knex client.wherecallsprimeFixedReadLeafKeyTypesbeside its existing catalog primes (primeMssqlGuidColumns):findRows,count,updateMany,deleteMany,aggregate(and each joined parent),distinct,analyzeQueryand the window-function read.wherefor a leaf in a field's$in. A statement with no leaf costs a walk and no read. It reads the door object's table, and the parent table of any composedReadableIdsscope the leaf sits in.INTERNAL_ERROR/ 500, logged once per knex client) and never compiled uncast, which on acharacter(n)key would miss a padded grant silently. A table has no reading when no door primed it, or when the catalog read failed or found no such relation. A type name knex cannot bind as one identifier is refused the same way.parentTransaction), soupdateManyon an object whoseupdated_atis only presumed, which retries its stamped write in a savepointattemptWithoutPoisoningopens, compiles with it (delta-2 L1 R1 / L2 S2); a savepoint's own reading never reaches its parent. Each transaction pays one savepoint and one catalog read per table it compares a leaf against. While that savepoint is open, knex runs the caller's other concurrent statements on the transaction inside it, so a failed catalog read rolls back a concurrent write made during the read (named in the prime's docblock, carried to step 6). A door with no transaction reads on the pool, as before.aggregateprimes itswhereand its per-measurefilters together, as the SQL Server prime does (L1 N1).$inarm passes the outer object, column and evaluator name tofixedReadLeafSubquery, which looks up the reading: a cast, no cast (a text key), or a refusal (no reading).sql-driver.tschanges on two existing lines (the private stub's signature) and stays at 10067 of its 10071-line ceiling.fixedReadLeavescomment said "every dialect". It now says the leaf compiles on every dialect and gives the same rows as the id list on SQLite and PostgreSQL only.INTERNAL_ERROR/ 500), and Turso's remote transport. That transport reads onlyfixedInnerReadPredicates, which is untouched, and it is SQLite. No producer writes the leaf.Read these first (risk order)
packages/drivers/driver-sql/src/fixed-read-leaf-key-type.ts,primeFixedReadLeafKeyTypesandCOLUMN_BASE_TYPES_SQL. These are the catalog read and its cache key. The risk is a table keyed differently in the prime and in the compile, which refuses every leaf on that table.packages/drivers/driver-sql/src/sql-driver-internal-helpers.ts,fixedReadLeafSubquery. This is the cast's only emission point and the no-reading refusal. The risk is a cast on a text key, which would change step 3's statement.sql-driver-crud.ts,sql-driver-bulk-operations.ts,sql-driver-aggregation.ts, …). The risk is a door that compiles awherewithout priming it, which now refuses every leaf there; each door is pinned as a fresh driver's first statement.Why
ADR-0155 D-0: "An outer key of another type answers the same rows. Where an object's
idcolumn is not a string, the subquery answers the rows today's list answers (O2)." The maintainer's ruling (option A) reads: "Sodriver-sqlcastsrecord_idto the outer key's base type on PostgreSQL. The type is read once per object from the catalog and cached. The result is the same rows as today's id list for integer and uuid keys, with a pin per type on live PG."Federated PostgreSQL tables are sharing-scoped, so this is reachable the moment step 6 (#33787) writes the leaf.
Tests
Measured on live PostgreSQL 16.15 before and after the change: today's list against the leaf, per key type
The before readings are at
170ca481f0and the after readings at7c8cf753aa(built locally on 170ca48, replayed onto main 523ada4 asf00b6312c7/0f3e1d467ewith identicalgit patch-id --stable; no driver-sql file changed on main in between). Each table is a raw-DDL table bound withregisterExternalObject.integer42,07,7[42, 7]DATABASE_ERROR/ 500 (42883)[42, 7]bigint07,9007199254740993[7, 9007199254740993]smallint7[7][7]numeric(10,2)7,8.50[7.00, 8.50]uuidinteger07,42[42, 7][42, 7]character(4)k1plus two spaces,k2[k1, k2][k2]: a silent miss[k1, k2]varchar(10) COLLATE "C"k1,K2[k1][k1][k1](no cast)textk1,k2plus a space[k1][k1][k1](no cast)integer, grantabcDATABASE_ERROR/ 500, 22P02DATABASE_ERROR/ 500, 22P02uuid, grantnot-a-uuidDATABASE_ERROR/ 500, 22P02DATABASE_ERROR/ 500, 22P02The
character(n)row is a silent miss under step 3's statement: the list compares asbpchar, which ignores padding, while the column-to-column comparison compares as text. Casting tobpcharfixes it.New pins:
sql-driver-fixed-read-leaf-conformance.test.ts, in the PostgreSQL cell: eight key types (integer,smallint,numeric(10,2),bigint,uuidbound through a remote schema,character(4), a domain overinteger, andtext).find+count, the negation and an$orposition, the predicate update (the write form throughupdateMany), and the compiled statement. A cast is present for each non-text key, andtextcompiles step 3's statement byte for byte.ReadableIdsscope,aggregate, a malformed grant id, and the read count. The malformed-id pin assertscode+statusequal to the list's, with 22P02 and not 42883. The read-count pin asserts one catalog read per table, nothing on a second statement or another verb, and nothing for a statement with no leaf.count,updateMany,deleteMany,distinct,aggregate, the aggregate's joined parent,analyzeQueryandfindWithWindowFunctionseach run as the FIRST statement of a freshSqlDriveron thecharacter(4)key, asserting the list's rows or count and thebpcharcast in every statement that reads the grants.find,countandupdateManyanswer the list's rows, every grant-reading statement carries thebpcharcast, and nothing is logged. (b) Acharacter(4)table created in the caller's uncommitted transaction: the list and the leaf both answer[k1], with the cast. (c) The catalog read fails inside the transaction (a test seam turns it intoselect 1/0, a real PostgreSQL error inside the savepoint):findandcountare refused withINTERNAL_ERROR/ 500, logged once. The caller's transaction then still runsselect 1and a list read, and with the seam removed the next leaf statement answers the list's rows. (d) On a fresh driver, a managed object over a table it did not create (updated_atpresumed), text andcharacter(4)keys: a predicateupdateManywith the write-form leaf in a caller transaction answers the list's rows, touches them, settles the presumption, and thecharacter(4)statement carries the cast. At99e085ec96both (d) pins were red withINTERNAL_ERROR/ 500 (no reading).fixed-read-leaf-key-type.test.ts(new, no server): the prime and the compile through a never-dialled PostgreSQL driver whose catalog read is stubbed.INTERNAL_ERROR/ 500, logged once, nothing recorded, asked again), a column the read table lacks (no cast), a read in a savepoint on the caller's transaction (kept for that transaction only, refused outside it, nothing recorded when it fails), a savepoint derived from the transaction reaching its reading and never the reverse, awherewith no leaf, theReadableIdsand$orpositions, and no read on SQLite, MySQL or SQL Server.Package suite and typecheck at 7c8cf753aa (code head; c9a3ef2d8f adds only the changeset and the anchor)
Fix round, at 7f4974a (the F1 code; c7cc4e2 changes only the new pins' option typing)
Delta-2 round (R1 / S2), at 1e61bf8
S1 round, at 99e085e
Ablation (round 1). One mutation, made after the code was committed, through
scripts/ablation-replace.mjs. The compile site's projectioncast === null ? read.column : castFixedReadLeafColumn(…)was replaced withread.column, so no cast is emitted. The prediction was 29 failed: 5 of 9 in the unit file, and 24 PostgreSQL pins in the conformance file (four per non-text key, plus the nested, aggregate, malformed-id and read-count pins). The observed result was29 failed | 86 passed | 1 skipped (116). The malformed-id pin's failure readsexpected '42883' to match /22P02…/, which is step 3's error. The tool restored the file to the HEAD blobf584fa2998e7,git diff HEADwas empty, andgit hash-objectmatchedgit rev-parse HEAD:path.Ablations (fix round), each through
scripts/ablation-replace.mjsafter the commit, each restored to the HEAD blob withgit diff HEADempty.count's prime removedupdateMany's prime removeddeleteMany's prime removeddistinct's prime removedaggregate's prime removedanalyzeQuery's prime removedfindWithWindowFunctions' prime removedfindRows' prime removed1e61bf84ed)character(4)INTERNAL_ERROR/ 500 (no reading)99e085ec96)INTERNAL_ERROR/ 500 (no reading); (c) answered the rows instead of the refusalfixedReadLeafSubquerycompiles uncast)[k2 ]where the list answers[k1 , k2 ], and (b) answers[]where the list answers[k1 ]: the silent miss F1 namesThe door ablations ran under the R1 round's commit
707ffb5cc2, before the F1 refusal existed: a missed prime then compiled uncast and missed silently, which is what each door pin caught.Acceptance notes
The dialects
driver-sqlships (O2, per the seat note).sys_record_share's may raise "illegal mix of collations", which is loudnvarcharconverts tointoruniqueidentifier, the same conversion the list'snvarcharbinds getRAW(16)uuid key. The list bindsHEXTORAWover the undashed hex (oracleUuidRawBinding) and refuses a non-uuid withINVALID_FILTER/ 400. The subquery's implicit conversion of a dashed uuid is expected to raise ORA-01465, which is loud. ANUMBERkey converts the way the list's binds do. Ruling A applied to Oracle is filed as driver-sql: the share-grant subquery on Oracle for a RAW(16) uuid key (ADR-0155 O2, ruling A applied to Oracle) #35952 (seat 7, 2026-11-20T22:56Z), and plugin-sharing: a member with more than 5000 share grants on one object silently loses access to the grants past 5000 (list misses rows, GET answers 404) #33787 isBlocked-by: #35952; this PR does not refuse itThe C-assumptions, measured.
pg_attributepluspg_typewith a recursive domain walk. An array key is cast to its array type (unmeasured, no consumer). A malformed id matches the list: 22P02,DATABASE_ERROR/ 500.sql-driver.tsstays at 10067.The step 3 changeset (
.changeset/35872-shared-record-ids-sql-compile.md, not yet released) still says the PostgreSQL non-text case "is open". This PR's changeset states the change. The old note was not edited.Not measured locally: the live MySQL cell has no server here.
What is left for step 6 (plugin-sharing: a member with more than 5000 share grants on one object silently loses access to the grants past 5000 (list misses rows, GET answers 404) #33787). The saturated pool and the table created in the caller's transaction now answer the list's rows (S1), so neither is a precondition any more. What remains: on PostgreSQL, a leaf statement whose catalog read itself fails (on the pool, or in the savepoint) or finds no such relation is refused with
INTERNAL_ERROR/ 500 where step 3 ran it uncast. That holds for text keys too, whose compiled statement is otherwise step 3's. Nothing writes the leaf yet, so no caller meets it. Also for step 6: each transaction pays one savepoint and one catalog read per table it compares a leaf against (a transaction's reading is never promoted), and a failed catalog read inside a caller's transaction rolls back any write the caller ran concurrently on that transaction during the read.Sweep: every place that compiles a
whereunder transaction options other than the ones its door primed with.grep -n 'applyFilters('overdriver-sql/src(non-test) finds 12 call sites. All compile under the options their door primed with exceptsql-driver-bulk-operations.ts:326(updateMany'sissue, given a savepoint byupdateWithPresumedTimestamp), which is R1 and is now covered. The composed-scope site (sql-driver-internal-helpers.ts:145) andsql-driver-latest-per.ts:133(reached only fromfindRowswith its options) compile with the door's own options.grepfor derived transaction options ({ ...options, transaction: … },.transaction(async,attemptWithoutPoisoning() finds four other sites:bulkUpdate(sql-driver-bulk-operations.ts:268, which goes toupdateby id),upsert(sql-driver-sequence-semantics.ts:842,:853) and the autonumber sequence (sql-driver-autonumber.ts:193). None of them callsapplyFilters, so none can compile a leaf.Verification
Two minutes, with a PostgreSQL URL:
Expect
140 passed | 1 skipped (141), where the skip is the MySQL cell. Without the URL, the unit file still runs its 12 tests, and the live PostgreSQL pins report NOT RUN.Local gates at 1e61bf8: 80 derived families, each exit code captured before any pipe
The list comes from
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack.--ranreconciles it as80 derived famil(ies) accounted for — 80 run, 0 NOT-MEASURED.check:dts-closureandcheck:dual-build-cjs-loadsfirst exited 1 on a missingpackages/plugins/organizations/dist/index.d.ts, because an overlapping earlier gate run of mine was rebuilding that package, which this PR does not touch; after a rebuild both exited 0.) Among them,check:tenant-chokepointreported "every unscoped one is an insert or one of 1 EXEMPT entr(ies)".check:facade-delegation-onlyreported "4 file(s) within their line ceiling". Also green:check:adr-anchors,check:nul-bytes,check:driver-conformance,check:test-source-alias,check:where-matcher,check:durability-log-level,check:doc-authoringandcheck:dts-closure.check:dual-build-cjs-loadsandcheck:lean-entry-closureexited 3 (PREREQUISITE NOT MET); at c7cc4e2, 99e085e and 1e61bf8 both exit 0.node scripts/pm/overlap-check.mjs --branch=claude/project-thread-thptm0: "origin/main (9ed18a5): merges cleanly", VERDICT clean, exit 0.Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibyXo4gSy8DJPNz4ANz