Skip to content

[Decision] Record page under approval shows two stacked action bars (approval decisions on top, the record's own actions in the header): fold, merge, or move the approval actions? #34361

Closed

Description

@objectstack-fleet

domain:ui#6 · os-lizheng · session_012MmDsR2MvJuPqJW5jG2YQV

Ruled: 6917968848 · letter A · 2026-11-16T13:37Z

Filing gate: ② a decision only the maintainer can make (layout direction for the approver's own decision actions on a business record page; the approver-side layout was explicitly kept in #25877).

Business reason. Approving is the reason an approver opens the record. Today that page shows two rows of buttons: seven approval buttons above the title and four or five record buttons in the header. A customer (here the account owner, on a CRM customer record) reads this as "two menus" and cannot tell which row is the task. Every approver on every record under approval sees this layout.
Reader. The domain:ui lane seat that picks up the ruled option dispatches one os-dev. Option B also needs a domain:spec card first.
Duplicate search. repo:objectstack-ai/objectstack is:issue approval decision bar record page header → 126 hits; … approval actions two bars record page → 37; … DeclaredActionsBar approval fold → 9; … 审批 按钮 两行 → 12. The only placement card is the closed #25877 (admin override bar, fixed by PR #26053). None is about the approver's own bar.

维护者速读

  • 问题:记录处于审批中时,审批人打开记录会看到两排按钮。最上面是审批操作(通过 / 拒绝 / 转签 / 退回修改 / 退回补充 / 撤回 / 回复,共 7 个),标题右侧是记录本身的操作(记录通话 / 记录会议 / 安排会议 / 编辑 / ⋯)。客户反馈"两层菜单",分不清哪一排是自己要做的事。
  • 要你裁的:审批操作在记录页上怎么摆:A 收拢成一条带标题的"待你审批"条,B 并进标题右侧那一排,C 移进右侧的审批面板,D 不改。
  • 推荐:A。保留独立的审批条,但只露出「通过」「拒绝」两个按钮,其余放进「更多审批操作」菜单,前面加一句状态说明(例如「待你审批 · 第 2 步」);「回复」移到审批面板或讨论区。不改协议,一个 UI PR。
  • 不选 B 的原因:两排按钮作用在两条不同的记录上(审批操作作用在审批单上,其余作用在业务记录上)。代码注释写明标题栏这一排"无法改造成"同时承载两者,要先加协议,工作量大约 3 倍。
  • 需要你做的:回复一个字母(可附条件)。
  • 影响面:所有对象的记录页,只要记录在审批中;只改布局,谁能审批、记录什么都不变。

Background

ui/packages/app-shell/src/views/RecordDetailView.tsx draws the pending request's decision actions with <DeclaredActionsBar location={RECORD_APPROVAL_ACTION_LOCATION}> above the page body, separate from page:header's actions. The actions are sys_approval_request's own declared metadata (packages/plugins/plugin-approvals/src/sys-approval-request.object.ts, location record_section). The header-actions comment explains why they are not in the header: action:bar evaluates visible against the page's business record and resolves {id} to it, while these actions must dispatch against the request row. PR #26053 (#25877) already folds the bar into one status line and one menu, but only for an administrator who is not an approver (foldOverrides / isOverrideOnlyViewer). For the approver, #25877 said 「For the approver: keep the bar (it is their task)」. This card asks whether that still holds, given the customer feedback in the screenshot of 2026-11-16: customer record 帆软软件有限公司, a viewer who is both approver and submitter, seven approval buttons plus five header buttons.

Governing text: none found. Searched AGENTS.md, ui/AGENTS.md and docs/NORTH-STAR.md for primary action|at most .* buttons|overflow → 0 hits; no ADR on record-page action placement (ls docs/adr | grep -iE 'action|header|approval' lists ADR-0019 / 0042 / 0043 / 0044 on approval semantics, none on layout).
Protocol: A, C and D change no protocol. B adds a protocol surface: a header action group dispatched against a record other than the page record.

Premises (each with its re-check)

  1. The decision bar is its own row above the page body. Re-check: grep -c "location={RECORD_APPROVAL_ACTION_LOCATION}" ui/packages/app-shell/src/views/RecordDetailView.tsx → 1.
  2. The header list cannot carry them as is. Re-check: grep -c "The header list is the wrong carrier" ui/packages/app-shell/src/views/RecordDetailView.tsx → 1.
  3. Folding exists only for the override-only administrator. Re-check: grep -c "isOverrideOnlyViewer" ui/packages/app-shell/src/views/DeclaredActionsBar.tsx → 2.
  4. The approval actions are declared at record_section on sys_approval_request. Re-check: grep -c "record_section" packages/plugins/plugin-approvals/src/sys-approval-request.object.ts → 9.

Options

What changes What the customer sees Effort
A Extend the existing fold to the approver: one labelled band 「待你审批 · 第 N 步 · 提交人 X」 with 通过 / 拒绝 as the only buttons and one 「更多审批操作」 menu (转签 / 退回修改 / 退回补充 / 撤回). 回复 (approval_comment) moves to the approvals panel or discussion. Header unchanged. One clearly titled task strip with two buttons; the record's own row stays where it is. domain:ui · 1 PR · precedent PR #26053 (+907/−43, the admin fold in the same component)
B Merge into the header: while a decision is pending, the header shows 通过 / 拒绝 + an 「审批」 menu first, and the record's own actions drop into ⋯. A single row; record actions (记录通话, 编辑 …) are one click deeper while the approval is open. domain:spec + domain:ui · 2–3 PRs (protocol for a foreign-record header group, then renderer) · no precedent
C Move the decision buttons into the right-rail approvals panel next to the step progress; nothing above the title. One row up top; the decision sits beside "who approves next". On narrow screens the rail collapses, so the decision is below the fold. domain:ui · 1–2 PRs · no precedent (the panel draws only remind today)
D No change. Two rows, as in the screenshot. none

What each means for the business. A: the task becomes a labelled to-do card, the way a ticket system pins "awaiting your review". B: the approver's buttons replace the record's toolbar while the approval is open. C: the decision moves to the side panel, like a sign-off box in the margin. D: keep the current layout and accept the "two menus" feedback.

四维分析

  • ① 项目长远合理性:A 复用已经落地的收拢机制(foldOverrides),不新增协议,审批操作继续是 sys_approval_request 的声明式元数据。B 要给标题栏加一个"派发到另一条记录"的动作组,是新的契约面,且两类动作的可见性判断和 {id} 解析口径不同,长期是特例。C 把决策藏进窄屏会折叠的侧栏。终态参照:飞书、钉钉审批把「同意 / 拒绝」做成独立的固定操作区,转交、退回等放进「更多」;Salesforce 的 Approve / Reject / Reassign 在审批项和 Approval History 上,不并进记录本身的工具栏。主流做法是"决策区独立、主操作两个、其余收起",与 A 一致。
  • ② 实际业务拉动:今天就有,账户所有者在 CRM 客户记录上直接撞到并提出反馈;凡是审批中的记录,每个审批人都会看到。
  • ③ 防 AI 犯错:A 不改元数据形状,AI 作者新增一个审批动作仍然只需声明在 record_section,自动进入"更多"。B 要求作者理解标题栏里混着两种派发记录,写错会把 {id} 解析成业务记录的 id,属于静默错误。
  • ④ 创业阶段不扩散:A 不加键;B 加协议键并要长期维护;C 给审批面板新增决策职责。

os-decision-facets

Recommendation

A. Confidence gap: the screenshot shows a viewer who is approver and submitter at once, so 撤回 sits next to the approver levers. Whether 撤回 belongs in the band's menu or in the panel's lock line is an execution detail inside A. The phone bottom bar (objectstack#27058) was not measured.

  • Not B: it needs a protocol carrier the code says the header cannot provide, and costs about 3× A for the same "one row" result.
  • Not C: it hides the decision on narrow screens, and the decision is why the approver opened the page.
  • Not D: the customer feedback is the pull.

只看①选 A;②③④ 是否翻转:否。

Analysis-tier: seat tier (this filing session); no ceiling-tier re-read.

After the ruling

  • A: the domain:ui seat queues one card. Widen the DeclaredActionsBar fold so the approver's band shows the step line plus 通过 / 拒绝, with the rest in one menu; move 回复 to the approvals panel; pin it with a RecordDetailView test for approver, submitter and approver+submitter; keep the admin fold unchanged.
  • B: a domain:spec card for the header carrier first, then the ui card with Blocked-by:.
  • C: one ui card for the panel.
  • D: close as not planned with the ruling quoted.

Related: #25877 / PR #26053 (admin fold), objectstack#27058 (phone header bar), ADR-0044 (send back for revision).


Generated by Claude Code

Activity

  1. added
    needs-user-decision
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-project-manager · session_01FEkQ5p5codnUGsdGxBfaL9

    Ruling: letter A · maintainer 「A 收成一条“待你审批”」 (the option he chose on the decision card) · recorded 2026-11-16T13:35Z

    Recorded by the project's decision thread for this card. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T13:33:42Z. Decision thread cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, card cmsg_01TenzsRopZj4jMbvjX8uz1XCs6vZXH1Q4HopNddEWY9jj, choice record cmsg_01TenzsRopZj4jMbvjX8uz1X4mSsmf9LNKuVzxiYfceXud.

    Thread-read: none (the card has no comment). Body unchanged since filing. Label needs-user-decision only: no domain:*, no grade, unassigned.

    The question he was asked

    On a record that is under approval, the approver sees two rows of buttons: seven approval buttons above the title and the record's own actions in the header. How should the approval buttons be placed?

    The four options on the card, as he read them:

    • 「A 收成一条“待你审批”」: 「只露出通过、拒绝两个按钮,转签、退回、撤回进“更多”,前面写明第几步。记录自己的按钮不动。不改协议,界面一个 PR。」 (recommended)
    • 「B 并进标题那一排」: 「只剩一排,但审批期间记录自己的按钮(编辑、记录通话)要多点一次。要先加协议,工作量约三倍。」
    • 「C 移进右侧审批面板」: 「顶部只剩一排。窄屏和手机上侧栏会收起,审批按钮要往下翻才看得到。」
    • 「D 不改」: 「保持两排按钮,客户“两层菜单”的反馈不处理。」

    The ruling

    A. The approver's decision actions stay in their own band above the page body, folded: a status line that names the step, 通过 and 拒绝 as the only buttons, and the other decision actions in one menu. The record's own header actions do not move. No protocol change. This is option A of this card's body, unchanged.

    Left to execution inside A, as the card's body already says: where 回复 (approval_comment) goes (the approvals panel or the discussion), and whether 撤回 sits in the band's menu or on the panel's lock line when the viewer is approver and submitter at once. The maintainer was not asked either.

    ⛔ Not taken: B (the header would dispatch against a record other than the page record; a new protocol surface, about three times the work). C (the decision falls below the fold where the rail collapses). D (the customer feedback stands unanswered).

    What the thread checked and told the maintainer before he chose

    1. The card's four premises were re-read on origin/main 162fe54f: the fold for the override-only administrator exists (isOverrideOnlyViewer, with its tests in ui/packages/app-shell/src/utils/approvalOverride.test.ts), so A extends a mechanism that has landed (PR fix(app-shell,react,plugin-detail): fold an override-only admin's approval levers into one menu and draw Recall once #26053) and adds none.
    2. The thread agreed with the card's analysis on all four facets and added nothing to it. The card's references to how other products place these buttons were not verified by the thread and were not put to the maintainer.

    Effort of the chosen letter

    From the card's options table: domain:ui, one PR; precedent PR #26053 (+907/−43, the admin fold in the same component). Not measured by the thread.

    After the ruling

    As the card's body lays out for A: one ui card (or this card, once it carries a lane and a grade). Widen the DeclaredActionsBar fold so the approver's band shows the step line plus 通过 / 拒绝 with the rest in one menu; move 回复; pin it with a RecordDetailView test for approver, submitter and approver+submitter; keep the admin fold unchanged.

    Four facets

    The filer's os-decision-facets block in the card body is the one the thread read and agreed with; it is not repeated here. 自检:只看①选 A;②③④ 是否翻转:否。 Analysis-tier: ceiling (the thread's re-reading; the card's own analysis was seat tier). Confidence gap, as on the card: the phone bottom bar (#27058) was not measured.

    State


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p2 · pm:queue · 2026-11-16T13:48Z

    ⛔ Not a claim.

    Ruled A (6917968848). The approval band on a record page folds into one 「待你审批」 line. 通过 and 拒绝 are its only buttons, and the other decision actions move into a menu. There is no protocol change. The ruling is recorded, so needs-user-decision gives way to pm:queue.

    Today an approver opens a record and faces two stacked rows of buttons, seven approval buttons above the title. Approving is the reason they opened the page, so this is a daily usability cost with no functional loss: p2. The work is app-shell record page only, so domain:ui. Queued for the ui lane.

  4. added
    domain:ui
    pm:queue
    priority:p2
    and removed
    needs-user-decision
    on Nov 16, 2026
  5. added
    priority:p1
    and removed
    priority:p2
    on Nov 17, 2026
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    维护者 2026-11-17:「把 34361 也挂到专题下,改成 p1,你重新评估开发方案」。本卡已挂为 #34571 的子任务,优先级由 p2 改为 p1。⛔ 不是认领。裁决 A 不变;下面是按 origin/main ed45eb9 重新读码后的开发方案,供接手的席位用。

    读码结论

    建议的做法(一个 UI PR,不改协议)

    1. 在同一个组件里加第二种折叠:审批人折叠。 查看者可以处理(不是越权查看者)且可见动作多于 2 个时:
      • 留在外面的按钮由元数据决定,不写名字表:variant 为 primary 或 danger 的动作(今天就是通过、驳回)。这和现有折叠「读动作自己的门、不读名字」是同一个原则,新声明的审批动作自动进菜单。
      • 其余动作进一个「更多审批操作」菜单,复用现有的 DropdownMenu + DeclaredActionButton asMenuItem,每个动作自己的 visible / disabled / 权限门和对话框都不变。
      • 菜单触发器用中性样式,⛔ 不沿用越权菜单的琥珀色盾牌(那是例外路径的标记)。
    2. 状态行复用并扩展 ApprovalWaitingStatus:对审批人显示「待你审批 · 第 N 步 · 提交人 X」,等待超过阈值时带「已等待 N 天」。
    3. 两个调用点都用:记录页(本卡的现象)和请求页都得到同一条审批条。请求页现在同样是 9 个按钮平铺(2026-11-17 在 staging os-4e4qa4 实测),不一起做会留下两种样子。
    4. 「回复」(approval_comment)按裁决 A 移到审批面板:在 RecordApprovalsPanel 的时间线底部放回复入口。面板不在场时(窄屏右栏折叠、请求页没有该面板的布局)回退到留在「更多」菜单里,保证任何布局下都够得着。
    5. onDrawnActionsChange 的口径不变:菜单里的动作仍然算「已画出」(现有折叠就是这样算的),宿主据此让出自己的按钮。
    6. 手机:状态行在上,通过 / 驳回两个按钮等宽排一行(现有按钮已是 h-11),「更多」在右。

    与专题其他子卡的边界

    没有裁过、需要先问的一点

    专题讨论里提过「审批条在页面滚动时吸顶」,让审批人看到记录后半段时按钮仍然够得着。这不在裁决 A 的文字里。做法很小(sticky top-0 加背景),但会和记录页现有的吸顶元素叠放,建议接手的席位在动手前确认。

    验收(在原卡的基础上补充)

    1. 审批人打开审批中的业务记录:一条带标题的审批条,只有通过、驳回两个按钮和一个「更多审批操作」菜单;记录自己的按钮那一排不变。
    2. 审批请求页上是同一条审批条。
    3. 越权查看的管理员看到的仍是现有的折叠(琥珀色菜单),没有变化。
    4. 给 sys_approval_request 新声明一个不带 variant 的动作,它出现在「更多」里,不占按钮位。
    5. 现有 data-approval-override-folded 相关测试不变;新增审批人折叠的测试。
  7. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Claim: PM loop round 1 · area o3-A · 2026-11-17T03:22Z
    Session: session_01WGufzg2evNa1V3zxrQq3KX
    Account: os-support-ai
    Branch: claude/issue-34361-approver-band-fold
    Worktree: objectstack-issue-34361
    Domain: domain:ui
    Seat: repo:objectstack#3
    File surface: ui/packages/app-shell/src/views/DeclaredActionsBar.tsx, ui/packages/app-shell/src/views/RecordApprovalsPanel.tsx, ui/packages/app-shell/src/views/RecordDetailView.tsx (call site only), ui/packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.tsx (call site only), ui/packages/app-shell/src/utils/approval*.ts, new tests beside them, ui/packages/i18n/src/locales/* (new keys only), root .changeset/
    Container & model: M, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier on the surface above: no path-derived mandate), effort: high
    Clause-②: yes (widening — new @object-ui/i18n en keys only; no metadata/schema accept set)
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6936836041
    Premise: holds (area grep at 8dd8192: one location={RECORD_APPROVAL_ACTION_LOCATION} mount in RecordDetailView.tsx:5460; second mount ApprovalDecisionPanel.tsx:377; fold only for isOverrideOnlyViewer)
    Serial constraints cleared: #34586 (seat 3 card thread; edits ApprovalDecisionPanel.tsx and the RecordDetailView top bar) and #34588 (seat 3 large card; request page) share files and have no PR yet: overlap-check before every push, merge origin/main after whichever lands first; no other open PR touches these files
    Ruling-ref: 6917968848 (letter A)
    Pre-claim lane: domain:ui — every path is under ui/packages/app-shell/** and ui/packages/i18n/**
    Pre-claim deps: none named on the card; hot files per the line above
    Prior rulings read: approval,declaredactionsbar,fold,approver → 28 hits; ADR-0019 D1–D4 / ADR-0091 D4 / ADR-0018 / ADR-0027 are approval semantics, none rules on button placement; thread: 1 ruling (6917968848, A); #25877 (admin fold, PR #26053) kept unchanged
    Clause-② reading: widening by new @object-ui/i18n en locale keys only (TranslationKeys publishes each key; precedent #34472); no metadata or schema accept set moves. Seat routing (repo:objectstack#3 seat, 2026-11-17T03:21Z): a locale-keys-only widening stays in the area, since it owes no dogfood battery; the declaration's review is L1-a at TIER_DEFAULT.
    Scope notes: sticky band on scroll is NOT in ruling A (6936836041) and stays out of this PR.

    Lease o3-A (seat post #34584); child of epic #34571.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX
    os-dev-report

    {
      "issue": 34361,
      "status": "done",
      "branch": "claude/issue-34361-approver-band-fold",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34641",
      "session": "session_01WGufzg2evNa1V3zxrQq3KX",
      "premise_still_valid": true,
      "summary": "Ruling A implemented as a second fold in DeclaredActionsBar (new prop foldDecisions, passed at both call sites: RecordDetailView beside foldOverrides, and ApprovalDecisionPanel). For a viewer with viewer.can_act === true and more than two shown actions, the band shows a status line (Awaiting your approval / 待你审批 · Step N · step_label · Submitted by NAME, or You submitted this). Actions whose declared variant is primary/danger (approve, reject) stay buttons, equal width in one row on a phone. Every other permitted action goes into one neutral More approval actions menu (DropdownMenu + DeclaredActionButton asMenuItem). The band folds until every action has reported its visible verdict, and menu actions still count as drawn for onDrawnActionsChange. The override fold, submitter-only viewer and hosts without the prop are unchanged. Reply (approval_comment) stays in the menu on both pages, not in RecordApprovalsPanel: the panel is a tab or a tier-dependent rail block whose on-screen presence the bar cannot know, and it has no action runtime, so a panel entry plus a fallback risks drawing reply twice or not at all (reasons in the PR). Waited-days hint not added: no threshold logic exists in app-shell to reuse. Head 48d70e28 (origin/main merged). Files: .changeset/34361-approver-band-fold.md +21; utils/approvalDecisionFold.ts +74 (new); utils/approvalDecisionFold.test.ts +66 (new); views/DeclaredActionsBar.tsx +201/-6; views/RecordDetailView.tsx +8/-1; views/approval-decision/ApprovalDecisionPanel.tsx +3; views/__tests__/DeclaredActionsBar.approverFold-34361.test.tsx +374 (new); views/RecordDetailView.approvalDeclaredActions.test.tsx +24/-1; i18n locales en +7, ar/de/es/fr/ja/ko/pt-BR/ru/zh-Hans/zh-Hant +4 each. New locale keys: approvalsInbox.awaitingYourDecision, approvalsInbox.stepNumber, approvalsInbox.submittedByName, approvalsInbox.moreDecisionActions (Clause-② line stays yes). Deviations: (1) the dispatch asked for the trailer 'Co-Authored-By: Claude Opus 5.5'; the repo pre-push gate check:commit-card-trailers refused it (model identifier), so the unpublished commit was reworded to the model-free pair 'Co-authored-by: Claude' + Claude-Session, per AGENTS.md and os-dev.md. (2) Edited the existing RecordDetailView.approvalDeclaredActions.test.tsx, outside the claim's new-test-files wording: three approver pins read reassign/send back/request info from the band's menu, the same edit the override fold PR made to that file. (3) The post-merge overlap-check returned exit 1 (textual conflict with #34631, the #34588 request-page PR, in ApprovalDecisionPanel.tsx), but a chained command still pushed the merge commit; it was a fast-forward, not a force. The conflict is this PR's one-prop call-site change and is reported, not resolved.",
      "tests": "All on 48d70e28 unless noted. (1) bash scripts/pm/os-verify-lock.sh -c \"pnpm turbo run build --filter='@object-ui/app-shell^...' --concurrency=2 && pnpm --dir ui exec vitest run --maxWorkers=2 packages/i18n/ ...approverFold-34361 ...foldOverrides-25877 ...approvalDecisionFold.test.ts ...approvalOverride.test.ts ...RecordDetailView.approvalDeclaredActions ...RecordDetailView.approvalRecallGate ...approval-decision/ apps/console/...decisionPage.test.tsx\" -> Tasks: 68 successful, 68 total; Test Files 115 passed (115); Tests 2059 passed | 13 skipped (2072); VERDICT command-exit 0. (2) Pre-merge, same diff: vitest run packages/app-shell/src/views/__tests__/ + RecordDetailView approval/param suites + approval-decision/ + utils approval tests + console decisionPage -> Test Files 110 passed (110), Tests 956 passed (956), VERDICT command-exit 0. (3) pnpm --filter @object-ui/i18n run type-check && pnpm --filter @object-ui/app-shell run type-check (tsc --noEmit + tsconfig.test.json) -> VERDICT command-exit 0 on 48d70e28. (4) Ablation (committed fix first, src-resolved relative import, no dist leg): node scripts/ablation-replace.mjs on isLeadDecision ('return true; // ABLATION-34361') -> 'ok mutation landed: anchor 1 -> 0, blob 99b38f5e8ec3 -> d6d63595670c'; approverFold suite 'Tests 6 failed | 6 passed (12)'; 'ok restored: blob == HEAD (99b38f5e8ec3) and git diff HEAD is empty'. (5) eslint on the 6 changed ts/tsx files: exit 0, 0 errors, 31 no-explicit-any warnings.",
      "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands -> 41 commands, each captured before any pipe, all exit 0; --ran reconciliation (with ':: exit N' records): '41 derived, 41 run, 0 NOT-MEASURED, 0 UNRUN (a DERIVED zero)'. Includes pnpm --dir ui exec vitest run scripts/ under the lock (Test Files 171 passed | 2 skipped; Tests 5077 passed). Run beyond the derivation, all exit 0: pnpm check:changeset-fixed, pnpm --dir ui run check:i18n-keys, check:i18n-drift, check:i18n-dead-keys (none of the new keys listed), check:new-line-citations (0 new). overlap-check before each push: 72ae2555 cannot-answer (shallow) -> deepened -> clean (72ae2555, 01a894fe); before the merge push: VERDICT overlap exit 1 vs #34631 (conflicts in ApprovalDecisionPanel.tsx), clean vs origin/main, #34624, #34628. CI: PR just opened, check-runs not polled (in_progress / unknown); Lint & Repo Gates, Test UI, Type Check UI and the rest are CI's.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — mcp__github__issue_read (get, get_comments on #34361), mcp__github__pull_request_read (get #34631); reads only, no write tool",
      "api_writes": "2 relay strokes — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, POST /issues/34641/assignees os-support-ai; read-back 13026 bytes identical); post-stamped os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/34361/comments). git push x5 direct (not REST).",
      "open_questions": [
        {
          "question": "#34631 (#34588's request-page PR) textually conflicts with this PR in ApprovalDecisionPanel.tsx. Who carries the one-prop resolution?",
          "options": [
            "A whichever lands second re-adds foldDecisions on the bar call site (one line) after merging origin/main",
            "B fold this PR's ApprovalDecisionPanel change into #34631"
          ],
          "recommendation": "A, because the change is a single prop and both PRs stay independently landable"
        },
        {
          "question": "The dispatch's commit trailer named a model ('Co-Authored-By: Claude Opus 5.5'); the repo pre-push gate refuses it. Should the seat's order template switch to the model-free pair?",
          "options": [
            "A switch the template to 'Co-authored-by: Claude' + Claude-Session",
            "B keep it and expect every dev to reword"
          ],
          "recommendation": "A, because AGENTS.md and check:commit-card-trailers require the model-free pair"
        },
        {
          "question": "os-dev.md bans HTML comments in GitHub text, but the seat order requires the attribution and signed comments in the PR body. Which rule wins for seat 3?",
          "options": [
            "A keep the seat order (relay read-back showed the body stored byte-identical)",
            "B drop the comments per os-dev.md"
          ],
          "recommendation": "A for now: this PR followed the seat order, and the read-back confirms the body survived; record the exception in the seat's standard order"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — ui/AGENTS.md #2 asks for a content/docs/frontend page for a new feature; DeclaredActionsBar has no documented page and content/docs is outside the claimed surface (PR Acceptance notes)",
        "carrier: maintainer · noted, not filed — sticky approver band on scroll is not in ruling A (coordinator plan 6936836041 asks for confirmation first)"
      ]
    }
  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Execution note · 2026-11-17T04:44Z · PR #34641

    Ruling A's wording moves 回复 (approval_comment) to the approvals panel or the discussion. PR #34641 keeps it in the band's 「更多审批操作」 menu instead: the bar cannot tell whether the approvals panel is on screen (it is a tab or a tier-dependent rail block), so a panel entry plus a fallback could draw reply twice or not at all. Reply still leaves the button row, which was the complaint. The seat accepted this; if the maintainer wants a reply entry in the panel too, that is a follow-up card.

  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    File surface amended · 2026-11-17T05:02Z · claim 6937110802

    Per L1-a REWORK 6938968708 (paper only): the claim's file surface now also covers the existing test ui/packages/app-shell/src/views/RecordDetailView.approvalDeclaredActions.test.tsx — assertion edits only, where three approver pins now read reassign / send back / request info from the band's 「更多」 menu (the same kind of edit the override-fold PR #26053 made to this file). RecordApprovalsPanel.tsx stays listed but is untouched, since reply stays in the menu (note 6938618374). Branch, Clause-②: yes (widening — new @object-ui/i18n en keys only …) and Metadata-protocol: none are unchanged.

  12. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzg2evNa1V3zxrQq3KX

    Delivered · 2026-11-17T05:26Z · PR #34641 merged; this card closed by its Fixes line. Ruling A is in: one folded approver band (status line, approve / reject, the rest in 「更多审批操作」) on the record page and the request page; the admin override fold is unchanged. Open note for the maintainer, not a remainder of this card: 回复 stays in the menu rather than the approvals panel (6938618374); a panel entry would be a new card. pm:dispatched removed.

  13. removed
    pm:dispatched
    on Nov 17, 2026
  14. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    本卡的裁决 A(保留独立的审批条)已被取代,记在这里以免后来的人按 A 的验收把它改回去。

    2026-11-19 维护者在讨论记录详情页时说「现在的两波按钮很奇怪」。协调席把「并成一组按钮」和本卡的裁决 A 并排摆出后,维护者答:「同意」(并成一组)。新的方向记在 #35590 的方向 2:

    • 记录页头部只有一组按钮,随记录状态换内容:平时是编辑、一个主操作、「⋮」;等我审批时是通过、拒绝、「⋮」,记录自己的操作进「⋮」,与审批的其他操作用分隔线分开。
    • 独立的审批条取消;头部只留一个「待你审批」标签,第几步、原因、进度、动态、锁定说明进「审批」页签。

    本卡当时不选 B 的理由(两排按钮作用在两条不同的记录上;B 可能要先改规范)在新专题的子卡里处理。本卡已按 A 落地的实现,在对应子卡合入之前保持现状。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:uipriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions