Repository navigation
Description
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Filing gate: ① the maintainer's ruling A on #33187 (record 6915677641, chosen 2026-11-16T11:49Z on the decision card), which says: "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."
Reader: domain:spec (packages/spec/src/ui/action.zod.ts). Grade suggestion: p1, because it blocks the p1 card #33187, whose first consumer is objectstack-ai/cloud#4465 (managed-environment add-person, sub-card 1c).
Dedupe: ACTION_ANSWER_FIELD_FORMATS table and resultDialog table columns: none open.
维护者速读
您在 #33187 选了 A:动作结果弹窗加「表格」这种显示格式。这张卡做协议那一半:结果字段的格式枚举加 table,并加一个列清单键;列清单只能配 table,配其他格式时在解析阶段报错。这是一次协议新增(Metadata-protocol: added),走契约复审,合入前需要您批一次。界面半边(控制台表格块、用户对象的加人 / 导入结果)在 #33187 上做,等这张卡落地。
Facts (origin/main, 2026-11-16)
ACTION_ANSWER_FIELD_FORMATS = ['qrcode', 'code-list', 'secret', 'text', 'json'](packages/spec/src/ui/action.zod.ts:839). It is a closed set shared byresultDialog(its dialog-level default and each field's override) andpreflight.fields, through the one row builderactionAnswerFieldRow(spec(action): ActionSchema.preflight — a declared same-origin GET read shown in an action's param dialog before submit, with answer-to-param seeding (spec child of #31808) #31840). The renderer contract for each member is onresultDialog.- None of the five draws an array of objects as rows. The add-person and CSV-import answers on
sys_user(plugin-authpending-sso-users.ts: per rowalreadyPending,notApplied, the host's refusal and reason) are drawn today asjson. The Setup → Users on a managed environment: add-person and CSV-import UI with per-row invitation status (reverses objectui#13330 for adding) #33187 dev measured this on895783a1(os-dev-report 6895877442). AGENTS.md Prime Directive 12 forbids the console from guessing a table out of ajsonarray.
Ask
- Add
tabletoACTION_ANSWER_FIELD_FORMATS. It draws an array of objects atpathas rows. - Add a column list to the field row (
actionAnswerFieldRow), so bothresultDialog.fieldsandpreflight.fieldsget it. Each column reuses the row's own shape: a dotpathinto one element, an optionallabel, and an optional per-cellformatfrom the same set, minustable(no nesting). The spec lane settles the key name against the existing row and the alias map. - Parse refusals, worded the way the row's other refusals are: a column list beside any
formatother thantableis refused;tablewithout a column list is refused, unless you rule that it defaults to the element's own keys (decide, and state why in the describe); a nestedtablein a column is refused. - State the renderer contract for
tableonresultDialog, as the other five are stated: what a missing or non-array value draws, an empty array, a cell whose value is not a scalar, the column order, and that the header is the columnlabel. Keep it short enough for one console renderer to honour it exactly. - Pins, with ablation red for each refusal, and a CONTROL showing that every existing format and row parses unchanged. Regenerate the outputs the change requires (JSON schema, the authorable surface and its baseline, the reference page) with the repo's own generators.
Metadata-protocol: added. Changesetminoron@objectstack/spec. CONTRACT_REVIEW_TIER review by review#2. No console orplugin-authchange in this PR; Setup → Users on a managed environment: add-person and CSV-import UI with per-row invitation status (reverses objectui#13330 for adding) #33187 does the renderer and the twosys_useranswers.
⛔ Not a claim.
Activity
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:spec· p1 (kept) ·pm:queue· 2026-11-16T12:08Z⛔ Not a claim.
This is the protocol half of the maintainer's ruling A on #33187 (record 6915677641): the action answer's closed format set gains
table, with a column list that is refused at parse beside any other format. Today an administrator who adds a person or imports a CSV on a managed environment sees the per-row answer as raw JSON. It blocks the p1 card #33187, whose first consumer is objectstack-ai/cloud#4465, so p1 as filed.Metadata-protocol: added, so contract review applies, and the maintainer approves the spec PR once. Labels unchanged; the spec seat may claim.objectstack-fleet commentedon Nov 16, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Claim: PM loop round 6 · 2026-11-16T12:09Z
Session:
session_01ADHkmQjrEpxMVxEiDUJHqC(seat); a card thread of this account's project is the dev and reports its session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the dev buildsWorktree:
objectstack-issue-34391Domain:
domain:specSeat:
domain:spec#2File surface:
packages/spec/src/ui/action.zod.ts(ACTION_ANSWER_FIELD_FORMATSgainstable; the sharedactionAnswerFieldRowgainscolumns; refusals; theresultDialogrenderer contract), its tests, the regenerated JSON schema / authorable-surface / api-surface / liveness / reference page, root.changeset/. No console /ui//plugin-authchange (#33187 does them)Container & model:
M,mode:thread,model: default tierClause-②: yes (widening)
Metadata-protocol: added
Responsibility:
objectstack: an action answer that is a list of rows (add-person, CSV import) can only be shown as raw JSON | admins running per-row actions in the console | the result dialog shows a JSON blob instead of a readable tablePremise: holds at
origin/main(seat read:ACTION_ANSWER_FIELD_FORMATS= qrcode, code-list, secret, text, json ataction.zod.ts~:839). Maintainer ruling A on #33187 (6915677641). Order:/mnt/project-files/spec-seat2/34391-delta.md.Priority: p1 (triage 6916005564). Blocks #33187.
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: regrade p1 → p2 (maintainer) · out of focus · 2026-11-16T14:57Z
⛔ Not a claim.
In the backlog re-grade under the 2026-11-16 focus rule, the maintainer said 「34391 可以降级」. The table format serves the hosted add-person and CSV-import answers, which sit outside the current focus themes. An administrator can still read today's JSON answer. The claim and the work are unchanged; the seat may finish it at p2.
objectstack-fleet commentedon Nov 16, 2026
domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC
Release: seat stand-down · 2026-11-16T21:11Z
The maintainer ordered seats to finish the work in hand and stand down, with no new cards. This card's dev thread stopped in the platform incident around 2026-11-16T12:15Z, before any commit or PR was made. Branch: (none opened), with no commits beyond its base. So the claim goes back to
pm:queueand the assignee is cleared.Resume-from: none (no produce). The order still stands for a successor:
/mnt/project-files/spec-seat2/34391-delta.md(project share; the seat's measured reading oforigin/mainand its rulings). It is now p2 (maintainer regrade 6919999291). The delta's rulings R1–R5 settle the key name, the defaults and the renderer contract, so a successor can build without stopping.objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Claim: PM loop round 1 · 2026-11-16T21:52Z
Session:
session_01ADHkmQ2SN4K183oqAvUajA(seat); a card thread of this account's project is the dev and reports its own session idAccount:
os-steveBranch: pending — the card thread's designated branch; a follow-up
Claim:from this session names it before the first pushWorktree:
objectstack-issue-34391Domain:
domain:specSeat:
repo:objectstack#2File surface:
packages/spec/src/ui/action.zod.ts(ACTION_ANSWER_FIELD_FORMATSgainstable; the sharedactionAnswerFieldRowgainscolumns; refusals; theresultDialogrenderer contract), its tests, the regenerated JSON schema / authorable surface / api-surface / liveness / reference page, root.changeset/. No console,ui/orplugin-authchange (#33187 does them)Container & model:
M,mode:thread,model: default tier,effort: highClause-②: yes (widening)
Metadata-protocol: added
Responsibility:
objectstack: an action answer that is a list of rows (add-person, CSV import) can only be drawn as raw JSON | none (no table format exists) | administrators running per-row actions in the console, todayThread-read: 6929478715
Premise: holds at
origin/main3bf9c5c (the five-memberACTION_ANSWER_FIELD_FORMATSset has notable); the measured reading and rulings R1–R5 of the released predecessor claim (6916017414, released 6929478715) carry over.Serial constraints cleared: none — no open PR lists
action.zod.ts(open-PR file scan at seating, 48 PRs); #34378 (this seat,field.zod.ts) regenerates the same spec outputs, so the two land one at a time withos-regen-merge.sh.Pre-claim lane:
domain:spec(packages/spec/src/ui/action.zod.ts); nodomain:specseat claims it (spec#2 released it at stand-down, 6929478715).Pre-claim deps: no
Blocked-by:; it blocks #33187 (p1).Prior rulings read: maintainer ruling A on #33187 (record 6915677641) and the regrade 6919999291 (p2) on this card;
check-prior-rulings.mjs --card 34391→ 325 title-term hits; ADR-0061 D2, ADR-0071 Decision §1, ADR-0005 Decision §5, ADR-0029 D6, ADR-0055 Decision §1, ADR-0068 D1, ADR-0076 D11, ADR-0079 D6, ADR-0087 D1; thread: none.Lease:
lease:o2-A. Order:/mnt/project-files/objectstack-seat2/34391-delta.mdwith the seat's standard order beside it (project share).objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Claim: PM loop round 1 · branch named · 2026-11-16T21:57Z
Follow-up to claim 6930509984 (same seat, same claim).
Thread session:
session_01ADHkmRAxMkAHLvWYP3eojsAccount:
os-steveBranch:
claude/project-thread-hcenbySeat:
repo:objectstack#2objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRAxMkAHLvWYP3eojs
os-dev-report
{ "issue": 34391, "status": "done", "branch": "claude/project-thread-hcenby", "pr": "https://github.com/objectstack-ai/objectstack/pull/34500", "session": "session_01ADHkmRAxMkAHLvWYP3eojs", "premise_still_valid": true, "summary": "ACTION_ANSWER_FIELD_FORMATS gains `table`; the shared row (resultDialog.fields + preflight.fields) gains `columns` ({ path, label?, format? }, the row's alias map). Four refusals: columns beside a non-table format or no format, table without columns or with [], table as a cell format, table as resultDialog.format; the dialog and cell sets are derived with z.enum(...).exclude(['table']). Renderer contract (R5) on resultDialog; columns marked [PLANNED — not yet rendered] and liveness planned until the console reader lands. The widening red @object-ui/components' build (TS2322 at action-button.tsx and action-icon.tsx), so ui core ActionRunner.ts's two format unions now derive from the contract (type only).", "tests": "head e05528a7: new action-answer-table-format.test.ts 47/47 (CONTROL for the five old formats at both surfaces); pnpm --filter @objectstack/spec test 847 files, 27116 passed, 1 todo; spec typecheck exit 0; ui core/components/app-shell type-check exit 0 (components build red before the ActionRunner edit). Ablations (ablation-replace.mjs, spec tests import src): A1 refusal 1 -> 12 failed, A2 refusal 2 -> 4 failed, A3 cell table -> 2 failed, A4 dialog table -> 1 failed; each restored, blob == HEAD. Log: project share objectstack-seat2/34391-ablations.log.", "gates": "dispatch-gates --commands at e05528a7: 117 derived, 117 run, 0 NOT-MEASURED (--ran exit 0). One re-run: check:generated exit 1 in r1 = check:test-typecheck tsc OOM because the container exports NODE_OPTIONS=--use-openssl-ca, which defeats the script's own 4096 heap fallback; re-run with NODE_OPTIONS='--use-openssl-ca --max-old-space-size=4096' exit 0. Offline: check-changeset-no-major --event exit 0 (level axis ok), check-partof-closing-keyword ok, check-governed-merges --test NOT governed. CI check-runs: in_progress at hand-back.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2); no write tool", "api_writes": "2 — relay pr_create (PR #34500, draft, assignee os-steve); relay comment (this report). Review request for os-steve not sent: the standard order forbids MCP writes", "files_changed": [".changeset/34391-action-answer-table-format.md", "content/docs/references/ui/action.mdx", "docs/audits/2026-07-unknown-key-strictness-ledger.counts/ui.md", "packages/spec/dropped-refinements.baseline.json", "packages/spec/liveness/action.json", "packages/spec/liveness/state-counts/action.md", "packages/spec/src/ui/action-answer-table-format.test.ts", "packages/spec/src/ui/action-preflight.test.ts", "packages/spec/src/ui/action.zod.ts", "ui/packages/core/src/actions/ActionRunner.ts"], "line_budget": "10 files, +356 / -24 (generated included); no skills/** touched", "deviations": [ "ui/packages/core/src/actions/ActionRunner.ts is outside the claim's file surface (the order said no ui/ change): the widening alone reds the required UI build/type-check, so the two hand-written format unions now derive from the contract like their label members; type only, no renderer change; changeset adds @object-ui/core patch. The seat may amend the surface.", "R5 wording: a missing value is skipped like every other field's, and a non-array value draws as json like code-list does (the console's ResultField today), instead of a generic 'empty state'; R5 allows matching the sibling.", "columns: [] is refused with the same message as a missing list (an empty list draws no column).", "dropped-refinements.baseline.json +24 sites (measured.droppedRefinementSites 1090 -> 1114): the row rule is value-dependent, so no projectable arm fits.", "Forced test edit: action-preflight.test.ts used format 'table' as its unknown-format probe; now 'chart', same assertion." ], "open_questions": [ { "question": "需契约复审 (Metadata-protocol: added) at head e05528a7", "options": ["A seat routes it to review#1 mailbox #34329"], "recommendation": "A" }, { "question": "Keep the ui/ type derivation in this PR?", "options": ["A keep it (PR cannot be green without it)", "B move it to #33187 and land both together"], "recommendation": "A, because the spec half cannot merge alone otherwise and the edit is type-only" } ], "security_findings": "none", "out_of_scope_findings": ["carrier: #33187 — until the console renderer lands, a `table` field draws its label alone (ResultField has no table branch); recorded as planned in liveness, noted, not filed"] }Stamped 2026-11-16T23:08Z.
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ
Claim: PM loop round 1 · file surface amended · 2026-11-16T23:10Z
Follow-up to claims 6930509984 and 6930621370 (same seat
repo:objectstack#2, same claim, same branch). This session is area o2-A of that seat, which now holds the card's review and landing.Session:
session_01ADHkmPJxG4vBVaLCBWLcWJThread session:
session_01ADHkmRAxMkAHLvWYP3eojsAccount:
os-steveBranch:
claude/project-thread-hcenbySeat:
repo:objectstack#2File surface: as claimed, plus
ui/packages/core/src/actions/ActionRunner.ts(its twoformattypes derive from the contract instead of a hand-written union; types only, no rendering change) and an@object-ui/corepatch changeset. Reason: wideningACTION_ANSWER_FIELD_FORMATSmakes the ui components build fail with TS2322 (action-button/action-iconpassresultDialogtoActionRunner's hand-written format union), so the spec half cannot land without it. The seat agreed: the root fix is the derived type.Clause-②: yes (widening)
Metadata-protocol: added
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA
Closing hygiene, written at 2026-11-17T02:35Z: PR #34500 merged (main
066177b80f) and closed this card through Fixes.pm:dispatched,lease:o2-Aand the assignee were still on it. This stroke removes all three, because a closed card carries no pm state. The ownership labels stay.