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
Manage views: after pinning, renaming or re-defaulting a factory view of a read-only package, the admin can restore the factory version from the list page #36011
Split from #35974 by the seat, after the maintainer's amended ruling 7058654416 (Manage views keeps pin, set default and rename on views a read-only package ships). Under epic #35547.
What a user sees
An admin pins, renames or makes another view the default on a list whose views come from a read-only package (for example an installed app). Each of those writes the whole view into the package's customization pair (<package>.custom, PR #33173). From then on the list shows the customized copy. To go back to the factory version the admin has to find the customization in Studio; the list page offers nothing.
Why it matters
The customized copy is frozen at the package version it was copied from. When the vendor ships a newer version of that view, the list keeps showing the old copy until someone re-bases it; the upgrade plan only reports this as advice.
Toggling a pin on and back off still leaves the copy in place.
The first such click creates the .custom package, and the app cannot be uninstalled until it is removed (ADR-0146 D3).
To do
Read how a view override in <package>.custom is stored and removed today (ui/packages/data-objectstack/src/index.tsupdateView / viewCustomizationHome, ADR-0146 D2/D3/D11) and what Studio offers.
In Manage views, on a view that has a customization, offer "restore factory version": it removes that view's override, after one confirm that says every user of the view will see the factory version again.
Show which views are customized (a small mark) so the admin knows the option exists.
Acceptance
Pin a factory view, then restore it: the override is gone and the list shows the package's own view.
Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · after pinning, renaming or re-defaulting a factory view of a read-only package (kept by the maintainer's amended ruling 7058654416), the list page offers a way back to the factory version; today the admin must find the customization in Studio, and the copy stays frozen at its package version; split from #35974, topic #35547 → p2 · size M.
Claim: PM loop · area a4-F · 2026-11-22T03:29Z
Session: session_01FEkQ5oY5WCqqqBMtn9qt7m
Account: os-project-manager
Branch: claude/issue-36011-restore-factory-view
Worktree: objectstack-issue-36011
Domain: domain:ui
Seat: repo:objectstack#4
Area: a4-F
File surface: Manage views in ui/packages/app-shell/src/views/ (the manage-views dialog / view CRUD), the client call that removes one view override from a package's .custom pair in ui/packages/data-objectstack/src/ (only if an existing server door already removes it), i18n keys, tests, a changeset. ⛔ No server or packages/spec change: if removing one override needs one, stop and report the fork (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate on ui/**), effort: high (seat area order a4-F)
Clause-②: no (expected; new i18n keys or a new adapter method would read yes (widening): measured by the dev on the built declarations, and this line is amended then)
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7058829659
Premise: by code reading at origin/main a5a5312: updateView in ui/packages/data-objectstack/src/index.ts writes the whole view into the package's customization home; no "restore" / remove-override call exists under ui/packages/data-objectstack/src or app-shell/src (grep resetView|restoreFactory|removeOverride → 0). Whether the server already offers a door that deletes one override is the dev's first measurement.
Pre-claim lane: repo:objectstack whole-repo lane; ui/packages/** (domain:ui); a4-F Next list (seat 03:28Z).
Prior rulings read: maintainer's amended ruling 7058654416 on #35974 (Manage views keeps pin, set default and rename on views a read-only package ships); ADR-0146 D2/D3/D11 (the customization pair, uninstall block) named by the card — the dev reads them; any reading that changes visible behaviour beyond the card stops and goes to the seat.
Pre-claim deps: none.
Fold-or-serial: not folded; app-shell views shared with #36244 (this area, app-shell context, different files); overlap-check before each push.
Serial constraints cleared: none blocking at origin/main a5a5312
{
"issue": 36011,
"status": "done",
"branch": "claude/issue-36011-restore-factory-view",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36342",
"session": "session_01FEkQ5oY5WCqqqBMtn9qt7m",
"premise_still_valid": true,
"summary": "Last pushed sha 767c872b; state: done, handed over per the maintainer's hand-over call with CI not awaited. Manage views marks a read-only package's view that its .custom pair overrides as customized and offers Restore factory version: one confirm (every user sees the factory version again), then ObjectStackAdapter.restoreFactoryView deletes the pair's draft and row through the existing door DELETE /meta/view/NAME?package=PAIR (the door Studio's Restore package original uses), and the list re-reads. No server/spec change was needed (measured). The pair stays after the last override is removed (ensure answers created:false), so it keeps blocking uninstall; no package deletion added. The restore is gated server-side on manage_metadata (403 FORBIDDEN otherwise), the same capability the pin's write needs; Manage views itself is admin-gated as for pin.",
"tests": "New: plugin-view ManageViewsDialog.restoreFactory-36011, data-objectstack restoreFactoryView-36011, app-shell ObjectView.restoreFactoryView-36011 (pin then restore, confirm text under real en I18nProvider, cancel, refused restore). At 767c872b (after merging origin/main 99fbaa6d): targeted UI run Test Files 72 passed / Tests 799 passed; i18n package 105 files / 1962 passed. type-check exit 0: plugin-view, data-objectstack (767c872b), i18n (446de0ec), app-shell (446de0ec, not re-run after merge). Ablations via scripts/ablation-replace.mjs at f35f7f31 (ui vitest aliases @object-ui to src, no dist leg): restore entry dropped, customized verdict false, listViews overrides copy dropped, nothing-removed guard off, not-an-override guard off: each exit 1 with named pins red, each restored with git diff HEAD empty. Server measurement: scratch runtime test (deleted, never committed) on real engine+SQL+HttpDispatcher+RestServer, both topologies.",
"gates": "Local derived list (dispatch-gates --commands --repo objectstack-ai/objectstack at 767c872b, 42 commands + check:i18n-stale-fill): 38 read at hand-over, all exit 0 (check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-sdui-manifest, check:adr-anchors, check:cross-package-test-inputs, check:nul-bytes, check:published-files, check:test-source-alias, check:type-check-coverage and the rest); the remaining 5 NOT MEASURED, reason: hand-over stopped the run. pnpm --dir ui exec vitest run scripts/ NOT MEASURED (queued under the lock at hand-over). --ran reconciliation not run. CI check-runs: not read, in_progress at report time. overlap-check exit 0 (VERDICT clean).",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls via fleet-write run 44993934069, created #36342); post-stamped os-dev-report comment on #36011. git push not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — os-verify-lock.sh: twice a waiter whose 540s budget ran out while at the head of the queue lost its slot; the next call with the same OS_VERIFY_LOCK_SLOT printed no 'resumed slot' and queued at the back (logs in this session's scratchpad); tooling, no public door"
],
"deviations": "Commit trailers are model-free (Co-authored-by: Claude) per AGENTS.md, against the harness reminder's model-named trailer. A second staggered lock waiter (pid 4077, step-3) could not be killed (kill denied by the permission classifier); its script exits at once when it acquires. Clause-② measured as yes (widening): new exported adapter method, new ViewTabItem field and dialog prop; the claim's line said no (expected).",
"line_budget": "n/a",
"net_added_lines": "+837/-5 vs merge base 99fbaa6d1 (22 files)",
"files_changed": 22
}
Handover to repo:objectstack#7 · 2026-11-22T06:51Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-36011-restore-factory-view@767c872b6600b0cb55508b8207e46a21bb1d073f
Claim: PM loop · area f7-list
Session: session_01QsR2jUc3qp6bHKSWijbjds
Account: zhuangjianguo
Branch: claude/issue-36011-restore-factory-view
Worktree: objectstack-issue-36011
Domain: domain:ui
Seat: repo:objectstack#7
Area: f7-list
File surface: Manage views restore of a read-only package's customized view (ui/packages/app-shell/src/views/, the data adapter method, i18n keys), tests, a changeset (as the released claim declared; stop on breach; explain in the report)
Container & model: S, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate on ui/**), effort: medium (finish-up of a done head: measurements, body lines, review)
Clause-②: yes (widening) — measured by the previous dev: a new exported adapter method, a new ViewTabItem field and a dialog prop (report 7075365451)
Metadata-protocol: none
Responsibility: objectstack ui/packages/app-shell Manage views | none | admins of a read-only package's customized view, who today cannot return it to the factory version
Thread-read: 7075571521
Premise: holds — seat 4's dev report on this card reads done at the handed head; CI on the head: all check-runs success or skipped (read 2026-11-22 by this area).
Pre-claim lane: repo:objectstack seat 7 area f7-list (ui/packages/**); handed by seat 4 (mailbox #36199 comment 7075457123).
Pre-claim deps: none open.
Prior rulings read: card thread — triage + seat 4's claim and dev report only; no ruling comment.
Fold-or-serial: not folded (handed PR, own branch); overlap-check on the branch: VERDICT clean.
Serial constraints cleared: overlap-check clean against origin/main and every open PR head sharing a file
Resume-from: claude/issue-36011-restore-factory-view@767c872b6600b0cb55508b8207e46a21bb1d073f
Activity
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · after pinning, renaming or re-defaulting a factory view of a read-only package (kept by the maintainer's amended ruling 7058654416), the list page offers a way back to the factory version; today the admin must find the customization in Studio, and the copy stays frozen at its package version; split from #35974, topic #35547 → p2 · size M.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oY5WCqqqBMtn9qt7m
Claim: PM loop · area a4-F · 2026-11-22T03:29Z
Session:
session_01FEkQ5oY5WCqqqBMtn9qt7mAccount:
os-project-managerBranch:
claude/issue-36011-restore-factory-viewWorktree:
objectstack-issue-36011Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-F
File surface: Manage views in
ui/packages/app-shell/src/views/(the manage-views dialog / view CRUD), the client call that removes one view override from a package's.custompair inui/packages/data-objectstack/src/(only if an existing server door already removes it), i18n keys, tests, a changeset. ⛔ No server orpackages/specchange: if removing one override needs one, stop and report the fork (stop on breach; explain in the report)Container & model:
M,mode:subagent,model: opus(default tier;dispatch-gates --tier: no path-derived mandate onui/**),effort: high(seat area order a4-F)Clause-②: no (expected; new i18n keys or a new adapter method would read
yes (widening): measured by the dev on the built declarations, and this line is amended then)Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7058829659
Premise: by code reading at origin/main a5a5312:
updateViewinui/packages/data-objectstack/src/index.tswrites the whole view into the package's customization home; no "restore" / remove-override call exists underui/packages/data-objectstack/srcorapp-shell/src(grepresetView|restoreFactory|removeOverride→ 0). Whether the server already offers a door that deletes one override is the dev's first measurement.Pre-claim lane: repo:objectstack whole-repo lane;
ui/packages/**(domain:ui); a4-F Next list (seat 03:28Z).Prior rulings read: maintainer's amended ruling 7058654416 on #35974 (Manage views keeps pin, set default and rename on views a read-only package ships); ADR-0146 D2/D3/D11 (the customization pair, uninstall block) named by the card — the dev reads them; any reading that changes visible behaviour beyond the card stops and goes to the seat.
Pre-claim deps: none.
Fold-or-serial: not folded; app-shell views shared with #36244 (this area, app-shell context, different files);
overlap-checkbefore each push.Serial constraints cleared: none blocking at origin/main a5a5312
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oY5WCqqqBMtn9qt7m
os-dev-report
{ "issue": 36011, "status": "done", "branch": "claude/issue-36011-restore-factory-view", "pr": "https://github.com/objectstack-ai/objectstack/pull/36342", "session": "session_01FEkQ5oY5WCqqqBMtn9qt7m", "premise_still_valid": true, "summary": "Last pushed sha 767c872b; state: done, handed over per the maintainer's hand-over call with CI not awaited. Manage views marks a read-only package's view that its .custom pair overrides as customized and offers Restore factory version: one confirm (every user sees the factory version again), then ObjectStackAdapter.restoreFactoryView deletes the pair's draft and row through the existing door DELETE /meta/view/NAME?package=PAIR (the door Studio's Restore package original uses), and the list re-reads. No server/spec change was needed (measured). The pair stays after the last override is removed (ensure answers created:false), so it keeps blocking uninstall; no package deletion added. The restore is gated server-side on manage_metadata (403 FORBIDDEN otherwise), the same capability the pin's write needs; Manage views itself is admin-gated as for pin.", "tests": "New: plugin-view ManageViewsDialog.restoreFactory-36011, data-objectstack restoreFactoryView-36011, app-shell ObjectView.restoreFactoryView-36011 (pin then restore, confirm text under real en I18nProvider, cancel, refused restore). At 767c872b (after merging origin/main 99fbaa6d): targeted UI run Test Files 72 passed / Tests 799 passed; i18n package 105 files / 1962 passed. type-check exit 0: plugin-view, data-objectstack (767c872b), i18n (446de0ec), app-shell (446de0ec, not re-run after merge). Ablations via scripts/ablation-replace.mjs at f35f7f31 (ui vitest aliases @object-ui to src, no dist leg): restore entry dropped, customized verdict false, listViews overrides copy dropped, nothing-removed guard off, not-an-override guard off: each exit 1 with named pins red, each restored with git diff HEAD empty. Server measurement: scratch runtime test (deleted, never committed) on real engine+SQL+HttpDispatcher+RestServer, both topologies.", "gates": "Local derived list (dispatch-gates --commands --repo objectstack-ai/objectstack at 767c872b, 42 commands + check:i18n-stale-fill): 38 read at hand-over, all exit 0 (check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-sdui-manifest, check:adr-anchors, check:cross-package-test-inputs, check:nul-bytes, check:published-files, check:test-source-alias, check:type-check-coverage and the rest); the remaining 5 NOT MEASURED, reason: hand-over stopped the run. pnpm --dir ui exec vitest run scripts/ NOT MEASURED (queued under the lock at hand-over). --ran reconciliation not run. CI check-runs: not read, in_progress at report time. overlap-check exit 0 (VERDICT clean).", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls via fleet-write run 44993934069, created #36342); post-stamped os-dev-report comment on #36011. git push not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — os-verify-lock.sh: twice a waiter whose 540s budget ran out while at the head of the queue lost its slot; the next call with the same OS_VERIFY_LOCK_SLOT printed no 'resumed slot' and queued at the back (logs in this session's scratchpad); tooling, no public door" ], "deviations": "Commit trailers are model-free (Co-authored-by: Claude) per AGENTS.md, against the harness reminder's model-named trailer. A second staggered lock waiter (pid 4077, step-3) could not be killed (kill denied by the permission classifier); its script exits at once when it acquires. Clause-② measured as yes (widening): new exported adapter method, new ViewTabItem field and dialog prop; the claim's line said no (expected).", "line_budget": "n/a", "net_added_lines": "+837/-5 vs merge base 99fbaa6d1 (22 files)", "files_changed": 22 }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv
Handover to repo:objectstack#7 · 2026-11-22T06:51Z
Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
Resume-from: claude/issue-36011-restore-factory-view@767c872b6600b0cb55508b8207e46a21bb1d073f
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jUc3qp6bHKSWijbjds
Claim: PM loop · area f7-list
Session:
session_01QsR2jUc3qp6bHKSWijbjdsAccount:
zhuangjianguoBranch:
claude/issue-36011-restore-factory-viewWorktree:
objectstack-issue-36011Domain:
domain:uiSeat:
repo:objectstack#7Area: f7-list
File surface: Manage views restore of a read-only package's customized view (
ui/packages/app-shell/src/views/, the data adapter method, i18n keys), tests, a changeset (as the released claim declared; stop on breach; explain in the report)Container & model:
S,mode:subagent,model: opus(default tier;dispatch-gates --tier: no path-derived mandate onui/**),effort: medium(finish-up of a done head: measurements, body lines, review)Clause-②: yes (widening) — measured by the previous dev: a new exported adapter method, a new
ViewTabItemfield and a dialog prop (report 7075365451)Metadata-protocol: none
Responsibility: objectstack
ui/packages/app-shellManage views | none | admins of a read-only package's customized view, who today cannot return it to the factory versionThread-read: 7075571521
Premise: holds — seat 4's dev report on this card reads done at the handed head; CI on the head: all check-runs success or skipped (read 2026-11-22 by this area).
Pre-claim lane: repo:objectstack seat 7 area f7-list (
ui/packages/**); handed by seat 4 (mailbox #36199 comment 7075457123).Pre-claim deps: none open.
Prior rulings read: card thread — triage + seat 4's claim and dev report only; no ruling comment.
Fold-or-serial: not folded (handed PR, own branch); overlap-check on the branch: VERDICT clean.
Serial constraints cleared: overlap-check clean against origin/main and every open PR head sharing a file
Resume-from:
claude/issue-36011-restore-factory-view@767c872b6600b0cb55508b8207e46a21bb1d073ffeat(console): Manage views restores the factory version of a customi…
feat(console): the ⌘K palette previews the selected record, creates a…