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
ui: the console form page ignores a form view's own columns, so a published form draws a different layout than its Setup preview (ruled #37638 A) #37665
Filing gate: ① user-visible defect with a named landing point. Source: maintainer — ruling on decision card #37638, option A 「让表单页照列数显示」 (ruling comment 7200681767, 2026-11-26). reach: a form view saved with columns: 3 and undeclared sections previews as three columns in Setup (ViewPreview.tsx:125 → plugin-form sectionedGridLayout) and publishes as two on /forms/:name and /f/:slug (FormPage.tsx, section default 2).
Reader: a ui lane thread, dispatched by the seat. Sequenced with #37087 (also edits FormPage, blocked on #37086): whichever lands second rebases.
Dedupe: FormPage columns, sectionedGridLayout FormPage, form-level columns — only #37638 (the decision, closed by this filing) and #37629 (skill text, closed).
At origin/main33a31dc (measured on #37638's decision thread, comment 7198002852):
ui/apps/console/src/components/FormPage.tsx reads only section columns (normalizeColumns(sec.columns) ~:861, default 2 ~:669, grid classes ~:3345); the form view's own columns is never read. Both /f/:slug and /forms/:name mount it (ui/apps/console/src/App.tsx:360,468, InternalFormRoute.tsx:97,125).
The Setup canvas and the other form hosts lay out through ui/packages/plugin-form/src/autoLayout.ts: sectionedFormColumns makes the form's columns the grid width and sectionedGridLayout clamps each section to it; an undeclared section takes the form's count.
What to do
FormPage lays out sections through sectionedGridLayout (the rule the canvas, ModalForm, the record form, tabbed and wizard layouts share); no hand-rolled grid left for sections.
Tests on a named form and a public form for the two cases that change: form columns: 1 + section columns: 2 → one column; form columns: 3 + undeclared sections → three. A form without columns keeps today's layout.
Re-cite the ledger row packages/spec/liveness/view.jsonform.columns to FormPage and the canvas (its ModalForm.tsx / DrawerForm.tsx citation is stale).
No contract change: the spec still accepts any integer from 1 while the renderer clamps at 4 (left as found).
Acceptance
The two cases above draw the same on the published page as in the Setup preview, on both routes.
Changeset (ui package patch).
Clause-②: no
Suggested-grade: p2 · silent preview/publish mismatch on one key; one measured producer (AI drafts in the Haiku door trial), no first-party form declares it.
Claim: PM loop round 1 · epic objectstack-ai/cloud#5027 (M1), maintainer order 「开一个专区,接这个专题卡,并发10」; card follows the maintainer's ruling A on #37638 · 2026-11-26T18:46Z
Session: session_01Q4EjjMUfmNYTem26rXLFUf
Thread session: session_01Q4EjjQ8nXPvFqzfN7vdwxR
Account: hotlong
Branch: claude/project-thread-w3bxjl
Worktree: objectstack-issue-37665
Domain: ui (lane by file surface; the card carries no domain:* label yet)
Seat: epic:#5027#1
File surface: ui/apps/console/src/components/FormPage.tsx + tests, ui/packages/plugin-form/src/autoLayout.ts (export only), packages/spec/liveness/view.json (form.columns citation only), one changeset (stop on breach; explain in the report)
Container & model: S, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high (reason: the card thread was opened at high before the claim; S work)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — the gap predates the ruling; decided by the maintainer on #37638, not a regression
Thread-read: none
Premise: holds (measured at origin/main33a31dc on #37638's decision thread; the order's first step re-measures on current main and stops on a failed premise)
Serial constraints cleared: #37087 also edits FormPage.tsx and is blocked on #37086 (not in flight); whichever lands second rebases
Order: /mnt/project-files/pm-orders/cloud/epic-5027/order-objectstack-37665.md + _common.md
Fence widened (2026-11-26T19:01Z): the claim's file surface gains ui/packages/plugin-form/src/autoLayout.ts beyond an export (one sectionColumns(declared) member on SectionedGridLayout, the per-section count the shared rule computes but did not expose) and the export lines in ui/packages/plugin-form/src/core.ts and src/index.tsx (the console imports plugin-form's /core entry, which did not export sectionedGridLayout). Reason: FormPage keeps its own viewport grid classes and row spans, so forms without columns keep today's layout as the card requires, and takes only the per-section count from the shared rule. Everything else in the claim stands.
Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:dispatched · size S; rationale: the console form page ignores a form view's own columns, so a published form lays out differently from its Setup preview. A silent preview/publish mismatch on one key, with one measured producer (AI drafts): p2 as suggested.
{
"issue": 37665,
"status": "done",
"branch": "claude/project-thread-w3bxjl",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37671",
"head": "4077b920ec666491216ea232a4ceb0a8ae045936",
"session": "session_01Q4EjjQ8nXPvFqzfN7vdwxR",
"premise_still_valid": true,
"summary": "Premise re-measured on origin/main 05563a57: FormPage read only section columns (normalizeColumns, default 2) and the canvas lays out through sectionedFormColumns / sectionedGridLayout. FormPage buildSections now takes each section's count from sectionedGridLayout(form.columns, declared section columns).sectionColumns: the form's columns is the grid width and caps a section, an undeclared section takes the form's count, a form without columns draws as before. Ledger row form.columns re-cited; changeset patch for plugin-form and console.",
"tests": "pnpm --dir ui exec vitest run apps/console/src/components/FormPage.test.ts apps/console/src/components/FormPage.formViewChrome-26843.test.tsx -> 2 files, 95 passed (79 + 16); plus mixedSectionColumns-12548 and undeclaredSectionDensity-12592 -> 4 files, 133 passed. Ablation (committed fix edited on disk to ignore form columns): 7 failed / 88 passed, the 3 buildSections cases and 4 named/public route cases; controls green; restored, tree clean, re-run green.",
"gates": "local: turbo type-check @object-ui/plugin-form + @object-ui/console exit 0 (81/81); eslint on 6 changed ui files exit 0 (0 errors); spec check:liveness exit 0; ui check:new-line-citations exit 0 (0 new); check-nul-bytes exit 0. CI check-runs on 4077b920: in_progress at report time.",
"line_budget": "+133 -24 over 8 files",
"files_changed": [
".changeset/37665-form-page-form-columns.md",
"packages/spec/liveness/view.json",
"ui/apps/console/src/components/FormPage.tsx",
"ui/apps/console/src/components/FormPage.test.ts",
"ui/apps/console/src/components/FormPage.formViewChrome-26843.test.tsx",
"ui/packages/plugin-form/src/autoLayout.ts",
"ui/packages/plugin-form/src/core.ts",
"ui/packages/plugin-form/src/index.tsx"
],
"deviations": "File surface widened beyond the order: sectionColumns member on SectionedGridLayout in autoLayout.ts plus export lines in plugin-form core.ts and index.tsx (accepted by the seat). FormPage keeps its own per-section viewport grid classes and row spans so forms without columns keep today's layout. Branch name is the platform thread branch, not claude/issue-N. git push was refused twice by the session permission classifier until the maintainer's OK in the thread.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "5 — mcp__github__issue_read x4, mcp__github__pull_request_read x1; no write tool",
"api_writes": "3 relay strokes — pr_create (objectstack#37671, assignee hotlong), pr_request_reviewers (37671, hotlong), this issue comment; plus 1 git push",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
Close-out (2026-11-26T21:17Z): PR #37671 merged as 5314575b (the console form page lays sections out by the form view's own columns, ruling #37638 A). The card closed on Fixes. sweep-closed-cards --pr 37671: the only card it closed is this named target. pm:dispatched removed and assignee cleared.
Activity
objectstack-fleet commentedon Nov 26, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Claim: PM loop round 1 · epic objectstack-ai/cloud#5027 (M1), maintainer order 「开一个专区,接这个专题卡,并发10」; card follows the maintainer's ruling A on #37638 · 2026-11-26T18:46Z
Session:
session_01Q4EjjMUfmNYTem26rXLFUfThread session:
session_01Q4EjjQ8nXPvFqzfN7vdwxRAccount:
hotlongBranch:
claude/project-thread-w3bxjlWorktree:
objectstack-issue-37665Domain:
ui(lane by file surface; the card carries nodomain:*label yet)Seat:
epic:#5027#1File surface:
ui/apps/console/src/components/FormPage.tsx+ tests,ui/packages/plugin-form/src/autoLayout.ts(export only),packages/spec/liveness/view.json(form.columnscitation only), one changeset (stop on breach; explain in the report)Container & model:
S,mode:thread,model: default (dispatch-gates --tier: no path-derived mandate),effort: high (reason: the card thread was opened at high before the claim; S work)Clause-②: no
Metadata-protocol: none
Responsibility: n/a — the gap predates the ruling; decided by the maintainer on #37638, not a regression
Thread-read: none
Premise: holds (measured at
origin/main33a31dc on #37638's decision thread; the order's first step re-measures on current main and stops on a failed premise)Serial constraints cleared: #37087 also edits
FormPage.tsxand is blocked on #37086 (not in flight); whichever lands second rebasesOrder:
/mnt/project-files/pm-orders/cloud/epic-5027/order-objectstack-37665.md+_common.mdobjectstack-fleet commentedon Nov 26, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Fence widened (2026-11-26T19:01Z): the claim's file surface gains
ui/packages/plugin-form/src/autoLayout.tsbeyond an export (onesectionColumns(declared)member onSectionedGridLayout, the per-section count the shared rule computes but did not expose) and the export lines inui/packages/plugin-form/src/core.tsandsrc/index.tsx(the console imports plugin-form's/coreentry, which did not exportsectionedGridLayout). Reason:FormPagekeeps its own viewport grid classes and row spans, so forms withoutcolumnskeep today's layout as the card requires, and takes only the per-section count from the shared rule. Everything else in the claim stands.objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · priority:p2 ·
pm:dispatched· size S; rationale: the console form page ignores a form view's owncolumns, so a published form lays out differently from its Setup preview. A silent preview/publish mismatch on one key, with one measured producer (AI drafts): p2 as suggested.objectstack-fleet commentedon Nov 26, 2026
epic:#5027#1 · hotlong · session_01Q4EjjQ8nXPvFqzfN7vdwxR
os-dev-report
{ "issue": 37665, "status": "done", "branch": "claude/project-thread-w3bxjl", "pr": "https://github.com/objectstack-ai/objectstack/pull/37671", "head": "4077b920ec666491216ea232a4ceb0a8ae045936", "session": "session_01Q4EjjQ8nXPvFqzfN7vdwxR", "premise_still_valid": true, "summary": "Premise re-measured on origin/main 05563a57: FormPage read only section columns (normalizeColumns, default 2) and the canvas lays out through sectionedFormColumns / sectionedGridLayout. FormPage buildSections now takes each section's count from sectionedGridLayout(form.columns, declared section columns).sectionColumns: the form's columns is the grid width and caps a section, an undeclared section takes the form's count, a form without columns draws as before. Ledger row form.columns re-cited; changeset patch for plugin-form and console.", "tests": "pnpm --dir ui exec vitest run apps/console/src/components/FormPage.test.ts apps/console/src/components/FormPage.formViewChrome-26843.test.tsx -> 2 files, 95 passed (79 + 16); plus mixedSectionColumns-12548 and undeclaredSectionDensity-12592 -> 4 files, 133 passed. Ablation (committed fix edited on disk to ignore form columns): 7 failed / 88 passed, the 3 buildSections cases and 4 named/public route cases; controls green; restored, tree clean, re-run green.", "gates": "local: turbo type-check @object-ui/plugin-form + @object-ui/console exit 0 (81/81); eslint on 6 changed ui files exit 0 (0 errors); spec check:liveness exit 0; ui check:new-line-citations exit 0 (0 new); check-nul-bytes exit 0. CI check-runs on 4077b920: in_progress at report time.", "line_budget": "+133 -24 over 8 files", "files_changed": [ ".changeset/37665-form-page-form-columns.md", "packages/spec/liveness/view.json", "ui/apps/console/src/components/FormPage.tsx", "ui/apps/console/src/components/FormPage.test.ts", "ui/apps/console/src/components/FormPage.formViewChrome-26843.test.tsx", "ui/packages/plugin-form/src/autoLayout.ts", "ui/packages/plugin-form/src/core.ts", "ui/packages/plugin-form/src/index.tsx" ], "deviations": "File surface widened beyond the order: sectionColumns member on SectionedGridLayout in autoLayout.ts plus export lines in plugin-form core.ts and index.tsx (accepted by the seat). FormPage keeps its own per-section viewport grid classes and row spans so forms without columns keep today's layout. Branch name is the platform thread branch, not claude/issue-N. git push was refused twice by the session permission classifier until the maintainer's OK in the thread.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "5 — mcp__github__issue_read x4, mcp__github__pull_request_read x1; no write tool", "api_writes": "3 relay strokes — pr_create (objectstack#37671, assignee hotlong), pr_request_reviewers (37671, hotlong), this issue comment; plus 1 git push", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 26, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Close-out (2026-11-26T21:17Z): PR #37671 merged as
5314575b(the console form page lays sections out by the form view's owncolumns, ruling #37638 A). The card closed onFixes.sweep-closed-cards --pr 37671: the only card it closed is this named target.pm:dispatchedremoved and assignee cleared.fix(console): a named or public form lays its sections out by the for…