Repository navigation
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Description
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
Filing gate: ③ maintainer-directed task · Source: epic objectstack-ai/cloud#5024 — maintainer, 2026-11-26T20:06Z: 「对话组件清理也要考虑,等 build 退役后一起删」 then 「实际现在 build 已经关闭了,已经可以排期删了」; scope 2026-11-26T20:09Z: 「先删 build 的部分 可以先处理」, 「拆分组件 之后的部分先不派发」.
Grade: p2 · area:ai · domain:ui · Task · evidence: read (objectstack main 6d106a1; inventory by the project's EE-AI discussion thread, file sizes re-measured by the seat)
Reader: seat epic:#5024#1 → card thread.
Dedupe: open objectstack issues for BuildDebugDrawer / PendingDraftsBar / StudioAiCopilot → none.
维护者速读
- 是什么:build 对话退役后,控制台和 Studio 里只为 build 服务的前端组件(调试抽屉、未发布改动条、改动卡、Excel 建应用条、Studio 副驾等)和混在 ask 对话组件里的 build 分支一起删掉。
- 影响:只删 build 专用的界面;ask 对话、附件、审批确认、模型选择器等保持不变。build 现在已关闭,删掉不会让用户少功能。
- 要你做什么:无。
Current state (ui/packages, objectstack main 6d106a1)
Build-only, delete whole files
app-shell/src/console/ai/BuildDebugDrawer.tsx(280) +buildDebugApi.ts(93) — callGET /api/v1/ai/conversations/:id/debug(cloudservice-ai-studio, removed in cloud PR3b).app-shell/src/console/ai/PendingDraftsBar.tsx(152) — build's "unpublished changes" bar; the most scattered importers.app-shell/src/console/ai/changeCardLabels.ts(136),mainAreaDraft.ts(107),artifactStudioPath.ts(49) — build change cards, draft main area, jump-to-Studio.app-shell/src/console/ai/ExcelImportBar.tsx(257) — Excel-to-app (cloud#797). ⛔ KeepchatAttachments.ts's in-page spreadsheet-to-text path: ask uses it.plugin-chatbot/src/publishHealth.ts(137) — re-exported from the core entry andChatbotEnhanced; fix the exports with it.app-shell/src/views/studio-design/StudioAiCopilot.tsx(366) — Studio's build copilot, referenced from DataPillar, AutomationsPillar, StudioMetadataArea, StudioDesignSurface, StudioPermissionSetPage, useSurfaceDeepLink; remove the Studio side-panel entry with it.
Mixed ask/build, remove only the build branches
plugin-chatbot/src/ChatbotEnhanced.tsx(7,643): build partsisProposalResult,resolveProposalCardState,resolvePlanBuildStates,applyBlueprintOutcome,ChangePlanBody,AppliedDraftCard,isBuildProposalTool,withoutSupersededPlan,isUnstructuredBuildProposal,classifyAssumptions,PublishHealthLine,BuildProposalProgressHint,selectDesignHintIndex, typesChatBuildProgress,ChatBlueprintProgress. Ask keeps: messages, tool status, reasoning, charts,AnswerSource,RecordCitations, approval confirm, model picker, turn-alive hint.app-shell/src/console/ai/AiChatPage.tsx(3,549):ChatPaneis exported here and used by ChatDock; drop the build hand-off, draft and blueprint-progress branches, keep ask's conversation and attachment logic.app-shell/src/layout/ChatDockConversation.tsx(492): drop the build thread bound to an app package (app:PKG:build) and the Builder hand-off.app-shell/src/console/ai/ConversationsSidebar.tsx(528): the cloud#1674 side-by-side ask/build history simplifies to ask.
Easy-to-miss breakpoints
- i18n keys under
console.ai.*for build / publish / draft, and build strings inChatbotLabels. plugin-chatbotindex.tsxand the core exports.
Do
- Premise first: confirm on current main that nothing in objectstack's own runtime (OSS, no cloud) serves the endpoints these components call, so the UI is cloud-build-only; and that no ask path imports the build-only files (quoted exact-name grep per symbol).
- Delete the build-only files and their tests; remove the build branches from the four mixed files; remove the Studio copilot entry; prune i18n keys and exports.
- ⛔ Not in scope: splitting
ChatbotEnhanced.tsxinto smaller files, approval-card or question-card redesign (the agent chat UI improvement plan follows after this card); the cloud server side (cloud PR3b, objectstack-ai/cloud#5046). - Changesets for every touched published
@object-ui/*package (removed exports are a breaking change to those packages: say so in the changeset).
Acceptance
- Console ask chat (dock and full page) and Studio still render and work; existing ask tests pass unchanged except imports.
- No remaining reference to the deleted symbols (exact-name grep over
ui/), no dead i18n keys for them. - Typecheck, lint and the affected
ui/test suites green; console build (pnpm console:buildper AGENTS.md) succeeds.
Avoid
- Priority: epic objectstack-ai/cloud#5027 goes first. Run
node scripts/pm/overlap-check.mjsbefore every push; on a textual conflict with a fix(lint): regex/JSON Schema 编译不过的校验规则改在发布期拒绝 —— 声明了却什么都不拦的两个静态产物 (#4762) #5027 PR, that PR lands first. At filing no fix(lint): regex/JSON Schema 编译不过的校验规则改在发布期拒绝 —— 声明了却什么都不拦的两个静态产物 (#4762) #5027 PR touched these files; open PRs feat(studio): a dataset is a data type; datasets and positions are always listed in the menu #37599 and feat(studio): Studio's top-left rows, the package switcher and the rail #37579 touchviews/studio-design/— rebase over them if they land first.
References
- Inventory: project file
ai-chat/build-ui-cleanup.md. Parent epic objectstack-ai/cloud#5024; server-side delete objectstack-ai/cloud#5046.
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 26, 2026
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
Claim: PM loop round 1 · epic objectstack-ai/cloud#5024, maintainer order 「先删 build 的部分 可以先处理」 · 2026-11-26T20:13Z
Session:
session_01Q4EjjPTfYJJKJmzZ3By7a7Thread session:
session_01Q4EjjMnLQVLzcho6g8WAL3Account:
hotlongBranch:
claude/project-thread-axvsipWorktree:
objectstack-issue-37682Domain:
domain:uiSeat:
epic:#5024#1File surface:
ui/packages/app-shell/src/console/ai/**,ui/packages/app-shell/src/layout/ChatDock*.tsx,ui/packages/app-shell/src/views/studio-design/**(copilot entry points only),ui/packages/plugin-chatbot/src/**, their tests, i18n files holding the removed keys, changesets (stop on breach; explain in the report)Container & model:
L,mode:thread,model: default (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (maintainer-directed task)
Thread-read: none
Premise: holds (scope per the maintainer 2026-11-26T20:09:43Z; inventory re-measured by the seat on objectstack main 6d106a1; the order's first step greps each symbol and stops on an ask importer)
Serial constraints cleared: no cloud#5027 PR touches these files at filing; open #37599 and #37579 touch
views/studio-design/— overlap-check before every push, they land first on a conflict. Removing published@object-ui/*exports narrows a public surface: one contract-review-tier review owed before the queue.Order:
/mnt/project-files/pm-orders/cloud/build-retirement/order-objectstack-37682.md+_common.mdobjectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:ui · Task · priority:p2 ·
pm:dispatched· size M; rationale: remove the build agent's chat UI from the console and Studio, now that in-app build is closed. Maintainer-directed (「已经可以排期删了」, 「先删 build 的部分」); the later component split is not dispatched. p2.objectstack-fleet commentedon Nov 26, 2026
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
File surface amended (2026-11-26T21:00Z), on the card thread's pre-push report — each edit cleans up after removed code, none adds behaviour:
plugin-formaffordanceGrantMap-12082,studio-designpackages-io.bearerSession,console/__tests__/openPathObjectReaders-12811,hooks/__tests__(replayedBuild-25887 deleted; editKindRoundTrip-10109 and useChatConversation edited), a doc line in ConsoleLayout.dockBinding-10926.coreaffordanceGrants.ts,plugin-gridindex.tsx.ui/scripts/check-i18n-dead-keys.mjs: drop the importer entry for outboundAgentText.ts (no locale pack read any more); not a weakening.hooks/useChatConversation.ts: the draftReview / proposedPlan / replayOutcome cache arms, whose keys nothing produces any more.publishHealth.tsstays (preview/usePublishAllDrafts.tsimports it); onlyPublishOutcomegoes.objectstack-fleet commentedon Nov 27, 2026
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
os-dev-report
{ "issue": 37682, "status": "done", "branch": "claude/project-thread-axvsip", "pr": "https://github.com/objectstack-ai/objectstack/pull/37720", "session": "session_01Q4EjjMnLQVLzcho6g8WAL3", "premise_still_valid": true, "summary": "Deleted the build chat frontend. plugin-chatbot loses the plan, change, build-result and handoff cards, their detectors and 59 props. app-shell loses the Build Doctor drawer, the drafts and import bars, the maker chips and empty state, and Studio's copilot panel and entry. i18n loses 280 released keys. Ask chat (dock and full page) and Studio stay; publishHealthFromResponse and PublishHealth stay because the preview's Publish all reads them. Main was merged twice (after #37579 and after #37706). The four leftovers are in the PR body's Acceptance notes; no cards were filed.", "tests": "Head c2b7b6a61efa66c150cc71ee0381e5d907acf860, CI: Test UI 16/16 shards success, Build & E2E UI success, Live E2E UI success, Type Check UI success, Lint UI success. Local: affected suites before the merge 707 files / 6156 tests passed; after the merge, studio-design + i18n 386 files / 4170 passed / 13 skipped (1 failure fixed and re-run green); i18n after the second merge 107 files / 1867 passed; ui scripts/ 174 files (1 failure, the vi.mock gate, fixed and re-run green, 57 tests). The local full ui run at --maxWorkers=3 hit its 90-minute timeout with no FAIL line; the CI shards are the verdict. The PR changes no tested behaviour that needs an ablation: it removes code and its tests.", "gates": "dispatch-gates: 42 derived commands ran before the merge, 3 failed and were fixed (check-adr-0087-registration, check:test-source-alias, ui vitest scripts/). On the merged head these exit 0: check-adr-0087-registration --base origin/main, check:test-source-alias, check:i18n-keys, check:i18n-drift, check-hand-rolled-comment-mask, check-vi-mock-specifiers. Also exit 0: check-platform-checklist --changed-from origin/main, check:new-line-citations. pnpm console:build 81/81. app-shell tsc (src and test) exit 0. eslint --quiet on 128 changed files: 0 errors. CI check-runs on c2b7b6a6: Lint & Repo Gates success, TypeScript Type Check success, Check Changeset success, PR-body guards success, Governed Surface Queue Guard success, Check PR Size success. overlap-check: exit 1 against #37719 (move-only split of StudioDesignSurface.tsx), which is not a cloud#5027 PR; the seat accepted merging main after whichever lands first.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "7 since this session's last context reset, all reads: pull_request_read x5 (get #37706, #37719, #37720; get_check_runs x2), get_job_logs x2. Earlier reads before the reset were not recounted. No write tool.", "api_writes": "4 — git push x2 (open, then the merge after #37706; one earlier attempt was refused locally by the commit-card-trailers hook and sent nothing), relay pr_create x1 (POST /repos/objectstack-ai/objectstack/pulls + POST issues/37720/assignees), this comment x1 via post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: PR body Acceptance notes · four leftovers (Builder-handoff plumbing, plan-approval bus and launcher marker, surfaceAgent maker helpers, showDebug always false) · noted, not filed, per the seat", "carrier: PR body · stale text: check-eager-closure-budget.mjs comment, ui/.changeset/12724-plan-card-posture.md, preview usePublishAllDrafts comments · noted, not filed" ], "deviations": "Heavy runs did not go through os-verify-lock.sh, and the first full ui run was killed for memory next to console:build. One `gh api` read of this card's comments, to read the seat signature line. Out-of-surface but mechanical: the DEBT entry in ui/scripts/check-hand-rolled-comment-mask.mjs and 17 test files' plugin-grid preload, both forced by gates this change trips. The PR is size/xl (32,691 deletions), so the 3,000-line landing rule applies." }Generated by Claude Code
objectstack-fleet commentedon Nov 27, 2026
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
os-dev-report
{ "issue": 37682, "status": "done", "branch": "claude/project-thread-axvsip", "pr": "https://github.com/objectstack-ai/objectstack/pull/37720", "session": "session_01Q4EjjMnLQVLzcho6g8WAL3", "premise_still_valid": true, "summary": "Deleted the build chat frontend. plugin-chatbot loses the plan, change, build-result and handoff cards, their detectors and 59 props. app-shell loses the Build Doctor drawer, the drafts and import bars, the maker chips and empty state, and Studio's copilot panel and entry. i18n loses 280 released keys. Ask chat (dock and full page) and Studio stay; publishHealthFromResponse and PublishHealth stay because the preview's Publish all reads them. Main was merged twice (after #37579 and after #37706). The four leftovers are in the PR body's Acceptance notes; no cards were filed. Main was merged a third time, after #37719 split StudioDesignSurface.tsx. The resolution took main's split and applied this branch's copilot removal to studioSurfaceRightSlot.tsx and its three consumers; the delta contract review on that head passed (comment 7207823067).", "tests": "Head 1f26fb20f934f2e847dafc4b3b1ab1a54348af88 (merge of origin/main 7e638ba777). CI check-runs: 52 success, 10 skipped, 0 failed. Local on the merged tree: app-shell tsc src and test exit 0; studio-design vitest 279 files / 2311 tests passed (studioMenuPlacement needed a rebuild of the stale spec dist from main's #37564, then 17/17). Earlier heads: see the previous report.", "gates": "On the merged head these exit 0: check:vi-mock-specifiers, check:test-source-alias, check:undeclared-dep-imports, check:nul-bytes, check:adr-anchors, check-comment-mask-corpus. overlap-check VERDICT clean exit 0 (main, #37676, #37422). pnpm console:build exit 0.", "dogfood_battery": "Owed by the (narrowing) arm. Ran on 1f26fb20 under os-verify-lock: 491 files passed / 1 failed / 1 skipped; 4149 tests passed / 6 failed / 57 skipped. All 6 failures are test/print-service-render.dogfood.test.ts (30 s print-render timeout, both placements). They reproduce with a console rebuilt on this head. The browser receives the compressed bytes of index.html.br/.gz as the page body, so the console never mounts. That is the static serving path or this container's network, not this PR's diff, which touches nothing under packages/cli, packages/console or packages/services. CI skips the file because it builds no console. Full reading: PR comment.", "mcp_calls": "0 since the last report.", "api_writes": "3 since the last report: git push x1 (the #37719 merge), the dogfood PR comment via post-stamped.mjs, this comment via post-stamped.mjs.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: PR body Acceptance notes · four leftovers (Builder-handoff plumbing, plan-approval bus and launcher marker, surfaceAgent maker helpers, showDebug always false) · noted, not filed, per the seat", "carrier: PR body · stale text: check-eager-closure-budget.mjs comment, ui/.changeset/12724-plan-card-posture.md, preview usePublishAllDrafts comments · noted, not filed", "carrier: PR comment (dogfood reading) · print-service-render.dogfood.test.ts fails locally because the console's static serving hands the browser undecoded compressed index.html; CI never runs it · noted, not filed" ], "deviations": "One `gh api` read of the head's check-runs (not a search). A temporary debug edit to packages/services/service-print/src/chromium-driver.ts to log the browser's view, reverted and never committed. The first dogfood run on 18cec5f4 was stopped before it finished, because the worktree was mid-merge; it gave no reading." }Generated by Claude Code
objectstack-fleet commentedon Nov 27, 2026
epic:#5024#1 · hotlong · session_01Q4EjjPTfYJJKJmzZ3By7a7
os-dev-report
{ "issue": 37682, "status": "done", "branch": "claude/project-thread-axvsip", "pr": "https://github.com/objectstack-ai/objectstack/pull/37720", "session": "session_01Q4EjjMnLQVLzcho6g8WAL3", "premise_still_valid": true, "summary": "Deleted the build chat frontend. plugin-chatbot loses the plan, change, build-result and handoff cards, their detectors and 59 props. app-shell loses the Build Doctor drawer, the drafts and import bars, the maker chips and empty state, and Studio's copilot panel and entry. i18n loses 280 released keys. Ask chat (dock and full page) and Studio stay; publishHealthFromResponse and PublishHealth stay because the preview's Publish all reads them. Main was merged twice (after #37579 and after #37706). The four leftovers are in the PR body's Acceptance notes; no cards were filed. Main was merged a third time, after #37719 split StudioDesignSurface.tsx. The resolution took main's split and applied this branch's copilot removal to studioSurfaceRightSlot.tsx and its three consumers; the delta contract review on that head passed (comment 7207823067).", "tests": "Head 1f26fb20f934f2e847dafc4b3b1ab1a54348af88 (merge of origin/main 7e638ba777). CI check-runs: 52 success, 10 skipped, 0 failed. Local on the merged tree: app-shell tsc src and test exit 0; studio-design vitest 279 files / 2311 tests passed (studioMenuPlacement needed a rebuild of the stale spec dist from main's #37564, then 17/17). Earlier heads: see the previous report.", "gates": "On the merged head these exit 0: check:vi-mock-specifiers, check:test-source-alias, check:undeclared-dep-imports, check:nul-bytes, check:adr-anchors, check-comment-mask-corpus. overlap-check VERDICT clean exit 0 (main, #37676, #37422). pnpm console:build exit 0.", "dogfood_battery": "1f26fb20f934f2e847dafc4b3b1ab1a54348af88 · VERDICT command-exit 1 · Owed by the (narrowing) arm. Ran on 1f26fb20 under os-verify-lock: 491 files passed / 1 failed / 1 skipped; 4149 tests passed / 6 failed / 57 skipped. All 6 failures are test/print-service-render.dogfood.test.ts (30 s print-render timeout, both placements). They reproduce with a console rebuilt on this head. The browser receives the compressed bytes of index.html.br/.gz as the page body, so the console never mounts. That is the static serving path or this container's network, not this PR's diff, which touches nothing under packages/cli, packages/console or packages/services. CI skips the file because it builds no console. Full reading: PR comment.", "mcp_calls": "0 since the last report.", "api_writes": "4 since the earlier report: git push x1 (the #37719 merge), the dogfood PR comment, os-dev-report comment 7208691916 and this one, all via post-stamped.mjs.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: PR body Acceptance notes · four leftovers (Builder-handoff plumbing, plan-approval bus and launcher marker, surfaceAgent maker helpers, showDebug always false) · noted, not filed, per the seat", "carrier: PR body · stale text: check-eager-closure-budget.mjs comment, ui/.changeset/12724-plan-card-posture.md, preview usePublishAllDrafts comments · noted, not filed", "carrier: PR comment (dogfood reading) · print-service-render.dogfood.test.ts fails locally because the console's static serving hands the browser undecoded compressed index.html; CI never runs it · noted, not filed" ], "deviations": "One `gh api` read of the head's check-runs (not a search). A temporary debug edit to packages/services/service-print/src/chromium-driver.ts to log the browser's view, reverted and never committed. The first dogfood run on 18cec5f4 was stopped before it finished, because the worktree was mid-merge; it gave no reading." }Generated by Claude Code