Skip to content

首页(手机与「暂无应用」空状态)去掉「用 AI 搭建」和「搭建应用」两个入口 #37227

In progress

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

Part of #36107. This follows the maintainer's ruling on 「Build with AI」 (7153161067 on #36908, 「「用 AI 搭建」 应该去掉」). The maintainer extended it in seat repo:objectstack#4's session, verbatim: 「手机首页和「暂无应用」空页面上的「用 AI 搭建」和「搭建应用」: A,一并去掉。」

Context

From 768px up, the platform home page is retired (#36732). It renders only on a phone, or as the no-apps empty state (App.tsx HomeRoute). Two of its entries are covered by this card:

  • the 「Build with AI」 call-to-action, shown when a build agent is deployed (HomePage.tsx ~289-334);
  • the 「Build an app」 chip, which links to bare /studio.

What

  • Remove both entries from the home page, on the phone and in the desktop no-apps empty state.
  • Keep 「Start from a template」, and any other entry that is not one of these two.
  • Remove the now-unread i18n keys. They retire in 19.0.0 under 7153171432 / 7153326968. Declare them in this PR's changeset under 「Removed translation keys」, with Clause-②: yes (narrowing).

Done when

  • Neither entry renders in either state. The pins go red if either entry is restored.
  • The no-apps empty state still offers a way to start an app, through the template entry.

Size S.

Blocked-by: #37166

Activity

  1. added
    priority:p2
    pm:queue
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Claim: PM loop round 1
    Session: session_01QSeKYnagJvGbCtNg2PhvgW
    Account: os-justin
    Branch: claude/issue-37227-home-drop-build-entries
    Worktree: objectstack-issue-37227
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-C
    Epic: #36107 (part of; the seat's card, routed to this zone)
    File surface: ui/packages/app-shell/src/console/home/{HomePage.tsx,QuickActions.tsx} (the 「Build with AI」 call-to-action and the 「Build an app」 chip only), the home tests that pin them (HomePage.*.test.tsx, homeAffordancesFollowDeclaration-7256, landingHomeParity-7256), ui/packages/i18n/src/locales/*.ts (removing the now-unread keys), .changeset/* (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: yes (narrowing)
    Metadata-protocol: none
    Responsibility: platform UI code in objectstack (the phone home and the desktop no-apps empty state still offer 「Build with AI」 and 「Build an app」, which the maintainer ruled removed) | none | every phone user on the home page and every desktop user with no apps; reached today
    Thread-read: none
    Premise: holds
    Serial constraints cleared: Open PR #37166 (zone a4-S) edits ui/packages/app-shell/src/console/home/HomePage.tsx (the build chip's "New in Studio" target and its comment), HomePage.noAgentsBuildChip-26614.test.tsx and locales/en.ts. That is the same chip block this card trims. The "New in Studio" form is not one of the two entries named, so it stays. overlap-check before the first push decides; a textual conflict with #37166 is stop-and-report.

    Pre-claim lane: domain:ui — every path is under ui/**.
    Pre-claim deps: none.
    Prior rulings read: build with ai,build an app,homepage → 0 hits; none; thread: none; repo: objectstack-ai/objectstack. The governing rulings:

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37227,
      "status": "done",
      "branch": "claude/issue-37227-home-drop-build-entries",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37249",
      "session": "session_01QSeKYnagJvGbCtNg2PhvgW",
      "premise_still_valid": true,
      "summary": "Home draws neither entry now. The agent-present 「Build an app」 chip (to bare /studio) is gone from the greeting row. 「Build with AI」 is gone from HomeAiActions, which covers the greeting row and the phone zero-app welcome. In the desktop no-apps empty state, HomePage filters the build-with-ai entry out of the shared useAddAppEntries list; the sidebar 「Add app」 menu still offers it, and with a marketplace 「Start with a template」 is that state's first button. Per ruling 7153400210, the 「New in Studio」 chip is untouched (label, key home.build.inStudio, condition, target), and so are the lines #37166 edits. With the build agent deployed, the build-chip block now draws nothing: the row holds 「Start with a template」 alone until #37166 makes 「New in Studio」 always shown. 「Ask AI」 keeps its exact former gate (hidden for a maker the build agent serves). home.build.title is removed from all 11 locale packs: it shipped in 18.6.0 and has no reader now. home.buildWithAI stays, because the sidebar still reads it. The changeset (patch on app-shell and i18n) declares Clause-②: yes (narrowing), Metadata-protocol: none, a 「Removed translation keys」 section and an adr-0087 not-required (no-migration-prescription) marker.",
      "tests": "Head 940ec57fc; the final head 230a11df2 adds only the changeset. app-shell full suite plus App.homePermissions-12700, App.rootLandingReadsOnce-32633, perm-home-namespace-3546 and check-i18n-call-site-keys: Test Files 2444 passed | 1 skipped (2445), Tests 23345 passed | 9 skipped, VERDICT command-exit 0. i18n: Test Files 111 passed (111), Tests 2028 passed | 13 skipped. home dir: 42/42 files, 270/270 tests. type-check (pnpm --filter @object-ui/i18n --filter @object-ui/app-shell run type-check): both Done, VERDICT command-exit 0. Ablations via scripts/ablation-replace.mjs, each mutation checked on disk (anchor 1 to 0, blob changed) and each restore checked (blob == HEAD 6b5357123bf4, git diff HEAD empty); the tests import HomePage from src, so no dist sits on the path. (1) 「Build an app」 chip restored: 8 failed / 43 passed in 4 files. (2) 「Build with AI」 restored in HomeAiActions: 3 failed / 30 passed. (3) the no-apps build-with-ai filter deleted: desktopNoApps 1 failed / 5 passed. The first attempt of (1) was refused by the tool (the replacement contained the anchor), changed nothing and was restored; it was rerun with a different anchor.",
      "gates": "dispatch-gates --commands at 230a11df2: 41 families, all exit 0. --ran with exit codes: '41 run, 0 NOT-MEASURED (a DERIVED zero)'. vitest run scripts/ (ui) was SIGKILLed for memory beside the app-shell suite on the first pass; rerun exit 0, 172 files / 5130 tests. check:type-check-debt hit a lock queue-timeout (exit 3) on the first pass; rerun exit 0 with '0 raw tsc error(s)'. check:changeset-fixed exit 0, run beyond the derived set. overlap-check: VERDICT clean (origin/main, #37166, #37226, #37210, #37148). PR check-runs read once after opening: success for Lint & Repo Gates, Test Core, Governed Surface Queue Guard, Live E2E UI, Dogfood Regression Gate, Check Changeset, Type Check · workspace, Type Check · source gates, Type Check · debt ledger, Lint · ESLint and Lint · PM dispatch-gates; in_progress for Test UI 1-16/16, Type Check UI, Lint UI, Build & E2E UI and Type Check · consumer gates. Build Core skipped.",
      "dogfood_battery": "230a11df2 · os-verify-lock: VERDICT command-exit 0 · Test Files 487 passed | 3 skipped (490) · Tests 4128 passed | 68 skipped (4196) · no failures",
      "mcp_calls": "0",
      "api_writes": "3 relay strokes. (1) pr_create: POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/37249/assignees [os-justin]; read-back 7388 bytes identical. (2) os-dev-report comment: POST /repos/objectstack-ai/objectstack/issues/37227/comments through post-stamped.mjs. git push is not counted as a REST write.",
      "open_questions": [
        {
          "question": "Where aiStudio is on, no marketplace is mounted and the build agent is served, the desktop no-apps empty state now shows its title and description and no button. Before, 「Build with AI」 was its only button. The template entry needs a marketplace.",
          "options": [
            "A: accept it (the deployment has no template source, and the sidebar 「Add app」 menu still offers 「Build with AI」)",
            "B: offer 「New in Studio」 there too, which touches the useAddAppEntries / New in Studio surface that #37166 owns",
            "C: reword noAppsAddDescription for that case"
          ],
          "recommendation": "A for now, because #37166 makes 「New in Studio」 always shown, which closes the gap there without a second edit here."
        },
        {
          "question": "The phone zero-app admin welcome keeps 'Build your business system with AI' / home.welcomeAdminDescription ('Describe your business in one sentence — AI generates ...') where the build agent is deployed, but has no button under it now. 「Ask AI」 stays withheld for a maker, per the cloud#1674 convergence.",
          "options": [
            "A: keep the copy and the gate (the assistant drawer still serves the build agent)",
            "B: show 「Ask AI」 to makers too",
            "C: switch that branch to the NoBuild/NoAi copy"
          ],
          "recommendation": "A, because the ruling removed entries, not copy, and B would reopen a door that converges onto build. A copy follow-up is the seat's call."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the prose of homeAffordancesFollowDeclaration-7256, landingHomeParity-7256, homeRecoveryRedirectsFollowDeclaration-7373, useHomePath.test, homePath.test and workspaceAdminPositions-5389 still names 「Build an app」 as part of a past defect's description. It is historical, nothing asserts it, and it is left as is.",
        "deviations: overlap-check first ran after the first content push (95615b9f3), not before it. It answered VERDICT clean and was rerun clean before every later push. The empty-branch probe push came first, as os-dev rule 1 requires."
      ]
    }
  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
    os-dev-report

    {
      "issue": 37227,
      "status": "blocked",
      "branch": "claude/issue-37227-home-drop-build-entries",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37249",
      "session": "session_01QSeKYnagJvGbCtNg2PhvgW",
      "round": "rework (rulings 1A, 2C)",
      "summary": "The rework is done locally and NOT pushed: overlap-check exited 1 with a textual conflict with #37166 (its head 45e4a5eb5) in HomePage.desktopNoApps-36732.test.tsx. The conflict does not come from this round: the pushed head 230a11df2 conflicts with 45e4a5eb5 in the same file. #37166 now also removes the build-with-ai door from useAddAppEntries itself and rewrites the same docblock and the first test case that PR #37249 already edited. Per the serial rule, nothing was resolved by hand and nothing was pushed. The PR body is not updated, because it would describe commits that are not on the PR.",
      "local_commits": "22e09d193 (welcome copy: the no-apps title and the NoBuild/NoAi description where the build agent is deployed; home.welcomeAdminDescription retired from 11 packs; pins plus a no-agent control in phoneTapTargets-29147; authoringCapabilityGate updated), 7ed857943 (changeset: the copy change, and home.welcomeAdminDescription under Removed translation keys)",
      "tests": "home dir + packages/i18n + check-i18n-call-site-keys: Test Files 154 passed (154), Tests 2453 passed | 13 skipped, VERDICT command-exit 0. Ablation via ablation-replace.mjs: restoring the old description turns 3 pins red, and restoring the old title turns 3 pins red; the control stays green; each restore was checked (blob == HEAD a0bb41e2fd4d).",
      "gates": "type-check of i18n and app-shell exit 0. dispatch-gates: 41 derived families, all exit 0, plus check:changeset-fixed exit 0; --ran answered '41 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check: exit 1, conflicting with #37166 in HomePage.desktopNoApps-36732.test.tsx; clean against origin/main, #37226 and #37210.",
      "needs": "A seat decision on ordering: land #37166 first and rebase this branch (its desktopNoApps edit and the NoAppsAddActions filter then become redundant), or have #37166 drop its desktopNoApps hunk.",
      "mcp_calls": "0",
      "api_writes": "1 — this comment",
      "security_findings": "none"
    }
  6. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW

    Blocked (2026-11-25T08:03Z): Blocked-by: #37166, on the seat's ordering ruling (option A).

    #37166 removes 「Build with AI」 at the shared source (useAddAppEntries) and always shows the blank-app entry in the no-apps state, which is the ruled shape. That makes #37166 the owner of the desktop no-apps state. PR #37249 conflicts with it textually in HomePage.desktopNoApps-36732.test.tsx, so it waits.

    Held work, not pushed; PR #37249 stays at 230a11df2:

    • 22e09d193: the phone zero-app admin welcome, where the build agent is deployed, shows the no-apps title and the existing NoBuild/NoAi description. home.welcomeAdminDescription is retired from all 11 packs. The commit adds pins and a no-agent control.
    • 7ed857943: the changeset declares the copy change and the retired key.
    • Patches: the zone's scratchpad, issue-37227/rework-patches/. The branch commits are also kept in the worktree objectstack-issue-37227.

    When #37166 merges, the branch rebases onto main. The now-redundant desktop no-apps filtering, its test edit and the ruling-1 gap note are dropped. The PR keeps:

    • the greeting-row chip removal;
    • 「Build with AI」 removed from HomeAiActions;
    • the welcome copy;
    • the retired keys (home.build.title, home.welcomeAdminDescription), declared under Clause-②: yes (narrowing).

    Then it goes to the seat for a delta L1 and a same-head contract review.

  7. added
    pm:blocked
    and removed
    pm:dispatched
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uipm:blockedpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions