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
console: an app whose navigation holds only doc entries lands on a blank page, with no empty state #29678
area:studioChanging a running app without code — authoring, publish, docs and the portalbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Filing gate: ① a measured break. Filed on the maintainer's word in direct chat with the epic PM seat, 2026-11-03: 「发记录并立卡」. ⛔ Not a claim.
QA-source: #29672 · studio-authoring.doc-on-app-menu · off-clause
Reader: domain:ui (the app landing).
Dedupe: doc only app blank. New.
type: Bug
Runner reading on main at 3482f3d8d2, isolated too, not re-derived by the PM seat. PUT an app whose navigation has only type: doc entries, publish, open /_console/apps/PKG: main is empty, with no redirect and no empty state, for admin, reader and outsider. An app with an object entry redirects, and an outsider elsewhere is shown an explanatory empty state.
Wanted: the landing opens the first doc, or draws the same empty state.
Claim: PM loop round 30 · 2026-11-03T02:06Z
Session: session_01QsR2jRL46SawdHef859orD (card thread, os-dev); dispatched by seat session session_01QsR2jV4dWohojjbTJTQq5m
Account: zhuangjianguo
Branch: claude/project-thread-0a0fzu (platform-assigned to the card thread; it can push only this branch)
Worktree: objectstack-issue-29678
Domain: domain:ui
Seat: domain:ui#3
File surface: ui/packages/app-shell/src/console/AppContent.tsx (AppRootLanding's no-landing fallback, ~L1966–1973, and resolveLandingRoute / findFirstRoute only if the card thread rules that a doc entry lands), new test file(s) under ui/packages/app-shell/src/console/__tests__/, console i18n locale files only if a new string is needed, and one changeset with patches for the touched packages. The exact files and the doc-vs-empty-state choice are named in the thread before the first edit (stop on breach; explain in the report).
Container & model: S, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: open — recorded at review
Thread-read: none
Premise: holds as read at main: findFirstRoute never lands on a doc entry (objectui#11197), and AppRootLanding then returns null for a shown navigation with no landing. The QA runner (#29672) measured the blank page for admin, reader and outsider.
Serial constraints cleared: none in flight on AppRootLanding. Seat 2's #29552 leg 1 and #29681 work in appObjectScope.ts, not this fallback; the card thread checks open PRs on AppContent.tsx before the first edit.
Claim amended · 2026-11-03T02:09Z · first amendment, on the os-dev's pre-edit decision. This adds to claim 6593568853; session, branch and seat are unchanged.
Clause-②: no
Metadata-protocol: none
Decision recorded: a doc-only app lands on its first shown doc entry, as a last resort after the declared landing and the first object / page / dashboard / report / component entry. A doc entry has an in-app route (/apps/SEG/docs/BOOK[/DOC], via buildItemRoute), and Console: an app opens on the first landing entry whose visible predicate holds #28450 already lands on a doc named by a declared landing. A mixed app with a doc first still lands on its first non-doc entry. Apps with only url / action entries, and apps whose entries live only under areas, keep today's null; the os-dev files that as a finding.
File surface widened by the designer's mirror:ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.tsx (findFirstLanding, which mirrors findFirstRoute) gets the same last resort, so the app designer's preview names the landing the runtime opens. Plus one case in AppPreview.docEntry-11197.test.tsx. Nothing else in either file changes.
{
"issue": 29678,
"status": "done",
"branch": "claude/project-thread-0a0fzu",
"pr": "https://github.com/objectstack-ai/objectstack/pull/29769",
"session": "session_01QsR2jRL46SawdHef859orD",
"premise_still_valid": true,
"head": "e5ff1941",
"summary": "AppRootLanding's fallback now opens the first doc entry the member is shown when no object/page/dashboard/report/component entry lands (resolveLandingRoute: declared landing, else first working entry, else first doc; findFirstRoute takes the entry-type set). A doc entry's route is resolveHref's in-app docs portal, which the console host mounts. Docs are a last resort, so an app whose first entry is a doc still opens on its first working entry. AppPreview's findFirstLanding mirrors it (amendment 6593605696). The return-null branch now covers only url/action-only and areas-only apps.",
"files_changed": [
".changeset/29678-doc-only-app-landing.md",
"ui/packages/app-shell/src/console/AppContent.tsx",
"ui/packages/app-shell/src/console/__tests__/AppContent.docOnlyLanding-29678.test.tsx",
"ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.docEntry-11197.test.tsx",
"ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.tsx"
],
"line_budget": "5 files, 436 changed lines (+405/-31) vs merge base (dispatch-gates count 431 at d8352d2f); under the 3000 human-merge threshold",
"tests": "New AppContent.docOnlyLanding-29678 7/7 (doc-only lands on first doc; doc in a group behind a url; CONTROL doc-first-then-object lands on object; CONTROL object app redirects; CONTROL no navigation keeps AppNoAccessEmptyState; CONTROL pending bound entry ahead of doc holds the skeleton then lands on it; the same read failing lands on the doc). AppPreview.docEntry-11197 4/4 (one new case). Ablations via scripts/ablation-replace.mjs (anchor 1->0, blob changed, restored blob == HEAD, git diff HEAD empty; tests import AppContent/AppPreview by relative path, no dist leg): drop doc fallback -> 3 failed/4 passed; drop preview doc pass -> 1 failed/3 passed. Sweep: 59 ui test files importing AppContent or AppPreview, 2 locked batches at 2 workers: at d8352d2f 30/30 201 + 29/29 334; at e5ff1941 (after merging main) 31/31 202 + 28/28 333. app-shell type-check 0 at both heads; eslint touched files 0 errors. Live: showcase --fresh + Vite console on branch source, package com.qa.r29678; doc-only app r29678_help: before (AppContent.tsx from origin/main) empty main at /apps/com.qa.r29678 for admin, auditor.demo, phone.demo; after all three land on /apps/com.qa.r29678/docs/com.qa.r29678/r29678_guide. Control r29678_ctrl -> /apps/r29678_ctrl/showcase_task both legs. r29678_locked_app (book gated to an unheld permission set): server drops the entry, AppNoAccessEmptyState both legs for all three. Shots + JSON: /mnt/project-files/issue-29678/shots/.",
"gates": "dispatch-gates --commands derived 35: all 35 run exit 0 at d8352d2f and again at e5ff1941; --ran: 35 run, 0 NOT-MEASURED, 0 UNRUN both times (vitest run scripts/ 170 files 4977 tests under the lock). --tier: no path-derived mandate. PR body gates: changeset-no-major 0, adr-0087-registration 0, closing-keyword-parity 0, partof-closing-keyword 0. CI check-runs: in_progress at report time.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"deviations": [
"File surface amended by the seat before the edit (6593605696): AppPreview.tsx findFirstLanding + one case in AppPreview.docEntry-11197.test.tsx.",
"Sidebar doc-readability (useNavDocTargetCheck) not used by the landing: a lazy doc/book list read that answers undefined until loaded, so it is not available without a new wait; measured live that an unreadable doc entry is dropped by the server before the landing sees it.",
"main moved after the e5ff1941 merge (to 6f094645) with no commit touching the five files; not re-merged."
],
"mcp_calls": "0 - GitHub reads went through gh api REST (issue, comments, open PR files); no MCP GitHub calls",
"api_writes": "2 - relay pr_create (objectstack#29769), post-stamped os-dev-report comment on #29678",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": [
"class: a · reach: /apps/r29678_urlonly (published app with one url entry) opens to an empty main for admin, auditor.demo and phone.demo on this head; the same return-null branch covers areas-only apps · evidence: AppRootLanding return null after appServesNoNavigation answers no; shots after-*-r29678_urlonly.png · dedupe: url only app blank, app root no landing, areas only app landing",
"carrier: seat · appServesNoNavigation.ts docblock still says the landing resolver never lands on a doc entry (outside this surface) · noted, not filed",
"carrier: seat · observed while setting up the measure: publishing a declared book (audience permissionSet nobody holds) whose pages listed r29678_guide made the r29678_guide doc entry vanish from r29678_help for admin, reader and outsider; repointing the book at another doc restored it. Not isolated against ADR-0046 effective-audience rules · noted, not filed"
]
}
PR #29769 merged at 2026-11-03T04:31Z as ea4dcf94. Fixes #29678 closed this card, and pm:dispatched is removed. The seat's ACCEPT is 6595284588.
Delivered: an app whose navigation holds only doc entries now opens on the first doc the member is shown, instead of an empty page. A mixed app still opens on its first working entry, and the app designer's preview names the same landing. The url/action-only and areas-only cases are carried by #29771. Nothing else is left on this card.
area:studioChanging a running app without code — authoring, publish, docs and the portalbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 3, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: first-touch audit · p2 kept ·
domain:uikept ·pm:queue· 2026-11-03T01:56Z⛔ Not a claim.
main, with no redirect and no empty state, for every role. p2 kept, from QA run QA run · studio-authoring-42-plus-2 (44/44) · 3482f3d8 · 2026-11-03 · 33 PASS / 3 PARTIAL / 7 FAIL / 1 BLOCKED / 0 NOT-RUN #29672.Generated by Claude Code
objectstack-fleet commentedon Nov 3, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jV4dWohojjbTJTQq5m
Claim: PM loop round 30 · 2026-11-03T02:06Z
Session:
session_01QsR2jRL46SawdHef859orD(card thread, os-dev); dispatched by seat sessionsession_01QsR2jV4dWohojjbTJTQq5mAccount:
zhuangjianguoBranch:
claude/project-thread-0a0fzu(platform-assigned to the card thread; it can push only this branch)Worktree:
objectstack-issue-29678Domain:
domain:uiSeat:
domain:ui#3File surface:
ui/packages/app-shell/src/console/AppContent.tsx(AppRootLanding's no-landing fallback, ~L1966–1973, andresolveLandingRoute/findFirstRouteonly if the card thread rules that a doc entry lands), new test file(s) underui/packages/app-shell/src/console/__tests__/, console i18n locale files only if a new string is needed, and one changeset with patches for the touched packages. The exact files and the doc-vs-empty-state choice are named in the thread before the first edit (stop on breach; explain in the report).Container & model: S,
mode:thread,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
open — recorded at reviewThread-read: none
Premise: holds as read at main:
findFirstRoutenever lands on adocentry (objectui#11197), andAppRootLandingthen returnsnullfor a shown navigation with no landing. The QA runner (#29672) measured the blank page for admin, reader and outsider.Serial constraints cleared: none in flight on
AppRootLanding. Seat 2's #29552 leg 1 and #29681 work inappObjectScope.ts, not this fallback; the card thread checks open PRs onAppContent.tsxbefore the first edit.objectstack-fleet commentedon Nov 3, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jV4dWohojjbTJTQq5m
Claim amended · 2026-11-03T02:09Z · first amendment, on the os-dev's pre-edit decision. This adds to claim 6593568853; session, branch and seat are unchanged.
Clause-②: no
Metadata-protocol: none
docentry, as a last resort after the declared landing and the firstobject/page/dashboard/report/componententry. A doc entry has an in-app route (/apps/SEG/docs/BOOK[/DOC], viabuildItemRoute), and Console: an app opens on the firstlandingentry whosevisiblepredicate holds #28450 already lands on a doc named by a declared landing. A mixed app with a doc first still lands on its first non-doc entry. Apps with onlyurl/actionentries, and apps whose entries live only underareas, keep today'snull; the os-dev files that as a finding.ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.tsx(findFirstLanding, which mirrorsfindFirstRoute) gets the same last resort, so the app designer's preview names the landing the runtime opens. Plus one case inAppPreview.docEntry-11197.test.tsx. Nothing else in either file changes.objectstack-fleet commentedon Nov 3, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jRL46SawdHef859orD
os-dev-report
{ "issue": 29678, "status": "done", "branch": "claude/project-thread-0a0fzu", "pr": "https://github.com/objectstack-ai/objectstack/pull/29769", "session": "session_01QsR2jRL46SawdHef859orD", "premise_still_valid": true, "head": "e5ff1941", "summary": "AppRootLanding's fallback now opens the first doc entry the member is shown when no object/page/dashboard/report/component entry lands (resolveLandingRoute: declared landing, else first working entry, else first doc; findFirstRoute takes the entry-type set). A doc entry's route is resolveHref's in-app docs portal, which the console host mounts. Docs are a last resort, so an app whose first entry is a doc still opens on its first working entry. AppPreview's findFirstLanding mirrors it (amendment 6593605696). The return-null branch now covers only url/action-only and areas-only apps.", "files_changed": [ ".changeset/29678-doc-only-app-landing.md", "ui/packages/app-shell/src/console/AppContent.tsx", "ui/packages/app-shell/src/console/__tests__/AppContent.docOnlyLanding-29678.test.tsx", "ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.docEntry-11197.test.tsx", "ui/packages/app-shell/src/views/metadata-admin/previews/AppPreview.tsx" ], "line_budget": "5 files, 436 changed lines (+405/-31) vs merge base (dispatch-gates count 431 at d8352d2f); under the 3000 human-merge threshold", "tests": "New AppContent.docOnlyLanding-29678 7/7 (doc-only lands on first doc; doc in a group behind a url; CONTROL doc-first-then-object lands on object; CONTROL object app redirects; CONTROL no navigation keeps AppNoAccessEmptyState; CONTROL pending bound entry ahead of doc holds the skeleton then lands on it; the same read failing lands on the doc). AppPreview.docEntry-11197 4/4 (one new case). Ablations via scripts/ablation-replace.mjs (anchor 1->0, blob changed, restored blob == HEAD, git diff HEAD empty; tests import AppContent/AppPreview by relative path, no dist leg): drop doc fallback -> 3 failed/4 passed; drop preview doc pass -> 1 failed/3 passed. Sweep: 59 ui test files importing AppContent or AppPreview, 2 locked batches at 2 workers: at d8352d2f 30/30 201 + 29/29 334; at e5ff1941 (after merging main) 31/31 202 + 28/28 333. app-shell type-check 0 at both heads; eslint touched files 0 errors. Live: showcase --fresh + Vite console on branch source, package com.qa.r29678; doc-only app r29678_help: before (AppContent.tsx from origin/main) empty main at /apps/com.qa.r29678 for admin, auditor.demo, phone.demo; after all three land on /apps/com.qa.r29678/docs/com.qa.r29678/r29678_guide. Control r29678_ctrl -> /apps/r29678_ctrl/showcase_task both legs. r29678_locked_app (book gated to an unheld permission set): server drops the entry, AppNoAccessEmptyState both legs for all three. Shots + JSON: /mnt/project-files/issue-29678/shots/.", "gates": "dispatch-gates --commands derived 35: all 35 run exit 0 at d8352d2f and again at e5ff1941; --ran: 35 run, 0 NOT-MEASURED, 0 UNRUN both times (vitest run scripts/ 170 files 4977 tests under the lock). --tier: no path-derived mandate. PR body gates: changeset-no-major 0, adr-0087-registration 0, closing-keyword-parity 0, partof-closing-keyword 0. CI check-runs: in_progress at report time.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "deviations": [ "File surface amended by the seat before the edit (6593605696): AppPreview.tsx findFirstLanding + one case in AppPreview.docEntry-11197.test.tsx.", "Sidebar doc-readability (useNavDocTargetCheck) not used by the landing: a lazy doc/book list read that answers undefined until loaded, so it is not available without a new wait; measured live that an unreadable doc entry is dropped by the server before the landing sees it.", "main moved after the e5ff1941 merge (to 6f094645) with no commit touching the five files; not re-merged." ], "mcp_calls": "0 - GitHub reads went through gh api REST (issue, comments, open PR files); no MCP GitHub calls", "api_writes": "2 - relay pr_create (objectstack#29769), post-stamped os-dev-report comment on #29678", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "class: a · reach: /apps/r29678_urlonly (published app with one url entry) opens to an empty main for admin, auditor.demo and phone.demo on this head; the same return-null branch covers areas-only apps · evidence: AppRootLanding return null after appServesNoNavigation answers no; shots after-*-r29678_urlonly.png · dedupe: url only app blank, app root no landing, areas only app landing", "carrier: seat · appServesNoNavigation.ts docblock still says the landing resolver never lands on a doc entry (outside this surface) · noted, not filed", "carrier: seat · observed while setting up the measure: publishing a declared book (audience permissionSet nobody holds) whose pages listed r29678_guide made the r29678_guide doc entry vanish from r29678_help for admin, reader and outsider; repointing the book at another doc restored it. Not isolated against ADR-0046 effective-audience rules · noted, not filed" ] }objectstack-fleet commentedon Nov 3, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jV4dWohojjbTJTQq5m
Landed · 2026-11-03T04:32Z
PR #29769 merged at 2026-11-03T04:31Z as
ea4dcf94.Fixes #29678closed this card, andpm:dispatchedis removed. The seat's ACCEPT is 6595284588.Delivered: an app whose navigation holds only
docentries now opens on the first doc the member is shown, instead of an empty page. A mixed app still opens on its first working entry, and the app designer's preview names the same landing. The url/action-only and areas-only cases are carried by #29771. Nothing else is left on this card.