Skip to content

Retire the server-side column state key (columnState) from view metadata #36403

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Handover card for item 5's spec half of #35955 (list changes are temporary; column widths live in the browser; the server-side personal list preference retires). PR 3a's claim (7064104023) promised this card; PR #36380's L2 record (7077495388) found it missing. Filed by the seat. Parent: #35955.

What happens

The console no longer writes per-user column order or widths to the server (#35955 PR 3a and the PRs after it), but packages/spec/src/ui/view.zod.ts still declares columnState: ViewColumnStateSchema.optional() on the personalization overlay (line 6385 on main 97b9d1e) and on the view item wire fields (line 6733), plus its refusal-message rows (3426, 6240). A key no reader writes or reads is declared-but-unenforced (ADR-0049).

To do

Follow .claude/skills/spec-property-retirement/SKILL.md:

  1. Census every reader and writer of columnState on main (about 54 non-test hits across packages and ui; most are expected to be the declaration's own docblocks and the console's old writer path). Confirm none is live.
  2. Choose the removal route the playbook gives for a personalization-overlay key, with its ADR-0087 conversion (an upgrade surfaces an explicit message, never a silent drop), the liveness-ledger row, generated baselines, forms and docs.
  3. Declare Clause-②: yes (narrowing). The L2 runs on the narrowing face at the contract-review tier.

Acceptance

  • columnState is no longer an accepted key on a view or its personalization overlay. A stored value converts or is refused with the ADR-0087 message, and the playbook's gates are green.

Blocked-by: none (#36380 does not touch packages/spec).

Grade

p2 · area:ux · domain:spec (same grade as #35955, whose remainder this is).


Generated by Claude Code

Activity

  1. added
    enhancement
    priority:p2
    pm:queue
    domain:spec
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 4
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Thread session: session_01QsR2jT24Rn8qK81aEFebXj
    Account: zhuangjianguo
    Branch: claude/project-thread-sfzptl (the thread's container pushes only to its own branch name)
    Worktree: objectstack-issue-36403
    Domain: domain:spec
    Seat: repo:objectstack#7
    Area: f7-seat (single-card thread; enters no area)
    File surface: packages/spec/src/ui/view.zod.ts and what spec-property-retirement names for it (retiredKey tombstones on the view item wire member and the flattened overlay members, ADR-0087 conversion, generated baselines, docs); the ui pin tests that assert columnState round-trips (ui/packages/data-objectstack listViews.roundTripKeys-11013, viewConfigSaveEnvelope-10210, overlayPatchOnly, viewOverlayPatchOnly; ui/packages/app-shell counterparts) — ⛔ not objectViewListRenderer.tsx (#36370 is in it; its dead fallback rung is listed for a follow-up), ⛔ not ObjectGrid.tsx / ListView.tsx, ⛔ not docs/adr/**
    Container & model: M, mode:thread, model: default tier (the thread re-derives dispatch-gates --tier at its head), effort: high (seat order)
    Clause-②: yes (narrowing) — columnState stops being an accepted key on a view item and its personalization overlay; the thread re-judges the arm from the diff
    Metadata-protocol: changed (the thread re-judges from the diff)
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds — the thread's census at main 97b9d1e found no live writer of the view-row columnState
    Serial constraints cleared: overlap-check before every push; #36370 owns objectViewListRenderer.tsx.
    Pre-claim lane: repo:objectstack seat 7: the seat filed this card as #35955's spec half (PR #36380 L2 7077495388) and routes it to its own card thread, under the maintainer's 「交接给你的任务 p1 p2 都要做」 (2026-11-22T07:18Z, seat thread).
    Pre-claim deps: none open.
    Prior rulings read: #35955's rulings; the thread runs check-prior-rulings.mjs --card 36403 before code.
    Resume-from: none (fresh from origin/main)

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area, pm:dispatched and p2 stand as filed; rationale: area:ux · Task · retire the server-side columnState key from view metadata under ADR-0049 enforce-or-remove (an explicit message, never a silent drop; ledger row, baselines, forms and docs) · size M.

  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jT24Rn8qK81aEFebXj
    os-dev-report

    {
      "issue": 36403,
      "status": "done",
      "branch": "claude/project-thread-sfzptl",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36435",
      "session": "session_01QsR2jT24Rn8qK81aEFebXj",
      "head": "94e3b6a84f3bff59251ed680a59740be3eb3b2b4",
      "premise_still_valid": true,
      "summary": "Retired `columnState` from the stored `view` row under ADR-0049 on the owner/hidden precedent route: retiredKey() tombstones on viewItemWireFields() and flattenedViewOverlayFields(), ViewColumnStateSchema deleted, VIEW_CONSOLE_ROUND_TRIP_KEYS six keys to five (the ui derivations narrow without a console edit), authoring doors refuse by name with the retirement text. ADR-0087 kit: D2 `view-column-state-removed` (step 18, order 83, retiredAfter 18.6.0, record vs flattened-overlay discriminator, views + viewItems, containers untouched), two RETIRED_KEYS_BY_MAJOR[18] rows, D3 `view-column-state-retired`, STEP18_RATIONALE fragment; view.mdx regenerated; changeset minor with BREAKING banner and the identity-only residue stated.",
      "tests": "spec targeted (src/ui src/conversions src/migrations src/shared reconciliation strictness-ledger) Test Files 254 passed (254), Tests 8682 passed (8682) at 4467e71c; retirement pin + src/migrations at head Tests 214 passed (214); metadata-protocol 3 files Tests 98 passed (98); cli migrate-meta-engine-guidance Tests 3 passed (3); ui data-objectstack whole package green after the roundTripKeys pin edit; 27 targeted ui files green, envelope pin Tests 4 passed (4) at head. New pin view-column-state-retirement.test.ts: 15 tests.",
      "gates": "dispatch-gates --commands at 4467e71c: 123 ran, 116 exit 0 first pass; strictness-ledger/check:generated (real, fixed fd4fcaf5), test-source-alias (real, fixed), cli guidance (real, fixed 94e3b6a8), 3 PREREQUISITE cleared after build, check-plugin-teardown-shape --self-test NOT MEASURED (shallow clone). 18 re-run at head all exit 0. CI at 94e3b6a8: 63 success, 11 skipped, 0 failure (Test Core 10/10, Test UI 16/16, Type Check x6, Build x4, Lint x9, Check Changeset, PR-body guards, Spec property liveness, Dogfood Regression Gate).",
      "dogfood_battery": "94e3b6a8 · os-verify-lock: VERDICT command-exit 0 (36m37s) · Test Files 485 passed | 3 skipped (488) · Tests 4108 passed | 68 skipped (4176) · no failures",
      "mcp_calls": "0 — subscribe_pr_activity only (harness, not GitHub MCP)",
      "api_writes": "4 — git push; fleet-write pr_create (draft #36435, assignee); fleet-write issue_patch (PR body dogfood line); this comment via post-stamped",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: named producer ui/packages/app-shell/src/views/objectViewListRenderer.tsx:787 `(viewDef as any).columnState ?? (listSchema as any).columnState` fallback rung reads undefined after this PR · dead fallback · carrier: seat 7 follow-up (file fenced: #36370) · noted, not filed",
        "class: c · reach: exception: maintainer · docs/adr/0005 line 388 names the key in a dated reading · governed, left as written per seat ruling · noted, not filed"
      ]
    }

    Generated by Claude Code

  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Ruling of record for this card, restated by the seat (2026-11-22T12:18Z) as L2 7079005648 on PR #36435 asks. Source: the maintainer's body of #35955, written after 「同意,去掉」 and 「只记在浏览器里」, quoted verbatim:

    • Item 5: 服务端「按人存列表偏好」这一层整个退掉 … 规范里为个人列布局开的口子(columnState …).
    • Item 6: 「已存下的个人偏好不迁移:上线后服务端那一份不再读,所有人回到视图本来的样子,包括列宽、行高和标签页顺序。旧数据由升级脚本清掉。升级说明里写明。」
    • Acceptance: 「升级后:…也是视图本来的列、列顺序和列宽。」

    So a stored view columnState is not carried into fieldOrder or any other key. Readers who relied on a stored order or widths see the view's own after the upgrade, and the release notes say so. PR #36435 states that loss in its conversion and migration text (L2 M1, option 1); option 2 (carry order into fieldOrder) would contradict the acceptance line above.

  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Correction to 7079029398 (2026-11-22T13:01Z): the #35955 body I quoted was written by the coordinator seat after the maintainer's own words 「同意,去掉」 and 「只记在浏览器里」, not typed by the maintainer. The quoted items 5, 6 and the acceptance line are the coordinator's record of that ruling, which the maintainer did not correct. The ruling the PR states is unchanged.

  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jT24Rn8qK81aEFebXj
    os-dev-report

    {
      "issue": 36403,
      "status": "done",
      "branch": "claude/project-thread-sfzptl",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36435",
      "session": "session_01QsR2jT24Rn8qK81aEFebXj",
      "head": "2fff67a6d15a13ef6cc19d408d2399ae994ed60b",
      "premise_still_valid": true,
      "summary": "Retired `columnState` from the stored `view` row under ADR-0049 on the owner/hidden precedent route: retiredKey() tombstones on viewItemWireFields() and flattenedViewOverlayFields(), ViewColumnStateSchema deleted, VIEW_CONSOLE_ROUND_TRIP_KEYS six keys to five (the ui derivations narrow without a console edit), authoring doors refuse by name with the retirement text. ADR-0087 kit: D2 `view-column-state-removed` (step 18, order 83, retiredAfter 18.6.0, record vs flattened-overlay discriminator, views + viewItems, containers untouched), two RETIRED_KEYS_BY_MAJOR[18] rows, D3 `view-column-state-retired`, STEP18_RATIONALE fragment; view.mdx regenerated; changeset minor with BREAKING banner and the identity-only residue stated. Rework: L1 7078961706 (Skills-docs line; follow-up card #36445 for the ui residue) and L2 7079005648 M1/S1 (2fff67a6, text only: the loss of a stored layout for a reader with no layout of their own is stated as the ruled outcome, citing the ruling of record 7079029398; no writer left, layout no longer applied). Delta L2 7079510048 PASS.",
      "tests": "spec targeted (src/ui src/conversions src/migrations src/shared reconciliation strictness-ledger) Test Files 254 passed (254), Tests 8682 passed (8682) at 4467e71c; retirement pin + src/migrations at head Tests 214 passed (214); metadata-protocol 3 files Tests 98 passed (98); cli migrate-meta-engine-guidance Tests 3 passed (3); ui data-objectstack whole package green after the roundTripKeys pin edit; 27 targeted ui files green, envelope pin Tests 4 passed (4) at head. New pin view-column-state-retirement.test.ts: 15 tests. At 2fff67a6: spec src/ui/view-column-state-retirement + src/migrations + view-spelling-walk + src/shared Test Files 47 passed (47), Tests 1264 passed (1264); cli guidance Tests 3 passed (3).",
      "gates": "At 2fff67a6: check:generated, check:upgrade-guide, check:spec-changes, check:docs, check:doc-authoring, check:strictness-ledger, check:liveness, check:nul-bytes, check-adr-0087-registration, check-changeset-no-major all exit 0; overlap-check clean. CI at 2fff67a6: 63 success, 11 skipped, 0 failure. Earlier sweep at 4467e71c/94e3b6a8 as in report 7078882338.",
      "dogfood_battery": "2fff67a6 · os-verify-lock: VERDICT command-exit 0 (36m33s) · Test Files 485 passed | 3 skipped (488) · Tests 4108 passed | 68 skipped (4176) · no failures",
      "mcp_calls": "0 — subscribe_pr_activity only (harness, not GitHub MCP)",
      "api_writes": "9 — git push x2; fleet-write pr_create (#36435); issue_create (#36445); issue_patch x4 (PR body); post-stamped x2 (report 7078882338 and this one)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: named producer ui/packages/app-shell/src/views/objectViewListRenderer.tsx:787 rung + data-objectstack VIEW_OVERLAY_OWNED_KEYS entry and docblocks + objectViewTabs.ts:502 · carrier: #36445 (Blocked-by #36435) · filed",
        "class: c · reach: exception: maintainer · docs/adr/0005 line 388 dated reading · left as written per seat ruling · noted, not filed"
      ]
    }

    Generated by Claude Code

  9. added a commit that references this issue on Nov 23, 2026
    595844b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:specenhancementpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions