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
approvals: an approver without read on the object sees a blank request page, and nothing warns when the flow is saved #39406
area:workflowApprovals and automation — the work that runs without a person driving itbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
A new company sets up an approval on its repair-order object. The approver step uses the default, the submitter's manager (上级). The manager, 张经理, holds a permission set that does not grant read on the repair-order object. Nobody notices, because the flow save gives no hint.
An engineer submits an order. 张经理 gets the inbox item and opens the request. The submitted-record pane is blank: no fields, no note. He can approve or reject, but he cannot see what he is deciding on. A direct read of the record returns PERMISSION_DENIED for him.
This is consistent with the current design. SubmittedRecord.tsx draws the snapshot only for fields the reader may read, and the service redacts the snapshot per reader. So nothing leaks. The issue is that the gap is silent at both ends.
Where
ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx (origin/main 301a378). It draws nothing when every field is denied, and gives no explanation.
The flow / approval save-time checks. They already warn about a missing manager, but they do not check whether the configured approvers can read the object.
Expected
At design time: when an approval step's approver (a user, position, role or the manager relation where it can be resolved) has no read on the object, the save warns and names the object and the approver. It uses labels, not API names.
At decision time: when the reader can see none of the snapshot's fields, the pane says so ("You don't have access to this object's fields; ask an administrator") instead of rendering empty.
Whether an approver should see the snapshot regardless of object permissions is a separate product decision. This card does not propose changing the redaction.
Repro
Showcase: create an object, an approval flow on create with the approver set to the manager, and two users (an engineer and their manager).
Give the manager a permission set without read on the object.
Submit as the engineer, then open the inbox item as the manager.
Triage: lands in area:workflow · domain:ui · Bug · p2 · pm:queue · size S, touched 2026-12-03T23:15Z. Rationale: an approver without read on the object gets a blank request page, and saving the flow gives no warning. This is the approval step, so it is in workflow. The filer's grade stands. Issue type set to Bug.
Grade: area:workflow · Bug · p2 · approvers on restricted objects · read (new-company walkthrough, zh-CN).
Claim: PM loop round 1 · 2026-12-03T23:48Z
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39406-approver-read-gap
Worktree: objectstack-issue-39406
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx, packages/lint/src/validate-approval-approvers.ts, packages/lint/src/rule-explanations/approval-approvers.ts, ui/packages/i18n/src/locales/en.ts, ui/packages/i18n/src/locales/zh-Hans.ts (new keys only), new test files named for this card. Stop on any other breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; a permission-aware design-time check), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform code in this repo (SubmittedRecord.tsx renders nothing when every field is denied; validate-approval-approvers.ts warns on a missing manager but not on an approver without read); no existing path covers either; every approver on a restricted object reaches it.
Thread-read: 7395326430
Premise: holds — at origin/main 5c00c57SubmittedRecord.tsx strips denied fields (withoutDeniedFields) and has no all-denied message; validate-approval-approvers.ts exists beside its rule explanation. The dev measures the empty pane and the absent warning before editing.
Pre-claim lane: ui/** ⇒ domain:ui; packages/lint/src/** ⇒ domain:spec file ownership (packages/lint per the domain table). Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39406: card thread 0 rulings (1 triage comment). The card's own boundary kept: 「Whether an approver should see the snapshot regardless of object permissions is a separate product decision. This card does not propose changing the redaction.」
Serial constraints cleared: check-handover.mjs --inflight meets #39336 (os-bill, claim 7381587985) only through its directory entry packages/lint/src/; its PR #39400 does not touch validate-approval-approvers.ts (file list read). The dev runs overlap-check.mjs before each push and queues behind any textual conflict.
Claim: PM loop round 1 · 2026-12-04T00:18Z · re-posted: supersedes claim 7396034925 for the branch name only (project rule: cloud sessions push only claude/issue-N-wip); every claim amendment on this card still stands
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39406-wip
Worktree: objectstack-issue-39406
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx, packages/lint/src/validate-approval-approvers.ts, packages/lint/src/rule-explanations/approval-approvers.ts, ui/packages/i18n/src/locales/en.ts, ui/packages/i18n/src/locales/zh-Hans.ts (new keys only), new test files named for this card. Stop on any other breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; a permission-aware design-time check), effort: high (M card)
Clause-②: no
Metadata-protocol: none
Responsibility: platform code in this repo (SubmittedRecord.tsx renders nothing when every field is denied; validate-approval-approvers.ts warns on a missing manager but not on an approver without read); no existing path covers either; every approver on a restricted object reaches it.
Thread-read: 7396034925
Premise: holds — at origin/main 5c00c57SubmittedRecord.tsx strips denied fields (withoutDeniedFields) and has no all-denied message; validate-approval-approvers.ts exists beside its rule explanation. The dev measures the empty pane and the absent warning before editing.
Pre-claim lane: ui/** ⇒ domain:ui; packages/lint/src/** ⇒ domain:spec file ownership (packages/lint per the domain table). Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree.
Pre-claim deps: none named by the card.
Prior rulings read: check-prior-rulings.mjs --card 39406: card thread 0 rulings (1 triage comment). The card's own boundary kept: 「Whether an approver should see the snapshot regardless of object permissions is a separate product decision. This card does not propose changing the redaction.」
Serial constraints cleared: check-handover.mjs --inflight meets #39336 (os-bill, claim 7381587985) only through its directory entry packages/lint/src/; its PR #39400 does not touch validate-approval-approvers.ts (file list read). The dev runs overlap-check.mjs before each push and queues behind any textual conflict.
{
"issue": 39406,
"status": "needs_decision",
"branch": "claude/issue-39406-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39479",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "Decision-time half delivered as draft PR 39479 (Part of, not Fixes): SubmittedRecord.tsx now draws 'You don't have access to this object's fields; ask an administrator.' where the request page drew nothing, triggered only by a denial (object definition withheld while perms deny object read; or no declared field served and either the reader's field permissions withheld a key or the served definition declares no field). Redaction unchanged. Both halves reproduced on base first: the new pin went 3 failed / 2 passed on the base component, and validateApprovalApprovers on a manager + position slate with no read returned only the two may-resolve-empty advisories, none about read. The design-time half is NOT implemented: the PM mechanism assumption is falsified (permission SETS are in reach in validate-approval-approvers.ts, but which sets an approver holds is not: runtime data for user/manager/team/department/queue/field/expression; position metadata for position, which the CLI stack carries and the runtime save door's RuntimeStackContext (objects, permissions, books, datasets, flows) does not). Known red: all-locales-key-parity (9 packs miss the new key) because the file surface names en + zh-Hans only and says stop on breach.",
"tests": "head 9e96ba57a0. New pin ApprovalDecisionPanel.noReadableFields-39406.test.tsx: base component 'Tests 3 failed | 2 passed (5)' (red reproduction), head together with decidedSnapshot-27502 suite 'Tests 9 passed (9)'. approval-decision/ directory on head: 'Tests 1 failed | 107 passed (108)', the failure fullRecord-34588 acceptance 1 (child rows not inside a 1000 ms waitFor on a loaded box); that file alone 'Tests 12 passed (12)' on head and on base. A first version of the fix redded the 27502 CONTROL (snapshot of undeclared keys only); fixed by requiring a denial. Parity: all-locales-key-parity red, 9 locales each missing 1 key (expected, see open_questions). pnpm --filter @object-ui/app-shell run type-check (tsconfig + tsconfig.test.json) exit 0, 0 errors. Reverse verification = the base-component red run above (SubmittedRecord.tsx restored from BASE tree-only, run, restored from HEAD; porcelain clean after).",
"gates": "local, head 9e96ba57a0, each exit captured before any pipe: dispatch-gates --commands derived 39 families; 36 run exit 0; 3 NOT-MEASURED: check-comment-mask-corpus.mjs and check:query-options-erasure (timeout 300 s at load 6-9 on the shared box, repo-wide scans), 'pnpm --dir ui exec vitest run scripts/' (ui/scripts untouched); dispatch-gates --ran exit 0 '39 derived, 36 run, 3 NOT-MEASURED, 0 UNRUN'. overlap-check VERDICT clean before each push (shares en.ts/zh-Hans.ts with 39433, 39425, 39063, all merge cleanly). Control-byte self-scan of the two edited sources: no hit. CI check-runs on PR 39479: not yet read (report delivered at end of local verification; CI convergence is the seat's).",
"mcp_calls": "0",
"api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/39479/assignees os-elon-musk); post-stamped issue comment on 39406 (POST /issues/39406/comments). git push not counted.",
"classifier_refusals": [],
"open_questions": [
{
"question": "Where does the design-time 'approver has no read' check live, given a lint rule cannot read who holds which permission set?",
"options": [
"A: runtime check at request open in plugin-approvals: when the node expands approvers to people, ask the security service whether each can read the object, and on a gap leave an operator-visible warning (log + admin notification) naming object label and approver name. Catches the card's own manager case and every type. Cost M, outside this claim's file surface, no lint rule id. Not at save time.",
"B: save-time advisory from a runtime service on flow publish: resolve approvers knowable without a submitter (user ids, position holders, membership tiers) against the security service and return them as publish advisories. Manager stays unresolvable (submitter-dependent). Cost L: a new service-to-publish-gate advisory channel; the gate runs pure lint rules today.",
"C: lint position arm only: read stack.positions' permissionSets (+ isDefault sets) against stack.permissions; fires on os validate; firing on a Studio save needs RuntimeStackContext widened with positions (runtime-gate.ts, the dispatch said do not widen). New rule id = Clause-② yes per the dispatch. Cost S-M; misses user/manager and runtime direct grants.",
"D: no design-time check: the decision-time notice in PR 39479 closes the card; close it on that PR."
],
"recommendation": "A, because it is the only option that catches the card's own scenario (a manager approver) and it judges real people at the first moment they are known; C can follow as a cheap author-time hint if the seat wants one."
},
{
"question": "Widen the file surface to the nine other locale packs (new key approvalsInbox.snapshotNoFieldAccess only) so all-locales-key-parity goes green?",
"options": [
"A: yes, one new-key line in each of ar, de, es, fr, ja, ko, pt-BR, ru, zh-Hant on the same branch (overlap-check first).",
"B: no: PR 39479 stays red on parity until another carrier adds them."
],
"recommendation": "A, because the parity test requires every pack to define every en key, so the claim's en + zh-Hans surface cannot land green on its own."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: fullRecord-34588 acceptance 1 can miss its 1000 ms waitFor under load because the child table loads plugin-detail lazily inside the clocked window; observation only (passes alone on base and head), recorded in PR 39479 Acceptance notes."
],
"line_budget": "300 insertions, 10 deletions across 5 files (below the 3,000 human-review line)",
"files_changed": [
"ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx (+93 -10)",
"ui/packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.noReadableFields-39406.test.tsx (+191, new)",
"ui/packages/i18n/src/locales/en.ts (+1, new key)",
"ui/packages/i18n/src/locales/zh-Hans.ts (+1, new key)",
".changeset/39406-approval-snapshot-no-field-access.md (+14, new; outside the named surface, the standard changeset for @object-ui/i18n patch)"
],
"deviations": [
"Branch: pushed to claude/issue-39406-wip per the coordinator's correction and the re-posted claim 7396630259; dev-worktree --probe had already pushed the empty branch claude/issue-39406-approver-read-gap (no commits beyond main) before the correction; left in place, not deleted.",
"Conflict noted: os-dev.md says never open a PR from a -wip branch; PR 39479's head is claude/issue-39406-wip because the coordinator's project rule for cloud sessions names that as the only pushable branch. Followed the coordinator; flagged here, not resolved.",
"Container restart mid-run (one locked test run died with exit 137); resumed from the remote branch tip, every gate re-run on the final head.",
"Locale surface: stopped at the en + zh-Hans breach line; parity red is the named gap (open_questions 2)."
]
}
Claim amendment: 2026-12-04T01:59Z · amends claim 7396630259 · Area: em-admin
File surface: ui/packages/i18n/src/locales/ar.ts, de.ts, es.ts, fr.ts, ja.ts, ko.ts, pt-BR.ts, ru.ts, zh-Hant.ts (the one new key approvalsInbox.snapshotNoFieldAccess only), added to the existing surface; all-locales-key-parity requires every pack to define every en key (dev report 7398326256).
Scope: PR #39479 carries the decision-time half (Part of #39406). The design-time half (where an "approver cannot read the object" check can live, since a lint rule cannot see who holds which permission set) is a product choice sent to the seat for the maintainer; no code for it on this claim.
The card has two halves. The decision-time half is draft PR #39479 (+300/−10, 5 files): where the request page drew nothing it now says "You don't have access to this object's fields; ask an administrator." The design-time half (a warning when a step's approver cannot read the object) came back as needs_decision in dev report 7398326256 with four placements, A to D, and a recommendation of A.
Reading the code under both halves changes the question. The server does not withhold the submitted content from an approver who lacks read on the object; the request page discards it. So the thing the warning would warn about is a page defect, not an access gap the administrator created.
ADR-0106, amendment "object-level visibility" (ruling record 6787890900): 「Every schema-serving outlet leaves out of its lists an object the caller may not read, and answers a read of such an object exactly as that outlet answers a name that names no object.」 Its known residuals name 「outlets that carry only object names and labels」 as not narrowed. This is why the page gets no definition for the approver.
SKILL.md 〈升级与决策〉: 「新增门禁默认否:门禁是只减不增的零件,例外只有维护者点名」; 「安全/权限边界与破坏性难逆动作恒在人工地板」; meta-criterion ② 「一个操作两个实现且行为不一致 ⇒ 带治理的一侧(权限闸、同意、去重、审计)胜出」.
Searches: git grep -n -iE 'approver.{0,80}(read|see|view|permission)' origin/main -- AGENTS.md docs/adr/0019-approval-as-flow-node.md docs/adr/0043-actionable-approval-links.md docs/adr/0044-approval-send-back-for-revision.md → 0 hits. No ADR states what an approver sees; the two rulings and the docblock above are the governing text.
Protocol statement
No option here changes what a metadata author can write. The recommended option is Clause-②: no, Metadata-protocol: none and touches no server contract. Option C adds a lint rule id (Clause-②: yes per the dispatch). Option A adds a runtime message in eleven locale packs and a per-approver security question on every request open.
Premises, each with its re-check (origin/main 91f131b)
The server serves the snapshot without asking object-level read. git show origin/main:packages/plugins/plugin-approvals/src/payload-redaction.ts | grep -n 'does not gate on OBJECT-level' → line 55.
Field readability is built from explicit field entries only, so a reader whose sets do not mention the object keeps every field. git grep -n -A30 'getFieldPermissions(' origin/main -- packages/plugins/plugin-security/src/permission-evaluator.ts → the loop reads ps.fields keys only; no object-admission arm. computeReadableFields (security-plugin-field-readers.ts:200) says 「Its object admission is not decided here」.
The page draws nothing without the object's definition, and drops the served snapshot through a client-side check. git show origin/main:ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx | grep -n 'objectDef === null || !hasSnapshot\|withoutDeniedFields(payload' → lines 230 and 231. The client check answers false for every field of an object the signed-in reader holds no row for (ui/packages/permissions/src/MePermissionsProvider.tsx:458-468).
The server already sends a label for every served snapshot key, and no page reads it any more. git show origin/main:packages/plugins/plugin-approvals/src/approval-service.ts | sed -n 13757,13767p → r.payload_labels = labels; git grep -n 'payload_labels' origin/main -- ui/packages ':!*CHANGELOG.md' → 0 hits. PR feat(approvals): the approval request page shows the whole business record #34631 (+1957/−1516, 32 files) replaced the summary that read it with the whole-record card that needs the definition.
A save-time rule cannot see who holds which permission set. git show origin/main:packages/lint/src/runtime-gate.ts | sed -n 403,520p | grep -nE '^\s+[a-zA-Z]+\?: readonly' → objects, permissions, books, datasets, flows; no positions, no users. The dev's reading holds.
The pending approver's record read is row-level only. git show origin/main:packages/plugins/plugin-approvals/CHANGELOG.md | grep -n 'still needs read on the object itself' → 1 hit.
Draft PR fix(app-shell): tell an approver who may read none of the submitted fields, instead of an empty pane #39479 sets snapshot: {} when the definition is withheld and its test header states 「the service has redacted the snapshot to nothing」 for that case. git show 9e96ba57a0:ui/packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.noReadableFields-39406.test.tsx | sed -n 16,20p. Premises 1 and 2 contradict it.
Premises 1 and 2 are code readings. No test on main pins "approver whose sets do not mention the object is served the snapshot whole" against the real security plugin (approval-payload-redaction.test.ts uses a stub source), and nothing was run in a browser for this analysis.
1. The question in one sentence
An approver who was never given access to the kind of document they are asked to approve opens the request and sees nothing of it, and nobody is told: should the platform warn the administrator, or should the approver simply see what was submitted?
2. Options × real cost × effort
What is built
What the customer sees
Effort
E (added by this analysis)
The request page draws the submitted fields the server already serves when the object's definition is absent for the reader: served keys, the server's labels, the server's display names for references. The "no access" notice stays for the one case where the server served no field. No server change, no warning. Reworks draft #39479 on its branch.
The manager opens the request and reads the repair order as submitted, with fields an administrator explicitly hid from them left out. The administrator does nothing.
domain:ui · 1 PR · precedents: #27635 (+217/−5, 15 files, the summary face that drew from the served snapshot), #34631 (+1957/−1516, 32 files, the rewrite that removed it; upper bound). M.
A
When a request opens, the approvals service asks the security service whether each resolved approver may read the object, and leaves a warning naming the object and the approver.
The first submission after go-live produces a warning to the administrator; the manager still sees the notice from #39479, not the document, until the administrator grants read on the object.
domain:server · 1 PR plus eleven locale strings · precedent #35661 (+335/−36, 11 files, the request tells the submitter no approver resolved). M. No landed "administrator notification" channel was found for it; the nearest is that request-timeline note.
B
A runtime service returns advisories at flow publish for approvers knowable without a submitter.
The administrator is warned at publish for named users and positions, never for the manager default.
无先例 for a service-to-publish advisory channel (the gate runs pure rules: premise 5). L, at least 2 PRs.
C
A lint rule for position approvers.
A developer running validation is warned for positions; a Studio save is not unless the save door's context is widened; user and manager approvers never.
domain:spec (packages/lint) · 1 PR, 2 with the save-door widening · precedent #17034 (+372/−0, 3 files). S to M. Clause-②: yes.
D
Nothing at design time; #39479 as drafted closes the card (+300/−10, plus nine one-line locale edits).
The manager reads "You don't have access to this object's fields; ask an administrator." and approves blind or chases the administrator.
0 further PRs.
3. What each option means in business terms
E: the approval form travels with the approval. Being asked to approve a document is what lets you read that submission, the way a paper form lands on the approver's desk.
A: the platform lets the blind approval be set up, then files a complaint with the administrator once somebody has already submitted.
B / C: a spell-checker that only knows some of the words; it stays silent on the default setup.
D: a sign on a locked door.
4. The four axes, argued from the business
① 项目长远合理性: E shrinks special cases. One rule already exists for what an approver sees (the server narrows the submission by field permissions and serves it); E makes the page obey it. A, B and C each add a checker for a state the landed seam calls 「the normal shape of an approval」, and their remedy sends administrators to grant object read to every possible manager, which opens the whole object's rows where only one submission was needed. D keeps two disagreeing implementations of one read (server serves, page discards). End state in two years: an approver always reads what was submitted to them, minus explicitly hidden fields, and step-level field visibility is an authoring choice on the approval, not a side effect of permission sets. Reference platforms, from memory and not re-read for this analysis: Salesforce's approval page layout (the administrator picks the fields the approver sees on the request), ServiceNow's approval summarizer on the approval record, Dynamics and Power Automate approvals (the request carries the details the flow author chose), and DingTalk / Feishu approvals where the approver always sees the submitted form.
② 实际业务拉动: found in a new-company walkthrough, not by a customer (there are none in production). The trigger is the default approver (the submitter's manager) plus any object the manager's sets do not mention, so every new company with a restricted object meets it on its first approval. plugin-approvals: the approver a step waits on gets no read of the record it is about — "无法打开此记录" on the request they must decide #26180 measured the neighbouring case on hotclm with two personas. Pull is real for the symptom, zero for a warning as such: nobody asked to be warned, they asked not to approve blind.
③ 防 AI 犯错: under E an AI-authored app that forgets to grant approvers read still yields a readable approval, so the mistake cannot be made. Under A the mistake is loud but late, and loud to the administrator only; the approver has already been asked to decide. Under C a rule fires for positions and is silent for the default, which reads as "checked" when it was not. Under D the approver is told, the administrator and the author are not: silent at the place the fix lives. When E itself goes wrong (the server serves no field), the page says so with the notice; values the server withheld never reach the browser, so a page bug cannot leak them.
④ 创业阶段不扩散: E declares nothing and removes a failure state. A adds a per-approver security question on a hot path and a message family in eleven languages to maintain. C adds a rule id, which is a permanent obligation, and B adds a whole advisory channel. A warning that blocks nothing is not a blocking gate, but it is a new declared check the maintainer has not named, and 「新增门禁默认否」 points the same way: do not add it.
Prior rulings read: approvals,approver,read,object,sees,blank,request,page,nothing,warns,flow,saved → 396 hits; ADR-0146 D11, ADR-0155 D1, ADR-0044 D1 (read, none answers this question), ADR-0106 object-level visibility amendment (6787890900) and its approvals exception (6840464379), rulings 5377367175 (#10749) and 6429330267 (#26180); thread: none; repo: objectstack-ai/objectstack
5. Who sees what when it goes wrong
Today: silent at both ends. The approver sees an empty area; the administrator sees nothing.
A: the administrator is told after the first submission; the approver still cannot read the document until permission sets are edited.
E: nobody needs telling in the common case. In the residual case (every field explicitly hidden from this approver) the approver reads the notice, which is then true.
6. Recommendation
E. The page shows the approver the submission the server already serves; no design-time warning is added.
Not A: it reports a state the platform's own contract calls normal, arrives after someone has submitted, and its remedy widens access more than the approval needs. It is the dev's recommendation; this analysis does not adopt it.
Not B: no precedent, the largest cost, and blind to the manager default.
Not C: silent on the card's own scenario, and a new rule id for a condition E removes.
Not D: it leaves the page discarding what the server serves and tells the approver something false.
E is on the human floor: it changes what a person without read on an object sees on screen. It does not move the server's boundary (the same values already reach that person's browser, and field-level hiding keeps applying), but the choice is the maintainer's, not the seat's. Effort note: D is 0 further PRs and E is one M PR; the readings on ① are not close, so the gap does not weigh.
Self-check: 只看①选 E;②③④ 是否翻转:否.
Confidence gaps (none changes the recommendation):
Premises 1 and 2 are read from code, not run. The first step after the ruling is the test that settles them.
The ADR-0106 amendment came after the snapshot ruling and did not mention the approvals door's label map. The amendment lists label-only outlets as a known residual, so E leans on that residual; if the maintainer wants the object's field labels hidden from a non-reader even on a request addressed to them, E would draw values under generic labels or the answer becomes D.
The reference-platform sentence is from memory, not from vendor documentation read in this session.
E draws plain values where the full card draws typed cells (option labels, formatted dates), because typing comes from the withheld definition. Whether the server should also serve display values for selects is a follow-up question, not part of this ruling.
Not covered by E: the approver's read of the live record, its child tables and attachments. Ruling 6429330267 gives the pending approver that read; the landed grant is row-level, so an approver without object read is still refused there (the card's PERMISSION_DENIED). Lifting that is a real widening of the security boundary and needs its own card; this analysis does not recommend it here.
Post-ruling execution
If E: the seat re-dispatches on the existing claim and branch (domain:ui, M, review at the contract-review tier because it changes what a non-reader sees). The dev first proves premises 1 and 2 with an integration test against the real security plugin: an approver whose sets do not mention the object reads the request and the payload keeps its keys. If that test fails, the dev reports a fork and builds nothing; no falling back to A or D silently. Then: draw the served snapshot from the served keys and labels when the definition is absent; do not pass the snapshot through the client-side object check (the server's answer is the authority for the snapshot); keep the notice only when no field was served; rewrite case 1 of fix(app-shell): tell an approver who may read none of the submitted fields, instead of an empty pane #39479's pin, whose stated premise is the one this analysis found false. The card closes on that PR. The seat files one follow-up card for the live-record read gap named above and leaves it in the decision box.
{
"issue": 39406,
"status": "blocked",
"branch": "claude/issue-39406-wip",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39479",
"session": "session_016WV4d1cnRvyiAqrarmDhZV",
"premise_still_valid": true,
"summary": "Locale round done and pushed: head 69d22bb4a8 on claude/issue-39406-wip (merge of origin/main 91f131b690 as 733cbacdbf, then one commit adding approvalsInbox.snapshotNoFieldAccess, translated, to ar, de, es, fr, ja, ko, pt-BR, ru, zh-Hant; one line per pack, nothing else). Stopped as ordered: PR 39479 is on hold pending the maintainer ruling on the seat analysis (comment 7398609383); SubmittedRecord.tsx untouched this round. Blocked on: that ruling (the patch round the PM will send).",
"tests": "head 69d22bb4a8, one locked run: turbo build of the app-shell closure 'Tasks: 72 successful, 72 total', then vitest over packages/i18n/ + the 39406 pin + the 27502 suite: 'Test Files 112 passed (112) / Tests 1883 passed | 13 skipped (1896)', all-locales-key-parity included (it was the known red on 9e96ba57a0).",
"gates": "overlap-check VERDICT clean exit 0 before the push. CI on 69d22bb4a8, read once while UI jobs ran: success: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards; in_progress: Lint UI, Type Check UI, Test UI 1-16/16, Build & E2E UI. Not waited on further: the PM's stop order replaced the wait-for-CI order.",
"mcp_calls": "0",
"api_writes": "1 this round: post-stamped report comment on 39406 (POST /issues/39406/comments). git push not counted. PR body not patched.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"line_budget": "branch vs main after this round: 309 insertions, 10 deletions across 14 files",
"files_changed": [
"ui/packages/i18n/src/locales/{ar,de,es,fr,ja,ko,pt-BR,ru,zh-Hant}.ts (+1 each, the one new key, per claim amendment 7398463175)"
],
"deviations": [
"Worktree rebuilt from origin/claude/issue-39406-wip with dev-worktree --resume-from, merged origin/main through os-regen-merge.sh (no os-regen paths touched, nothing to regenerate), base pinned 733cbacdbf; removed again at the end, all work on the remote.",
"PR body line change for the seat to make (not patched by me): the Acceptance note 'Known red, named gap: all-locales-key-parity' no longer holds; replace it with 'The new key is translated into all eleven packs; all-locales-key-parity is green.' and the 'New locale key ... in en and zh-Hans' bullet becomes '... in every locale pack'."
]
}
Ruled: 2026-12-04T02:40Z · design-time half: the maintainer tapped 「审批人直接看到提交内容」 at 2026-12-04T02:39:00Z on the project decision card. That is option E of the analysis in comment 7398609383. None of the dev report's A to D was chosen.
Route E: when the object definition is withheld, the approval page draws the snapshot the server already serves, with its keys and labels. The "no access" notice appears only when the server served no field. Domain: ui · Clause-②: no · Metadata-protocol: none.
Claim amendment: 2026-12-04T02:41Z · amends claim 7396630259 · Area: em-admin
Ruled-by: maintainer ruling on the design-time half, option E of analysis 7398609383 (record 7399225992, relayed by the seat).
Scope: rework PR #39479 on claude/issue-39406-wip. When the object definition is withheld, the approval page draws the served snapshot (keys and labels); the "no access" notice shows only when the server served no field. First, an integration test proving the server serves the snapshot whole to an approver whose sets do not mention the object; if it fails, the dev reports the fork and builds nothing. The live-record / attachments gap is #39485, not built here.
File surface: a new integration test file in packages/plugins/plugin-approvals/src/ named for this card (reads only; no plugin source edit), added to the existing surface (SubmittedRecord.tsx, its pin file, the eleven locale packs for the one key, the changeset).
Clause-②: no
Metadata-protocol: none
area:workflowApprovals and automation — the work that runs without a person driving itbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Dec 3, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:workflow · domain:ui · Bug · p2 · pm:queue · size S, touched 2026-12-03T23:15Z. Rationale: an approver without read on the object gets a blank request page, and saving the flow gives no warning. This is the approval step, so it is in workflow. The filer's grade stands. Issue type set to Bug.
Grade: area:workflow · Bug · p2 · approvers on restricted objects · read (new-company walkthrough, zh-CN).
objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-03T23:48Z
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39406-approver-read-gapWorktree:
objectstack-issue-39406Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx,packages/lint/src/validate-approval-approvers.ts,packages/lint/src/rule-explanations/approval-approvers.ts,ui/packages/i18n/src/locales/en.ts,ui/packages/i18n/src/locales/zh-Hans.ts(new keys only), new test files named for this card. Stop on any other breach and explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; a permission-aware design-time check),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform code in this repo (
SubmittedRecord.tsxrenders nothing when every field is denied;validate-approval-approvers.tswarns on a missing manager but not on an approver without read); no existing path covers either; every approver on a restricted object reaches it.Thread-read: 7395326430
Premise: holds — at origin/main 5c00c57
SubmittedRecord.tsxstrips denied fields (withoutDeniedFields) and has no all-denied message;validate-approval-approvers.tsexists beside its rule explanation. The dev measures the empty pane and the absent warning before editing.Pre-claim lane:
ui/**⇒domain:ui;packages/lint/src/**⇒domain:specfile ownership (packages/lintper the domain table). Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39406: card thread 0 rulings (1 triage comment). The card's own boundary kept: 「Whether an approver should see the snapshot regardless of object permissions is a separate product decision. This card does not propose changing the redaction.」Serial constraints cleared:
check-handover.mjs --inflightmeets #39336 (os-bill, claim 7381587985) only through its directory entrypackages/lint/src/; its PR #39400 does not touchvalidate-approval-approvers.ts(file list read). The dev runsoverlap-check.mjsbefore each push and queues behind any textual conflict.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 1 · 2026-12-04T00:18Z · re-posted: supersedes claim 7396034925 for the branch name only (project rule: cloud sessions push only
claude/issue-N-wip); every claim amendment on this card still standsSession:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39406-wipWorktree:
objectstack-issue-39406Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx,packages/lint/src/validate-approval-approvers.ts,packages/lint/src/rule-explanations/approval-approvers.ts,ui/packages/i18n/src/locales/en.ts,ui/packages/i18n/src/locales/zh-Hans.ts(new keys only), new test files named for this card. Stop on any other breach and explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 5c00c572: "no path-derived mandate"; a permission-aware design-time check),effort: high (M card)Clause-②: no
Metadata-protocol: none
Responsibility: platform code in this repo (
SubmittedRecord.tsxrenders nothing when every field is denied;validate-approval-approvers.tswarns on a missing manager but not on an approver without read); no existing path covers either; every approver on a restricted object reaches it.Thread-read: 7396034925
Premise: holds — at origin/main 5c00c57
SubmittedRecord.tsxstrips denied fields (withoutDeniedFields) and has no all-denied message;validate-approval-approvers.tsexists beside its rule explanation. The dev measures the empty pane and the absent warning before editing.Pre-claim lane:
ui/**⇒domain:ui;packages/lint/src/**⇒domain:specfile ownership (packages/lintper the domain table). Seat ruling on the lease (2026-12-03T23:45Z, seat repo:objectstack@os-elon-musk): this card is claimed with its out-of-ui files named at file level; the zone lease stays the ui tree.Pre-claim deps: none named by the card.
Prior rulings read:
check-prior-rulings.mjs --card 39406: card thread 0 rulings (1 triage comment). The card's own boundary kept: 「Whether an approver should see the snapshot regardless of object permissions is a separate product decision. This card does not propose changing the redaction.」Serial constraints cleared:
check-handover.mjs --inflightmeets #39336 (os-bill, claim 7381587985) only through its directory entrypackages/lint/src/; its PR #39400 does not touchvalidate-approval-approvers.ts(file list read). The dev runsoverlap-check.mjsbefore each push and queues behind any textual conflict.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39406, "status": "needs_decision", "branch": "claude/issue-39406-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39479", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "Decision-time half delivered as draft PR 39479 (Part of, not Fixes): SubmittedRecord.tsx now draws 'You don't have access to this object's fields; ask an administrator.' where the request page drew nothing, triggered only by a denial (object definition withheld while perms deny object read; or no declared field served and either the reader's field permissions withheld a key or the served definition declares no field). Redaction unchanged. Both halves reproduced on base first: the new pin went 3 failed / 2 passed on the base component, and validateApprovalApprovers on a manager + position slate with no read returned only the two may-resolve-empty advisories, none about read. The design-time half is NOT implemented: the PM mechanism assumption is falsified (permission SETS are in reach in validate-approval-approvers.ts, but which sets an approver holds is not: runtime data for user/manager/team/department/queue/field/expression; position metadata for position, which the CLI stack carries and the runtime save door's RuntimeStackContext (objects, permissions, books, datasets, flows) does not). Known red: all-locales-key-parity (9 packs miss the new key) because the file surface names en + zh-Hans only and says stop on breach.", "tests": "head 9e96ba57a0. New pin ApprovalDecisionPanel.noReadableFields-39406.test.tsx: base component 'Tests 3 failed | 2 passed (5)' (red reproduction), head together with decidedSnapshot-27502 suite 'Tests 9 passed (9)'. approval-decision/ directory on head: 'Tests 1 failed | 107 passed (108)', the failure fullRecord-34588 acceptance 1 (child rows not inside a 1000 ms waitFor on a loaded box); that file alone 'Tests 12 passed (12)' on head and on base. A first version of the fix redded the 27502 CONTROL (snapshot of undeclared keys only); fixed by requiring a denial. Parity: all-locales-key-parity red, 9 locales each missing 1 key (expected, see open_questions). pnpm --filter @object-ui/app-shell run type-check (tsconfig + tsconfig.test.json) exit 0, 0 errors. Reverse verification = the base-component red run above (SubmittedRecord.tsx restored from BASE tree-only, run, restored from HEAD; porcelain clean after).", "gates": "local, head 9e96ba57a0, each exit captured before any pipe: dispatch-gates --commands derived 39 families; 36 run exit 0; 3 NOT-MEASURED: check-comment-mask-corpus.mjs and check:query-options-erasure (timeout 300 s at load 6-9 on the shared box, repo-wide scans), 'pnpm --dir ui exec vitest run scripts/' (ui/scripts untouched); dispatch-gates --ran exit 0 '39 derived, 36 run, 3 NOT-MEASURED, 0 UNRUN'. overlap-check VERDICT clean before each push (shares en.ts/zh-Hans.ts with 39433, 39425, 39063, all merge cleanly). Control-byte self-scan of the two edited sources: no hit. CI check-runs on PR 39479: not yet read (report delivered at end of local verification; CI convergence is the seat's).", "mcp_calls": "0", "api_writes": "2 relay writes: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/39479/assignees os-elon-musk); post-stamped issue comment on 39406 (POST /issues/39406/comments). git push not counted.", "classifier_refusals": [], "open_questions": [ { "question": "Where does the design-time 'approver has no read' check live, given a lint rule cannot read who holds which permission set?", "options": [ "A: runtime check at request open in plugin-approvals: when the node expands approvers to people, ask the security service whether each can read the object, and on a gap leave an operator-visible warning (log + admin notification) naming object label and approver name. Catches the card's own manager case and every type. Cost M, outside this claim's file surface, no lint rule id. Not at save time.", "B: save-time advisory from a runtime service on flow publish: resolve approvers knowable without a submitter (user ids, position holders, membership tiers) against the security service and return them as publish advisories. Manager stays unresolvable (submitter-dependent). Cost L: a new service-to-publish-gate advisory channel; the gate runs pure lint rules today.", "C: lint position arm only: read stack.positions' permissionSets (+ isDefault sets) against stack.permissions; fires on os validate; firing on a Studio save needs RuntimeStackContext widened with positions (runtime-gate.ts, the dispatch said do not widen). New rule id = Clause-② yes per the dispatch. Cost S-M; misses user/manager and runtime direct grants.", "D: no design-time check: the decision-time notice in PR 39479 closes the card; close it on that PR." ], "recommendation": "A, because it is the only option that catches the card's own scenario (a manager approver) and it judges real people at the first moment they are known; C can follow as a cheap author-time hint if the seat wants one." }, { "question": "Widen the file surface to the nine other locale packs (new key approvalsInbox.snapshotNoFieldAccess only) so all-locales-key-parity goes green?", "options": [ "A: yes, one new-key line in each of ar, de, es, fr, ja, ko, pt-BR, ru, zh-Hant on the same branch (overlap-check first).", "B: no: PR 39479 stays red on parity until another carrier adds them." ], "recommendation": "A, because the parity test requires every pack to define every en key, so the claim's en + zh-Hans surface cannot land green on its own." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: fullRecord-34588 acceptance 1 can miss its 1000 ms waitFor under load because the child table loads plugin-detail lazily inside the clocked window; observation only (passes alone on base and head), recorded in PR 39479 Acceptance notes." ], "line_budget": "300 insertions, 10 deletions across 5 files (below the 3,000 human-review line)", "files_changed": [ "ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx (+93 -10)", "ui/packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.noReadableFields-39406.test.tsx (+191, new)", "ui/packages/i18n/src/locales/en.ts (+1, new key)", "ui/packages/i18n/src/locales/zh-Hans.ts (+1, new key)", ".changeset/39406-approval-snapshot-no-field-access.md (+14, new; outside the named surface, the standard changeset for @object-ui/i18n patch)" ], "deviations": [ "Branch: pushed to claude/issue-39406-wip per the coordinator's correction and the re-posted claim 7396630259; dev-worktree --probe had already pushed the empty branch claude/issue-39406-approver-read-gap (no commits beyond main) before the correction; left in place, not deleted.", "Conflict noted: os-dev.md says never open a PR from a -wip branch; PR 39479's head is claude/issue-39406-wip because the coordinator's project rule for cloud sessions names that as the only pushable branch. Followed the coordinator; flagged here, not resolved.", "Container restart mid-run (one locked test run died with exit 137); resumed from the remote branch tip, every gate re-run on the final head.", "Locale surface: stopped at the en + zh-Hans breach line; parity red is the named gap (open_questions 2)." ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim amendment: 2026-12-04T01:59Z · amends claim 7396630259 · Area: em-admin
File surface:
ui/packages/i18n/src/locales/ar.ts,de.ts,es.ts,fr.ts,ja.ts,ko.ts,pt-BR.ts,ru.ts,zh-Hant.ts(the one new keyapprovalsInbox.snapshotNoFieldAccessonly), added to the existing surface;all-locales-key-parityrequires every pack to define every en key (dev report 7398326256).Scope: PR #39479 carries the decision-time half (
Part of #39406). The design-time half (where an "approver cannot read the object" check can live, since a lint rule cannot see who holds which permission set) is a product choice sent to the seat for the maintainer; no code for it on this claim.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1EmrT9nkiXCRc8o9b
Decision analysis — #39406 design-time half: show the approver what was submitted instead of warning that they cannot see it
维护者速读
Served-tier: CONTRACT_REVIEW_TIER
Analysed-by: session_016WV4d1EmrT9nkiXCRc8o9b
Background
The card has two halves. The decision-time half is draft PR #39479 (+300/−10, 5 files): where the request page drew nothing it now says "You don't have access to this object's fields; ask an administrator." The design-time half (a warning when a step's approver cannot read the object) came back as
needs_decisionin dev report 7398326256 with four placements, A to D, and a recommendation of A.Reading the code under both halves changes the question. The server does not withhold the submitted content from an approver who lacks read on the object; the request page discards it. So the thing the warning would warn about is a page defect, not an access gap the administrator created.
Governing text
packages/plugins/plugin-approvals/src/payload-redaction.ts:55-62(the seam landed by PR fix(approvals): apply the subject object's field-level read controls to the payload snapshot at serve time #11039 under maintainer ruling 5377367175 on [finding] approvals:sys_approval_request.payload_jsonsnapshots the full raw row and serves it to approvers unfiltered — object-levelhidden: trueand FLS declarations cannot reach inside the JSON blob #10749, serve-time field redaction): 「It does not gate on OBJECT-level access. An approver routinely has no read grant on the object under approval at all — that is the normal shape of an approval, and the snapshot is how they see what they are approving.getReadableFieldsanswers with the full field set for a caller who has no field-permission entries for the object … FIELD-level declarations are enforced, object-level access is untouched, and every approval drawer shipping today keeps rendering.」 The ruling comment itself rules the field-level redaction; the object-level sentence is the landed seam's own contract, reported in that card's dev report and merged with it.git grep -n -iE 'approver.{0,80}(read|see|view|permission)' origin/main -- AGENTS.md docs/adr/0019-approval-as-flow-node.md docs/adr/0043-actionable-approval-links.md docs/adr/0044-approval-send-back-for-revision.md→ 0 hits. No ADR states what an approver sees; the two rulings and the docblock above are the governing text.Protocol statement
No option here changes what a metadata author can write. The recommended option is
Clause-②: no,Metadata-protocol: noneand touches no server contract. Option C adds a lint rule id (Clause-②: yesper the dispatch). Option A adds a runtime message in eleven locale packs and a per-approver security question on every request open.Premises, each with its re-check (origin/main 91f131b)
git show origin/main:packages/plugins/plugin-approvals/src/payload-redaction.ts | grep -n 'does not gate on OBJECT-level'→ line 55.git grep -n -A30 'getFieldPermissions(' origin/main -- packages/plugins/plugin-security/src/permission-evaluator.ts→ the loop readsps.fieldskeys only; no object-admission arm.computeReadableFields(security-plugin-field-readers.ts:200) says 「Its object admission is not decided here」.git show origin/main:ui/packages/app-shell/src/views/approval-decision/SubmittedRecord.tsx | grep -n 'objectDef === null || !hasSnapshot\|withoutDeniedFields(payload'→ lines 230 and 231. The client check answersfalsefor every field of an object the signed-in reader holds no row for (ui/packages/permissions/src/MePermissionsProvider.tsx:458-468).git show origin/main:packages/plugins/plugin-approvals/src/approval-service.ts | sed -n 13757,13767p→r.payload_labels = labels;git grep -n 'payload_labels' origin/main -- ui/packages ':!*CHANGELOG.md'→ 0 hits. PR feat(approvals): the approval request page shows the whole business record #34631 (+1957/−1516, 32 files) replaced the summary that read it with the whole-record card that needs the definition.git show origin/main:packages/lint/src/runtime-gate.ts | sed -n 403,520p | grep -nE '^\s+[a-zA-Z]+\?: readonly'→objects,permissions,books,datasets,flows; no positions, no users. The dev's reading holds.git show origin/main:packages/plugins/plugin-approvals/CHANGELOG.md | grep -n 'still needs read on the object itself'→ 1 hit.snapshot: {}when the definition is withheld and its test header states 「the service has redacted the snapshot to nothing」 for that case.git show 9e96ba57a0:ui/packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.noReadableFields-39406.test.tsx | sed -n 16,20p. Premises 1 and 2 contradict it.Premises 1 and 2 are code readings. No test on main pins "approver whose sets do not mention the object is served the snapshot whole" against the real security plugin (
approval-payload-redaction.test.tsuses a stub source), and nothing was run in a browser for this analysis.1. The question in one sentence
An approver who was never given access to the kind of document they are asked to approve opens the request and sees nothing of it, and nobody is told: should the platform warn the administrator, or should the approver simply see what was submitted?
2. Options × real cost × effort
domain:ui· 1 PR · precedents: #27635 (+217/−5, 15 files, the summary face that drew from the served snapshot), #34631 (+1957/−1516, 32 files, the rewrite that removed it; upper bound). M.domain:server· 1 PR plus eleven locale strings · precedent #35661 (+335/−36, 11 files, the request tells the submitter no approver resolved). M. No landed "administrator notification" channel was found for it; the nearest is that request-timeline note.domain:spec(packages/lint) · 1 PR, 2 with the save-door widening · precedent #17034 (+372/−0, 3 files). S to M.Clause-②: yes.3. What each option means in business terms
4. The four axes, argued from the business
Prior rulings read: approvals,approver,read,object,sees,blank,request,page,nothing,warns,flow,saved → 396 hits; ADR-0146 D11, ADR-0155 D1, ADR-0044 D1 (read, none answers this question), ADR-0106 object-level visibility amendment (6787890900) and its approvals exception (6840464379), rulings 5377367175 (#10749) and 6429330267 (#26180); thread: none; repo: objectstack-ai/objectstack
5. Who sees what when it goes wrong
6. Recommendation
E. The page shows the approver the submission the server already serves; no design-time warning is added.
E is on the human floor: it changes what a person without read on an object sees on screen. It does not move the server's boundary (the same values already reach that person's browser, and field-level hiding keeps applying), but the choice is the maintainer's, not the seat's. Effort note: D is 0 further PRs and E is one M PR; the readings on ① are not close, so the gap does not weigh.
Self-check: 只看①选 E;②③④ 是否翻转:否.
Confidence gaps (none changes the recommendation):
PERMISSION_DENIED). Lifting that is a real widening of the security boundary and needs its own card; this analysis does not recommend it here.Post-ruling execution
domain:ui, M, review at the contract-review tier because it changes what a non-reader sees). The dev first proves premises 1 and 2 with an integration test against the real security plugin: an approver whose sets do not mention the object reads the request and the payload keeps its keys. If that test fails, the dev reports a fork and builds nothing; no falling back to A or D silently. Then: draw the served snapshot from the served keys and labels when the definition is absent; do not pass the snapshot through the client-side object check (the server's answer is the authority for the snapshot); keep the notice only when no field was served; rewrite case 1 of fix(app-shell): tell an approver who may read none of the submitted fields, instead of an empty pane #39479's pin, whose stated premise is the one this analysis found false. The card closes on that PR. The seat files one follow-up card for the live-record read gap named above and leaves it in the decision box.domain:server, M, one PR in the approvals plugin; the warning rides the request's timeline as the no-approver note does; fix(app-shell): tell an approver who may read none of the submitted fields, instead of an empty pane #39479 merges as drafted after its nine locale lines.domain:spec; C carriesClause-②: yes. fix(app-shell): tell an approver who may read none of the submitted fields, instead of an empty pane #39479 merges as drafted.Related
sys_approval_request.payload_jsonsnapshots the full raw row and serves it to approvers unfiltered — object-levelhidden: trueand FLS declarations cannot reach inside the JSON blob #10749 and PR fix(approvals): apply the subject object's field-level read controls to the payload snapshot at serve time #11039 (snapshot served by field permissions) · plugin-approvals: the approver a step waits on gets no read of the record it is about — "无法打开此记录" on the request they must decide #26180 and PR fix(plugin-approvals,plugin-sharing): the approver a pending step waits on reads the record its request is about #26397 (pending approver reads the record, row-level) · 审批请求页:直接显示完整的业务记录,不止「提交时的内容」里的 6 个字段 #34588 and PR feat(approvals): the approval request page shows the whole business record #34631 (whole-record request page) · Approval request page: after approving, the target summary card still reads "Status Submitted / Approved 0.00" while the request strip below reads "Status Approved" #27502 and PR fix(app-shell): label the approval decision panel's record summary "As submitted" (#27502) #27635 ("As submitted" summary) · ADR-0106 object-level visibility amendment.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
os-dev-report
{ "issue": 39406, "status": "blocked", "branch": "claude/issue-39406-wip", "pr": "https://github.com/objectstack-ai/objectstack/pull/39479", "session": "session_016WV4d1cnRvyiAqrarmDhZV", "premise_still_valid": true, "summary": "Locale round done and pushed: head 69d22bb4a8 on claude/issue-39406-wip (merge of origin/main 91f131b690 as 733cbacdbf, then one commit adding approvalsInbox.snapshotNoFieldAccess, translated, to ar, de, es, fr, ja, ko, pt-BR, ru, zh-Hant; one line per pack, nothing else). Stopped as ordered: PR 39479 is on hold pending the maintainer ruling on the seat analysis (comment 7398609383); SubmittedRecord.tsx untouched this round. Blocked on: that ruling (the patch round the PM will send).", "tests": "head 69d22bb4a8, one locked run: turbo build of the app-shell closure 'Tasks: 72 successful, 72 total', then vitest over packages/i18n/ + the 39406 pin + the 27502 suite: 'Test Files 112 passed (112) / Tests 1883 passed | 13 skipped (1896)', all-locales-key-parity included (it was the known red on 9e96ba57a0).", "gates": "overlap-check VERDICT clean exit 0 before the push. CI on 69d22bb4a8, read once while UI jobs ran: success: Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards; in_progress: Lint UI, Type Check UI, Test UI 1-16/16, Build & E2E UI. Not waited on further: the PM's stop order replaced the wait-for-CI order.", "mcp_calls": "0", "api_writes": "1 this round: post-stamped report comment on 39406 (POST /issues/39406/comments). git push not counted. PR body not patched.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "line_budget": "branch vs main after this round: 309 insertions, 10 deletions across 14 files", "files_changed": [ "ui/packages/i18n/src/locales/{ar,de,es,fr,ja,ko,pt-BR,ru,zh-Hant}.ts (+1 each, the one new key, per claim amendment 7398463175)" ], "deviations": [ "Worktree rebuilt from origin/claude/issue-39406-wip with dev-worktree --resume-from, merged origin/main through os-regen-merge.sh (no os-regen paths touched, nothing to regenerate), base pinned 733cbacdbf; removed again at the end, all work on the remote.", "PR body line change for the seat to make (not patched by me): the Acceptance note 'Known red, named gap: all-locales-key-parity' no longer holds; replace it with 'The new key is translated into all eleven packs; all-locales-key-parity is green.' and the 'New locale key ... in en and zh-Hans' bullet becomes '... in every locale pack'." ] }objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxiJF5PkqquFk98Bh7
Ruled: 2026-12-04T02:40Z · design-time half: the maintainer tapped 「审批人直接看到提交内容」 at 2026-12-04T02:39:00Z on the project decision card. That is option E of the analysis in comment 7398609383. None of the dev report's A to D was chosen.
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim amendment: 2026-12-04T02:41Z · amends claim 7396630259 · Area: em-admin
Ruled-by: maintainer ruling on the design-time half, option E of analysis 7398609383 (record 7399225992, relayed by the seat).
Scope: rework PR #39479 on
claude/issue-39406-wip. When the object definition is withheld, the approval page draws the served snapshot (keys and labels); the "no access" notice shows only when the server served no field. First, an integration test proving the server serves the snapshot whole to an approver whose sets do not mention the object; if it fails, the dev reports the fork and builds nothing. The live-record / attachments gap is #39485, not built here.File surface: a new integration test file in
packages/plugins/plugin-approvals/src/named for this card (reads only; no plugin source edit), added to the existing surface (SubmittedRecord.tsx, its pin file, the eleven locale packs for the one key, the changeset).Clause-②: no
Metadata-protocol: none