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
在 Mac 上构建后点「编辑应用」整页白屏、类型检查失败:DesignModeMenu.tsx 和 designModeMenu.ts 两个文件名只差大小写 #36589
构建报错:@object-ui/app-shell 的 build 失败,designModeMenuSave.ts(54,44): error TS1149: File name '…/designModeMenu.ts' differs from already included file name '…/DesignModeMenu.ts' only in casing,以及 UnifiedSidebar.tsx(102,…) 的 TS2322、TS1261。整个仓库 119 个构建任务里只有这一个失败。
运行时白屏:控制台用这份源码打包后,在任意页面点页头的「编辑应用」,整页变白,控制台报 Uncaught TypeError: Cannot convert object to primitive value(React 在报原始错误时自己又抛了一次)。
Triage: lands in domain:ui (app-shell/src/layout) · pm:queue; rationale: area:ux · Bug · two layout files differ only by letter case, so a build on a case-insensitive filesystem (macOS) fails and design mode white-screens. Developers on macOS cannot build, and design mode is broken for them. A defect of #36363 the coordinator filed on the maintainer's 「立卡通知 2号」 → p1 as set · size XS. Topic #36359.
Claim: PM loop · area s2-B · 2026-11-23T01:18Z · routed to s2-B by the seat 2026-11-23T01:17Z ahead of the area queue (p1; maintainer 「立卡通知 2号」 on the card); third dev slot granted by the seat for the two p1 cards
Session: session_01ADHkmRB34k9WUWeGpRnVNm
Account: os-steve
Branch: claude/issue-36589-design-menu-casing
Worktree: objectstack-issue-36589
Domain: domain:ui
Seat: repo:objectstack#2
Area: s2-B
File surface: ui/packages/app-shell/src/layout/designModeMenu.ts renamed (e.g. designModeMenuModel.ts) and every import of it (designModeMenuSave.ts, DesignModeMenu.tsx, tests), the test pair __tests__/designModeMenu-36363.test.ts renamed to match, a changeset. Other case-only pairs found by the repo scan are listed in the PR; renaming them outside ui/packages/app-shell/src/layout/ stops and reports. The guard: only by strengthening an existing gate that already reads file names; a new gate is not added on this card (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier at c0eecb1f80: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: #36363's merge (PR #36437) in objectstack ui/** | none — CI builds on Linux, which never sees the collision | every developer building on macOS (or another case-insensitive filesystem); design mode white-screens there
Thread-read: 7089032926
Premise: holds — read at origin/main c0eecb1: ui/packages/app-shell/src/layout/ holds both DesignModeMenu.tsx and designModeMenu.ts; the macOS build failure itself is the coordinator's measurement, not re-measured here (Linux container).
Pre-claim lane: repo:objectstack whole-repo lane, area s2-B (seat 2 area order 2026-11-22); paths ui/** (domain:ui).
Pre-claim deps: none; no Blocked-by: line.
Prior rulings read: casing,case-insensitive,filename,design-mode → 1 ADR hit (ADR-0061 D3, record search, unrelated); AGENTS.md 2; thread: none.
Fold-or-serial: not folded with #36591 (same directory, different defect: order on save); serial — this lands first, #36591 branches after it or merges it.
Serial constraints cleared: no open PR touches the layout/designMode* files at 2026-11-23T01:18Z (open-PR file read); the seat sequences the #36364 card thread (design-mode menu save) after this card.
On the card's "add a check" item: it is the coordinator's own addition (card section 「协调席自己加的」), not the maintainer's words, and a new gate needs the maintainer to name it. So this card strengthens an existing file-name gate if one exists, or records the gap in the PR's Acceptance notes.
{
"issue": 36589,
"status": "done",
"branch": "claude/issue-36589-design-menu-casing",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36604",
"session": "session_01ADHkmRB34k9WUWeGpRnVNm",
"premise_still_valid": true,
"summary": "The helper module ui/packages/app-shell/src/layout/designModeMenu.ts is now designModeMenuModel.ts, and its test __tests__/designModeMenu-36363.test.ts is now designModeMenuModel-36363.test.ts. Both moves used git mv at 100% similarity. Four importers changed one line each: DesignModeMenu.tsx, designModeMenuSave.ts and the two tests. The changeset is .changeset/36589-design-menu-casing.md (@object-ui/app-shell patch). A scan of all 27245 tracked files found exactly two case-only module-name pairs on origin/main c0eecb1f80, both on this card in layout/ and layout/__tests__, and none at head d097435bd1. Nothing outside layout/ was found, so nothing outside it was renamed. No existing gate reads file names for this question, so no gate was added; the gap is in the PR's Acceptance notes. The card's assignee was already os-steve and I did not write it.",
"tests": "head d097435bd1. Closure build under the lock: turbo run build --filter=@object-ui/app-shell^... --concurrency=2 gave Tasks 68 successful, 68 total, VERDICT command-exit 0. Under the lock: pnpm --filter @object-ui/app-shell run type-check (tsconfig.json + tsconfig.test.json), then run build (tsc + check-dist-completeness), then vitest on designModeMenuModel-36363.test.ts, designModeMenuSave-36363.test.ts and DesignModeMenu-36363.test.tsx: Test Files 3 passed (3), Tests 62 passed (62), VERDICT command-exit 0. dist/layout holds DesignModeMenu.js and designModeMenuModel.js and no designModeMenu.js. macOS build and the Edit-app white screen: NOT MEASURED, reason: Linux container on a case-sensitive file system. Substitute reading: TypeScript resolveModuleName (bundler resolution) from UnifiedSidebar.tsx with a case-insensitive fileExists host, run against each git tree. On c0eecb1f80, ./DesignModeMenu.js resolves to layout/DesignModeMenu.ts, which opens layout/designModeMenu.ts; this is the positive control and matches the card's TS1149. On d097435bd1, ./DesignModeMenu.js resolves to layout/DesignModeMenu.tsx and ./designModeMenuModel.js to the helper. The whole-tree scan (A full name, B module name, C file vs directory) reads 0/2/0 on main and 0/0/0 at head. No ablation: the diff is a rename and changes no behaviour. The whole app-shell suite was not run locally (declared narrowing) and Test UI in CI runs it.",
"gates": "Local set at d097435bd1: dispatch-gates --commands --repo objectstack-ai/objectstack derived 38 commands. Each ran with stdin from /dev/null, exit captured before any pipe: 38 x exit 0, recorded in /mnt/project-files/objectstack-seat2/36589-gates-ran.txt. dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. pnpm --dir ui exec vitest run scripts/: the first run was OOM-killed by the memory cgroup (dmesg: node at about 10.8 GB anon-rss), so it is not a verdict. The re-run under the lock with --maxWorkers=2 and a 4 GB heap gave Test Files 172 passed and 2 skipped (174), Tests 5127 passed and 2 skipped (5129), command-exit 0. overlap-check --repo objectstack-ai/objectstack: VERDICT clean exit 0. check-platform-checklist was not run because no exported symbol was renamed or removed (the module is not in app-shell's exports). CI on the PR head at report time: Lint, Type Check, Check Changeset, PR-body guards and Governed Surface Queue Guard in_progress; Check PR Size queued; none concluded.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2: fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, which the relay ran as POST /pulls with draft forced and POST /issues/36604/assignees [os-steve]; read-back identical, 6628 bytes) and post-stamped comment on #36589 (POST /issues/36589/comments). Plus 2 git pushes (empty branch probe, then d097435bd1), which are not REST writes.",
"open_questions": [
{ "question": "The helper module is named designModeMenuModel.ts, the card's own example. Keep it?", "options": ["A keep designModeMenuModel.ts", "B another name such as designModeMenuTree.ts"], "recommendation": "A: it is the card's example, it does not collide with any name in layout/, and #36591 can branch on it now" },
{ "question": "No existing gate reads tracked file names, so nothing on Linux CI keeps a case-only pair out. File a card for a new gate (needs the maintainer to name it)?", "options": ["A seat files a card asking the maintainer for a new gate", "B leave the gap recorded in the PR Acceptance notes only"], "recommendation": "A: the defect is invisible to CI by construction (TypeScript only reports TS1149 on a case-insensitive host), and the one-off scan used here is a ready starting point" }
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: repo:objectstack#2 seat · noted, not filed: no gate catches two entries in one directory that differ only in letter case (full name or module name), so CI on Linux stays green while macOS builds fail. Recorded in PR #36604 Acceptance notes. Dedupe words: case-insensitive, filename casing, TS1149, case-only pair, macOS build",
"carrier: none · noted, not filed: pnpm --dir ui exec vitest run scripts/ with default workers was OOM-killed at about 10.8 GB RSS in this shared container, and it passes with --maxWorkers=2. This is a resource observation, not a defect."
]
}
Activity
objectstack-fleet commentedon Nov 23, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
通知记录 · 2026-11-23T01:15Z
维护者 2026-11-23:「立卡通知 2号」。本卡按此通知席位
repo:objectstack#2,随后在它的信箱 #34479 里发一条。objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(app-shell/src/layout) ·pm:queue; rationale: area:ux · Bug · two layout files differ only by letter case, so a build on a case-insensitive filesystem (macOS) fails and design mode white-screens. Developers on macOS cannot build, and design mode is broken for them. A defect of #36363 the coordinator filed on the maintainer's 「立卡通知 2号」 → p1 as set · size XS. Topic #36359.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRB34k9WUWeGpRnVNm
Claim: PM loop · area s2-B · 2026-11-23T01:18Z · routed to s2-B by the seat 2026-11-23T01:17Z ahead of the area queue (p1; maintainer 「立卡通知 2号」 on the card); third dev slot granted by the seat for the two p1 cards
Session:
session_01ADHkmRB34k9WUWeGpRnVNmAccount:
os-steveBranch:
claude/issue-36589-design-menu-casingWorktree:
objectstack-issue-36589Domain:
domain:uiSeat:
repo:objectstack#2Area: s2-B
File surface:
ui/packages/app-shell/src/layout/designModeMenu.tsrenamed (e.g.designModeMenuModel.ts) and every import of it (designModeMenuSave.ts,DesignModeMenu.tsx, tests), the test pair__tests__/designModeMenu-36363.test.tsrenamed to match, a changeset. Other case-only pairs found by the repo scan are listed in the PR; renaming them outsideui/packages/app-shell/src/layout/stops and reports. The guard: only by strengthening an existing gate that already reads file names; a new gate is not added on this card (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default tier (dispatch-gates --tier at c0eecb1f80: no path-derived mandate),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: #36363's merge (PR #36437) in objectstack
ui/**| none — CI builds on Linux, which never sees the collision | every developer building on macOS (or another case-insensitive filesystem); design mode white-screens thereThread-read: 7089032926
Premise: holds — read at origin/main c0eecb1:
ui/packages/app-shell/src/layout/holds bothDesignModeMenu.tsxanddesignModeMenu.ts; the macOS build failure itself is the coordinator's measurement, not re-measured here (Linux container).Pre-claim lane: repo:objectstack whole-repo lane, area s2-B (seat 2 area order 2026-11-22); paths
ui/**(domain:ui).Pre-claim deps: none; no
Blocked-by:line.Prior rulings read: casing,case-insensitive,filename,design-mode → 1 ADR hit (ADR-0061 D3, record search, unrelated); AGENTS.md 2; thread: none.
Fold-or-serial: not folded with #36591 (same directory, different defect: order on save); serial — this lands first, #36591 branches after it or merges it.
Serial constraints cleared: no open PR touches the
layout/designMode*files at 2026-11-23T01:18Z (open-PR file read); the seat sequences the #36364 card thread (design-mode menu save) after this card.On the card's "add a check" item: it is the coordinator's own addition (card section 「协调席自己加的」), not the maintainer's words, and a new gate needs the maintainer to name it. So this card strengthens an existing file-name gate if one exists, or records the gap in the PR's Acceptance notes.
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRB34k9WUWeGpRnVNm
os-dev-report
{ "issue": 36589, "status": "done", "branch": "claude/issue-36589-design-menu-casing", "pr": "https://github.com/objectstack-ai/objectstack/pull/36604", "session": "session_01ADHkmRB34k9WUWeGpRnVNm", "premise_still_valid": true, "summary": "The helper module ui/packages/app-shell/src/layout/designModeMenu.ts is now designModeMenuModel.ts, and its test __tests__/designModeMenu-36363.test.ts is now designModeMenuModel-36363.test.ts. Both moves used git mv at 100% similarity. Four importers changed one line each: DesignModeMenu.tsx, designModeMenuSave.ts and the two tests. The changeset is .changeset/36589-design-menu-casing.md (@object-ui/app-shell patch). A scan of all 27245 tracked files found exactly two case-only module-name pairs on origin/main c0eecb1f80, both on this card in layout/ and layout/__tests__, and none at head d097435bd1. Nothing outside layout/ was found, so nothing outside it was renamed. No existing gate reads file names for this question, so no gate was added; the gap is in the PR's Acceptance notes. The card's assignee was already os-steve and I did not write it.", "tests": "head d097435bd1. Closure build under the lock: turbo run build --filter=@object-ui/app-shell^... --concurrency=2 gave Tasks 68 successful, 68 total, VERDICT command-exit 0. Under the lock: pnpm --filter @object-ui/app-shell run type-check (tsconfig.json + tsconfig.test.json), then run build (tsc + check-dist-completeness), then vitest on designModeMenuModel-36363.test.ts, designModeMenuSave-36363.test.ts and DesignModeMenu-36363.test.tsx: Test Files 3 passed (3), Tests 62 passed (62), VERDICT command-exit 0. dist/layout holds DesignModeMenu.js and designModeMenuModel.js and no designModeMenu.js. macOS build and the Edit-app white screen: NOT MEASURED, reason: Linux container on a case-sensitive file system. Substitute reading: TypeScript resolveModuleName (bundler resolution) from UnifiedSidebar.tsx with a case-insensitive fileExists host, run against each git tree. On c0eecb1f80, ./DesignModeMenu.js resolves to layout/DesignModeMenu.ts, which opens layout/designModeMenu.ts; this is the positive control and matches the card's TS1149. On d097435bd1, ./DesignModeMenu.js resolves to layout/DesignModeMenu.tsx and ./designModeMenuModel.js to the helper. The whole-tree scan (A full name, B module name, C file vs directory) reads 0/2/0 on main and 0/0/0 at head. No ablation: the diff is a rename and changes no behaviour. The whole app-shell suite was not run locally (declared narrowing) and Test UI in CI runs it.", "gates": "Local set at d097435bd1: dispatch-gates --commands --repo objectstack-ai/objectstack derived 38 commands. Each ran with stdin from /dev/null, exit captured before any pipe: 38 x exit 0, recorded in /mnt/project-files/objectstack-seat2/36589-gates-ran.txt. dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. pnpm --dir ui exec vitest run scripts/: the first run was OOM-killed by the memory cgroup (dmesg: node at about 10.8 GB anon-rss), so it is not a verdict. The re-run under the lock with --maxWorkers=2 and a 4 GB heap gave Test Files 172 passed and 2 skipped (174), Tests 5127 passed and 2 skipped (5129), command-exit 0. overlap-check --repo objectstack-ai/objectstack: VERDICT clean exit 0. check-platform-checklist was not run because no exported symbol was renamed or removed (the module is not in app-shell's exports). CI on the PR head at report time: Lint, Type Check, Check Changeset, PR-body guards and Governed Surface Queue Guard in_progress; Check PR Size queued; none concluded.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2: fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, which the relay ran as POST /pulls with draft forced and POST /issues/36604/assignees [os-steve]; read-back identical, 6628 bytes) and post-stamped comment on #36589 (POST /issues/36589/comments). Plus 2 git pushes (empty branch probe, then d097435bd1), which are not REST writes.", "open_questions": [ { "question": "The helper module is named designModeMenuModel.ts, the card's own example. Keep it?", "options": ["A keep designModeMenuModel.ts", "B another name such as designModeMenuTree.ts"], "recommendation": "A: it is the card's example, it does not collide with any name in layout/, and #36591 can branch on it now" }, { "question": "No existing gate reads tracked file names, so nothing on Linux CI keeps a case-only pair out. File a card for a new gate (needs the maintainer to name it)?", "options": ["A seat files a card asking the maintainer for a new gate", "B leave the gap recorded in the PR Acceptance notes only"], "recommendation": "A: the defect is invisible to CI by construction (TypeScript only reports TS1149 on a case-insensitive host), and the one-off scan used here is a ready starting point" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: repo:objectstack#2 seat · noted, not filed: no gate catches two entries in one directory that differ only in letter case (full name or module name), so CI on Linux stays green while macOS builds fail. Recorded in PR #36604 Acceptance notes. Dedupe words: case-insensitive, filename casing, TS1149, case-only pair, macOS build", "carrier: none · noted, not filed: pnpm --dir ui exec vitest run scripts/ with default workers was OOM-killed at about 10.8 GB RSS in this shared container, and it passes with --maxWorkers=2. This is a resource observation, not a defect." ] }fix(app-shell): rename designModeMenu.ts so no layout file differs fr…