Repository navigation
fix(app-shell)!: Home no longer offers Build with AI or Build an app - #37249
Draft
objectstack-fleet[bot] wants to merge 3 commits into
Draft
objectstack-fleet[bot] wants to merge 3 commits into
objectstack-fleet[bot] wants to merge 3 commits into
Conversation
Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
…tries unchanged Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW Co-authored-by: Claude <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37227
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
Clause-②: yes (narrowing)
Metadata-protocol: none
Skills-docs: none — no skill or doc teaches the two Home entries;
git grepofskills/andcontent/docs/finds neither the entries nor the key维护者速读
What changes
HomePage.tsx/studio), is gone. The no-agent form, 「New in Studio」, is untouched: label, key, condition and target are as on main (per ruling 7153400210, feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 owns that chip).HomeAiActionsno longer draws 「Build with AI」. 「Ask AI」 keeps exactly the gate it had: hidden for a maker the build agent serves (the cloud#1674 convergence), shown otherwise.build-with-aientry out of the shared 「Add app」 list (useAddAppEntries). The sidebar's 「Add app」 menu reads that list unchanged and still offers it. With a marketplace mounted, 「Start with a template」 is now the first button of the empty state.QuickActions.tsx: comment only (the component has no call site).home.build.title("Build an app") is removed from all eleven locale packs. It shipped in 18.6.0 and nothing reads it now.home.buildWithAIstays: the sidebar menu still reads it.home.build.inStudioandhome.build.noCapabilitystay.37227-home-drop-build-entries.md:Clause-②: yes (narrowing), a 「Removed translation keys」 section,not-required (no-migration-prescription)disposition.With the build agent deployed, the chip row after this change holds 「Start with a template」 alone: no build chip until #37166 makes 「New in Studio」 always shown.
Tests
HomePage.noAgentsBuildChip-26614: the agent-present describe now pins that neither build chip is drawn, for a maker and for a session that may not author, and for the legacy build-agent id. Each absence is read after the catalog stand-in has answered.HomePage.desktopNoApps-36732: the no-apps doors are exactlytemplate,marketplace; no/studiolink and no 「Build with AI」 label.HomePage.authoringCapabilityGate: the gate now acts on 「Start with a template」. The capability-present case pins both entries absent, and the phone zero-app welcome pins 「Build with AI」 absent.HomePage.greetingAndApps-12601,HomePage.phoneTapTargets-29147: build-chip assertions move to the template chip; the phone-target case pins both entries absent with the build agent served.HomePage.aiStudioDisabled,HomePage.marketplaceDisabled: their catalog moves frombuildto a custom agent, so the chip these flags gate is 「New in Studio」. These pins keep covering a kept entry, unchanged in strength.Acceptance notes
homeAffordancesFollowDeclaration-7256,landingHomeParity-7256,homeRecoveryRedirectsFollowDeclaration-7373,useHomePath.test,homePath.testandworkspaceAdminPositions-5389mention 「Build an app」 only in prose that describes a past defect. They assert nothing about the chip and are left as they are.features.aiStudioon, no marketplace, and the build agent served, the no-apps empty state now shows its title and description and no button. Before, 「Build with AI」 was its only button. The issue names the template entry as the way to start an app, and that entry needs a marketplace. Recorded in the report's open questions.home.welcome/home.welcomeAdminDescription("Describe your business in one sentence …") where the build agent is deployed. The assistant drawer still serves the build agent there, so the sentence is not false. Its button is gone, though. Recorded as an open question.Verification
Two-minute check: run
pnpm --dir ui exec vitest run packages/app-shell/src/console/home/. All files pass, and no assertion findshome-build-apporhome-build-with-aion the page.Read first, by risk:
HomePage.tsxHomeAiActions: the early returnif (!askAvailable || maker) return null, which keeps the 「Ask AI」 gate byte-equivalent.HomePage.tsxNoAppsAddActions: thebuild-with-aifilter.HomePage.noAgentsBuildChip-26614.test.tsx:catalogAnswered(), so the absence pins cannot pass before the chip could draw.Ablations: restoring either entry turns the pins red (scripts/ablation-replace.mjs, on 940ec57; the tests import HomePage from src, no dist on the path)
Each mutation was checked on disk (anchor count 1 to 0, blob changed), and each restore was checked against HEAD (blob equal to HEAD 6b5357123bf4,
git diff HEADempty).aiStudioEnabled && buildServed, to/studio, testIdhome-build-app). 4 files, 8 failed / 43 passed:HomeAiActions(a maker getshome-build-with-ai). 3 files, 3 failed / 30 passed:build-with-aifilter deleted. desktopNoApps-36732: 1 failed / 5 passed (the doors case).Local gates and tests (head 230a11d)
vitest run packages/app-shell/plusApp.homePermissions-12700,App.rootLandingReadsOnce-32633,perm-home-namespace-3546andcheck-i18n-call-site-keys: Test Files 2444 passed, 1 skipped (2445); Tests 23345 passed, 9 skipped. VERDICT command-exit 0. Run on 940ec57; the later commit adds only the changeset.vitest run packages/i18n/: Test Files 111 passed (111); Tests 2028 passed, 13 skipped. VERDICT command-exit 0.vitest run packages/app-shell/src/console/home/: Test Files 42 passed (42); Tests 270 passed (270).pnpm --filter @object-ui/i18n --filter @object-ui/app-shell run type-check: both Done. VERDICT command-exit 0.dispatch-gates --commands: 41 families, all exit 0.--ranreconciliation: "41 run, 0 NOT-MEASURED (a DERIVED zero)".pnpm --dir ui exec vitest run scripts/: SIGKILLed for memory on the first pass, when it ran beside the app-shell suite. The rerun passed: 172 files, 5130 tests.check:type-check-debt: the first pass hit a queue-timeout (exit 3). The rerun passed: "0 raw tsc error(s) total".check:changeset-fixed, run in addition: exit 0.scripts/pm/overlap-check.mjs: VERDICT clean. Against origin/main and feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166, feat(studio): open Studio's dashboards and reports in the app's edit state; × returns to the list #37226, feat(ai): get_record_context joins the service-ai platform tool group, with its chat label (ADR-0160 row 9) #37210 and feat(approvals): a decided request's step line says where the record's approval went next #37148, every merge is clean.Generated by Claude Code