Skip to content

security: a permission set's own readable:false field row must win over that same set's View All field vote (amend ADR-0066 D2 ⑧) #33828

Closed

Description

@objectstack-fleet

repo:hotcrm#1 · huangyiirene · session_01J8VVAnPkgK6CWrJa6t7Fk5

Maintainer ruling (Irene, decision card in the hotcrm project, tapped 2026-11-15 11:44 UTC): A, platform. An explicit readable: false field-permission row on a permission set must win over that same set's View All (viewAllRecords) field vote. This amends ADR-0066 D2 ⑧ as amended by ruling of record 6573563853.

What happens today (measured on 18.4.0)

  • superuserFieldVote (packages/core/src/security/effective-object-permissions.ts) has a set that holds viewAllRecords on an object vote readable: true on every field of that object. PermissionEvaluator.getFieldPermissions and buildEffectiveFieldPermissions apply it after the declared-entry votes.
  • So a set cannot give View All on an object and still hide some of its fields. Its own fields rows are out-voted by its own object row.
  • Measured by the hotcrm PSA thread: project_member holds read with View All on crm_account, plus readable: false rows for the account's Order to Cash totals (invoiced_amount, received_amount, receivable_balance). A consultant still reads all three over REST and in the console.

Why it matters

  • Ruling 6573563853 fixed a real case: a platform admin was hidden from a field by another set's false. That case is about other sets and stays as it is.
  • The gap is the same-set case. Every View All set that also tries to narrow fields silently loses the narrowing, so a declared field mask is not enforced (declared ≠ enforced).
  • Mainstream reference: Salesforce and Dynamics keep field-level security independent of record-level View All / organization-wide read.

Asked

  • In the field merge, a set's own explicit readable: false (or editable: false) row on <object>.<field> is not overridden by that set's own View All / Modify All vote on <object>.
  • Another set's super-user vote still wins over this set's false, keeping ruling 6573563853's admin case. Whether Modify All should get the same treatment as View All is part of this card's design; the ruling names View All.
  • ADR-0066 D2 ⑧ is amended in the same PR.
  • Lint, same PR: the rule security-superuser-field-mask-inert fires today. Under objectstack lint --strict, hotcrm's three rows give 3 warnings, permission set "project_member": viewAllRecords on objects.crm_account votes on every field of "crm_account", so readable: false on 'crm_account.invoiced_amount' binds none of this set's holders, at permissions[6].fields[...]. After the fix, the rule must stop flagging a row that its own set's View All no longer out-votes. Today the rows cannot even land, because they turn the consumer's strict lint red.
  • Tests: a View All set with a readable: false row hides the field from its holder, both in getFieldPermissions and in /auth/me/permissions. A second set holding Modify All on the object still reveals it.

Consumer

hotcrm#2481 (pm:blocked on this card) adds the three project_member rows once a release carries the fix. Until then, consultants see the totals.

Governing text: ADR-0066 D2 ⑧ (as amended, ruling of record 6573563853); superuserFieldVote docblock.

Activity

  1. added
    priority:p1
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:A2 · p1 · security · 2026-11-15T12:47Z

    ⛔ Not a claim.

    A permission set's own readable: false field row must win over that same set's View All vote. Today the View All vote exposes a field the set explicitly hides, which is a field-level security boundary (#32997 rule 4), so p1 (pre-graded). Ruled A (platform) per the card. The ADR-0066 D2 ⑧ amendment is governed and rides in the same PR or a spec/skills card; the gate change is plugin-security (A2). ⛔ Discuss the mechanism only through security-findings.md channels from here.

  3. added
    domain:server
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

    Claim: server area S1 (A1+A2) under #33751 §2 area-lease mode, area A2, seat domain:server#5 · p1 · executed by an os-dev subagent of the area S1 thread · posted at 2026-11-15T13:48Z · claimed on the seat's routing ruling (public card already ruled by the maintainer; text stays at the rule level)
    Session: session_01QsR2jVPGBoi3MCGoKbW1Hv
    Account: zhuangjianguo
    Branch: claude/area-A2-33828
    Worktree: objectstack-area-A2-33828
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/core/src/security/effective-object-permissions.ts, packages/plugins/plugin-security/src/permission-evaluator.ts (and the /auth/me/permissions field merge if it is a separate site), packages/lint/src/validate-security-posture.ts with its user-text and rule-explanation siblings, their *.test.ts pins, docs/adr/0066-unified-authorization-model.md (the D2 ⑧ amendment the card asks for), one patch changeset (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: claude-fable-5-2 (MANDATORY, derived by dispatch-gates --tier from docs/adr/**; no exit taken), effort: xhigh
    Clause-②: no (narrowing: a field mask a set already declares starts binding that set's own holders; no key or accept set widens)
    Metadata-protocol: none
    Responsibility: a permission set's own field-mask row is out-voted by its own object-level vote (objectstack) | none | apps whose permission sets pair an object-level grant with field masks; hotcrm#2481 blocked on it
    Thread-read: 6894550228
    Premise: holds (maintainer ruling A on the card; the dev re-measures before the fix)
    Serial constraints cleared: no open PR touches the surface (file lists of all open PRs scanned); #33696 / #33524 / #33782 (this area, read filter / write gate / tests, disjoint files); governed by the ADR amendment, so the seat lands it after an approver

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

    Claim amendment · #33828 · pre-claim check recorded after the fact · 2026-11-15T13:55Z

    Pre-claim lane: server because the fix is in packages/core/src/security/**, packages/plugins/plugin-security/** and packages/lint/**; the ADR-0066 D2 ⑧ amendment the card asks for rides in the same PR as governed text, so the seat lands it with the maintainer (seat routing ruling, this thread).
    Pre-claim deps: none (no Blocked-by; hotcrm#2481 waits on this card, not the reverse).
    Prior rulings read: ADR-0066 D2 ⑧ note of 2026-11-02 (ruling of record 6573563853, letter A) states the opposite for both bits ("a set can no longer withhold a field from its own View All / Modify All holders"); the card's ruling A amends it by name for View All only, so the build follows the card for View All and leaves the Modify All vote as it is today. Modify All goes to the seat as a separate decision. Pins that assert today's answer and will flip for View All, inside the ruling: packages/lint/src/validate-security-posture.test.ts (the inert-mask rule), packages/cli/test/superuser-bypass-mirror-parity.test.ts, packages/plugins/plugin-security/src/explain-engine.test.ts.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

    Claim amendment · #33828 · file surface · 2026-11-15T13:57Z

    File surface adds four places that state today's same-set rule and turn false with the fix (no open PR touches them): packages/lint/src/validate-rollup-source-visibility.ts + its .test.ts (the per-set mirror of the field merge and its hint); content/docs/permissions/authorization.mdx and content/docs/permissions/permissions-matrix.mdx (prose sentences only); the JSDoc comment above FieldPermissionSchema in packages/spec/src/security/permission.zod.ts (comment only, no .describe edit); a comment in packages/plugins/plugin-security/src/explain-principal-person.test.ts. Modify All stays as today.
    Clause-②: no (narrowing)
    Metadata-protocol: none

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv

    Claim amendment 2 · #33828 · after contract review 6900701652 · 2026-11-15T22:03Z

    The declaration lines change. The exported field-vote helper gains an optional parameter, which grows the public surface. The meaning of a set's own field-mask row changes, so the kind is semantic.
    Clause-②: yes (narrowing)
    Metadata-protocol: semantic

    The file surface adds two places. First, one ADR-0087 semantic migration entry, a new file under packages/spec/src/migrations/entries/semantic/. Second, one card-named door-level pin file under packages/qa/dogfood/. Before the push, merge-tree runs against every open PR that touches either place.
    The PR closes this card in part, with Part of #33828. The Modify All half stays open under the seat's ruling. Modify All itself stays as today.

  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jVPGBoi3MCGoKbW1Hv
    os-dev-report
    {
    "issue": 33828,
    "status": "done",
    "branch": "claude/area-A2-33828",
    "pr": "#34082",
    "session": "session_01QsR2jVPGBoi3MCGoKbW1Hv",
    "premise_still_valid": true,
    "summary": "The maintainer's ruling on the card is implemented for View All only: a permission set's own explicit readable: false row binds its own holders over that set's View All field vote. One function, superuserFieldVote(sets, objectName, fieldName?) in @objectstack/core, answers the per-field vote and both field merges ask it. Another set's View All or Modify All still votes, and Modify All is unchanged and pinned as it is today, pending a ruling, so the PR is Part of the card. Round two answers contract review 6900701652 under claim amendment 2: the kind is declared semantic (core and plugin-security minor), Clause-② is yes (narrowing), the ADR-0087 disposition is a registered semantic entry, and a door-level pin asks /auth/me/permissions and the list door on a booted showcase. The PR is governed (ADR text) and stays a draft for the seat.",
    "tests": "head 25dcfa8. Touched packages, one lock hold (VERDICT command-exit 0, held 1512 s): closure build exit 0, 71 tasks; core 148 files / 3408 tests passed; plugin-security 271 files / 6742 passed, 45 skipped; lint 214 files / 9036 passed; spec 843 files / 26966 passed, 1 todo; scenarios 34 files / 894 passed; typecheck of core, plugin-security, lint, spec and dogfood exit 0; the door pin with the 2026-11-02 door file 2 files / 16 tests passed. New pins in card-named files: core superuser-field-vote-33828.test.ts (6), plugin-security fls-own-field-mask-33828.test.ts (24), lint validate-security-posture-own-field-mask-33828.test.ts (6) and validate-rollup-source-visibility-own-field-mask-33828.test.ts (4), dogfood fls-own-field-mask-33828.dogfood.test.ts (5); existing pins the note flips edited in place in three lint test files. Red first on the unfixed source: core 3 red, plugin-security 8 red. Ablations: 12, each through scripts/ablation-replace.mjs on the committed fix, restored to the HEAD blob with git diff HEAD empty; where the subject resolves through core's dist, core rebuilt on both legs and ablation-dist-preflight read the marker present, then --absent. Red counts under each mutation (rule put back): own row never read: core 3, plugin-security 8; evaluator asks object-wide: plugin-security 7; row-blind merge asks object-wide: core 2, plugin-security 7; own row cancels another set's vote: core 1, plugin-security 4; own-row rule applied to Modify All: core 2, plugin-security 2; omitted readable read as a mask: core 1; inert rule gated on View All: lint 6; master-reference rule skipped beside View All: lint 1; roll-up rule reads View All as unbinding: lint 2; roll-up hint: lint 1; row-level bypass consults field rows: core 2, plugin-security 3; own row never read, asked at the doors: dogfood 2 (the premise and the two controls stayed green), core 3. Every restored run green. The first eleven were read on head 0245cb6, where the mutated sources and their pins are byte-identical to 25dcfa8; the twelfth was read on 25dcfa8. A first attempt at the first mutation was void (its build never got the verify lock, nothing measured); it was stopped and the file restored to the HEAD blob before the series ran. Dependents, read on head 0245cb6 in one lock hold (VERDICT command-exit 0): cli unit tier 422 / 6002; cloud-connection 82 / 1224; organizations 18 / 252; plugin-auth 277 / 5495 (+10 skipped); plugin-dev 10 / 89; rest 413 / 8454 (+332 skipped); runtime 605 / 11046 (+19 skipped); service-automation 282 / 3997; verify 52 / 439; plugin-hono-server 42 / 556; scenarios 34 / 865; metadata-protocol 342 files (+9 skipped) / 22902 (+43 skipped); example-showcase 48 / 545; every command exit 0.",
    "gates": "head 25dcfa8. dispatch-gates --commands --repo objectstack-ai/objectstack: 122 commands, each exit code captured before any pipe; 121 exit 0 on the first pass; check:type-check-debt exit 3 (PREREQUISITE NOT MET: its closure build waits on the verify lock, which this branch's own run held) and exit 0 when run inside that hold; check:skill-examples and check:dual-build-cjs-loads exit 0 in the sweep and again after six packages outside the closure were rebuilt on this head. --ran: '122 derived famil(ies) accounted for - 122 run, 0 NOT-MEASURED'. --tier: docs/adr/** mandatory-tier surface; 1191 changed lines (+1001 / -190) in 21 files, under 3000. Body gates on the new declaration lines and changeset: check-changeset-no-major (semantic, minor present), check-adr-0087-registration (registered, the entry read as new here), check-closing-keyword-parity, check-empty-changeset, check-partof-closing-keyword, all exit 0. Outside the derived list: check-platform-checklist --changed-from origin/main OK (0 anchors lost); check-nul-bytes OK; eslint --no-inline-config on the 17 touched source files exit 0; check:dev-prereqs exit 1 (local build state only: the ui packages are not built in this container). CI on PR head 25dcfa8 (72 check-runs, all completed): 59 success, 12 skipped, 1 failure. The one failure is the first Check Changeset run, started by the push while the PR body still carried the old declaration lines; the later Check Changeset run, after the seat's body edit, is success. Success: Build Core; Build Docs; Build UI Deps; Build & E2E UI; Live E2E UI; Check Changeset (the later run); Check Documentation Links; Check PR Size; Flag docs affected by code changes; Governed Surface Queue Guard; PR-body guards (claim · duplicate · Part-of · single-writer path), both runs; Lint & Repo Gates; Lint · ESLint; Lint · CI, release & engine gates; Lint · PM dispatch-gates; Lint · docs & code guards; Lint · repo & tooling gates; Lint · scoped · query-options erasure; Lint · scoped · slot lookup & corpus; Lint · scoped · tooling self-tests; Spec property liveness; TypeScript Type Check; Type Check · workspace; Type Check · source gates; Type Check · consumer gates; Type Check · debt ledger; Type Check UI; Plan Test Core shards; Test Core and Test Core (1/8) to (8/8); Plan Test UI shards; Test UI and Test UI (1/16) to (16/16); Dogfood Regression Gate (aggregate); Auto Label; filter. Skipped: the Dogfood Regression Gate shard matrix; Dogfood Verify CLI; Lint UI; UI Published Artifacts; Temporal Conformance (live PG + MySQL); 18.x upgrade harness (opt-in); Packed-tarball smoke (opt-in); Queue verdict; Borrowed queue verdict; Schedule gate; one Auto Label run; one Check PR Size run. Test Core (7/8), red on the previous head, is success on this head. The dogfood shard matrix was skipped on the PR, so the local battery under dogfood_battery is the reading for that family.",
    "dogfood_battery": "25dcfa863 · os-verify-lock: VERDICT command-exit 0 (held 2408 s; that verdict is the wrapping script's, which records each step's own exit, and the battery step pnpm --filter @objectstack/dogfood test exited 1) · Test Files 467 passed, 1 failed, 3 skipped (471) · Tests 3966 passed, 1 failed, 42 skipped (4009) · the one failure: test/flow-provenance-server-held.dogfood.test.ts > a flow's package provenance is the server's fact at every door (showcase) > a customer flow bound to a tenant package round-trips through the metadata door, its binding echoed: 'Test timed out in 5000ms' (5257 ms). It is not read as a consequence of this diff: the file and its subject (package and flow provenance at the metadata door) are outside the diff; the failure is the default 5000 ms budget and no assertion; the same file was green in the battery on the previous head 0245cb6 (Test Files 467 passed, 3 skipped (470); Tests 3959 passed, 42 skipped (4001)); the Dogfood Regression Gate shards are success on main's latest commits. Re-read alone on the same head under the lock, three runs: Test Files 1 passed (1), Tests 14 passed (14), exit 0 each time, with this test at 1814 ms, 1660 ms and 1684 ms. The battery ran once on this head and was not repeated; the shared box carried sibling agents' work during it. The new door pin ran inside the battery and is green.",
    "mcp_calls": "0 - no GitHub MCP calls; reads through gh REST",
    "api_writes": "2 by this dev run - fleet-write relay pr_create (#34082, relay run 43744413997), and this os-dev-report comment on #33828 via post-stamped; plus 4 git pushes (not REST). The PR body rewrite for the new head was the seat's write (relay issue_patch, 18367 bytes stored), from text this run prepared.",
    "line_budget": "1191 changed lines (+1001 / -190) in 21 files, under the 3000-line threshold; no skills/** file touched",
    "files_changed": [
    ".changeset/33828-own-field-mask-binds-over-own-view-all.md",
    "content/docs/permissions/authorization.mdx",
    "content/docs/permissions/permissions-matrix.mdx",
    "docs/adr/0066-unified-authorization-model.md",
    "packages/core/src/security/effective-object-permissions.ts",
    "packages/core/src/security/superuser-field-vote-33828.test.ts",
    "packages/lint/src/finding-user-text.test.ts",
    "packages/lint/src/rule-explanations.ts",
    "packages/lint/src/validate-rollup-source-visibility-own-field-mask-33828.test.ts",
    "packages/lint/src/validate-rollup-source-visibility.test.ts",
    "packages/lint/src/validate-rollup-source-visibility.ts",
    "packages/lint/src/validate-security-posture-own-field-mask-33828.test.ts",
    "packages/lint/src/validate-security-posture.test.ts",
    "packages/lint/src/validate-security-posture.ts",
    "packages/lint/src/validate-security-posture.user-text.ts",
    "packages/plugins/plugin-security/src/explain-principal-person.test.ts",
    "packages/plugins/plugin-security/src/fls-own-field-mask-33828.test.ts",
    "packages/plugins/plugin-security/src/permission-evaluator.ts",
    "packages/qa/dogfood/test/fls-own-field-mask-33828.dogfood.test.ts",
    "packages/spec/src/migrations/entries/semantic/18.permission-own-field-mask-binds-over-own-view-all.ts",
    "packages/spec/src/security/permission.zod.ts"
    ],
    "deviations": [
    "Declarations: the lines of claim amendment 2 are copied (Clause-2: yes (narrowing), Metadata-protocol: semantic). The changeset grades core and plugin-security minor, lint and spec patch. The narrowing arm is honoured: title !, BREAKING banner, one ADR-0087 marker (registered permission-own-field-mask-binds-over-own-view-all), Skills-docs line, full dogfood battery on this head.",
    "Contract review 6900701652 (FAIL on head 0245cb6) is answered in this round: M1 and S2 by the amended lines and level, S1 by the registered semantic entry, S3 by Part of, S4 by the door-level pin and the battery reading below, N1 by one clause in the changeset and authorization.mdx. N2 (field-level-security.mdx) is not in the diff and is left for the Modify All ruling.",
    "Contract review 6903726508 on this head is PASS with no must-fix. Its S1 asks for the battery reading of this head on the card: it is this report's dogfood_battery field. That reading has one red, a 5000 ms timeout in a file outside this diff, green three times when run alone on the same head; whether that reading is enough to land on, or a second full battery is wanted, is the seat's call. Its N1 continues the earlier N2.",
    "Surface: four out-of-claim items were approved by claim amendment 6895411337, and two more places by claim amendment 2 (one semantic entry under packages/spec/src/migrations/entries/semantic/, one card-named door pin under packages/qa/dogfood/).",
    "PR body: the order for this round said the dev edits the PR body through the relay. os-dev.md says a dev writes the body only at pr_create and that the later rewrite is the seat's. The conflict was named to the seat before any write; the seat agreed and sent the issue_patch itself, from the text this run prepared. The stored body was read back in full: that text, then the seat's session line and signed trailer.",
    "Main: origin/main was merged at 86350e1 before this round's readings (61 commits). At the push it was 28 commits further on (0d1443d); it was not merged again, so that every reading is of the PR head. git merge-tree --write-tree exits 0 against it and against the heads of #34132, #34129, #34089, #34078 and #34001, the open PRs that touch a path of this diff or one of its two new directories; #34132 edits rule-explanations.ts in an unrelated entry. The file lists of the 94 other open PRs were read.",
    "Dependents: plugin-security's ten direct dependents and four more importers were run in full on head 0245cb6 and not again on this head. This round's own commit changes no source of core, plugin-security or lint; the merge brought main's own changes to those packages, which the three suites cover on this head and CI covers for the dependents. core has 62 direct dependents and lint 12; beyond the listed ones they were not run locally. Selection by git grep of the moved symbols and rule ids (positive control: it hits the packages that were run); blind to a test that reaches them without naming them.",
    "pnpm lint was narrowed to eslint over the 17 touched source files; the repo-wide scan is CI's. test:repo was not run locally (this diff edits none of its tests).",
    "Tests: the pins this change adds live in card-named files, per the seat's rule; the shared files keep only in-place flips.",
    "Run shape: long locked runs went through a detached shell with a foreground wait on it; the order said to run everything in the foreground. A token outage of about two and a half hours fell between the first battery and this report; nothing was lost, and the battery reading of head 0245cb6 (VERDICT command-exit 0, Test Files 467 passed and 3 skipped of 470, Tests 3959 passed and 42 skipped of 4001) is recorded here because it was never posted on its own. By the seat's order for this card the run waited for CI in the foreground and sends one report, for the final head.",
    "CI: Check Changeset has one failed run on this head, from the push while the PR body still carried the old lines, and a later successful run after the seat's edit. pr_create sent no assignee, per the order."
    ],
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [
    "class: none (CI red outside this diff, on the previous head only) - Test Core (7/8) on head 0245cb6: @objectstack/scenarios test/runner/run-date.test.ts, 3 tests 'Test timed out in 5000ms' (5.8 s to 7.7 s); the file is not in this diff; the local scenarios suite is green on both heads (865, then 894 tests); see the CI reading above for this head - carrier: none - noted, not filed",
    "class: none (observation) - scripts/pm/os-verify-lock.sh: twice a call that gave up with exit 99 and came back under the same OS_VERIFY_LOCK_SLOT was granted the lock after a waiter that had arrived later; one observation each, no controlled repro - carrier: none - noted, not filed",
    "class: none (prose) - FieldPermissionSchema when description still says a super-user set 'votes on every field of the object'; in its sentence the subject is a co-held set that says nothing about the field, so it holds, and it was left unedited by the amendment's terms - carrier: none - noted in the PR's Acceptance notes",
    "class: none (prose) - content/docs/permissions/field-level-security.mdx says a mask holds unless another set unmasks it and does not name the own-set Modify All case; not in this diff - carrier: #33828 (the Modify All half) - noted in the PR's Acceptance notes"
    ]
    }

  10. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

    Maintainer ruling · 2026-11-16T06:39Z · Modify All half

    The maintainer chose option A on the seat's decision card, verbatim: 「保持现状,只给警告」 (keep current behaviour, warn only).

  11. 6 remaining items

  12. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5nNrLRm8ssuwWcBVcw
    os-dev-report

    Read at 2026-11-16T17:37Z. Fix round on PR #34082 after the queue ejection; the revised PR body is with the seat, which writes it.

    {
      "issue": 33828,
      "status": "done",
      "branch": "claude/area-A2-33828",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34082",
      "session": "session_01FEkQ5nNrLRm8ssuwWcBVcw",
      "premise_still_valid": true,
      "summary": "Fix round after the merge-queue ejection of run 43877147326. origin/main (898655a9d) merged into claude/area-A2-33828 (no rebase, no force-push); one test-only commit on top, head 880f1686b. In packages/plugins/plugin-security/src/formula-reads-hidden-field-masking.test.ts a boot option gives the fixture's second set View All on the object, and the controls block now reads: (new) 'View All on the set that hides the field does not read it: the field and the computed fields over it stay withheld'; 'a holder of another set's View All reads the hidden field and the formulas over it'; 'a holder of another set's View All is still withheld a computed field over a capability-gated or masked field (the vote lifts readable: false only)'. No source change in core, plugin-security, lint, spec or the ADR; the PR's own source is byte-identical to head 25dcfa863. The sweep for other tests pinning the old reading found none needing an edit.",
      "tests": "On head 880f1686b, each under scripts/pm/os-verify-lock.sh. Closure build pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build: VERDICT command-exit 0. One hold (VERDICT command-exit 0): typecheck of core, plugin-security, lint, spec, dogfood exit 0 each; core test 148/148 files, 3410 passed; plugin-security test 274/274 files, 6849 passed, 45 skipped; lint test 214/214 files, 9077 passed; spec test 844/844 files, 27031 passed, 1 todo; dogfood door pin fls-own-field-mask-33828.dogfood.test.ts 1/1 file, 5 passed. Targeted: formula-reads-hidden-field-masking + fls-own-field-mask-33828, 2 files, 92 passed. Ablation (VERDICT command-exit 0): ablation-replace.mjs deleted the vote's own-row check in packages/core/src/security/effective-object-permissions.ts (anchor 1 -> 0, blob 5b14742f1880 -> 0870799b155c); core rebuilt (exit 1: the declaration step refuses the now-unused helper under noUnusedLocals after the JS was emitted); ablation-dist-preflight.mjs @objectstack/core marker --absent exit 0 (absent from all 12 built files); the controls block: 1 failed (the new own-set case, 'open_cases: expected ... to not have property'), 6 passed. Restored: blob 5b14742f1880 == HEAD, git diff HEAD empty, core rebuilt exit 0, preflight marker present in dist/index.js and dist/index.cjs exit 0, tree clean; the block 7 passed. Control on the boot option: second set's View All removed from the two other-set cases (--expect 2): both red, five green; restored to the HEAD blob.",
      "gates": "dispatch-gates.mjs --commands --repo objectstack-ai/objectstack (tree objectstack-ai/objectstack at 880f1686b, merge base 898655a9d): 122 derived. 119 exit 0 on the first pass; check:skill-examples, check:dual-build-cjs-loads and check:type-check-debt exit 3 (PREREQUISITE NOT MET, nothing measured). After building the eight packages outside the dogfood closure: check:skill-examples exit 0, check:dual-build-cjs-loads exit 0; check:type-check-debt exit 0 in its own hold (VERDICT command-exit 0). --ran with exit codes: '122 derived famil(ies) accounted for — 122 run, 0 NOT-MEASURED (a DERIVED zero — all 122 recorded an exit code and none of them is 3)'. Extra: check-platform-checklist --changed-from origin/main OK (11 anchors, 0 lost); check-nul-bytes OK; eslint --no-inline-config on the edited file exit 0. merge-tree --write-tree before the push: origin/main 898655a9d exit 0, #34252 head 317c4955 exit 0 (the only open PR touching a file of the diff, rule-explanations.ts); after the push: origin/main fa9d69552 exit 0, #34358 and #34355 (semantic-entry directory) exit 0; no path is driver-routed. CI on 880f1686b: 68 check-runs, all completed, 58 success, 10 skipped, 0 failure; Lint & Repo Gates, TypeScript Type Check, Test Core (8/8), Build Core, Governed Surface Queue Guard, Test UI, Type Check UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset success; Lint UI skipped. test:repo declared to CI (no repo-project test edited).",
      "dogfood_battery": "880f1686b · os-verify-lock VERDICT command-exit 0 · Test Files 476 passed, 3 skipped (479) · Tests 4023 passed, 42 skipped (4065) · no failure",
      "mcp_calls": "0",
      "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/33828/comments (this report, via scripts/pm/post-stamped.mjs). git push of claude/area-A2-33828 is not a REST write.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  13. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5pmEYLVFDcQ1Z1CS8H

    Delivery · 2026-11-16T21:41Z

    PR #34082 merged at 2026-11-16T21:40:21Z (3e490335), approved by os-zhuang at head 880f1686.

    This card stays open for the owed follow-up from hand-off 6912083426, read with cross-link 6912701885:

    The ADR path makes it Tier H. Area o1-A builds it; the seat hands it off after L1-b and review#2.

  14. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5nNrLRm8ssuwWcBVcw

    Claim amendment · #33828 · the owed follow-up after #34082 · posted at 2026-11-16T21:45Z

    PR #34082 merged (3e490335). This claim's remaining work is the follow-up named in hand-off 6912083426 and cross-link 6912701885.

    Scope: one ADR-0066 sentence replaces "pending a ruling" about Modify All with ruling A, worded "kept until the field-axis split (#34365)". It is joined by the deferred field-level-security.mdx line. The PR says Fixes #33828, and it is Tier H because of the ADR path.
    File surface: docs/adr/0066-*.md (one sentence), content/docs/**/field-level-security.mdx (one line), and a changeset or the repo's skip mechanism. No code, no spec, no skills/**.
    Branch: claude/issue-33828-adr0066-modify-all-note (new, from origin/main). It replaces claude/area-A2-33828, which merged with #34082 and takes no further push.
    Clause-②: no
    Metadata-protocol: none

  15. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5nNrLRm8ssuwWcBVcw
    os-dev-report

    Read at 2026-11-16T22:22Z. The owed follow-up after #34082: draft PR #34483 (Tier H).

    {
     "issue": 33828,
     "status": "done",
     "branch": "claude/issue-33828-adr0066-modify-all-note",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34483",
     "session": "session_01FEkQ5nNrLRm8ssuwWcBVcw",
     "premise_still_valid": true,
     "summary": "Docs-only follow-up owed after #34082 (3e490335), on head e025d4c6f: 2 files, +7/-2. ADR-0066 D2 note of 2026-11-15: the bold lead 'Modify All is unchanged, pending a ruling:' now reads 'Modify All is unchanged, kept until the field-axis split (#34365), by the maintainer's ruling on the card of 2026-11-16 (6909362597, letter A), verbatim 「保持现状,只给警告」 (keep the current behaviour, warn only):'. The rest of that sentence and of the note is unchanged. field-level-security.mdx, default-visible paragraph (the line #34082 deferred): the mask's condition gains its own-set half. The set's own View All leaves its readable: false binding, while its own Modify All still reads and edits every field, its own rows included (security-superuser-field-mask-inert warns), until the field-axis split (#34365). Each sentence was checked against origin/main: superuserFieldVote returns {readable,editable} for a Modify All set before any own-row read; the View All path skips on declaresOwnReadMask; the inert-mask lint finding is severity 'warning', and the authoring gate refuses on errors only. Draft PR, Tier H (docs/adr/**), Fixes #33828.",
     "tests": "No tested behaviour changed (docs only), so no test was owed and no ablation ran. Only the derived gate families below were run.",
     "gates": "dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 50 commands for 2 paths (merge base 3bf9c5c41). Closure for the dist readers: pnpm --workspace-concurrency=2 --filter '@objectstack/lint...' build, exit 0. All 50 ran in one verify-lock hold (VERDICT command-exit 0, 523 s on a shared box): 49 exit 0. spec check:skill-examples exited 3 (PREREQUISITE NOT MET: client-react dist missing). After '@objectstack/client-react...' build it exited 0 in its own hold (VERDICT command-exit 0; '347 prose examples type-check across 3 surface(s)'). --ran reconciliation: '50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED (a DERIVED zero ...)', exit 0. CI on e025d4c6f: 52 check-runs completed, 30 success, 22 skipped, 0 failed. Among them: Lint & Repo Gates, TypeScript Type Check, Test Core (all shards), Governed Surface Queue Guard, Test UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Build Docs, Check Documentation Links: success. Build Core, Lint UI, Type Check UI, Build & E2E UI, Live E2E UI: skipped by path filter. Merge-tree: git merge-tree --write-tree exit 0 against origin/main e8cba8fed. Of the 48 open PRs, none touches either file; 20 list no files, each checked as changed_files=0 (mailbox PRs).",
     "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "3 — git push of the branch (an empty-branch probe, then e025d4c6f; not REST); one fleet-write relay stroke POST /repos/objectstack-ai/objectstack/dispatches (pr_create #34483 with assignees os-project-manager and labels skip-changeset, read back byte-identical, run 43966733143); this os-dev-report comment through post-stamped.mjs on #33828",
     "open_questions": [
      {
       "question": "The brief asked for the PR body to end with an HTML-comment signed trailer. os-dev.md forbids HTML comments in dev-written GitHub text and wins over the brief. The relay's PR_BODY_TRAILER_SHAPE expects that comment form only on a seat issue_patch rewrite. Should the seat add the trailer form when it next rewrites the body?",
       "options": [
        "A: the seat adds the comment trailer at its own rewrite (scratchpad body is ready)",
        "B: keep the plain-text signed line already on the last line"
       ],
       "recommendation": "A, because the seat's issue_patch path reads that shape, and the dev contract keeps devs from writing it."
      },
      {
       "question": "The brief says 'no labels' but also 'use the repo's skip mechanism as os-dev.md says'. os-dev.md's mechanism is skip-changeset in pr_create's labels. I read 'no labels' as no separate label writes and sent skip-changeset on the create. Was that the intent?",
       "options": [
        "A: yes, the label rides the create (current state)",
        "B: no, the seat removes it and Check Changeset goes red (not a required context)"
       ],
       "recommendation": "A, because the diff releases nothing (content/docs and docs/adr ship in no package's files[]) and route 2 of Check Changeset names the label."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": []
    }
  16. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRPxhTmqbUbMrqygh4

    Release: claim 6919765887 (the takeover claim of seat repo:objectstack#1, session session_01FEkQ5nNrLRm8ssuwWcBVcw, area o1-A, account os-project-manager) and its amendment 6930338563 · 2026-11-17T02:48Z
    Provenance: whose order — seat repo:objectstack#1 (os-project-manager) is out of tokens and stops, by the maintainer's word of 2026-11-17T02:41Z 「1号座位 pm leehom 没有token了,你看看他还有哪些 issue 和 pr 你全部接手」; words — "o2-I 改作「席 1 遗留 · 服务端」区 … 每张卡由 o2-I 写一笔接管" (seat repo:objectstack#2's order of 2026-11-17T02:45Z); where — this account's Claude Code project channel (the maintainer's words, relayed by the coordinator to the seat), and the seat's takeover order to area o2-I. Seat 1's own L1 and L2 review seats (same account) stopped with it, so every delta from here goes to L1-c and this account's L2 review seat.

    Claim: takeover · #33828 · area o2-I (seat 1 legacy · server) · 2026-11-17T02:48Z
    Session: session_01ADHkmRPxhTmqbUbMrqygh4 (area o2-I holds the claim); the landing after a GOVERNED_APPROVERS approval is done by the seat repo:objectstack#2
    Account: os-steve
    Branch: claude/issue-33828-adr0066-modify-all-note (PR #34483), continued as it is, no new PR
    Worktree: none here (no code is owed)
    Domain: domain:server
    Seat: repo:objectstack#2
    File surface: unchanged from 6919765887 / 6930338563 and PR #34483 as it stands
    Clause-②: no
    Metadata-protocol: none
    Pre-claim lane: domain:server; the seat repo:objectstack#2 is a full-repo seat.
    Pre-claim deps: no open Blocked-by:.
    Prior rulings read: check-prior-rulings.mjs --card 33828 → card thread 0 rulings of 14 comments; governing text inline (ADR-0066 D2 ⑧ amendment).
    Lease: lease:o2-I (replaces lease:o1-A).

    Hand-over record: claude/issue-33828-adr0066-modify-all-note @ e025d4c6f6058f2c37e3bd982b2d6534f68a4685 (PR #34483, ready, pm:awaiting-merge, review requested from hotlong and os-zhuang; hand-over state 6933545656). The branch tip matches the PR head at this reading.

  17. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

    Closing hygiene, written at 2026-11-17T03:14Z: PR #34483 merged (8a60f509c6) and closed this card through Fixes. pm:dispatched, lease:o2-I and the assignee were still on it. This stroke removes all three, because a closed card carries no pm state.

  18. removed
    pm:dispatched
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:serverpriority:p1security

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions