You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sharing: a predicate write asks one write verdict per candidate row, so a member bulk update over 10,000 rows owned by others costs ~5 s for no extra row; give ISharingService a bulk write-scope and verdict contract #35934
Filing gate ③. This is a follow-up from PR #35914 (card #35802), filed on the seat's 19:58Z call; the measurements are in os-dev report 7049211796. Dedupe: ISharingService bulk, buildWriteFilter contract and writeVerdicts returned no open card except #35802 itself.
What happens
With #35914, a predicate (multi: true) update or delete composes the platform write floor per row, the way the by-id path does. Each matched readable row that the floor does not already admit costs one ISharingServicecheckEdit / checkDelete verdict, asked in batches of 25 and bounded by the existing 10,000 readable-row cap. That includes rows the sharing middleware's own buildWriteFilter will AND out anyway.
Measured on SQLite on the #35914 rig, with origin/main shown before the arrow:
Case
Before → after
Reads
Rows written
(i) A member's predicate update over 1,000 readable rows owned by others; every verdict is deny
44 ms → 1,085 ms
3 → 2,004
0
(ii) The same over 10,000 rows
47 ms → 5,298 ms
3 → 20,004
0
(iii) A Modify All holder over 10,000 rows
47 ms → 1,796 ms
2 → 10,003
10,000, all of which the by-id path also admits
(iv) Under an authored using write policy
0 verdicts asked (the S2 early return)
On a networked database each read is a round trip, so the real cost is larger.
Ask
Two parts, both additive to the ISharingService contract in packages/spec, so they need a contract decision:
A bulk write scope (for example buildWriteFilter(object, ctx, verb) exposed on ISharingService). plugin-security ANDs it into the candidate read, so only rows the sharing middleware would let through are asked about. This removes the member all-deny cost, cases (i) and (ii). It changes no row's answer, because a row outside that scope is ANDed out by the sharing middleware today.
A bulk verdict (for example writeVerdicts(object, ids, verb, ctx)) that answers the same tri-state as per-row checkEdit / checkDelete, with one owner-scope read, one share read and one Modify All check per batch. This cuts case (iii) from 1 read per row to about 3 reads per batch.
The bench shows case (ii) back near the main baseline and case (iii) at or below 3 reads per 25-row batch.
Business rationale
Flows, scheduled jobs and server-side bulk updates run predicate writes as business users. After #35914, a rep's bulk update over a shared org-readable object pays for one sharing verdict per row it can see, even when it can write only a handful. Today that is bounded by the 10,000 cap and named in #35914's changeset. A rep's bulk action over a large account list goes from milliseconds to seconds.
Reader: area:data, plugin-sharing and the spec contract owner. Grade, domain and queue are left to triage.
Triage: lands in domain:server (plugin-security / sharing) · pm:queue; rationale: area:data · Task · after #35914 a predicate update or delete asks one sharing write verdict per candidate row (batches of 25, up to the 10,000-row cap), including rows buildWriteFilter will drop anyway; measured on SQLite: 1,000 denied rows 44 ms → 1,085 ms, 10,000 about 5 s, for no extra row written; a regression the fix introduced → p2 · size M (a bulk write-scope and verdict contract on ISharingService).
Folded finding from PR #36117 (card #35917), same mechanism as this card · 2026-11-21T16:19Z
Filed here instead of as a new card: it is the predicate path's sharing bulk write scope, which this card's bulk write-scope contract replaces, in the same files (filing gate dedupe rule: an unclaimed open card on the same mechanism takes the comment).
What. Under an authored permissive update/delete widener, an OPEN row the caller neither owns nor holds a share on is admitted by id (the authored probe checkAuthoredRowWrite lifts the sharing refusal) but left out of a predicate (multi: true) write, because the sharing middleware's bulk scope (buildWriteFilter) stays owner + shares.
Suggested. When this card defines the bulk write-scope / verdict contract, make the predicate scope agree with the by-id authored lift, and flip the relief pin's predicate expectation to r1–r4. Grade stays this card's (p2); triage may re-grade.
Claim: area o5-D round 4 · 2026-11-26T09:01Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z); card-pick order area:data, first claimable p2 (#37448 waits on #36806; #34365 is a ruled parent whose children seat 7 carries).
Area: o5-D
Session: session_01Utp6CbdHk3orAeensH6EzS
Account: os-bill
Branch: claude/issue-35934-sharing-bulk-write-scope
Worktree: objectstack-issue-35934
Domain: domain:server
Seat: repo:objectstack#5
File surface: packages/spec/src/contracts/sharing-service.ts (the additive bulk write-scope member on ISharingService, beside buildReadFilter), packages/plugins/plugin-sharing/src/** (expose the existing SharingService.buildWriteFilter through the contract; any bulk verdict helper), packages/plugins/plugin-security/src/** (the predicate write path ANDs the scope into the candidate read so only rows sharing would admit are asked; the folded #36117 finding 7065565832), the spec generated artefacts through their generators, tests named for the card, root .changeset/. ⛔ skills/**, ⛔ docs/adr/**. Stop on breach and report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: Clause ② SUSPECT on packages/spec/src/contracts/**; build at default, review at CONTRACT_REVIEW_TIER for the widening), effort: high
Clause-②: yes (an additive member on the published ISharingService contract)
Metadata-protocol: none
Responsibility: plugin-security's predicate write path (#35914) asks one checkEdit/checkDelete verdict per candidate row, including rows the sharing middleware's buildWriteFilter already drops; objectstack · platform path: SharingService.buildWriteFilter exists (plugin-sharing/src/sharing-service.ts:895 at df0894a6) but is not on ISharingService · reached by any member bulk update/delete over rows owned by others; measured 10,000 rows ≈ 5 s for no extra row (os-dev report 7049211796).
Thread-read: 7065565832
Premise: holds at origin/maindf0894a6 — ISharingService (packages/spec/src/contracts/sharing-service.ts:307) declares buildReadFilter and checkEdit/checkDelete but no write-scope member; buildWriteFilter lives only on the implementation. Precedent for the new member's name and shape: buildReadFilter on the same contract and buildWriteFilter on its implementation (same word, same concept). The dev re-measures case (ii) before code.
Serial constraints cleared: seat 7's #36055 (os-alice, v19 field-axis switch) is in flight in the security area; overlap-check before each push, stop on a shared file.
Scope: the card's Ask; the folded finding 7065565832 (authored permissive widener: by-id admits a row the predicate path leaves out) rides only if it falls out of the same scope, else it is reported. Fixes #35934.
{
"issue": 35934,
"status": "needs_decision",
"branch": "claude/issue-35934-sharing-bulk-write-scope",
"pr": null,
"session": "session_01Utp6CbdHk3orAeensH6EzS",
"premise_still_valid": true,
"summary": "Stopped before code on a failed mechanism reading. The card's cost is real and reproduced on origin/main df0894a6 (A1, below), but the ruled route, ANDing the implementation's buildWriteFilter(object, ctx, verb) into plugin-security's candidate READ, is refused by the engine for update wherever share grants count: the update scope's share arm is the WRITE form of the SharedRecordIds leaf, which ADR-0155 (3, ruled A) admits only in the where of a predicate update, and a find carrying it answers INTERNAL_ERROR / 500 ('it is the write form, where the where of find admits only the read form'). Delete is unaffected (its scope is owner/depth only, no leaf), but the measured case (ii) is update. Any working shape changes what the new contract member answers or adds a second member, which is a contract-shape decision, so no member was added and no PR was opened. The branch was pushed empty (equal to origin/main df0894a6) as the landing marker; the worktree holds no work. A1 readings: (ii) member predicate update, 10,000 rows owned by others, every verdict deny: 6,013 ms, 20,004 driver reads, 10,000 verdicts, 0 rows written; (ii-delete) the same as a predicate delete: 2,178 ms, 10,003 reads, 10,000 verdicts, 0 deleted; (iii) Modify All update: 1,880 ms, 10,004 reads, 10,000 verdicts, 10,000 written. Feasibility probe for option A below: the same 10,000 candidate ids ANDed with a read-legal write scope (owner match OR the READ-form share leaf) in one find: 1 read, 63 ms, 0 candidates left, so 0 verdicts. A2: the narrowing cannot change which rows are written, whatever the verdicts say, because the sharing middleware ANDs the same buildWriteFilter into the write under the same stamped context (__writeScope from getEffectiveScope, the external grant patch); rows outside it are not written today. Classes where the per-row verdict admits a row the middleware scope excludes all pre-date this card and stay as they are: a phantom owner anchor (scope is deny-all, checkEdit can still allow by share or Modify All), an ownerless row under a non-org depth with a write bypass not reflected in __writeScope, and the folded authored-widener row. A3: one implementer, SharingService (plugin-sharing/src/sharing-service.ts:666); every other holder resolves the kernel 'sharing' service by duck typing (plugin-security's resolveKernelService, plugin-sharing middleware tests' partial doubles cast as any), so a member feature-detected with typeof keeps today's behaviour where it is absent. Folded finding 7065565832 does not fall out of this scope: it is the sharing middleware's bulk scope not consulting probeAuthoredRowWrite, not the candidate narrowing; reported, not widened. Pin impact to expect once a route is chosen: predicate-write-floor-deferral.test.ts case (a) asks edit:r2 and edit:r4 today; with a narrowed candidate set r4 (BOB's row, outside ALICE's write scope) is no longer asked.",
"tests": "No code changed, so no test suite was owed. Measurement only, on origin/main df0894a6, through scripts/pm/os-verify-lock.sh: a temporary bench file in plugin-security (the #35914 rig shape: real SecurityPlugin, real ObjectQL, SqlDriver better-sqlite3 in memory, real SharingService and its middleware, public_read object, driver find/findOne/count counted, checkEdit/checkDelete counted). Run 1, VERDICT command-exit 0, Tests 4 passed (4): 'BENCH ii-update-member N=10000 ms=6013 reads=20004 verdicts=10000 written=0', 'BENCH ii-delete-member N=10000 ms=2178 reads=10003 verdicts=10000 remaining=10000', 'BENCH iii-update-modifyall N=10000 ms=1880 reads=10004 verdicts=10000 written=10000', 'LEAF-EXPERIMENT INTERNAL_ERROR 500 [objectql] find('bn_deal'): where.$and[1].$or[1].id.$in holds a SharedRecordIds leaf ... and it is the write form, where the where of find admits only the read form'. Run 2, VERDICT command-exit 0, Tests 1 passed, 4 skipped: 'PROBE-E N=10000 ms=63 reads=1 rows=0'. The bench file was removed from the worktree, uncommitted; a copy is kept at the scratchpad path bench-35934.test.ts.txt under issue-35934/ for the route that follows. No ablation: nothing was implemented.",
"gates": "None run: no diff exists (git status --porcelain empty, HEAD df0894a6 = origin/main). Build of the plugin-security closure for the bench: 'pnpm --workspace-concurrency=2 --filter @objectstack/plugin-security... build' under the lock, VERDICT command-exit 0. No PR, so no check-runs to cite. overlap-check not run: nothing was pushed beyond the empty marker branch.",
"dogfood_battery": "n/a — no PR, no diff",
"mcp_calls": "0",
"api_writes": "1 — the os-dev-report comment on issue 35934 through scripts/pm/post-stamped.mjs (relay); plus git push of the empty branch (not a REST write). Write budget used: git push 1 of 1, pr_create 0, os-dev-report 1.",
"open_questions": [
{
"question": "The ruled route (AND the bulk write scope into plugin-security's candidate read) cannot carry the update scope's share arm: the engine refuses the write-form SharedRecordIds leaf in a find (ADR-0155, 3 ruled A). Which shape should the ISharingService addition take so the member predicate update stops asking one verdict per row?",
"options": [
"A. buildWriteFilter(object, context, verb, form?) with an optional form: 'write' (default, today's answer, the one the sharing middleware ANDs into the write) or 'read' (the same owner/depth and queue arms, the share arm as the READ-form leaf, legal in a find). plugin-security reads candidates AND the read form in one find and asks verdicts only about rows left. Cost: a superset narrowing (a row shared at read level only still gets a verdict, deny, and is ANDed out at write as today); the 4th argument departs from the ruled 3-argument shape. Work: M as sized; one contract member plus an optional parameter, plugin-sharing passes the form through (the share arm is built in one place), plugin-security feature-detects the member, pins: counted reads (10,000 denied rows, reads constant), by-id vs predicate parity by row class, ablation of the AND. Measured: 1 read, 63 ms, 0 verdicts on case (ii).",
"B. buildWriteFilter(object, context, verb) exactly as ruled, the write form only. plugin-security ANDs it into the candidate read only when it carries no fixed-read leaf (delete always; update only where share grants do not count), else asks every candidate as today. Cost: case (ii) as measured (update, SQL, shares counting) is not improved at all, so the card's Done-when fails; only delete and leaf-less updates gain. Work: S-M.",
"C. Card part 2 instead of part 1: a bulk verdict, e.g. checkEditMany / checkDeleteMany(object, ids, context) answering the per-row tri-state with one owner read, one sys_record_share read, one queue read and one Modify All probe per batch, read by plugin-sharing directly as checkEdit does today (no leaf in any find). Cost: reads scale with rows divided by the batch size (about 800 for 10,000 rows at today's batch of 25, about 40 at a batch of 500), not constant; a second, larger contract member with an equivalence pin against the per-row verdict over the whole #35914 matrix; also cuts case (iii). Work: M-L.",
"D. Amend ADR-0155 so a find may carry the write form (or a read form with levels). Cost: reopens a ruled ADR decision (Tier H, docs/adr) and the engine seam, the driver compile and the conformance case set for every driver. Work: L, out of this card's file surface."
],
"recommendation": "A, provisionally: it is the only option measured to bring case (ii) back to constant reads (1 read, 63 ms) while keeping the ruled name, keeping the per-row verdict authoritative, and changing no written row (the middleware's write-form AND is untouched). C stays available as the card's part 2 for case (iii) if A is accepted. The dispatch did not paste the pm-dispatch decision axes, so these options are not graded on the seat's axes; os-dev.md asks the seat for them rather than having the dev invent a set, so please re-grade A to D on those axes before ruling."
},
{
"question": "The dispatch asks the os-dev-report comment to carry machine-checkable fields only; os-dev.md asks the same JSON as the final report (security_findings rewritten). Which one governs?",
"options": [
"A. os-dev.md: the comment carries the full JSON (followed here, since os-dev.md says it wins over the dispatch on a conflict)",
"B. The dispatch: trimmed fields only"
],
"recommendation": "A, because os-dev.md states it wins over the dispatch wording; the seat can correct the standard if trimming is meant."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #35934 (this card, folded comment 7065565832) · noted, not filed: the authored-widener divergence (by id admits an open row through probeAuthoredRowWrite, the predicate write leaves it out because the sharing middleware's buildWriteFilter stays owner plus shares) is in the sharing middleware's bulk scope, not in the candidate narrowing, so no option above fixes it by itself; it needs its own decision on whether the bulk write scope consults the authored probe."
]
}
Release: claim 7187325062 (area o5-D, session session_01Utp6CbdHk3orAeensH6EzS) · 2026-11-26T09:14Z · to the maintainer's decision box, before any code.
Why: the pre-code reading (os-dev report 7187608580) found that the card's route, ANDing buildWriteFilter(object, ctx, verb) into plugin-security's candidate read, fails for update. The update scope's share arm is the write form of the SharedRecordIds leaf. ADR-0155 (3, ruled A) admits that leaf only in the where of a predicate update, so a find carrying it answers INTERNAL_ERROR / 500. Every working shape either changes what the new ISharingService member answers or adds a second member. The rules on file do not decide that public-contract choice, so the area may not settle it (SKILL.md, escalation).
Readings at df0894a6:
Case (ii), a member predicate update over 10,000 rows owned by others, every verdict deny: 6,013 ms, 20,004 reads, 10,000 verdicts, 0 written.
The same rows as a predicate delete: 2,178 ms, 10,003 reads.
(iii) Modify All update: 1,880 ms, 10,004 reads, 10,000 written.
Probe for option A (a read-form scope ANDed into the candidate find): 1 read, 63 ms, 0 verdicts.
A2: narrowing cannot change which rows are written, because the middleware ANDs the same write scope into the write.
A3: one implementer (SharingService). Every other holder duck-types, so a feature-detected member keeps today's behaviour where it is absent.
Options, as the dev wrote them:
A. Add an optional form: 'write' | 'read' to buildWriteFilter. The read form puts the share arm as the read-form leaf, which is legal in a find. This is a superset narrowing; measured at constant reads. Recommended provisionally.
B. The 3-argument write form only, used where it carries no leaf. Delete and leaf-less updates gain; case (ii) is not improved, so Done-when fails.
C. The card's part 2: a bulk verdict (checkEditMany / checkDeleteMany). Reads still scale as rows divided by batch size; it adds a larger second member.
D. Amend ADR-0155 so a find may carry the write form. This reopens a ruled ADR: Tier H, L.
The folded finding 7065565832 (authored widener) is in the middleware's bulk scope, and none of A–D fixes it. It needs its own answer.
Next: a decision thread writes the four-axis analysis and the recommendation on this card. On the maintainer's answer, the area re-claims and dispatches. The bench is kept at the area's scratchpad for the chosen route.
Resume-from: claude/issue-35934-sharing-bulk-write-scope@df0894a6 (no commits)
Claim: area o5-D round 5 · 2026-11-26T11:10Z · area:data p2, re-claimed on the maintainer's ruling (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z).
Area: o5-D
Ruling-ref: 7190344023
Session: session_01Utp6CbdHk3orAeensH6EzS
Account: os-bill
Branch: claude/issue-35934-sharing-bulk-write-scope
Worktree: objectstack-issue-35934
Domain: domain:server
Seat: repo:objectstack#5
File surface: packages/spec/src/contracts/sharing-service.ts (the optional set form of the write verdict on ISharingService, beside checkEdit / checkDelete; ⛔ no write-scope member), packages/plugins/plugin-sharing/src/** (one implementation: the set form, and the per-row checkEdit / checkDelete answering through it for one id with no extra read on the by-id path; service-owned chunking; a failed chunk read answers deny), packages/plugins/plugin-security/src/** (the predicate write path feature-detects the set form and keeps the per-row path where it is absent), the spec generated artefacts through their generators, tests named for the card, root .changeset/. ⛔ skills/**, ⛔ docs/adr/**, ⛔ the 2a authored-scope change (its own card, after this PR). Stop on breach and report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: Clause ② SUSPECT on packages/spec/src/contracts/**; build at default, review at CONTRACT_REVIEW_TIER for the widening), effort: high
Clause-②: yes (an optional member added to the published ISharingService contract)
Metadata-protocol: none
Responsibility: plugin-security's predicate write path (#35914) asks one checkEdit / checkDelete verdict per candidate row; objectstack · platform path: none (no set-form verdict on the contract) · reached by any member, manager or Modify All bulk update/delete; measured 10,000 rows: 6,013 ms / 20,004 reads for a member update (os-dev report 7187608580).
Thread-read: 7190344023
Premise: inbox → ruled 7190344023. The dev re-runs premises 1 to 9 of 7187970489, then measures the ruling's named premise first on the kept bench: ≤ 10,000 ids answered with at most two store reads per chunk plus one bypass probe per call, chunk ≥ 1,000, equal to the per-row verdict on every matrix row. If it fails, the dev reports a fork. No fallback to A, to a read-form narrowing, or to per-row asks for one row class.
Serial constraints cleared: seat 7's #36055 (os-alice, v19 field-axis switch) in plugin-security: overlap-check before each push, stop on a shared file.
Scope: the card's Ask narrowed to part 2 as ruled; Done-when as ruled in 7190344023. Fixes #35934.
Resume-from: claude/issue-35934-sharing-bulk-write-scope@df0894a6 (no commits)
{
"issue": 35934,
"status": "done",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37558",
"head": "14bf9f91",
"premise_readings": {
"P0": "re-read at 54ea3c8c: premises 1 (sharing-service.ts:948), 2 (:186), 3 (security-plugin-sharing-verdicts.ts:313), 5 (:282) and 9 (one implementer, SharingService :666) hold at their lines; 4, 7 and 8 hold by code reading",
"P1": "holds: chunk 1,000 ids gives 2 sharing reads per chunk (rows, plus write shares on update); no row class needs a per-row read; SQLite N=10,000: member update 24 reads / 270 ms, member delete 13 / 111 ms, Modify All update 14 / 242 ms (main: 20,004 / 6,013 ms, 10,003 / 2,178 ms, 10,004 / 1,880 ms)"
},
"files_changed": [
".changeset/35934-sharing-write-verdict-set-form.md",
"packages/spec/src/contracts/sharing-service.ts",
"packages/spec/src/contracts/sharing-service.test.ts",
"packages/plugins/plugin-sharing/src/sharing-service.ts",
"packages/plugins/plugin-sharing/src/sharing-service.test.ts",
"packages/plugins/plugin-security/src/security-plugin-sharing-verdicts.ts",
"packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts",
"packages/plugins/plugin-security/src/security-plugin.ts",
"packages/plugins/plugin-security/src/predicate-write-floor-deferral.test.ts"
],
"line_budget": "+965 / -116 across 9 files: source +480 / -113, tests +467 / -3, changeset +18; all inside the claim's file surface; no spec generated artefact moved (check:generated: 14 up to date)",
"gates": "dispatch-gates --commands: 95 derived (same list at c6f613be and 14bf9f91), --ran: 95 run, 0 NOT-MEASURED, 0 UNRUN. Full run at c6f613be: 92 exit 0, 3 exit 1. check:dts-closure and check:dual-build-cjs-loads were red from a race with a concurrent closure build of mine; both exit 0 on re-run. check:where-matcher was a real finding in the new test double, fixed in 14bf9f91, exit 0. 20 test-reading families re-run at 14bf9f91: 20 exit 0. Tests: plugin-sharing 1,748 passed / 11 skipped; plugin-security 7,330 passed / 45 skipped; spec sharing-service.test 15 passed; typechecks pass; dogfood sharing write files 9/9, 110 passed. check:dev-prereqs scan NOT MEASURED (unrelated ui packages unbuilt on this box). overlap-check --branch=HEAD at 14bf9f91: VERDICT clean.",
"deviations": [
"no empty-branch probe push: the branch already existed at df0894a6 from the earlier run",
"check:dev-prereqs scan not measured, see gates",
"ablation 4 (plugin-security feature-detect) was run once, before the merge; plugin-security source is unchanged since then",
"the bench file stays uncommitted, as ordered"
],
"security_findings": "none"
}
Addendum to 7193076972: rework of the Test Core (9/10) red on 14bf9f9. The 10,000-record set-form pin timed out at 5,000 ms under shard load.
{
"issue": 35934,
"status": "done",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37558",
"head": "bd194d3f",
"cause": "the test double: of the pin's 736 ms locally, the double's find took 709 ms, seeding took 5 ms and the verdict path about 20 ms. The double rebuilt and linearly scanned each $in list once per row (rows x ids).",
"fix": "the double tests each $in list as a Set built once per list (WeakMap per list), so a read costs the rows it scans plus the ids it names. The combinator refusal from 14bf9f91 is kept. No timeout was added, and the counted-read assertions are unchanged.",
"durations_local_ms": {
"10,000 records: two reads per chunk": "977 -> 56",
"queue membership over 2,500 rows": "46 -> 3",
"fail-closed over 1,500 ids": "22 -> 2",
"per-row CONTROL, 300 rows": "9 -> 9"
},
"ablation_3": "WRITE_VERDICT_CHUNK = 1 at bd194d3f: 4 cases red, all on assertions, none on timeouts (reads 10000 vs 10, 2500 vs 3, and both fail-closed cases); restored, blob == HEAD",
"where_matcher_control": "with the combinator throw removed, check:where-matcher exits 1 naming this double; restored, exits 0",
"gates": "plugin-sharing pnpm test: 78 files, 1748 passed / 11 skipped; typecheck passes; VERDICT command-exit 0. 20 test-reading families at bd194d3f, including where-matcher, objectql-double-limit, engine-double-contract, nul-bytes and test-source-alias: 20 exit 0. dispatch-gates --commands: the 95-command list is unchanged. overlap-check --branch=HEAD: VERDICT clean against origin/main 41164656, 0 PR heads share a file.",
"files_changed": ["packages/plugins/plugin-sharing/src/sharing-service.test.ts"],
"line_budget": "+11 / -1",
"deviations": ["none"],
"security_findings": "none"
}
Close-out · area o5-D · 2026-11-26T15:22Z
Delivered by PR #37558 (merged, 58570d8002), ruling C (7190344023): ISharingService gains the optional checkEditMany / checkDeleteMany. They answer per id the same tri-state verdict as checkEdit / checkDelete, which are now their one-id case.
One implementation in SharingService, with chunks of 1,000 ids and 2 sharing reads per chunk. A failed chunk denies its ids.
plugin-security's predicate write floor relief feature-detects the set form and keeps the per-row path where it is absent. The rows written are unchanged.
Bench at 10,000 rows: member update 20,004 reads / 6.0 s → 24 / 0.27 s; member delete 10,003 / 2.2 s → 13 / 0.11 s; Modify All update 10,004 / 1.9 s → 14 / 0.24 s.
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:server(plugin-security / sharing) ·pm:queue; rationale: area:data · Task · after #35914 a predicate update or delete asks one sharing write verdict per candidate row (batches of 25, up to the 10,000-row cap), including rowsbuildWriteFilterwill drop anyway; measured on SQLite: 1,000 denied rows 44 ms → 1,085 ms, 10,000 about 5 s, for no extra row written; a regression the fix introduced → p2 · size M (a bulk write-scope and verdict contract onISharingService).objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv
Folded finding from PR #36117 (card #35917), same mechanism as this card · 2026-11-21T16:19Z
Filed here instead of as a new card: it is the predicate path's sharing bulk write scope, which this card's bulk write-scope contract replaces, in the same files (filing gate dedupe rule: an unclaimed open card on the same mechanism takes the comment).
checkAuthoredRowWritelifts the sharing refusal) but left out of a predicate (multi: true) write, because the sharing middleware's bulk scope (buildWriteFilter) stays owner + shares.packages/plugins/plugin-security/src/predicate-write-floor-deferral.test.ts, the plugin-security: the #5492 floor deferral covers only by-id writes; a predicate (multi) update still appliesowner_only_writes, so Modify All and edit shares silently match only self-created rows #35802 relief test at PR fix(plugin-security): a sharing allow keeps the ownership floor beside an authored write policy, so a creator writes their own row by id #36117 heada82a0b1be0: by id r1, r2, r3, r4; by predicate r1, r2. The pin holds the divergence in place until it is worked.owner_only_writes, so Modify All and edit shares silently match only self-created rows #35802's original report.allowdrops owner_only_writes out of the OR of permissive policies, so an owner-creator holding an authored widener is refused on their own row #35917 (7063130499) asks for one answer on the rows the platform floor admits; this divergence is on rows the floor does not admit, outside that ruling.allowdrops owner_only_writes out of the OR of permissive policies, so an owner-creator holding an authored widener is refused on their own row #35917, plugin-security: the #5492 floor deferral covers only by-id writes; a predicate (multi) update still appliesowner_only_writes, so Modify All and edit shares silently match only self-created rows #35802, sharing: a predicate write asks one write verdict per candidate row, so a member bulk update over 10,000 rows owned by others costs ~5 s for no extra row; give ISharingService a bulk write-scope and verdict contract #35934 only).fix(plugin-security): a sharing allow keeps the ownership floor besid…
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 4 · 2026-11-26T09:01Z · area:data p2 (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z); card-pick order area:data, first claimable p2 (#37448 waits on #36806; #34365 is a ruled parent whose children seat 7 carries).
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSAccount:
os-billBranch:
claude/issue-35934-sharing-bulk-write-scopeWorktree:
objectstack-issue-35934Domain:
domain:serverSeat:
repo:objectstack#5File surface:
packages/spec/src/contracts/sharing-service.ts(the additive bulk write-scope member onISharingService, besidebuildReadFilter),packages/plugins/plugin-sharing/src/**(expose the existingSharingService.buildWriteFilterthrough the contract; any bulk verdict helper),packages/plugins/plugin-security/src/**(the predicate write path ANDs the scope into the candidate read so only rows sharing would admit are asked; the folded #36117 finding 7065565832), the spec generated artefacts through their generators, tests named for the card, root.changeset/. ⛔skills/**, ⛔docs/adr/**. Stop on breach and report.Container & model:
M,mode:subagent,model: default(dispatch-gates --tier: Clause ② SUSPECT onpackages/spec/src/contracts/**; build at default, review atCONTRACT_REVIEW_TIERfor the widening),effort: highClause-②: yes (an additive member on the published
ISharingServicecontract)Metadata-protocol: none
Responsibility: plugin-security's predicate write path (#35914) asks one
checkEdit/checkDeleteverdict per candidate row, including rows the sharing middleware'sbuildWriteFilteralready drops; objectstack · platform path:SharingService.buildWriteFilterexists (plugin-sharing/src/sharing-service.ts:895atdf0894a6) but is not onISharingService· reached by any member bulk update/delete over rows owned by others; measured 10,000 rows ≈ 5 s for no extra row (os-dev report 7049211796).Thread-read: 7065565832
Premise: holds at
origin/maindf0894a6—ISharingService(packages/spec/src/contracts/sharing-service.ts:307) declaresbuildReadFilterandcheckEdit/checkDeletebut no write-scope member;buildWriteFilterlives only on the implementation. Precedent for the new member's name and shape:buildReadFilteron the same contract andbuildWriteFilteron its implementation (same word, same concept). The dev re-measures case (ii) before code.Serial constraints cleared: seat 7's #36055 (os-alice, v19 field-axis switch) is in flight in the security area; overlap-check before each push, stop on a shared file.
Scope: the card's Ask; the folded finding 7065565832 (authored permissive widener: by-id admits a row the predicate path leaves out) rides only if it falls out of the same scope, else it is reported.
Fixes #35934.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "issue": 35934, "status": "needs_decision", "branch": "claude/issue-35934-sharing-bulk-write-scope", "pr": null, "session": "session_01Utp6CbdHk3orAeensH6EzS", "premise_still_valid": true, "summary": "Stopped before code on a failed mechanism reading. The card's cost is real and reproduced on origin/main df0894a6 (A1, below), but the ruled route, ANDing the implementation's buildWriteFilter(object, ctx, verb) into plugin-security's candidate READ, is refused by the engine for update wherever share grants count: the update scope's share arm is the WRITE form of the SharedRecordIds leaf, which ADR-0155 (3, ruled A) admits only in the where of a predicate update, and a find carrying it answers INTERNAL_ERROR / 500 ('it is the write form, where the where of find admits only the read form'). Delete is unaffected (its scope is owner/depth only, no leaf), but the measured case (ii) is update. Any working shape changes what the new contract member answers or adds a second member, which is a contract-shape decision, so no member was added and no PR was opened. The branch was pushed empty (equal to origin/main df0894a6) as the landing marker; the worktree holds no work. A1 readings: (ii) member predicate update, 10,000 rows owned by others, every verdict deny: 6,013 ms, 20,004 driver reads, 10,000 verdicts, 0 rows written; (ii-delete) the same as a predicate delete: 2,178 ms, 10,003 reads, 10,000 verdicts, 0 deleted; (iii) Modify All update: 1,880 ms, 10,004 reads, 10,000 verdicts, 10,000 written. Feasibility probe for option A below: the same 10,000 candidate ids ANDed with a read-legal write scope (owner match OR the READ-form share leaf) in one find: 1 read, 63 ms, 0 candidates left, so 0 verdicts. A2: the narrowing cannot change which rows are written, whatever the verdicts say, because the sharing middleware ANDs the same buildWriteFilter into the write under the same stamped context (__writeScope from getEffectiveScope, the external grant patch); rows outside it are not written today. Classes where the per-row verdict admits a row the middleware scope excludes all pre-date this card and stay as they are: a phantom owner anchor (scope is deny-all, checkEdit can still allow by share or Modify All), an ownerless row under a non-org depth with a write bypass not reflected in __writeScope, and the folded authored-widener row. A3: one implementer, SharingService (plugin-sharing/src/sharing-service.ts:666); every other holder resolves the kernel 'sharing' service by duck typing (plugin-security's resolveKernelService, plugin-sharing middleware tests' partial doubles cast as any), so a member feature-detected with typeof keeps today's behaviour where it is absent. Folded finding 7065565832 does not fall out of this scope: it is the sharing middleware's bulk scope not consulting probeAuthoredRowWrite, not the candidate narrowing; reported, not widened. Pin impact to expect once a route is chosen: predicate-write-floor-deferral.test.ts case (a) asks edit:r2 and edit:r4 today; with a narrowed candidate set r4 (BOB's row, outside ALICE's write scope) is no longer asked.", "tests": "No code changed, so no test suite was owed. Measurement only, on origin/main df0894a6, through scripts/pm/os-verify-lock.sh: a temporary bench file in plugin-security (the #35914 rig shape: real SecurityPlugin, real ObjectQL, SqlDriver better-sqlite3 in memory, real SharingService and its middleware, public_read object, driver find/findOne/count counted, checkEdit/checkDelete counted). Run 1, VERDICT command-exit 0, Tests 4 passed (4): 'BENCH ii-update-member N=10000 ms=6013 reads=20004 verdicts=10000 written=0', 'BENCH ii-delete-member N=10000 ms=2178 reads=10003 verdicts=10000 remaining=10000', 'BENCH iii-update-modifyall N=10000 ms=1880 reads=10004 verdicts=10000 written=10000', 'LEAF-EXPERIMENT INTERNAL_ERROR 500 [objectql] find('bn_deal'): where.$and[1].$or[1].id.$in holds a SharedRecordIds leaf ... and it is the write form, where the where of find admits only the read form'. Run 2, VERDICT command-exit 0, Tests 1 passed, 4 skipped: 'PROBE-E N=10000 ms=63 reads=1 rows=0'. The bench file was removed from the worktree, uncommitted; a copy is kept at the scratchpad path bench-35934.test.ts.txt under issue-35934/ for the route that follows. No ablation: nothing was implemented.", "gates": "None run: no diff exists (git status --porcelain empty, HEAD df0894a6 = origin/main). Build of the plugin-security closure for the bench: 'pnpm --workspace-concurrency=2 --filter @objectstack/plugin-security... build' under the lock, VERDICT command-exit 0. No PR, so no check-runs to cite. overlap-check not run: nothing was pushed beyond the empty marker branch.", "dogfood_battery": "n/a — no PR, no diff", "mcp_calls": "0", "api_writes": "1 — the os-dev-report comment on issue 35934 through scripts/pm/post-stamped.mjs (relay); plus git push of the empty branch (not a REST write). Write budget used: git push 1 of 1, pr_create 0, os-dev-report 1.", "open_questions": [ { "question": "The ruled route (AND the bulk write scope into plugin-security's candidate read) cannot carry the update scope's share arm: the engine refuses the write-form SharedRecordIds leaf in a find (ADR-0155, 3 ruled A). Which shape should the ISharingService addition take so the member predicate update stops asking one verdict per row?", "options": [ "A. buildWriteFilter(object, context, verb, form?) with an optional form: 'write' (default, today's answer, the one the sharing middleware ANDs into the write) or 'read' (the same owner/depth and queue arms, the share arm as the READ-form leaf, legal in a find). plugin-security reads candidates AND the read form in one find and asks verdicts only about rows left. Cost: a superset narrowing (a row shared at read level only still gets a verdict, deny, and is ANDed out at write as today); the 4th argument departs from the ruled 3-argument shape. Work: M as sized; one contract member plus an optional parameter, plugin-sharing passes the form through (the share arm is built in one place), plugin-security feature-detects the member, pins: counted reads (10,000 denied rows, reads constant), by-id vs predicate parity by row class, ablation of the AND. Measured: 1 read, 63 ms, 0 verdicts on case (ii).", "B. buildWriteFilter(object, context, verb) exactly as ruled, the write form only. plugin-security ANDs it into the candidate read only when it carries no fixed-read leaf (delete always; update only where share grants do not count), else asks every candidate as today. Cost: case (ii) as measured (update, SQL, shares counting) is not improved at all, so the card's Done-when fails; only delete and leaf-less updates gain. Work: S-M.", "C. Card part 2 instead of part 1: a bulk verdict, e.g. checkEditMany / checkDeleteMany(object, ids, context) answering the per-row tri-state with one owner read, one sys_record_share read, one queue read and one Modify All probe per batch, read by plugin-sharing directly as checkEdit does today (no leaf in any find). Cost: reads scale with rows divided by the batch size (about 800 for 10,000 rows at today's batch of 25, about 40 at a batch of 500), not constant; a second, larger contract member with an equivalence pin against the per-row verdict over the whole #35914 matrix; also cuts case (iii). Work: M-L.", "D. Amend ADR-0155 so a find may carry the write form (or a read form with levels). Cost: reopens a ruled ADR decision (Tier H, docs/adr) and the engine seam, the driver compile and the conformance case set for every driver. Work: L, out of this card's file surface." ], "recommendation": "A, provisionally: it is the only option measured to bring case (ii) back to constant reads (1 read, 63 ms) while keeping the ruled name, keeping the per-row verdict authoritative, and changing no written row (the middleware's write-form AND is untouched). C stays available as the card's part 2 for case (iii) if A is accepted. The dispatch did not paste the pm-dispatch decision axes, so these options are not graded on the seat's axes; os-dev.md asks the seat for them rather than having the dev invent a set, so please re-grade A to D on those axes before ruling." }, { "question": "The dispatch asks the os-dev-report comment to carry machine-checkable fields only; os-dev.md asks the same JSON as the final report (security_findings rewritten). Which one governs?", "options": [ "A. os-dev.md: the comment carries the full JSON (followed here, since os-dev.md says it wins over the dispatch on a conflict)", "B. The dispatch: trimmed fields only" ], "recommendation": "A, because os-dev.md states it wins over the dispatch wording; the seat can correct the standard if trimming is meant." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: #35934 (this card, folded comment 7065565832) · noted, not filed: the authored-widener divergence (by id admits an open row through probeAuthoredRowWrite, the predicate write leaves it out because the sharing middleware's buildWriteFilter stays owner plus shares) is in the sharing middleware's bulk scope, not in the candidate narrowing, so no option above fixes it by itself; it needs its own decision on whether the bulk write scope consults the authored probe." ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Release: claim 7187325062 (area o5-D, session
session_01Utp6CbdHk3orAeensH6EzS) · 2026-11-26T09:14Z · to the maintainer's decision box, before any code.Why: the pre-code reading (os-dev report 7187608580) found that the card's route, ANDing
buildWriteFilter(object, ctx, verb)into plugin-security's candidate read, fails for update. The update scope's share arm is the write form of theSharedRecordIdsleaf. ADR-0155 (3, ruled A) admits that leaf only in thewhereof a predicate update, so afindcarrying it answers INTERNAL_ERROR / 500. Every working shape either changes what the newISharingServicemember answers or adds a second member. The rules on file do not decide that public-contract choice, so the area may not settle it (SKILL.md, escalation).Readings at
df0894a6:SharingService). Every other holder duck-types, so a feature-detected member keeps today's behaviour where it is absent.Options, as the dev wrote them:
form: 'write' | 'read'tobuildWriteFilter. The read form puts the share arm as the read-form leaf, which is legal in a find. This is a superset narrowing; measured at constant reads. Recommended provisionally.checkEditMany/checkDeleteMany). Reads still scale as rows divided by batch size; it adds a larger second member.The folded finding 7065565832 (authored widener) is in the middleware's bulk scope, and none of A–D fixes it. It needs its own answer.
Next: a decision thread writes the four-axis analysis and the recommendation on this card. On the maintainer's answer, the area re-claims and dispatches. The bench is kept at the area's scratchpad for the chosen route.
Resume-from:
claude/issue-35934-sharing-bulk-write-scope@df0894a6(no commits)5 remaining items
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 5 · 2026-11-26T11:10Z · area:data p2, re-claimed on the maintainer's ruling (area order 「开一个专区 ,接 data 的 p1 p2」, 2026-11-25T23:33Z).
Area: o5-D
Ruling-ref: 7190344023
Session:
session_01Utp6CbdHk3orAeensH6EzSAccount:
os-billBranch:
claude/issue-35934-sharing-bulk-write-scopeWorktree:
objectstack-issue-35934Domain:
domain:serverSeat:
repo:objectstack#5File surface:
packages/spec/src/contracts/sharing-service.ts(the optional set form of the write verdict onISharingService, besidecheckEdit/checkDelete; ⛔ no write-scope member),packages/plugins/plugin-sharing/src/**(one implementation: the set form, and the per-rowcheckEdit/checkDeleteanswering through it for one id with no extra read on the by-id path; service-owned chunking; a failed chunk read answersdeny),packages/plugins/plugin-security/src/**(the predicate write path feature-detects the set form and keeps the per-row path where it is absent), the spec generated artefacts through their generators, tests named for the card, root.changeset/. ⛔skills/**, ⛔docs/adr/**, ⛔ the 2a authored-scope change (its own card, after this PR). Stop on breach and report.Container & model:
M,mode:subagent,model: default(dispatch-gates --tier: Clause ② SUSPECT onpackages/spec/src/contracts/**; build at default, review atCONTRACT_REVIEW_TIERfor the widening),effort: highClause-②: yes (an optional member added to the published
ISharingServicecontract)Metadata-protocol: none
Responsibility: plugin-security's predicate write path (#35914) asks one
checkEdit/checkDeleteverdict per candidate row; objectstack · platform path: none (no set-form verdict on the contract) · reached by any member, manager or Modify All bulk update/delete; measured 10,000 rows: 6,013 ms / 20,004 reads for a member update (os-dev report 7187608580).Thread-read: 7190344023
Premise: inbox → ruled 7190344023. The dev re-runs premises 1 to 9 of 7187970489, then measures the ruling's named premise first on the kept bench: ≤ 10,000 ids answered with at most two store reads per chunk plus one bypass probe per call, chunk ≥ 1,000, equal to the per-row verdict on every matrix row. If it fails, the dev reports a fork. No fallback to A, to a read-form narrowing, or to per-row asks for one row class.
Serial constraints cleared: seat 7's #36055 (os-alice, v19 field-axis switch) in plugin-security: overlap-check before each push, stop on a shared file.
Scope: the card's Ask narrowed to part 2 as ruled; Done-when as ruled in 7190344023.
Fixes #35934.Resume-from:
claude/issue-35934-sharing-bulk-write-scope@df0894a6(no commits)objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "issue": 35934, "status": "done", "pr": "https://github.com/objectstack-ai/objectstack/pull/37558", "head": "14bf9f91", "premise_readings": { "P0": "re-read at 54ea3c8c: premises 1 (sharing-service.ts:948), 2 (:186), 3 (security-plugin-sharing-verdicts.ts:313), 5 (:282) and 9 (one implementer, SharingService :666) hold at their lines; 4, 7 and 8 hold by code reading", "P1": "holds: chunk 1,000 ids gives 2 sharing reads per chunk (rows, plus write shares on update); no row class needs a per-row read; SQLite N=10,000: member update 24 reads / 270 ms, member delete 13 / 111 ms, Modify All update 14 / 242 ms (main: 20,004 / 6,013 ms, 10,003 / 2,178 ms, 10,004 / 1,880 ms)" }, "files_changed": [ ".changeset/35934-sharing-write-verdict-set-form.md", "packages/spec/src/contracts/sharing-service.ts", "packages/spec/src/contracts/sharing-service.test.ts", "packages/plugins/plugin-sharing/src/sharing-service.ts", "packages/plugins/plugin-sharing/src/sharing-service.test.ts", "packages/plugins/plugin-security/src/security-plugin-sharing-verdicts.ts", "packages/plugins/plugin-security/src/security-plugin-authz-middleware.ts", "packages/plugins/plugin-security/src/security-plugin.ts", "packages/plugins/plugin-security/src/predicate-write-floor-deferral.test.ts" ], "line_budget": "+965 / -116 across 9 files: source +480 / -113, tests +467 / -3, changeset +18; all inside the claim's file surface; no spec generated artefact moved (check:generated: 14 up to date)", "gates": "dispatch-gates --commands: 95 derived (same list at c6f613be and 14bf9f91), --ran: 95 run, 0 NOT-MEASURED, 0 UNRUN. Full run at c6f613be: 92 exit 0, 3 exit 1. check:dts-closure and check:dual-build-cjs-loads were red from a race with a concurrent closure build of mine; both exit 0 on re-run. check:where-matcher was a real finding in the new test double, fixed in 14bf9f91, exit 0. 20 test-reading families re-run at 14bf9f91: 20 exit 0. Tests: plugin-sharing 1,748 passed / 11 skipped; plugin-security 7,330 passed / 45 skipped; spec sharing-service.test 15 passed; typechecks pass; dogfood sharing write files 9/9, 110 passed. check:dev-prereqs scan NOT MEASURED (unrelated ui packages unbuilt on this box). overlap-check --branch=HEAD at 14bf9f91: VERDICT clean.", "deviations": [ "no empty-branch probe push: the branch already existed at df0894a6 from the earlier run", "check:dev-prereqs scan not measured, see gates", "ablation 4 (plugin-security feature-detect) was run once, before the merge; plugin-security source is unchanged since then", "the bench file stays uncommitted, as ordered" ], "security_findings": "none" }Generated by Claude Code
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
Addendum to 7193076972: rework of the Test Core (9/10) red on 14bf9f9. The 10,000-record set-form pin timed out at 5,000 ms under shard load.
{ "issue": 35934, "status": "done", "pr": "https://github.com/objectstack-ai/objectstack/pull/37558", "head": "bd194d3f", "cause": "the test double: of the pin's 736 ms locally, the double's find took 709 ms, seeding took 5 ms and the verdict path about 20 ms. The double rebuilt and linearly scanned each $in list once per row (rows x ids).", "fix": "the double tests each $in list as a Set built once per list (WeakMap per list), so a read costs the rows it scans plus the ids it names. The combinator refusal from 14bf9f91 is kept. No timeout was added, and the counted-read assertions are unchanged.", "durations_local_ms": { "10,000 records: two reads per chunk": "977 -> 56", "queue membership over 2,500 rows": "46 -> 3", "fail-closed over 1,500 ids": "22 -> 2", "per-row CONTROL, 300 rows": "9 -> 9" }, "ablation_3": "WRITE_VERDICT_CHUNK = 1 at bd194d3f: 4 cases red, all on assertions, none on timeouts (reads 10000 vs 10, 2500 vs 3, and both fail-closed cases); restored, blob == HEAD", "where_matcher_control": "with the combinator throw removed, check:where-matcher exits 1 naming this double; restored, exits 0", "gates": "plugin-sharing pnpm test: 78 files, 1748 passed / 11 skipped; typecheck passes; VERDICT command-exit 0. 20 test-reading families at bd194d3f, including where-matcher, objectql-double-limit, engine-double-contract, nul-bytes and test-source-alias: 20 exit 0. dispatch-gates --commands: the 95-command list is unchanged. overlap-check --branch=HEAD: VERDICT clean against origin/main 41164656, 0 PR heads share a file.", "files_changed": ["packages/plugins/plugin-sharing/src/sharing-service.test.ts"], "line_budget": "+11 / -1", "deviations": ["none"], "security_findings": "none" }Generated by Claude Code
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Close-out · area o5-D · 2026-11-26T15:22Z
Delivered by PR #37558 (merged,
58570d8002), ruling C (7190344023):ISharingServicegains the optionalcheckEditMany/checkDeleteMany. They answer per id the same tri-state verdict ascheckEdit/checkDelete, which are now their one-id case.SharingService, with chunks of 1,000 ids and 2 sharing reads per chunk. A failed chunk denies its ids.Clause-②: yes (widening). Seat ACCEPT 7194167786; contract PASS 7193294421, delta 7194156298.Remaining, all open:
pm:queuein a separate stroke.sharing-service.mdxdocs gap and the stale per-row cost in.changeset/35802, which must be fixed before the release.os startunder vitest's default 5000 ms timeout and time out on a loaded shard #37603: the cli refusal-test timeout flake met on this PR's CI.pm:dispatchedis removed in this stroke; the merge closed the card as completed.perf(sharing): ask record sharing for the write verdicts of a predica…
docs(sharing): list the tri-state write verdicts and the set form; co…
fix(sharing): a predicate update or delete also writes the rows an ap…