Repository navigation
docs(adr): ADR-0155 share-grant semi-join leaf for the sharing read scope (Proposed) - #34064
Conversation
…cope (Proposed) A new decision record, Status Proposed. The sharing scope's share-grant arm lowers to one more engine-internal branded comparand over sys_record_share, compiled in the id list's own position, so every grant counts and the 5000-row cap is gone rather than raised. Three questions are put to the maintainer and are not decided by the text: the tenant scope of the subquery, what an evaluator that cannot run the leaf answers, and the leaf's write form on a predicate update. The record declares and implements nothing. docs/adr/README.md gains the record's row and the counts it implies, from `node scripts/adr-index.mjs`; no other row moved. Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract reviewServed-tier: PR #34064 for card #33899: one new decision record, ADR-0155 (Status Proposed), and its index row. Reviewed in a context of its own, from the tree at this head, cards #33899 and #33787 with their comments, the PR, and the head's check-runs. Code outside the diff was read on main No must-fix. Three should-fix (S1 to S3) and thirteen nits (N1 to N13), all listed under ④. ① Derived judgmentsGates on this head. 49 check-runs, all completed, none still running: 26 success, 23 skipped, 0 failed.
The diff. Net of the merge, the head differs from main in two files: the new record (+673) and Claims about today's code, each read on
The decisions against the card.
PR body requirements, all met. ② Semver levelNone. The diff is two files under
③ Boundary flags
④ Design judgmentAgainst its first consumer. The first consumer is the plugin-sharing switch, and it can be written from D1 to D3 as they stand. Every reader of the two builders on main has an answer in the record: the middleware's Against its execution plan. Spec, engine, Clarity, proportion, corpus. 673 lines and 58.6 KB, against 37.5 KB for ADR-0139 and 37.9 KB for ADR-0147. The difference is the question section (146 lines) and a longer Context (102 lines), and the card's seven items asked for both. Restatement is limited to three places: the SQL in the TL;DR and in D2, the three questions summarised in the Status line and the TL;DR, and four rejections that appear under "Why no existing form serves" and again under Alternatives. ADR-0147 has the same shape. I found no padding. Header fields, anchor style and closing sections follow ADR-0147; the one departure is "Revisits" where ADR-0147 has "Amends" (N5). The three recommendations.
Should-fix.
Nits.
Implemented-by: VERDICT: PASS |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
…pin, middleware row A text-only round on the record after its at-tier contract review. The record stays Proposed, and its three maintainer questions stay open. D4 decides the seam's recipient rule. The seam admits a composed share-grant leaf only when its recipient is the user of the context the operation runs under, or that context's delegator. A system context is the stated exemption. Any other recipient is a composition fault, answered with D4's refusal envelope. The reason is the one ADR-0139 already acts on: a composed scope is trusted only for the principal it was composed for. ADR-0147's anchor takes the same rule, because the seam is built once for both leaves. The open item that asked this question is removed. D6 gains two pins: the nested and the delegated positions, and the plan and timing of the list page and its total for a caller with no grant, on SQLite and on PostgreSQL, against today's statement. The middleware class D4 recognises becomes a row of Q2's census, with what each of the three answers does to it and a recommendation of its own. D4 no longer decides it in place. D5 keeps only the in-process matcher's answer for an `$in` whose comparand is not an array. The Revisits line and O7 say the ADR-0139 D3 pointer is owed under L as well as R2, name the card that carries the ADR-0139 notes, and drop a reason that no longer holds. Q2 points at D5's driver-memory row, which the maintainer may move under the same question. One-line corrections from the same review: the read scope's null answers, the organization stamp of a rule-materialised grant, the ADR-0131 citation, what a leaf compiles to outside its subquery, find hooks on the grant table, the update path on the driver-memory card, the seat constraint Q3's first form meets, and the statements that hold only under one answer to the third question. No other record is edited, and the index row is unchanged. Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract reviewServed-tier: PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. This record is the delta on fix round 1. The at-tier record on No must-fix. S1 to S3 and N1 to N13 are each taken. The round's new text carries three should-fix (S4 to S6) and four nits (N14 to N17), all listed under ④. ① Derived judgmentsGates on this head. 48 check-runs, all completed, none still running: 26 success, 22 skipped, 0 failed.
The head. What moved under the record. Ten commits reached main between the first record's base Round 1's findings against the text. Each is taken, and each fix was checked on main
Anchors and links. 49 PR body requirements, all met. ② Semver levelNone, unchanged. The diff is still two files under ③ Boundary flags
④ Design judgmentThe recipient rule (S3), against the code it rests on.
The middleware row (S2). Each of the three answers is costed for the class, and the recommendation is put, not decided: the row sits in Q2, the cost list says what the host loses, and the 速读 carries it to the maintainer. The comparison the recommendation rests on is fair: a storage row "leaves the host no remedy", and this row's condition is "one registration the host can remove". L, R2 and the seam's refusal alone stay available, row by row. Against its execution plan. The new pieces land where they belong: the recipient rule and its four cases on the engine card (step 2), D6's plan reading on the driver card (step 3), the update path on the memory card (step 4). One piece is out of order (S4). Clarity, proportion. 728 lines, 55 more than the reviewed head. The growth is where the findings asked for text: D4 (48 to 66 lines), D6 (13 to 23) and Q2 (70 to 80). The round restates nothing the first record had not already counted, and I found no padding. Should-fix.
Nits.
Implemented-by: VERDICT: PASS |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
… identity check at the shared seam A text-only round on the record after its delta contract review. The record stays Proposed, and its three maintainer questions stay open. The host row's boot check moves to the switch card. Until a producer writes the leaf, today's grant read still runs a registration on the grant table and nothing reads around it, so no card before the switch refuses a boot. The census of hosts and outside readers is read before the switch card is cut. The TL;DR, Q2's row, its cost list, its recommendation, the open item and the execution plan say the same. D4 states in full what the shared seam checks on ADR-0147's anchor. One rule holds for both leaves: every identity named by a leaf that arrives composed is compared with the reading context. This record's leaf names its recipient. ADR-0147's anchor names its caller and its organization, and the organization must be the reading context's active organization. A system context is the one exemption, and any mismatch is the composition fault D4 already answers. ADR-0147 takes this through its cross-reference note, which lands with this record's other pointer notes. The class D4 recognises second covers a find hook registered for the grant table by name as well as an object-scoped middleware. The census looks for both kinds, and the boot check names either. The pointer notes land with the governed edit that records the maintainer's rulings in this record's Status line, which the first acceptance criterion already requires. The record names no other carrier. D4 also says why the seam's position, verb and recipient checks hold by construction on the analytics native-SQL path, which has no seam in front of it. Consequences names option C beside B for the write side, and the precondition the recipient rule gives the documented use of the security service's read filter. The spec card's prose list and the Consumers field name that contract. No other record is edited, and the index row is unchanged. Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract reviewServed-tier: PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. This record is the delta on fix round 2. The earlier records are 6899302526 (on One must-fix (M1). S4, S5, S6 and N14 to N17 are each taken in the text. The round's new text carries M1 and three should-fix (S7 to S9), all under ④. No nit. ① Derived judgmentsGates on this head. 48 check-runs, all completed: 26 success, 22 skipped, 0 failed.
The head. Against current main. Round 2's findings against the text. Paths are under
Anchors. 53 distinct PR body requirements, all met. ② Semver levelNone, unchanged. The diff is two files under ③ Boundary flags
④ Design judgment(a) The full rule on ADR-0147's anchor, against main. Every context main builds that carries the membership list, which ADR-0147 D-e moves to the anchor:
The organization half refuses no lawful read. In every context above the anchor's organization is the organization the context carries, the delegator's rebuilt context included. The caller half refuses a lawful read. The delegator's rebuilt context is a reading context on main. On a delegated write to a In the delegated read flow the rule does hold: the delegator pass compiles under the rebuilt context ( (b) The native-SQL argument. It holds for what it names. (c) The plugin-audit sentence: keep. It is true as written. The record-view hook is an (d) The census. O8 now reads "It is owed before the switch card is cut", and step 6 "O8's census is read before this card is cut". Both are passive. The round took the census away from the switch card, which owed it before, and gave it to no one (S9). Against its execution plan. S4's reordering is right: the boot check, the inert arm and its report all land at the switch, where each takes effect, and the plan now says so in one sentence. The remaining gap is the analytics card of step 5 (S7). Clarity, proportion. 752 lines, 24 more than the reviewed head, all in the places the findings named. No padding found. Must-fix.
Should-fix.
Implemented-by: VERDICT: FAIL |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
…own anchor, native compiler returns classed objects to the engine A text-only round on the record after its second delta contract review. The record stays Proposed, and its three maintainer questions stay open. D4 states the shared seam's rule for ADR-0147's anchor against what the reading context itself carries. The seam compares the leaf's anchor with the anchor the context carries, caller and organization together, and admits the leaf only when both are equal. Nothing is re-derived from the context's userId or tenantId, as ADR-0147 D-a rules. ADR-0147 D-c's context, the delegator's rebuilt one, reads under the anchor it carries and is admitted. The built-once table says the same, plan step 2 lists the cases the later card pins, and Consequences keeps its "no flow" sentence to this record's own leaf. The recipient rule of this record's leaf is unchanged. The analytics native-SQL compiler compiles the leaf only where the seam would hand it to a driver. Where either class D4 recognises applies, it declines the query to the engine strategy before anything compiles, so the class gets the answer question 2 rules. Q2's row states the price, and plan step 5 names the card that carries the recognition. A registration on the grant table that skips system reads stays in the host class: the engine reads registrations and not handlers. For a host whose registration is its opt-in to record-view auditing, removing it gives up that auditing of share rows. D4, Q2's host row and its cost list say so, price the other answer, an exemption on a declaration the engine enforces, and put the choice to the maintainer under question 2. The seat that cuts the switch card produces the census of hosts and outside readers as a condition of cutting it, and records it in that card's body. O8, plan step 6 and the acceptance criteria say the same. No other record is edited, and the index row is unchanged. Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract-review-handoff: review#2 — CONTRACT_REVIEW_TIER unavailable (maintainer quota limit on the review tier, 2026-11-15T22:14Z) · head 7a87d58 The maintainer limited use of the review tier at 2026-11-15T21:53Z and routed contract reviews to the review seat. Owed: a delta review of fix round 3 against the round-2 delta record 6901557418 (FAIL on |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head 7a87d58 · 2026-11-15T22:20Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T22:30Z. Delta review of this head against FAIL 6901557418 at 1f6f971; claim: comment 6902327812; lane request 6902291082 on mailbox #33873 (the lane's at-tier reviewer was unavailable). Independence: implemented in an os-steve project thread, dispatched by domain:skills#2 (os-steve); reviewed by os-tesla. PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. The earlier records are 6899302526, 6900428326 and 6901557418. I read the record whole at this head (790 lines), the fix commit No must-fix. One should-fix (S1, new), four nits. M1, S7, S8 and S9 of 6901557418 are each closed. ① Derived judgmentsGates on this head. 48 check-runs, all completed: 26 success, 22 skipped, 0 failed, 0 running. Test Core was still running at my first reading and has since completed green. Success includes Governed Surface Queue Guard, both PR-body guard runs, Check Documentation Links, the six Lint jobs and the three scoped ones (the ADR index and symbol-anchor gates are steps of "Lint · docs & code guards"), the four Type Check jobs, Test Core and Test UI. Skipped: Check Changeset in both runs ( The head and the merge. The index and the number. Main holds no 0155; 0153 and 0154 are the last two. The README change is the count line (155 to 156 records, 150 to 151 numbers), Proposed 8 to 9, the total, and one appended row whose status cell reads "Proposed — 2026-11-15; questions ①–③ are open". No other row moved. The record's Status line is Proposed, and ADR-0139, ADR-0111 and ADR-0147 are untouched; their dated notes are held as owed in O7. Anchors. 55 distinct The prior ids, by id.
The card's seven items. Each is ruled or put: the leaf and its brand (D1), the tenant wall (D2, Q1), write verbs (Q3), the evaluators (D5, Q2), the shared seam (D4), the arms (D3), the plan. Q1 to Q3 are put with options, costs and a recommendation, and the Status line says they are not decided. ② Semver levelNone. Two files under ③ Boundary flags
④ Design judgmentIs the leaf exactly the read it replaces. Read against
Composition with ADR-0139. The nested position is stated (D1, D4: the checks descend into composed scopes, and Against its first consumer and its plan. The switch lands last, every tightening lands with it, no card before it refuses a boot, and D6 pins parity at 5,000 and the corrected answer at 5,001 and 6,000 on two dialects, the nested and delegated positions, and the plan of the statement that changes shape most. No cap is added; the approval list's ceiling is recorded as unmeasured (O4). Should-fix.
Nits.
Implemented-by: VERDICT: PASS |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
…istration that names no object Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract-review-handoff: review#2 — CONTRACT_REVIEW_TIER unavailable (maintainer quota limit on the review tier, 2026-11-15T22:44Z) · head 44cb185 Owed: the delta review of fix round 4 against record 6902450506 (PASS on |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head 44cb185 · 2026-11-15T22:46Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T22:52Z. Delta review of this head against PASS 6902450506 at 7a87d58; claim: comment 6902649034; lane request 6902634012 on mailbox #33873 (the lane's at-tier reviewer was unavailable). Independence: implemented in an os-steve project thread, dispatched by domain:skills#2 (os-steve); reviewed by os-tesla. PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. The earlier records are 6899302526, 6900428326, 6901557418 and 6902450506. I read the fix commit No must-fix. One should-fix (S1, the residue of the prior S1), three nits. The prior S1 is closed as asked, with that residue; the prior N1, N2, N3 and N4 are each closed. ① Derived judgmentsGates on this head. 48 check-runs, all completed: 26 success, 22 skipped, 0 failed, 0 running. Success includes Governed Surface Queue Guard, both PR-body guard runs, Check Documentation Links, the six Lint jobs and the three scoped ones (the ADR index, link and symbol-anchor gates are steps of "Lint · docs & code guards"), the four Type Check jobs, Test Core and Test UI. Skipped: Check Changeset in both runs ( The range since The index and the number. Unchanged from the last record and still right: the count line (155 to 156 records, 150 to 151 numbers), Proposed 8 to 9, the total, and one appended row whose status cell reads "Proposed — 2026-11-15; questions ①–③ are open". The fix round changed neither the title nor the Status line, so the row owes no regeneration. No section or open item was added or renumbered: open items are still O1 to O9, the plan still has six steps, and every cross-reference the round wrote ("D4's boundary", "Q2's host row", "plan step 1", "plan step 6", "O2", "D-0") names a place that exists. Anchors. 55 distinct The prior ids, by id.
"None was found in this repository." The new D4 text rests that sentence on my last record. I re-read it at this head and did not adopt it: every middleware registration in non-test source that names no object or names ② Semver levelNone. Two files under ③ Boundary flags
④ Design judgmentIs the new boundary sound. Yes as a line, and it is the only line the engine can draw. The engine holds registrations and their objects, not what a handler does, so a class that took in every registration naming no object would refuse every host at boot, the platform's own plugins being among the registrants. ADR-0139 D5.2 already stands on the same line for Does it keep "Nothing else moves". Not by a mechanism, and the record no longer claims one: for this case it replaces "the same rows" by "or the host is told". That is an honest rule and the maintainer's to accept. What the record owes in return is that the telling be exact and its price be on the page. It is not yet, on two points (S1). Against its first consumer and its plan. The order is unchanged: the switch lands last, every tightening lands with it, no card before it refuses a boot, the census precedes the card that can. The two tellings sit on the right cards (the spec card's prose, the switch card's changeset, "in the release where the subquery starts"). Acceptance criteria were not touched and need not be: the census criterion covers the widened census by reference to O8. Should-fix.
Nits.
Implemented-by: VERDICT: PASS |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head ea5e72e · 2026-11-15T23:04Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T23:09Z. Delta review of this head against PASS 6902721135 at 44cb185; claim: comment 6902871424; lane request 6902864855 on mailbox #33873 (the lane's at-tier reviewer was unavailable). Independence: implemented in an os-steve project thread, dispatched by domain:skills#2 (os-steve); reviewed by os-tesla. PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. The earlier records are 6899302526, 6900428326, 6901557418, 6902450506 and 6902721135. I read the fix commit No must-fix. One should-fix (S1, a scoping remainder of the prior S1), two nits. The prior S1 is closed on both parts as asked; the prior N1, N2 and N3 are each closed. ① Derived judgmentsGates on this head. 48 check-runs, all completed: 26 success, 22 skipped, 0 failed, 0 running. Success includes Governed Surface Queue Guard, both PR-body guard runs, Check Documentation Links, the six Lint jobs and the three scoped ones (the ADR index, link and anchor gates are steps of "Lint · docs & code guards"), the four Type Check jobs, Test Core and Test UI. Skipped: Check Changeset in both runs ( The range since The index and the number. Unchanged and still right: the fix round changed neither the title nor the Status line, so the row owes no regeneration. No section, question row or open item was added or renumbered: open items are still O1 to O9, the plan still has six steps, Q2's census has the same rows, and its cost list gains one bullet. Every cross-reference the round wrote names a place that exists: "D4's boundary", "among Q2's costs", "plan step 1", "plan step 6", "the host row", "D-0", "(Provenance)". Anchors. 55 distinct The prior ids, by id.
② Semver levelNone. Two files under ③ Boundary flags
④ Design judgmentDoes the round hold against the code it cites. Yes. The one fact about code in the changed text is the reason the recommended line has no run-time signal: "the seam and the boot check read a registration by the object it names, and this one names none". That is how the engine's recognition reads a registration today ( Is the telling now exact, and is the price on the page. The telling is exact: by name, never read around, and the answer is whatever ② rules for the class; with no object named, not run on the share arm. Both lines of the boundary are priced, in one place, and the text does not decide between them. That was the substance of the prior S1 and it is met. What is left is the reach of the sentence that states the price (S1). Against its first consumer and its plan. The order is unchanged: the switch lands last, every tightening lands with it, no card before it refuses a boot, the census precedes the card that can. Acceptance criteria were not touched. Their last line, "At every step D-0 holds on every evaluator that evaluates the leaf", now reads against a D-0 that names one case where the same rows are kept by a notice; S1 is what keeps that line testable. Should-fix.
Nits.
Implemented-by: VERDICT: PASS |
Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
… registration that changes the grant read Claude-Session: https://claude.ai/code/session_01ADHkmSrxgDeeJWnQpVfLcX Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Contract-review-handoff: review#2 — CONTRACT_REVIEW_TIER unavailable (maintainer quota limit on the review tier, 2026-11-15T23:20Z) · head 0913316 Owed: the delta review of fix round 6 against record 6902940583 (PASS on |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head 0913316 · 2026-11-15T23:22Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T23:27Z. Delta review of this head against PASS 6902940583 at ea5e72e; claim: comment 6903107220; lane request 6903082324 on mailbox #33873 (the lane's at-tier reviewer was unavailable). Independence: implemented in an os-steve project thread, dispatched by domain:skills#2 (os-steve); reviewed by os-tesla. PR #34064 for card #33899: ADR-0155 (Status Proposed) and its index row. The earlier records are 6899302526, 6900428326, 6901557418, 6902450506, 6902721135 and 6902940583. I read the fix commit No must-fix, no should-fix. Two nits. The prior S1, N1 and N2 are each closed. ① Derived judgmentsGates on this head. 48 check-runs, all completed: 26 success, 22 skipped, 0 failed, 0 running. Success includes Governed Surface Queue Guard, both PR-body guard runs, Check Documentation Links, the six Lint jobs and the three scoped ones (the ADR index, link and anchor gates are steps of "Lint · docs & code guards"), the four Type Check jobs, Test Core and Test UI. Skipped: Check Changeset in both runs ( The range since The merge, by path. It brought 97 files. Checked against the 37 Main since the merge base. Main stands three commits past The index and the number. Unchanged and still right: the round changed neither the title nor the Status line, so the row owes no regeneration. No section, question row or open item was added or renumbered: open items are O1 to O9, the plan has six steps, Q2's census has the same rows and its cost list the same bullets. Every cross-reference the round wrote names a place that exists: "D4's boundary", "among Q2's costs", "the host row", "plan steps 1 and 6", "(Provenance)". Anchors. 55 distinct The prior ids, by id.
② Semver levelNone. Two files under ③ Boundary flags
④ Design judgmentDoes the round hold against the code it cites. Yes. The round states no new fact about code. The one it re-scopes around, that the seam and the boot check read a registration by the object it names, is how the engine's recognition reads a registration at this head ( Is the exception exact and is it the same in every place. Yes. D-0, D4's boundary, Q2's cost bullet, O8 and the body state one condition in one wording, and O8's census is the instrument that says whether any tree meets it. This repository does not (①). Against its first consumer and its plan. The order is unchanged: the switch lands last, every tightening lands with it, no card before it refuses a boot, the census precedes the card that can. Acceptance criteria were not touched. Their last line, "At every step D-0 holds on every evaluator that evaluates the leaf", now reads against a D-0 that names its one exception as an exception and scopes it to a case a card can state, so the line stays testable: a switch card shows the same rows on every host outside that case, and inside it shows that the host was told. No must-fix, no should-fix. Nits.
Implemented-by: VERDICT: PASS |
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv 维护者速读
席位核对Verdict: ACCEPT, held for the maintainer · head
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43829628939 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv Queue eject read 2026-11-16T08:33Z: build 43829628939 failed on |
Requested by Steve · project thread
Fixes #33899
Clause-②: no
Metadata-protocol: none
Unblocks #33787: that card is
Blocked-by: #33899(ruling record 6895275749) and stays open until the plugin-sharing switch in this record's execution plan lands.维护者速读
docs/adr/0155-…md的「Questions for the maintainer」节(Q1–Q3),再看 TL;DR 与 D-0/D3/D5。node scripts/adr-index.mjs --check && node scripts/check-adr-symbol-anchors.mjs,预期两者都 OK、无 0155 的发现。0913316313上改完,还欠 review#2 对新 head 做一次增量复审;复审通过后再请您回答下面三问并批准本 PR(Tier H)。sys_record_share上注册了中间件或 find hook 的宿主也归入这一问:推荐从切换卡起、启动时就拒绝,直到撤掉该注册。本仓库没有包单独在这张表上注册;但宿主若把sys_record_share纳入 plugin-audit 的记录查看审计,就属于这一类,撤掉该注册即放弃对共享行的查看审计。ADR 把这一类整体保留,「豁免声明跳过系统读的注册」作为另一选项留给您在这一问里定。不点名任何对象的全局注册不算这一类(与 ADR-0139 D5.2 同一条线),改为告知宿主:按表名注册在sys_record_share上的收窄永不被绕开,宿主得到 ② 对这一类裁定的答案;不点名对象的收窄从切换起不在共享授权读上运行。例外与代价:宿主若有不点名对象、却改了sys_record_share系统读的注册,切换后共享授权的行可能不同,宿主会被告知;这时「行不变」只靠告知维持,运行时不拒绝、不报告、不记日志。这条边界也请您在这一问里一并定。What changes
One new decision record,
docs/adr/0155-sharing-scope-share-grants-lower-to-an-engine-internal-semi-join-leaf.md(Status: Proposed, questions ①–③ open), and its generated row indocs/adr/README.md(node scripts/adr-index.mjs; no other row moved). No code, no changeset (skip-changeset).The record proposes that the sharing scope's share-grant arm (
buildReadFilter, andbuildWriteFilterfor predicateupdate) lower to one more engine-internal, never-authorable branded comparand, provisionallySharedRecordIds, on the ADR-0147 pattern: its own brand, a fixed inner read ofsys_record_shareunder system authority, compiled by SQL drivers asid IN (SELECT record_id FROM sys_record_share WHERE …). It revisits ADR-0139 D1 ("No second leaf") for this one leaf and answers ADR-0139 open item O4.ISharingServiceprose and the switch card's changeset tell the host one thing: a narrowing registered forsys_record_shareby name is never read around and gets the second class's answer as ② is ruled; one that names no object is not run on the share arm from the switch on. D-0 states the exception: on a host with a registration that names no object and changes a system read ofsys_record_share, the share arm's rows can differ after the switch, and the host is told; the price, among Q2's costs, is that D-0's same rows there rest on the telling alone. Open items are now O1-O9. O8's census, which also reads registrations that name no object, is produced by the seat that cuts the switch card, as a condition of cutting it, and recorded in that card's body.update.The record states the design and the parity rule only; on today's behaviour it repeats the card's words and adds none.
Tests
None: a docs-only diff. Anchor resolution is the test of its source readings: 55 distinct
path#symbolanchors plus file-level path anchors, all resolving at the head below (rounds 1 and 2 addedreadable-ids.ts#ComposedReadableIds,sharing-service.ts#resolveSystemGrantOrganization,analytics-service.ts#callCtx,engine.ts#registerHook,read-audit.ts#installReadAuditWriterandsecurity-service.ts#getReadFilter; round 3 addedexplain-engine.ts#resolveDelegatorContextandsecurity-plugin-cbp-write-gate.ts#assertControlledByParentChainEditable).Acceptance notes
dispatch-gates --tiermandates fordocs/adr/**; per the dispatch order the record was authored by an isolatedos-devsubagent pinned to that tier, on this branch, through fix round 3. Fix rounds 4 to 6 were written in the card thread at its default tier, by the seat's order; the at-tier review of those rounds is review#2's.updateonly and also coverspublic_readobjects; plugin-security already narrows addressed predicate writes to at most 10,000 readable rows; "share rows can carry a NULL organization" holds only for ADR-0131 D1's exceptions; two callers admitReadableIdstoday, not one.scripts/adr-index.mjsstrips underscores from identifiers in titles (ADR-0147's index row readscurrentuser.orguserids), which is why this title says "record-share table".Verification
Head
0913316313(record 832 lines): the ADR commit5993103131, fix round 1066925797b(contract review 6899302526: S1-S3, N1-N13 taken), fix round 21f6f9718d9(delta review 6900428326: S4-S6, N14-N17 taken), fix round 311d7d354ca(delta review 6901557418: M1 option 1, S7-S9 taken), fix round 4b0b45bcc32(delta review 6902450506: S1, N2-N4 taken in the record, N1 here), fix round 5ea5e72ef87(delta review 6902721135: S1 remainder, N1, N2 in the record, N3 here), fix round 60913316313(delta review 6902940583: S1, N1, N2) and merges oforigin/main, the last at0d1443d0bf(merge97210679bc).Derived gates: 21 derived, 21 run, all exit 0; --ran reconciles 21/21, 0 NOT-MEASURED
check:doc-formula-expressionsran afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lintunderos-verify-lock(VERDICT command-exit 0, 96 s).Tier H (
docs/adr/**): this PR stays draft until aGOVERNED_APPROVERSapproval.