Skip to content

Commit 73df76d

Browse files
committed
docs(adr): ADR-0155 reflow the lines the ruling edit left ragged
Claude-Session: https://claude.ai/code/session_01ADHkmSLi1reMd27fT62jJ3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 346cedc commit 73df76d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎docs/adr/0155-sharing-scope-share-grants-lower-to-an-engine-internal-semi-join-leaf.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ Name the set once, so every later sentence can point at it:
285285
D1's reason for one leaf as this: one brand carries one meaning, so no composer has to ask which meaning it holds.
286286
This record keeps that reason the same way, by giving each further meaning a brand of its own.
287287
- **What it carries: the inputs of G and nothing else.** The object's name, the recipient's user id, and the admitted
288-
access levels: none on the read form, which admits every level, and `WRITE_ACCESS_LEVELS` on the write form (③ A),
289-
supplied by the producer so the level vocabulary keeps its one home. `recipient_type = 'user'` is fixed, not
288+
access levels: none on the read form, which admits every level, and `WRITE_ACCESS_LEVELS` on the write form
289+
(③ ruled A), supplied by the producer so the level vocabulary keeps its one home. `recipient_type = 'user'` is fixed, not
290290
carried. It carries no organization, no caller scope and no reading context. The inputs are ordinary enumerable
291291
properties, as `ReadableIds`' object name is, so two users' leaves never compare or serialise as equal; only the
292292
brand is non-enumerable. The rest of its representation is the spec card's.
@@ -437,8 +437,7 @@ After the switch the read scope is:
437437
ADR-0139 D5.2's class, and a find hook, `beforeFind` or `afterFind`
438438
(`packages/objectql/src/engine.ts#registerHook`), which this record adds for this table. ⛔ The seam never reads
439439
around either. What each class answers is ②'s, as ruled, and each is a row of Q2's census. No package in this
440-
repository names
441-
the table in either kind of registration on its own. plugin-audit registers its record-view hook for the objects a
440+
repository names the table in either kind of registration on its own. plugin-audit registers its record-view hook for the objects a
442441
host opts in, so a host that opts this table in is in the class. That hook returns at once on a system read
443442
(`packages/plugins/plugin-audit/src/read-audit.ts#installReadAuditWriter`, through its record-view handler), which
444443
the grant read is.
@@ -818,8 +817,8 @@ ADR-0147's leaf and `delete` keep it as written. B and C were not taken.
818817

819818
## Open items (not blocking acceptance; each becomes a reading on its card)
820819

821-
- **O1** — Names. `SharedRecordIds`, and the driver declaration's name (② as ruled consults one). The seat's call, fixed on
822-
the spec card, and shared with ADR-0147's O1 where the declaration is shared.
820+
- **O1** — Names. `SharedRecordIds`, and the driver declaration's name (② as ruled consults one). The seat's
821+
call, fixed on the spec card, and shared with ADR-0147's O1 where the declaration is shared.
823822
- **O2** — Key comparison. The subquery compares two columns where today a column meets bound strings. On the tables
824823
the platform manages both are strings. The driver card pins the comparison, type and collation, on every dialect
825824
`driver-sql` ships, and answers an outer key of another type with the same rows (D-0).
@@ -877,9 +876,10 @@ names.
877876
2. **Engine: the seam.** Door admission, pass-through, the position rule, the verb rule (③ ruled A: the write form
878877
admitted in the `where` of a predicate `update`, nowhere else) and the recipient rule, the two recognised classes
879878
(② as ruled: R2 with R1 behind it for an object on another datasource, R1 for the host class), the descent into
880-
composed scopes, the refusal, and the consult of the driver declaration that R2 reads (② as ruled). The recipient rule is pinned on its four cases: the context's user, its
881-
delegator, a system context, and any other recipient, which is refused. The cases of ADR-0147's anchor are pinned
882-
on the card that adds that leaf to the seam: the reading context's own anchor; ADR-0147 D-c's context, the
879+
composed scopes, the refusal, and the consult of the driver declaration that R2 reads (② as ruled).
880+
The recipient rule is pinned on its four cases: the context's user, its delegator, a system context, and any
881+
other recipient, which is refused. The cases of ADR-0147's anchor are pinned on the card that adds that leaf to
882+
the seam: the reading context's own anchor; ADR-0147 D-c's context, the
883883
delegator's rebuilt one, reading under the anchor it carries; a system context; and an anchor that differs in its
884884
caller or in its organization, or a context that carries none, each refused.
885885
3. **`driver-sql` and the Turso remote transport: the compile.** The subquery with no tenant scope (① ruled A), the
@@ -889,8 +889,8 @@ names.
889889
4. **`driver-memory`: the in-process evaluation**, on reads and on the update path (③ ruled A).
890890
5. **The rest of the census, as ② is ruled**: the storage rows' refusal for this brand (R1, behind R2), the analytics
891891
compilers (the native compiler compiles the leaf; the engine strategy's merge admits the brand), the explainer's
892-
record pass (resolved at the record). The native compiler's card carries the recognition of D4's two classes and the decline to
893-
the engine strategy. ⛔ No card up to here refuses a boot.
892+
record pass (resolved at the record). The native compiler's card carries the recognition of D4's two classes and
893+
the decline to the engine strategy. ⛔ No card up to here refuses a boot.
894894
6. **plugin-sharing: the switch.** The seat that cuts this card first produces O8's census and records it in the
895895
card's body; without the census the card is not cut. `buildReadFilter` and `buildWriteFilter` write the leaf, and
896896
the approval ids become a disjunct of their own. Each tightening lands here, at the moment it takes effect: R2's

0 commit comments

Comments
 (0)