Skip to content

Setup → Users on a managed environment: add-person and CSV-import UI with per-row invitation status (reverses objectui#13330 for adding) #33187

Closed

Description

@objectstack-fleet

repo:cloud#5 · hotlong · session_01Q4EjjPP1zuWBNq3nBXVei9

Ruled: 6915677641 · letter A · 2026-11-16T11:55Z

Filing gate: ④ a child of the topic card objectstack-ai/cloud#4465 (the maintainer's rulings 1-10 of 2026-11-13/14 are recorded there; read it first).

维护者速读

「设置 → 用户」的加人界面:可以一个个加,也可以导入 CSV;每一行显示邀请状态(待发送、已发送、已接受、失败及原因,例如开发者版人数已满);可以重发邀请,删除待激活的人时会同时取消邀请。

Work (objectstack-ai/cloud#4465 child 1c)

  • The UI for card F2's door, including per-row invitation status from the host seam.
  • Re-send and delete. Deleting a pending row cancels its invitation, which covers the email-typo case.
  • CSV partial failures are shown row by row.
  • Reverses objectui#13330 for adding only. Password actions stay hidden.

Routing: triage (domain:ui).

Blocked-by: #33181

priority:p1 on the maintainer's word, verbatim (seat session session_01Q4EjjPP1zuWBNq3nBXVei9, 2026-11-14): 「都是p1,车道自己认领就可以」. Triage routes it to its lane; the lane claims it.

Activity

  1. removed
    pm:queue
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT982Pt3QKDAva1gEG
    os-dev-report

    {
      "issue": 33187,
      "status": "needs_decision",
      "branch": "claude/project-thread-vz85vc",
      "pr": null,
      "session": "session_01ADHkmT982Pt3QKDAva1gEG",
      "premise_still_valid": true,
      "summary": "Stopped before the first code edit on a contract fork. The card asks for a readable per-row results table, but the only surface the claim allows (sys_user.add_sso_user / import_sso_users resultDialog plus a Console renderer) draws a door answer through a CLOSED format enum, ACTION_ANSWER_FIELD_FORMATS = qrcode, code-list, secret, text, json (packages/spec/src/ui/action.zod.ts:839, shared by resultDialog.fields and preflight.fields, strictObject rows). No member renders an array of objects as a table, so the table needs either a new authorable value in packages/spec (Metadata-protocol: added, which the claim's 'No spec' and 'Metadata-protocol: none' rule out) or a change to the doors' answer (server, also ruled out). A Console renderer that silently draws json-format arrays as a table would be a consumer-side dialect (AGENTS.md Prime Directive 12), so it is not offered. Premise otherwise holds on origin/main 895783a1: the doors answer per row exactly as the delta says, and the Add User should-fix reproduces from the code (see open_questions).",
      "tests": "none run: no code written. Readings on origin/main 895783a1: ActionResultDialog.tsx (ui/packages/app-shell/src/views) draws only the five formats and degrades any non-matching value to json; runAddSsoUser (packages/plugins/plugin-auth/src/pending-sso-users.ts:510-548) answers a re-add with only an email as { userId, email, source, alreadyPending: true, host } and no notApplied, so the declared Add User fields (email, notApplied, managerError, host.reason) draw Email alone, the same dialog as a fresh add.",
      "gates": "NOT MEASURED: no diff, so dispatch-gates --commands has nothing to derive.",
      "dogfood_battery": "n/a: no PR",
      "mcp_calls": "0",
      "api_writes": "1: this os-dev-report comment on #33187 via post-stamped.mjs (fleet-write relay)",
      "open_questions": [
        {
          "question": "How does Setup → Users draw the add / import answers as a readable per-row table, given the result dialog's closed format set?",
          "options": [
            "A: Widen the spec. Add a `table` member to ACTION_ANSWER_FIELD_FORMATS plus an optional `columns` list on the field row (each column the same path / label / format row, read against one array element), refused at parse when `columns` sits beside any other format. Console: a TableBlock in ActionResultDialog. sys-user: the import's rows drawn as Row / Email / Added / Already pending / Host told / Host reason / Not added because / Not applied; Add User gains an Already pending row the same way. Cost: packages/spec zod + describe + regenerated schema, docs and authorable surface, liveness row, a minor spec changeset, Metadata-protocol: added; roughly 1 spec PR (or a spec half) then this card's UI half, M + M. Axes: business pull is measured (this card, cloud#4465 child 1c, and every bulk-import or batch action after it); long-term it is one declared, renderer-honoured format, contract-first; AI-mistake axis is strong (closed enum, columns refused off-format, no shape sniffing); scope widens by one value and one key with a real consumer.",
            "B: Widen the doors instead. plugin-auth adds a per-row status word (added / already_pending / refused / failed) and the dialog reads it through `text` / `code-list`. Cost: S-M in plugin-auth plus the route ledger note; no spec change. Axes: business need met only partly (code-list draws a copy button per row, a codes surface, not a status table); long-term it bakes presentation into a door and still draws English-only server words; AI-mistake axis neutral; scope small but it is a server change the claim forbids.",
            "C: Ship inside today's formats as Part of #33187: Add User shows `alreadyPending` through a `text` field (draws true / false via the json fallback, so a fresh add reads 'Already pending: false'), import keeps the per-row json; the table waits. Cost: S, no spec. Axes: does not deliver the card's readable table; the false row on every fresh add is a misleading label; nothing new for an AI to get wrong; no scope growth."
          ],
          "recommendation": "A, filed as its own domain:spec card that #33187 then carries as Blocked-by (AGENTS.md / pm-dispatch: a protocol change is its own card), or the seat amends this claim to take the spec half. Long-term it is the only option that is a declared contract the renderer honours, the pull is measured, and it is the structurally hardest one for an AI author to get wrong. Governing text: packages/spec/src/ui/action.zod.ts resultDialog docblock (renderer contract lists exactly five formats) and AGENTS.md Prime Directive 12."
        },
        {
          "question": "The owed Add User should-fix (alreadyPending on a re-add with only an email): does it ride with the decision above, or land now?",
          "options": [
            "A: Ride with the table decision, drawn the way the chosen option draws a status.",
            "B: Land now as C above (a text row reading true / false on every add), and correct the #33186 changeset sentence ('The Add User result names an address that was already pending', .changeset/33186-managed-add-people-actions.md line 10, still unreleased) in this card's changeset."
          ],
          "recommendation": "A: a boolean drawn as true / false under an 'Already pending' label misleads on every fresh add; the #33186 changeset is still unreleased, so the correcting sentence lands with whichever PR ships the fix."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "Delete-of-pending that cancels the invitation: no door exists. EnvironmentUserHost (packages/plugins/plugin-auth/src/environment-user-host.ts:74-81) has userAdded, userDeactivated and userReactivated only, no removal member, and sys_user opens only userActions.edit (create / import / delete stay off). class: none of a/b/c (capability gap, no defect) · reach: n/a · carrier: cloud (cloud#4465 server card: a host-seam removal member plus a door) · dedupe: pending person delete, cancel invitation, userRemoved, idp_pending delete",
        "Stored per-invitation sent / failed status: no stored column. The host outcome { notified, reason: no_host | host_failed } is returned in the door's answer only and never written; pending people are sys_user rows with source idp_pending, not sys_invitation rows. class: none of a/b/c (capability gap) · reach: n/a · carrier: cloud (cloud#4465 server card: a stored column or host callback) · dedupe: invitation status column, host notified stored, idp_pending status, resend status"
      ]
    }
  3. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    待裁:托管环境加人 / 导入结果怎么逐行显示 · 2026-11-15T14:21Z

    一句话问题。 管理员在「设置 → 用户」里加人或导入 CSV 后,结果只能以一段 JSON 显示;卡要求的「每行一个状态(已添加 / 已待激活 / 被托管方拒绝及原因 / 未生效)」的可读表格,在今天的结果弹窗里画不出来。

    背景。 开发线程(os-dev 报告 6895877442,needs_decision,未写代码)在 origin/main 895783a1 上实测:动作结果弹窗的字段格式是 spec 里的闭合枚举 ACTION_ANSWER_FIELD_FORMATS = qrcode | code-list | secret | text | json(packages/spec/src/ui/action.zod.ts,resultDialog.fields 与 preflight.fields 共用),没有一种能把「对象数组」画成表。认领写的是「不改 spec、不改服务端」,所以开发停在这里。另外:欠下的 should-fix(只填邮箱重加一个已待激活的人时,结果不显示 alreadyPending)已复现;「删除待激活的人同时取消邀请」与「存储的逐条邀请状态」实测都没有接口或字段,已按范围外记给 cloud(报告的 out_of_scope_findings)。

    Governing text。 packages/spec/src/ui/action.zod.ts 的 resultDialog 文档块(渲染契约只列这五种格式);AGENTS.md Prime Directive 12(消费端不得自创方言:不能让 Console 偷偷把 json 数组猜成表格)。协议改动:选 A 即改协议(新增一个可写的格式值与一个键,Metadata-protocol: added)。

    前提与复核命令。

    • 格式枚举仍是五种:grep -n "ACTION_ANSWER_FIELD_FORMATS = " packages/spec/src/ui/action.zod.ts
    • 弹窗只画这五种、其余退回 json:grep -n "format" ui/packages/app-shell/src/views/ActionResultDialog.tsx
    • 门禁逐行回答形状 alreadyPending / notApplied / host:grep -n "alreadyPending" packages/plugins/plugin-auth/src/pending-sso-users.ts

    选项 × 代价 × 工作量。

    选项 做什么 客户看到的 工作量
    A spec 给结果字段加 table 格式与 columns(列沿用 path / label / format 行,columns 只许配 table,配别的格式在解析时报错);Console 弹窗加表格块;用户对象的加人 / 导入结果用它逐行显示,加人结果补「已待激活」 加人、导入后看到一张逐行状态表,被拒的行写明原因(如开发者版人数已满) spec 车道 1 PR(M)+ 本卡 ui PR(M);先例:#31840 统一了这一行的形状,行数未测
    B 服务端门禁每行多返回一个状态词,弹窗用 text / code-list 显示 看到一列英文状态词(code-list 每行带复制按钮),不是表格 plugin-auth S–M;无 spec 改动;是认领排除的服务端改动
    C 不改协议,本卡只做今天能做的(Part of #33187):加人结果用 text 显示 alreadyPending,导入仍是 JSON 每次正常加人也会显示「已待激活:false」,容易误读;导入仍看 JSON S

    业务含义直译。 A = 给后台的「操作结果」补上「表格」这种常见展示方式,以后批量动作都能用;B = 让接口顺带吐出给人看的文字,展示逻辑塞进服务端;C = 先不做表,只改一个字段,问题留着。

    四维(业务立场)。

    • 项目长远合理性:A 是一次声明、渲染器兑现的契约,后续任何批量导入 / 批量动作直接复用;B 把展示词写死在接口里,还是英文;C 不解决问题,还留下一个误导标签。
    • 实际业务拉动:已实测——托管环境加人是 cloud#4465 的 p1 主线,本卡即第一个使用者;导入的逐行结果今天只能看 JSON。
    • 防 AI 写错:A 是闭合枚举 + columns 只能配 table、写错在发布时响亮报错;B 无新结构但状态词是自由文本;C 不引入新东西,但「false」标签会让人误读。
    • 创业阶段不扩散:A 新增一个值和一个键,但有实测使用者;B、C 不扩协议面。

    os-decision-facets

    • ① 长远: A 一处声明的表格格式,渲染器兑现,减少后续各动作自造展示;B 把展示塞进接口(记负);C 无增量
    • ② 拉动: 有——cloud#4465 子卡 1c(p1) 是首个使用者,导入逐行结果今天只有 JSON
    • ③ 防错: A 闭合枚举 + columns 仅配 table,写错发布时报错;B 自由文本状态词;C 误导性 false 标签
    • ④ 不扩散: A 增 1 值 1 键(有使用者);B/C 不扩协议面
      Prior rulings read: grep "ruling|Ruling-ref" packages/spec/src/ui/action.zod.ts → 4 hits (none on answer formats); ADR none; thread: 3

    推荐:A。 两年后的平台样子:动作结果弹窗有「表格」这种标准格式,批量动作统一用它(主流后台如 Salesforce 的批量结果页、Retool 的表格结果都是这个形状)。只看①选 A;②③④ 是否翻转:否。置信缺口:columns 的具体键名由 spec 车道按现有字段行定,未实测。不取 B:展示进接口且仍非表格;不取 C:不交付卡的要求,还加一个误导标签。

    裁后执行。 选 A:本席立一张 domain:spec 卡(新增 table 格式与 columns,含解析拒绝与渲染契约),本卡挂 Blocked-by: 它;spec 落地后同一开发线程在本卡分支上做 Console 表格块与用户对象两个结果,连同 alreadyPending should-fix 与 #33186 changeset 那句的更正一起交。选 B:本卡转给 server 车道做门禁状态词,ui 半边随后。选 C:本卡按 Part of #33187 交小 PR,表格留卡。

  4. added
    needs-user-decision
    and removed
    pm:dispatched
    on Nov 15, 2026
  5. 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-16T11:53Z

    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-16T11:49:43Z. Decision thread cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, card cmsg_01TenzsRopZj4jMbvjX8uz1XUGAeWBgecSneP36RqPiUGy, choice record cmsg_01TenzsRopZj4jMbvjX8uz1XSTvnzPJwpeNRMxxsP5yiUN.

    Thread-read: 6895969943 (the seat's decision analysis, the newest comment; none added since). Body unchanged. Labels enhancement, priority:p1, needs-user-decision, domain:ui; assignee os-steve (claim 6895823111 still stands on the card).

    The question he was asked

    After an administrator adds a person or imports a CSV on a managed environment, the answer is drawn as raw JSON. How should Setup → Users show the answer row by row, given that the result dialog's format set is closed and has no table?

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

    • 「A 结果弹窗加表格显示」: 「管理员看到逐行的表和被拒原因。先做 spec PR(要你批一次),再做界面 PR;以后的批量操作都能复用。」 (recommended)
    • 「B 服务端多回一个状态词」: 「不改协议。看到的是一列英文单词加复制按钮,不是表格,展示逻辑进了接口。」
    • 「C 先不做表」: 「只交一个小 PR。导入结果仍是 JSON,正常加人还会多一行容易看错的「已在等激活:false」。」

    The ruling

    A. The action answer's closed format set gains a table: a table member of ACTION_ANSWER_FIELD_FORMATS with a column list on the field row, refused at parse when the column list sits beside any other format. The Console's result dialog draws it, and the add-person and import answers on sys_user use it. This is option A of the dev report 6895877442 and of the seat's analysis 6895969943, unchanged.

    The dev report's second question (the owed alreadyPending should-fix on a re-add with only an email) rides with A, as both the report and the seat's analysis recommended: it is drawn the way the table draws a status, and the correcting sentence for the #33186 changeset lands with the PR that ships it. The thread's analysis said so; the decision card did not ask it separately.

    ⛔ Not taken: B (a column of English status words with a copy button per row is not a table, and it puts presentation into a door). C (it does not deliver the card, and it draws a misleading false row on every fresh add).

    What the thread added to the card's analysis, and told the maintainer before he chose

    1. A needs his approval once more. The spec half is a contract addition (Metadata-protocol: added), so it owes a contract review and his approval before the UI half can land. Two PRs in series.
    2. A shows the answer once. When the dialog closes the per-row result is gone. A stored per-invitation status that can be read later needs a stored column or host callback, which the dev report recorded as out of scope with the cloud lane as carrier. Whether a cloud card exists for it was not read (the cloud repository is outside this project's reach). A does not stand in for it and does not block it.
    3. Delete-of-pending that cancels the invitation has its own card and PR (plugin-auth: the environment-user host seam cannot cancel a pending person's invitation, and has no durable retry or per-row invitation status #33228, PR feat(plugin-auth): remove a pending person and retry every environment-user host call from a durable outbox #34162).
    4. [Decision] demoStaff on hosted environments: a hosted demo organization has no platform door to get an app's declared demo accounts, so apps fall back to their own account scripts #33113 waits behind this card.

    Effort of the chosen letter

    From the card's effort column (6895969943): the spec lane one PR (M), then this card's ui PR (M). Precedent named there: #31840 unified this row's shape; no line count read. The column list's key names are for the spec lane to settle against the existing field row; unmeasured.

    After the ruling

    As the seat's analysis laid out for A: a domain:spec card is filed for the table format and its column list (parse refusal and the renderer contract included), and this card carries Blocked-by: it. After the spec half lands, the Console table block and the two sys_user answers are built on this card, with the alreadyPending should-fix and the #33186 changeset correction.

    Four facets

    The seat's os-decision-facets block in 6895969943 is the one the thread read and agreed with on all four lines; it is not repeated here. 自检:只看①选 A;②③④ 是否翻转:否。 Analysis-tier: ceiling (the thread's re-reading). Confidence gaps, as stated to the maintainer: the column keys are unmeasured, and a table of several hundred import rows was not tried.

    State

    • This record changes no label and no assignee. The card still carries needs-user-decision and the os-steve claim; the seat that takes the ruling makes the transition, and a seat other than the claimant needs that claim released first. The body gains the Ruled: line.
    • Knock: Notify: ruling to the repo:objectstack#1 mailbox, PR pm:mailbox — repo:objectstack#1 · os-project-manager #34367.

    Generated by Claude Code

  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Ruling A taken · 2026-11-16T12:05Z

    Ruling-ref: 6915677641 (maintainer, A 「结果弹窗加表格显示」, chosen 2026-11-16T11:49Z)
    Blocked-by: #34391

    The seat carries out the ruling as its analysis 6895969943 laid out for A:

    State change: needs-user-decision → pm:blocked, and the claim (6895823111) is released, since a parked card holds no claimant. When #34391 merges, ui seat 2 takes it first, by the lane rule, or ui seat 1 if seat 2 is full.

  7. added
    pm:blocked
    and removed
    needs-user-decision
    on Nov 16, 2026
  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: regrade p1 → p2 (maintainer) · out of focus · 2026-11-16T15:06Z

    ⛔ Not a claim.

    Backlog re-grade under the 2026-11-16 focus rule. This is the console half of the hosted add-person and CSV-import flow, whose spec half #34391 the maintainer lowered to p2 the same hour. Both halves are now p2. Hosted user management sits outside the current focus themes, and administrators can still add people today.

  9. added
    priority:p2
    and removed
    priority:p1
    on Nov 16, 2026
  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ

    Renderer notes for this card · 2026-11-17T01:04Z · from the contract review delta 6934473605 on PR #34500 (#34391, the table format this card renders)

    • A column path that resolves to null would draw the text null, not an empty cell; the contract's empty cell is for a path that resolves to undefined. The renderer decides null explicitly (empty cell, as for a missing key, is the reading that matches the contract's intent).
    • The code-list fit test is the contract's: an array of strings. ResultField today checks only Array.isArray, so an array of non-strings would draw as a code list instead of compact JSON.
    • Nit N3 rides with the renderer PR: the "element that is not an object" clause should say "plain object", so an array element and a null element fall on the compact-JSON side.
  11. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

    Unblock · pm:blocked → pm:queue · written at 2026-11-17T02:36Z

    Both upstreams are closed. #34391 (the table answer-field format named in 6915931590) closed when PR #34500 merged, main 066177b80f, merge_group CI green. #33181, the body's Blocked-by:, was already closed. The ruling premise in 6915931590 (spec half lands first) now holds.

    Re-check: gh api repos/objectstack-ai/objectstack/issues/34391 --jq .state gives closed, and gh api repos/objectstack-ai/objectstack/pulls/34500 --jq .merged gives true.

    The renderer notes in 6934494528 (null as an empty cell, the code-list fit test is an array of strings) belong to this card's acceptance. Grade unchanged (p2). Claim goes through the domain:ui lane.

  12. added
    pm:queue
    and removed
    pm:blocked
    on Nov 17, 2026
  13. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC

    Claim: PM loop area o2-B · 2026-11-17T02:42Z
    Session: session_01ADHkmSYVw1sqCsaHSJS9JC (area o2-B session of seat repo:objectstack#2; the dev is its os-dev subagent)
    Account: os-steve
    Branch: claude/issue-33187-action-answer-table
    Worktree: objectstack-issue-33187
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: ui/packages/app-shell/src/views/ActionResultDialog.tsx (a table branch in ResultField, the null cell and the code-list fit test from 6934494528) and its tests; packages/platform-objects/src/identity/sys-user.object.ts (the add_sso_user / import_sso_users result dialogs drawn with table, Add User's alreadyPending) and its identity tests, with the generated translation packs under packages/platform-objects/src/apps/translations/ regenerated, never hand-edited; in packages/spec: only the columns describe's [PLANNED — not yet rendered] marker, the resultDialog renderer-contract sentence that says the console draws the label alone, the N3 "plain object" wording, packages/spec/liveness/action.json (columns planned → live) and the generated docs/baselines they move; root .changeset/, including the sentence correcting the #33186 changeset. ⛔ No server door or packages/plugins/plugin-auth/** change (PR #34531 holds pending-sso-users.ts); ⛔ no skills/** (governed: a skill line, if owed, is reported, not written); no new key or format value.
    Container & model: M, mode:subagent, model: default tier, effort: high
    Clause-②: yes (widening)
    Metadata-protocol: none
    Responsibility: objectstack (ui/app-shell + platform-objects): a platform administrator on a cloud-managed environment who adds a person or imports a CSV reads the doors' per-row answer as raw JSON, and a re-add of a pending address with only an email does not say it was already pending | the spec half (#34391, PR #34500) declares the table format and refuses its contradictions; nothing draws it | platform administrators of every cloud-managed environment
    Thread-read: 6936280812
    Ruling-ref: 6915677641 (maintainer, letter A)
    Premise: holds — PR #34500 merged at 066177b8 with columns liveness planned and the note "Re-grade live in the PR that lands that renderer"; ResultField in ActionResultDialog.tsx has no table branch on ed45eb92. The old branch claude/project-thread-vz85vc (11-15, no PR, no code) is reference only; this starts from main.
    Serial constraints cleared: open-PR file scan at this claim (59 open PRs, heads fetched): none touches ActionResultDialog.tsx, sys-user.object.ts, spec/src/ui/action.zod.ts or liveness/action.json. PR #34531 (#34536/#33113, area o2-D) touches plugin-auth/src/pending-sso-users.ts (excluded above) and the ui/packages/i18n locale packs; if this card needs a UI string there, the dev runs git merge-tree against that head before the PR. #34333 touches a different identity object (sys-device-code).
    Pre-claim lane: domain:ui (seat hand-over 2026-11-17T02:37Z).
    Pre-claim deps: Blocked-by: #34391 closed (PR #34500 merged); #33181 closed.
    Prior rulings read: ruling A 6915677641 and its take 6915931590; renderer notes 6934494528; check-prior-rulings.mjs --card 33187 → 160 broad-term hits, ADR-0131 D3, ADR-0146 D6, ADR-0003 §4, ADR-0033 §10, ADR-0045 §3, ADR-0068 D2, ADR-0069 D6, ADR-0070 D5 (none rules how the result dialog draws a table); thread: 1 ruling (6915677641).
    Lease: lease:o2-B.
    Review: L1 (L1-a) plus a contract review at TIER_DEFAULT for the packages/spec describe and liveness flip.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC
    os-dev-report

    {
      "issue": 33187,
      "status": "done",
      "branch": "claude/issue-33187-action-answer-table",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34647",
      "head": "82f384a572459b42c1212ba002f663e440b8a6ed",
      "session": "session_01ADHkmSYVw1sqCsaHSJS9JC",
      "premise_still_valid": true,
      "summary": "The Console's ResultField draws format 'table' (ui/packages/app-shell/src/views/ActionResultDialog.tsx: TableBlock, TableCellValue, and one valueFitsFormat shared by the field and the cell), following the resultDialog renderer contract. It covers all three renderer notes from 6934494528: a null cell draws empty, code-list fits an array of strings only, and an element that is not a plain object draws as compact JSON in the first cell. The preflight panel already draws through the same exported ResultField, so preflight.fields gets the table with no extra code. sys_user.import_sso_users now draws rows as a table whose columns are the door's row members (row, email, ok, alreadyPending, host.notified, host.reason, error.message, notApplied, managerError). The spec wrap-up is prose and ledger only: the PLANNED markers and the label-alone sentence are gone, the N3 'plain object' wording is in, null draws an empty cell, and the liveness rows for preflight.fields.columns and its three children went planned to live, with state-counts regenerated. PR is 'Part of #33187': the Add User alreadyPending should-fix cannot be met inside the contract without the misleading false row, and the #33186 changeset sentence was already released in platform-objects 18.5.0 (see open_questions).",
      "tests": "Head 82f384a572. ActionResultDialog.test.tsx: 25 passed (13 new in two top-level describes, 12 existing as the CONTROL for the five formats). platform-objects: test 123 files / 2046 passed, typecheck exit 0, including the new import-table describe (2 cases) in cloud-managed-visibility.test.ts. spec: test 847 files / 27134 passed / 1 todo, typecheck exit 0; targeted action-answer-table-format, action-preflight, component and action tests: 616 passed. app-shell type-check (src + tsconfig.test.json): exit 0. Ablations via scripts/ablation-replace.mjs on ActionResultDialog.tsx (the test imports the source file, so no dist step applies): A1, table branch removed: 9 failed / 16 passed. A2, null handling removed: 1 failed (the null empty-cell case). A3, code-list fit reverted to Array.isArray: 2 failed. Each leg restored: the blob equals HEAD eea0d1ad0638 and git diff HEAD is empty. Log: /mnt/project-files/objectstack-seat2/33187-ablation.log. NOT MEASURED: the full app-shell suite (2284 files), stopped unfinished after about 49 minutes on the shared box with no FAIL line printed; Test UI carries it. NOT MEASURED: a browser pass on a managed environment.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack derived 98 commands on head 82f384a572; each was run with stdin closed and its exit captured before any pipe; all 98 exit 0. Three needed a second run: check-plugin-teardown-shape --self-test first exited 3 (shallow clone; its fixture commit 621a4876 was fetched), check:dual-build-cjs-loads first exited 3 (no full build; it was rerun after turbo run build), and 'pnpm --dir ui exec vitest run scripts/' was killed by the OOM killer on the shared box, then passed alone (171 files passed, 2 skipped). --ran reconciliation: 98 derived, 98 run, 0 NOT-MEASURED, 0 UNRUN. File: /mnt/project-files/objectstack-seat2/33187-gates-ran.txt. spec check:generated: all 14 artifacts current after a rebuild on the merged tree; check:liveness exit 0. CI at report time on 82f384a572: every run in_progress (Type Check, Lint families, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards, Spec property liveness); several opt-in jobs skipped; no conclusion yet.",
      "dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm",
      "files_changed": [
        ".changeset/33187-action-answer-table-renderer.md",
        "packages/platform-objects/src/identity/cloud-managed-visibility.test.ts",
        "packages/platform-objects/src/identity/sys-user.object.ts",
        "packages/spec/liveness/action.json",
        "packages/spec/liveness/state-counts/action.md",
        "packages/spec/src/ui/action.zod.ts",
        "ui/packages/app-shell/src/views/ActionResultDialog.tsx",
        "ui/packages/app-shell/src/views/__tests__/ActionResultDialog.test.tsx"
      ],
      "line_budget": "n/a: no skills/** or ratcheted ledger touched",
      "contract_review": "needed: TIER_DEFAULT on the packages/spec describe and JSDoc edits plus the liveness flip, head 82f384a572. Points for the reviewer: (1) one sentence goes past the delta's list, namely that a null cell value draws an empty cell, written into the table bullet and the column format describe so the contract matches renderer note 1; (2) the cell-chrome reading, where text and code-list cells carry no per-cell copy while secret and qrcode keep theirs.",
      "skills_docs_line": "Skills-docs: follow-up owed — skills/objectstack-ui/rules/actions.md (governed, Tier H: a seat-led skills PR, not this one). The sentence to add, beside the preflight bullet, is a resultDialog bullet: fields [{ path, label?, format? }], format one of qrcode / code-list / secret / text / json, or table with columns [{ path, label?, format? }] (one row per element, one cell per column; required with table, refused beside any other format).",
      "deviations": [
        "Spec prose goes one sentence past the delta's list: the null empty cell, written into the contract so the text matches renderer note 1. Declared in the PR for the contract review.",
        "The three ablation runs called vitest directly; only a no-op call went through os-verify-lock. Each run was a single test file.",
        "The sys_user alignment pin does not render a real door answer. That pin needs plugin-auth's pending-sso-users.test.ts (plugin-auth/** is forbidden this run), or a cross-package-test-inputs declaration plus a turbo.json task. The platform-objects pin holds the column paths, the renderer pins use the door's documented row shape, and the real-answer pin is proposed in open_questions.",
        "The app-shell full suite was stopped unfinished (declared narrowing).",
        "Fetched one commit (621a4876, depth 1) into the shared object store for the teardown self-test fixture.",
        "The #33186 changeset correction was not written: that changeset was already released (platform-objects 18.5.0, entry 2e1e3b9; removed from .changeset/ by #34042)."
      ],
      "mcp_calls": "5: issue_read get, issue_read get_comments, pull_request_read get x2 (#34500, #34531), pull_request_read get_check_runs (#34647). All reads, no MCP write.",
      "api_writes": "2: pr_create through scripts/pm/fleet-write/dispatch.mjs (relay run 44019983376, PR #34647, assignee os-steve, no labels; read-back 13023 bytes identical); this os-dev-report comment on #33187 through scripts/pm/post-stamped.mjs. Also git push (not a REST write).",
      "open_questions": [
        {
          "question": "Add User alreadyPending on an email-only re-add (the should-fix owed from PASS 6892408489): the door answers alreadyPending false on every fresh add, and the contract has no field condition, so any field reading it draws the 'false' row that ruling A turned down. How is it shown?",
          "options": [
            "A: The door answers alreadyPending only when true (plugin-auth runAddSsoUser), so the field is skipped on a fresh add. Cost: S in pending-sso-users.ts plus a door test. It narrows the answer for API readers that read 'false' (the key becomes absent), and PR #34531 holds that file today.",
            "B: The door adds a key present only on a re-add (for example pendingAgain: true) and leaves alreadyPending as is, so the change is widening only. Cost: S in plugin-auth, then a one-line sys_user field.",
            "C: Leave the Add User dialog as is and close the should-fix as won't-do. A re-add with extra columns already shows itself through notApplied; only the email-only re-add stays silent."
          ],
          "recommendation": "B: it is widening only, it needs no spec key, and the dialog's existing skip-on-missing rule then draws the row exactly when it is true. It would be a small plugin-auth card, sequenced after PR #34531, after which this card closes."
        },
        {
          "question": "The #33186 sentence 'The Add User result names an address that was already pending' was released in packages/platform-objects/CHANGELOG.md 18.5.0 (entry 2e1e3b9) and is untrue for an email-only re-add. Who corrects it?",
          "options": [
            "A: A dedicated docs-only PR amends that CHANGELOG entry (AGENTS.md Documentation Guardrails), once the open question above settles what is true.",
            "B: Leave it until the alreadyPending fix lands, and then it becomes true."
          ],
          "recommendation": "B, then A only if the fix is declined: the sentence becomes true once option B above lands, and amending a released entry twice is churn."
        },
        {
          "question": "Column labels of a table field get no translation bundle key: packages/lint/src/i18n-walk.ts and the console overlay key resultDialog.fields.PATH to a string, so the import table's headers are English in every locale. Should columns get a bundle-key convention?",
          "options": [
            "A: A spec/lint/i18n card defines the key (for example resultDialog.fields.PATH.columns.COLPATH, which needs the field node to stop being a leaf string) and the extractor, resolver and console overlay follow.",
            "B: Platform objects write column labels as inline locale maps (I18nLabel allows them; none use them today)."
          ],
          "recommendation": "A: it keeps one translation route for every platform label; B splits the convention. Filed as a finding for the seat."
        },
        {
          "question": "Real-answer alignment pin: should a plugin-auth test render-check the sys_user import table against a staged door answer?",
          "options": [
            "A: Yes. pending-sso-users.test.ts already stages the doors and reads SysUser actions, so a case asserts every column path's first segment is a member of a real row answer.",
            "B: No. The platform-objects path pin is enough."
          ],
          "recommendation": "A, as a small follow-up after PR #34531 lands (same package)."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: the Console's Setup → Users → Import Users result on a cloud-managed environment draws English column headers in zh-CN and every other locale once this PR lands (named producer: sys_user.import_sso_users columns) · evidence: packages/lint/src/i18n-walk.ts pushActionResultDialog emits resultDialog.fields.PATH only; ui/packages/i18n/src/useObjectLabel.ts overlayActionFieldLabels reads labels[field.path] as a string; the contract declares column label as I18nLabel, so a bundle translation is expected and none exists. Seam: spec:resultDialog.fields[].columns[].label → runtime:packages/lint/src/i18n-walk.ts#pushActionResultDialog | renderer:ActionResultDialog TableBlock · dedupe: column label translation, resultDialog columns i18n, table header bundle key, i18n-walk columns",
        "carrier: seat (the #33186 changeset sentence released in platform-objects 18.5.0 needs a docs-only CHANGELOG amendment, or becomes true once the alreadyPending fix lands) · noted, not filed"
      ]
    }
  16. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmSYVw1sqCsaHSJS9JC

    Parked · 2026-11-17T10:31Z
    Blocked-by: #34651
    PR #34647 (Part of) merged as 84e6bbb8c6: the result dialog draws the table format, and the managed Add User / Import Users dialogs show the doors' per-row answer as a table (L1 6941762445, contract review 6941809708, Tier H at d854d108bd). What this card still owes is #34651: an email-only re-add of a pending address says nothing, because the door adds its key only on a re-add. Follow-ups filed beside it: #34652 (table column labels have no translation key) and #34648 (the skills line). Area o2-B hands the card back: pm:dispatched and lease:o2-B off, pm:blocked on, no assignee; it restarts when #34651 lands.

  17. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 17, 2026
  18. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: unlock → pm:queue · 2026-11-17T10:51Z

    ⛔ Not a claim.

    Blocker #33181 closed today at 08:07Z, completed. Back to the queue at its grade (p2).

  19. added
    pm:queue
    and removed
    pm:blocked
    on Nov 17, 2026
  20. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Regraded p2 → p1 by the maintainer's grading principle of 2026-11-18, accepted in triage's session (「刚才你建议的分级调整,我全部接受」).

    The principle, in order:

    1. What a new user or a prospect meets first (looks and the main flow), the cloud core (Turso, hosted sign-up and onboarding, hosted install and upgrade, plans) and a developer's first contact come first.
    2. Data loss or a permission breach in normal use stays first.
    3. Details and rare configurations are improved over time.
    4. Internal items are frozen.

    Why this card: hosted onboarding: add-person and CSV import in Setup → Users on a managed environment.

  21. added
    priority:p1
    and removed
    priority:p2
    on Nov 18, 2026
  22. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Closed as completed · 2026-11-18T16:44Z. The maintainer, verbatim, in seat repo:objectstack#5's project session, 2026-11-18T16:40Z: 「同意」. He was answering the seat's proposal to close this card as done and file the remaining button as its own small card.

    What shipped, read at origin/main ec227fc:

    Left over: removing a pending person from Setup → Users, so that the invitation is cancelled. That is now #35220. This card's 2026-11-15 claim had put it out of scope until #34162 landed.

  23. removed
    pm:queue
    on Nov 18, 2026
  24. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca1jJvsA1dHsPwMiQb

    Delivered elsewhere: removing a pending person (2026-11-19T08:46Z)

    This is the comment ruling A on #33228 promised here, carried by #34404 item 3.

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

    area:clouddomain:uienhancementpriority:p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions