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
docs(permissions): rls.mdx says an app update widener reaches every readable row on a predicate write, but under record sharing a predicate write is bounded by the write scope #34219
Filing gate: ① a gap found by contract review 6904564182 (M1, ③) on PR #34033 (#33928). The gap predates that PR; that PR adds two spellings to it. ⛔ Not a claim.
content/docs/permissions/rls.mdx (lines ~87-101, the write-widener section) says an authored update widener works as written. It says that on a private object the widener reaches the rows the caller can already read, and that a predicate (multi: true) update or delete is narrowed the same way.
Under record sharing (plugin-sharing composed), a predicate write meets the bulk write scope. That scope covers the rows the caller may write, by owner depth, queue and edit shares (ADR-0111 D3). A row the caller holds only on a read share, which an app update widener admits, is not written by a predicate write. The write answers no error. Addressing that row by id alone writes it.
content/docs/permissions/permissions-matrix.mdx says a predicate write matches only the rows the caller can READ. It does not say that record sharing bounds the write by write scope.
Change
Correct the rls.mdx write-widener section and the permissions-matrix sentence. Under record sharing, a predicate write is bounded by the caller's write scope. An app widener admits by id what it admits, and a predicate write does not reach a read-shared row.
Add one sentence to the v17.2 migration note pointing at the by-id remedy.
This is docs only, with no behaviour change.
Prior rulings read: contract record 6904564182 and its prior 6900670881 on PR #34033; the seat's ruling on #34033 M1 (keep following the engine, declare the narrowing); ADR-0111 D3. No ruling says a predicate write should honour an app widener past the sharing write scope.
Dedupe words: rls.mdx write widener predicate multi; permissions-matrix predicate write read scope.
rls.mdx says an app update widener reaches every readable row on a predicate (multi: true) write. Under record sharing, that write is bounded by the rows the caller may write. An author who follows the doc thinks a bulk write changed shared read-only rows, and it silently did not. A wrong permission doc is graded by its theme (addendum 5): security, no direct effect, p2. Confirmed in the maintainer's 2026-11-16 backlog re-grade (p2 batch 2). Free to claim.
Claim: PM loop round 1 (area o2-G)
Session: session_01ADHkmRfW5u1LRmhWwaYHRp
Account: os-steve
Branch: claude/issue-34219-rls-predicate-write-scope
Worktree: objectstack-issue-34219
Domain: domain:server
Seat: repo:objectstack#2
File surface: content/docs/permissions/rls.mdx (the write-widener section), content/docs/permissions/permissions-matrix.mdx (the predicate-write sentence), content/docs/releases/v17/17-2.mdx (one sentence on the by-id remedy) (stop on breach; explain in the report)
Container & model: S, mode:subagent (the area session writes it itself), model: default judgment tier, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (docs only: the text says more than the engine serves)
Thread-read: 6931086257
Premise: holds (card read from the code by its filer at contract review 6904564182; the docs edit re-reads the engine's predicate-write path on origin/main before writing any sentence)
Serial constraints cleared: no open PR touches rls.mdx, permissions-matrix.mdx or releases/v17/17-2.mdx (PR #34483 touches field-level-security.mdx only)
Pre-claim lane: content/docs/permissions documents plugin-sharing / the engine's write path → domain:server (the triage first touch 6931086257)
Pre-claim deps: no Blocked-by:; the card's "same period as #34033" — PR #34033 is the source of the two spellings, read on origin/main; hot files free (above)
Prior rulings read: docs,permissions,says,update,widener,reaches,readable,predicate,write,record,sharing,bounded (+1 more) → 326 hits; ADR-0146 D11, ADR-0058 D6, ADR-0139 D4, ADR-0032 Decision §1; thread: none; repo: objectstack-ai/objectstack. The card cites contract record 6904564182 and ADR-0111 D3; no ruling says a predicate write honours an app widener past the sharing write scope.
{
"issue": 34219,
"status": "done",
"branch": "claude/issue-34219-rls-predicate-write-scope",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34498",
"session": "session_01ADHkmRfW5u1LRmhWwaYHRp",
"head": "170118174f",
"premise_still_valid": true,
"gates": "local, at head 170118174f (origin/main merged): dispatch-gates --commands derived 53, the same set as the first round; all 53 run, each `cmd :: exit N` captured before any pipe; all 53 exit 0; `dispatch-gates --ran`: 53 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. First round on the pre-merge head: 5 non-zero (four exit 3 for unbuilt @objectstack/lint, @objectstack/spec and @objectstack/client-react prerequisites, spec check:docs exit 1 because the spec JSON schema was not yet generated (it tells you to run gen:schema; spec build does)); re-run exit 0 after building those packages under os-verify-lock. Record: /mnt/project-files/objectstack-seat2/34219-gates-ran.txt.",
"tests": "Docs only; no test changed.",
"line_budget": "n/a, no skills/** touched",
"dogfood_battery": "n/a, no ! in the PR title and Clause-②: no",
"files_changed": [
"content/docs/permissions/permissions-matrix.mdx",
"content/docs/permissions/rls.mdx",
"content/docs/releases/v17/17-2.mdx"
],
"deviations": [
"No changeset: docs-only, PR carries skip-changeset."
],
"mcp_calls": "reads only: issue_read, pull_request_read (#34033 body and files, #34498 status); no MCP writes",
"api_writes": "2: relay pr_create (POST pulls + assignee), this comment",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Merged: PR #34498 as 0c7869c03c; this card closed with it (Fixes). Delivered: the three permission-docs corrections the card names (rls.mdx, permissions-matrix.mdx, the v17.2 migration row). Nothing remains. Lease and dispatch labels removed.
Activity
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 (kept) · theme: security · 2026-11-16T22:18Z⛔ Not a claim.
rls.mdxsays an app update widener reaches every readable row on a predicate (multi: true) write. Under record sharing, that write is bounded by the rows the caller may write. An author who follows the doc thinks a bulk write changed shared read-only rows, and it silently did not. A wrong permission doc is graded by its theme (addendum 5): security, no direct effect, p2. Confirmed in the maintainer's 2026-11-16 backlog re-grade (p2 batch 2). Free to claim.objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRfW5u1LRmhWwaYHRp
Claim: PM loop round 1 (area o2-G)
Session:
session_01ADHkmRfW5u1LRmhWwaYHRpAccount:
os-steveBranch:
claude/issue-34219-rls-predicate-write-scopeWorktree:
objectstack-issue-34219Domain:
domain:serverSeat:
repo:objectstack#2File surface:
content/docs/permissions/rls.mdx(the write-widener section),content/docs/permissions/permissions-matrix.mdx(the predicate-write sentence),content/docs/releases/v17/17-2.mdx(one sentence on the by-id remedy) (stop on breach; explain in the report)Container & model:
S,mode:subagent(the area session writes it itself),model: default judgment tier,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (docs only: the text says more than the engine serves)
Thread-read: 6931086257
Premise: holds (card read from the code by its filer at contract review 6904564182; the docs edit re-reads the engine's predicate-write path on origin/main before writing any sentence)
Serial constraints cleared: no open PR touches
rls.mdx,permissions-matrix.mdxorreleases/v17/17-2.mdx(PR #34483 touchesfield-level-security.mdxonly)Pre-claim lane:
content/docs/permissionsdocuments plugin-sharing / the engine's write path →domain:server(the triage first touch 6931086257)Pre-claim deps: no
Blocked-by:; the card's "same period as #34033" — PR #34033 is the source of the two spellings, read on origin/main; hot files free (above)Prior rulings read: docs,permissions,says,update,widener,reaches,readable,predicate,write,record,sharing,bounded (+1 more) → 326 hits; ADR-0146 D11, ADR-0058 D6, ADR-0139 D4, ADR-0032 Decision §1; thread: none; repo: objectstack-ai/objectstack. The card cites contract record 6904564182 and ADR-0111 D3; no ruling says a predicate write honours an app widener past the sharing write scope.
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRfW5u1LRmhWwaYHRp
os-dev-report
{ "issue": 34219, "status": "done", "branch": "claude/issue-34219-rls-predicate-write-scope", "pr": "https://github.com/objectstack-ai/objectstack/pull/34498", "session": "session_01ADHkmRfW5u1LRmhWwaYHRp", "head": "170118174f", "premise_still_valid": true, "gates": "local, at head 170118174f (origin/main merged): dispatch-gates --commands derived 53, the same set as the first round; all 53 run, each `cmd :: exit N` captured before any pipe; all 53 exit 0; `dispatch-gates --ran`: 53 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. First round on the pre-merge head: 5 non-zero (four exit 3 for unbuilt @objectstack/lint, @objectstack/spec and @objectstack/client-react prerequisites, spec check:docs exit 1 because the spec JSON schema was not yet generated (it tells you to run gen:schema; spec build does)); re-run exit 0 after building those packages under os-verify-lock. Record: /mnt/project-files/objectstack-seat2/34219-gates-ran.txt.", "tests": "Docs only; no test changed.", "line_budget": "n/a, no skills/** touched", "dogfood_battery": "n/a, no ! in the PR title and Clause-②: no", "files_changed": [ "content/docs/permissions/permissions-matrix.mdx", "content/docs/permissions/rls.mdx", "content/docs/releases/v17/17-2.mdx" ], "deviations": [ "No changeset: docs-only, PR carries skip-changeset." ], "mcp_calls": "reads only: issue_read, pull_request_read (#34033 body and files, #34498 status); no MCP writes", "api_writes": "2: relay pr_create (POST pulls + assignee), this comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRfW5u1LRmhWwaYHRp
Merged: PR #34498 as
0c7869c03c; this card closed with it (Fixes). Delivered: the three permission-docs corrections the card names (rls.mdx, permissions-matrix.mdx, the v17.2 migration row). Nothing remains. Lease and dispatch labels removed.