Skip to content

feat(app-shell): one empty-conversation layout for the AI home, the full-window drawer and the narrow drawer - #38011

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-wh1csy
Nov 27, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-wh1csy

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Requested by Tesla · project thread
Fixes #37862
Clause-②: yes (widening)
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:AI 首页、全屏的助手窗口和窄的助手抽屉,新会话发第一句话前都显示同一个空会话界面:按时段问候并叫出用户名字、一句可以问什么、推荐问题和「最近会话」(带标题)。记录页上的推荐问题点了是填进输入框,列表、仪表盘、报表页上的点了直接发送。
  • 为什么做:「问 AI」入口改造专题的第七张卡,把三处各画各的空会话统一成一个组件。
  • 出错会怎样:最坏是空会话界面排版或推荐问题不对,用户照常自己打字提问,已有会话和数据不受影响;直接撤回这次改动即恢复原样。
  • 要你做什么:无。

What changes

One component, EmptyConversation (console/ai/EmptyConversation.tsx), with its rules in console/ai/emptyConversationModel.ts. Seat rulings on the claim (7221234060): the AI home uses the entry's declared title when it has one, else the greeting; the drawer always greets.

  1. The layout. Heading, a line under it, a composer slot, the suggestions, and 「最近会话」 with each conversation's title (the history row's label) and when it was last active. Two sizes: large on the AI home and in the full-window drawer, compact in the rail and the phone sheet (ChatDockConversation maps presentation: 'full' to large, rail/sheet to compact).
  2. The greeting. Time of day and the user's name, with the keys Home already greets with (home.greeting*, home.greetingSeparator, home.greetingEnd): no new greeting strings.
  3. Suggestions carry a mode. send sends the text as the first message; fill puts it in the composer, focused, caret at the end, and sends nothing. The AI home's own suggestions (from the entry's params) send, as before. In the drawer, the ask agent's suggestions follow the page in view, read off the surface the console already sends the agent (ChatPane's surfaceContext): a record (its page, or the list's record drawer) gets "Summarize this record" and "What is related to this record?", which fill; an object list, a dashboard and a report get two questions each, which send. Any other page, and any other agent, keeps the agent's starter suggestions, which send.
  4. 「最近会话」. On the AI home: unchanged rule (this app's page conversations, five, opened on the page through ?c=), now drawn by the shared RecentConversationList. In the drawer: the drawer agent's threads (alias-aware, as the history scopes them), not the AI home's own (metadata.activePackageId), three in compact and five in large, opened in the drawer through the history's own openConversation. A list that has not answered, or failed, draws nothing; an empty list draws no section in the drawer.
  5. ChatbotEnhanced.renderEmptyState (@object-ui/plugin-chatbot): a host's empty conversation drawn in place of the built-in one while there is no message, given { send, fill }. fill writes through the textarea prototype's value setter so React's onChange (the host's onInputChange) runs. Without the prop nothing changes.
  6. ChatPane.emptyConversation: the drawer opts in; AiChatPage and the AI home's conversation state do not, so their pane keeps the built-in empty state.
  7. Strings: console.ai.suggestionsLabel (the suggestions group's accessible name) and console.ai.suggestions.page.{record,list,dashboard,report}.* (eight), in the ten hand-written packs; zh-Hant regenerated.

Tests

  • emptyConversationModel-37862.test.ts: greeting hour boundaries, the name fallback, the page kind off each surface shape, the drawer's suggestions and modes per page kind and agent, the AI home's suggestions.
  • ChatDock.emptyConversation-37862.test.tsx (real ChatDockConversation, ChatPane, ChatbotEnhanced and conversation hooks over a fetch stub): compact in rail and sheet, large in full; the greeting names the user; on a record a suggestion fills the composer and creates no conversation; on a list a suggestion sends and creates one; 「最近会话」 lists the ask threads only, newest three, and a click opens one in the drawer; no section when there are none.
  • ChatbotEnhanced.renderEmptyState-37862.test.tsx: the host state replaces the built-in one (control without it), is gone once there is a message, send sends, fill fills, focuses, places the caret, fires onInputChange and sends nothing, and replaces what the box held.
  • AppAskPage-37788.test.tsx: test ids moved to the shared component's; the fallback case now expects the greeting where it expected "Ask your data".

Ablation (on disk, restored from the commit), each red exactly one case: fill mapped to send in ChatPane → the record case; size always compact → the size case; fill through the plain .value setter → the onInputChange case; the drawer recent without the activePackageId filter → the 「最近会话」 case.

Readings
  • Related suite at bf9d5b8f (every ui test under app-shell/src/console/ai/, app-shell/src/layout/, plugin-chatbot/src/): 279 files / 2428 tests passed. After the last source change (b41c6ea0): the three C7 files plus AppAskPage-37788, 29 passed.
  • packages/i18n/ tests: 108 files, 1869 passed, 13 skipped. app-shell/src/__tests__/ (product-neutral ratchet among them) and the clickable-non-control census: 27 files / 480 passed.
  • pnpm --filter @object-ui/app-shell run type-check (src and tsconfig.test.json) and pnpm --filter @object-ui/plugin-chatbot run type-check: exit 0, after building @object-ui/app-shell^....
  • eslint on the changed files: 0 errors; no new warning on the changed lines.
  • dispatch-gates --commands at b41c6ea0: 41 derived families run, each exit 0; --ran reconciliation: 41 derived, 41 run, 0 NOT-MEASURED.
  • overlap-check.mjs --pr=37970,37924,37989,38004,38005 against origin/main 30a8047b: all merge cleanly.
  • At b25938f9, after the main merge and the F2 change: @object-ui/app-shell^... rebuilt 72/72; spec check:generated 14 of 14 up to date; app-shell and plugin-chatbot type-check exit 0; vitest over console/ai, layout, app-shell __tests__, plugin-chatbot and i18n: 417 files, 4818 passed, 13 skipped; dispatch-gates --commands re-derived the same 41 families, each exit 0, --ran 41 run, 0 NOT-MEASURED; overlap-check.mjs --pr=37924,37989,38004,38005 against origin/main 126acf6b: all merge cleanly.

Acceptance notes

Verification

Read first, by risk:

  1. ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx: fillComposer and the renderEmptyState branch.
  2. ui/packages/app-shell/src/console/ai/ChatPane.tsx: renderEmptyState (the mode mapping) and emptySuggestions.
  3. ui/packages/app-shell/src/console/ai/emptyConversationModel.ts: pageKindOfSurface, drawerSuggestions, selectDrawerRecent.

Two-minute check: pnpm --dir ui exec vitest run packages/app-shell/src/layout/__tests__/ChatDock.emptyConversation-37862.test.tsx. Expected: 6 passed.


Generated by Claude Code

…e drawer

The AI home page's home state and the console drawer's empty conversation
now draw one component, EmptyConversation: a time-of-day greeting (or the
entry's declared title on the AI home), a line on what to ask, the
composer slot, suggestions that send or fill the composer by their mode,
and the recent conversations with their titles. Large on the AI home and
in the full-window drawer, compact in the rail and the phone sheet.

ChatbotEnhanced gains renderEmptyState with send and fill actions; the
ask agent's drawer suggestions follow the kind of page in view, and the
new strings are in every locale.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibwARdVa47nQacLfco1
…he model

selectDrawerRecent and DRAWER_RECENT_COUNT move from EmptyConversation.tsx
to emptyConversationModel.ts, so the component file exports components only
(react-refresh/only-export-components).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibwARdVa47nQacLfco1
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 27, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review brief — PR #38011 @ b41c6ea0a9ae50397f8ea18a7c4c829446047b5d (card #37862)

You review at TIER_DEFAULT. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --face declaration — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #37862: its body and EVERY comment (rulings and earlier records included)
· PR #38011: its body, its file list, and the net diff against main at b41c6ea0a9ae50397f8ea18a7c4c829446047b5d
· the check-runs on b41c6ea0a9ae50397f8ea18a7c4c829446047b5d: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is SCRATCHPAD/pr-38011/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review

Served-tier: TIER_DEFAULT
Head-sha: b41c6ea0a9ae50397f8ea18a7c4c829446047b5d
Local-runs: none

Read: card #37862 (body, claim 7221234060, os-dev-report 7222350321, claim amendment 7222366115), PR #38011 (body, 23-file list), the net diff origin/main...b41c6ea0 (merge base 4de4e3e9), and the check-runs on the head. The diff touches no packages/spec, no skill, no ADR and no other governed path, so the declaration face (Clause-②: yes (widening)) is the only one owed.

① Derived judgments

Every public-surface change in the diff, each checked against the declaration and the changeset:

  • @object-ui/i18n (published): nine new keys in all 11 packs. Named right. console.ai.suggestionsLabel plus console.ai.suggestions.page.{record.summarize, record.related, list.summarize, list.recent, dashboard.explain, dashboard.standOut, report.summarize, report.takeaways}. Each pack is +22/-0 with the same key tree. Neither key path exists on main, so nothing collides. No existing key is removed, renamed or changed: the locale hunks have no deleted lines. Nothing on the head iterates console.ai.suggestions as an object, so the new page child changes the meaning of no existing read. zh-Hant.ts keeps its generated header and holds the s2twp form of the zh-Hans strings. The greeting reuses the existing home.greeting* / home.greetingSeparator / home.greetingEnd keys (present on main, en.ts:4376-4385) without changing their meaning.
  • @object-ui/plugin-chatbot (published): ChatbotEnhancedProps.renderEmptyState?: (actions: { send, fill }) => React.ReactNode (chat/types.ts). Named right, and it is a pure widening. The prop is optional. It is destructured in ChatbotEnhanced.tsx, so it is never spread onto the root div. Without it, the messages.length === 0 branch renders the built-in ConversationEmptyState exactly as before. send is the existing handleSuggestionClick(text). fill uses the same prototype-setter-plus-input-event route the file already uses to restore rejected composer text (ChatbotEnhanced.tsx ~532). ChatbotEnhancedProps is already re-exported from index.tsx:308, so no export is added or removed.
  • @object-ui/app-shell (private): no published surface. EmptyConversation.tsx and emptyConversationModel.ts are new. ChatPane gains the optional emptyConversation prop, and only ChatDockConversation passes it (git grep shows one caller), so AiChatPage and the AI home's conversation state keep the built-in empty state. ChatDockConversation maps presentation: 'full' to large and anything else to compact. The AppAskPage rewrite narrows nothing:
    • The module still exports only AppAskPage and the default export, on both sides.
    • AskHome and RecentAskConversations are file-local. Renaming AskHomeProps.title to heading: React.ReactNode reaches no importer.
    • The page header still reads console.ai.empty.ask.title ("Ask your data") as its no-label fallback.
    • One rendering behaviour changes: with no declared title, the home heading greets by time of day and name instead of reading "Ask your data". The card's step 3 and the claim's seat ruling cover this, and the changeset body discloses it.
    • The test ids app-ask-title, app-ask-subtitle, app-ask-suggestions and app-ask-recent* become empty-conversation-*. git grep on the head finds no reader of the old ids outside AppAskPage-37788.test.tsx, which the PR moves to the new ids. The ids that other tests read (app-ask-home, app-ask-input, app-ask-send, app-ask-scope) are kept.
    • AppAskPage-37788.test.tsx changes its expectation only for the ruled heading change. The fallback case now matches the greeting pattern instead of "Ask your data". No other assertion is dropped.
  • No narrowing anywhere in the diff. Nothing published is removed, renamed, tightened or given a new meaning.

② Semver level

  • The changeset lists @object-ui/app-shell, @object-ui/plugin-chatbot and @object-ui/i18n, each at patch. These are the three packages the diff moves. The two published packages are in the fixed group in .changeset/config.json. privatePackages.version: true makes listing the private app-shell the house pattern, as many changesets on main do. The package list matches what ships.
  • Metadata-protocol: none is correct: the diff changes no spec, no AiChatNavParams and nothing a metadata author can write. Per AGENTS.md (Post-Task Checklist item 3), none takes patch, so patch is the right level, including for the widening.
  • The Clause-②: yes (widening) line appears word for word in the PR body and in the changeset body. It matches the claim's Clause-②: yes and the diff, which is purely additive (see ①). No migration text is owed, and "Nothing to migrate" is right.
  • Check Changeset and PR-body guards are success on the head.

③ Boundary flags

  • open_questions: []. Nothing to answer.
  • out_of_scope_findings: the greeting hour buckets are copied from Home (carrier: none). Answered. greetingForHour (emptyConversationModel.ts) agrees bucket for bucket with pickGreetingKey (console/home/HomePage.tsx:341-347 on main): 5, 12, 18 and 23. Both read the same keys. The duplication is real but harmless today, and not filing it is within the report's discretion.
  • File surface breach: ui/packages/plugin-chatbot/src/chat/types.ts. Answered. Claim amendment 7222366115 records it. It is the single declaration site of the prop named in ①, so it adds no scope. agentCopy.ts is claimed but untouched, which is under the claim and fine.
  • Card step 3 says "Greeting … new strings in eleven locales"; the PR adds none for the greeting. Answered. It reuses Home's existing greeting keys, so the console greets one way everywhere. The per-page suggestions are the new strings, and they are in all eleven packs.
  • Browser check: NOT MEASURED. Answered. The drawer is inert on an OSS backend, which has no agent catalog. The real-component DOM test (ChatDock.emptyConversation-37862.test.tsx, which uses the real ChatDockConversation, ChatPane and ChatbotEnhanced) pins the three sizes, fill versus send and the recent list. Live E2E UI is success on the head.
  • C4 feat(app-shell): Ask AI opens a new conversation after the user's own close, and the drawer header names the conversation #37970 draft, with an overlap check clean against 30a8047b. Answered. It is a sequencing note with no contract effect.
  • F1 (escalated, not blocking): the accepted deviation that the drawer composer stays docked at the bottom instead of centred in the empty state. The card's 维护者速读 names a 大输入框 as part of the one shared layout. Its acceptance requires that full-screen and drawer new chats "show the layout". No card step and no ruling on the card exempts the drawer. The only acceptance is the claiming seat's own amendment (7222366115), which this review does not adopt as a ruling. The deviation changes no public surface: EmptyConversation.composer is an optional slot, so centring a composer in the drawer later is an additive app-shell change. The stated reason (the docked composer carries the page chip, C5's focus row and queued sends) is concrete. Escalated: the maintainer confirms the deviation against topic 专题:问 AI 入口改造(页头带字「问 AI」按钮、点开即新会话带当前记录、撤掉 ask_ai、抽屉顶部与收藏会话) #37853's target experience, or orders a follow-up that centres the drawer composer.
  • F2 (nit): SQL push-down check. No SQL push-down finding; the reason is given here.
    • No query, id materialisation or join is built. selectDrawerRecent filters one page of GET /ai/conversations in the client. That REST route is served by cloud service-ai, with no SQL path in this repo. The filter keeps the drawer agent's alias group and drops rows that carry metadata.activePackageId.
    • This is the scoping the drawer history already applies (ConversationsSidebar.tsx:172-196, alias group in the client) and the rule the AI home already uses (recentAskPageConversations).
    • The nit: DrawerRecentConversations fetches an unnamed literal limit: 20, while the AI home names its page (ASK_RECENT_FETCH_LIMIT = 50). When a user's newest 20 rows are all AI-home or other-agent threads, the drawer draws fewer than three or five rows, or no section, even though older drawer threads exist. It never draws a wrong row. Name the constant, and consider the AI home's page size.
  • Gates. At review time the head's check-runs read 18 success, 13 skipped, 25 in_progress and 0 failed. Still running are Type Check UI, Test UI 1-16, Lint UI, Build & E2E UI, Type Check · consumer gates and the Lint · families. Their conclusions, not this record, answer the type and test families. This record judges ①–③ only.

Implemented-by: claude/project-thread-wh1csy
Reviewed-by: session_01L9qibvMMgnKA797JY46H9i

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

L1-c, the seat's L1 thread · 2026-11-27T16:01Z

席位核对 — L1 @ b41c6ea0a9ae50397f8ea18a7c4c829446047b5d

Verdict: ACCEPT on the code, with one landing condition (D1 below).

The contract review on this head is PASS at TIER_DEFAULT (record 7222493699, brief 7222420291). It is owed only because of the Clause-②: yes (widening) declaration, since record-recognisers --paths decides no face. It has no must-fix and no should-fix.

D1 — the full-window new chat keeps the composer at the bottom (landing condition, the maintainer's call)

Topic #37853's target experience, item 9, reads "AI home / full-screen new chat: greeting, big composer, example questions, 「最近会话 · 标题」". The card's 维护者速读 lists 大输入框 as part of the one layout, and its acceptance says full-screen and drawer new chats "show the layout".

At this head:

  • The AI home keeps its large question box.
  • The drawer, including presentation === 'full' (ChatDockConversation.tsx, size: 'large'), draws the greeting, suggestions and recent conversations above the composer, and leaves the composer where it is at the bottom.

So the full-screen new chat meets item 9 except for the big composer. The claim amendment records this as an accepted deviation, for a real reason: the composer carries the page chip, C5's focus row and the queued sends. But it is the seat's own acceptance against the maintainer's target experience. L2 escalated it as F1.

Either outcome lands the PR as it is, apart from its first line:

  • (a) The maintainer accepts the bottom composer. Fixes #37862 stands.
  • (b) The maintainer wants the big composer in the full window. The first line becomes Part of #37862, and a follow-up card carries it.

No code change is asked on this head.

Checklist

Accepted deviations

  • L2 F2 (nit). The drawer's recent list reads one unnamed limit: 20 page and filters it in the browser, so a user whose newest 20 conversations belong to other agents sees fewer rows than intended. This is accepted with no head move. A follow-up could name the constant, or ask the list endpoint for the agent.

The drawer reads the caller's newest conversations at the AI home's page
size (DRAWER_RECENT_FETCH_LIMIT = ASK_RECENT_FETCH_LIMIT), so a caller with
many app-home or other-agent threads still sees the drawer agent's own.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibwARdVa47nQacLfco1
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

Contract review

Served-tier: TIER_DEFAULT
Head-sha: b25938f9705ddcf315fcf2a73f02ded1b84c62b4
Local-runs: none

This is a delta review on top of the PASS at b41c6ea0 (record 7222493699). The delta is two commits:

I read card #37862's new comments (7222625442 and 7222646032), the current PR body, the net diff origin/main...b25938f9 (merge base 4af32b99), git show b25938f9, git show 4af32b99 restricted to the shared files, and the head's check-runs. The diff still touches no packages/spec, no skill, no ADR and no other governed path, so the declaration face is the only one owed.

① Derived judgments

  • The merge carries C7's diff over unchanged. Verified independently. The net file list is still 23 files.
    • Sorted, the added and removed lines of 4af32b99..775b0594 are identical to those of 4de4e3e9..b41c6ea0. Only the context differs, which is why the patch-ids differ.
    • .changeset/37862-empty-conversation.md is byte-identical between b41c6ea0 and b25938f9.
    • The net diff against main grows only by b25938f9's +9/−1.
  • (a) DRAWER_RECENT_FETCH_LIMIT changes nothing public.
    • It is a new export const in ui/packages/app-shell/src/console/ai/emptyConversationModel.ts, equal to ASK_RECENT_FETCH_LIMIT (50), and EmptyConversation.tsx reads it.
    • @object-ui/app-shell is "private": true. Neither module is re-exported from any package index; git grep finds only in-package importers, plus comments in the locale packs.
    • The new import emptyConversationModel.ts → appAskPageModel.ts creates no cycle: appAskPageModel.ts imports only @objectstack/spec/ui and hooks/chatScope.js.
    • The published surface is the same as at b41c6ea0: the nine @object-ui/i18n keys and the optional renderEmptyState prop on @object-ui/plugin-chatbot. Both are widenings, and nothing narrows.
  • (b) C4's shared surface composes with C7's empty state. No interaction finding.
    • ChatPane.tsx: C4 adds useAuth and a per-conversation plan-approval publish that runs only when there is a conversationId. C7's emptyConversation, emptySuggestions and renderEmptyState block sits alongside it unchanged. Both read useAuth independently, and neither writes state the other reads.
    • ChatDockConversation.tsx:
      • C4 adds onShownConversationChange, the header label (useConversationLabel) and the startNew action carried through a ref.
      • C7's emptyConversation memo passes C4's unchanged openConversation as onOpenConversation. That is the callback the history sidebar's onSelectConversation uses, so opening a recent row reaches the same target change and closes the history panel, exactly as a history row does.
      • C4's new-conversation paths all reach C7's empty state the intended way. A fresh target after the user's own close (forceNew = target.fresh && !requestedConversationId) and the header's + (startNewConversation, fresh: true) both remount the keyed ChatPane with no messages, so C7's empty state draws and DrawerRecentConversations reads afresh. The thread the user just closed is a drawer-agent row, so it can appear under 「最近会话」.
      • C4's pending-approval reopen restores a conversation that has messages, so the empty state does not draw.
      • With no paneConversationId, C4 gives the header no label, and C7's heading greets. The two do not conflict.
    • useConversationList.ts: C4 only appends useConversationLabel, which fetches /conversations/:id for a shown conversation. useConversationList itself is unchanged and keeps no shared cache, so the drawer list now using the same page size as the AI home and the history (50) shares no state between them.
    • Locale packs: C4 rewrites the value of chatDock.planAwaitingApproval in all 11 packs. That key is outside C7's lines. C7's console.ai.suggestions.page.* and console.ai.suggestionsLabel appear once in each of the 11 merged packs, with no duplicate keys.

② Semver level

Unchanged from b41c6ea0, and still right.

  • The changeset is byte-identical: @object-ui/app-shell, @object-ui/plugin-chatbot and @object-ui/i18n at patch, with Metadata-protocol: none, which takes patch.
  • Clause-②: yes (widening) appears in both the PR body and the changeset.
  • The new constant is private to app-shell and adds no level.
  • The PR body still reads Fixes #37862, which is correct after F1's ruling (see ③).

③ Boundary flags

  • (c) F2 (nit) is closed. DrawerRecentConversations now reads limit: DRAWER_RECENT_FETCH_LIMIT, which is named and documented as the AI home's page size of 50 (ASK_RECENT_FETCH_LIMIT). That fixes the unnamed literal and widens the page the drawer filters, so under-fill is much less likely.
    • The client-side filter over one REST page is unchanged. The no-push-down reason given at b41c6ea0 still holds: the route is served by cloud service-ai, and the scoping matches ConversationsSidebar's.
    • Moving from limit 20 to 50 breaks no pin: the only limit=50 matcher on the head (AppAskPage-37788.test.tsx:237) mounts AppAskPage alone, whose ChatPane passes no emptyConversation.
  • (c) F1 (escalated) is answered.
  • Other flags carried from b41c6ea0: the copied greeting rule, the types.ts surface breach, the reuse of the greeting keys and the browser check that was not measured. None changes in this delta.
  • open_questions and SQL push-down. open_questions is still []. Apart from F2 above, the delta adds no new id materialisation or join.
  • Gates. At review time the head's check-runs read 12 success, 15 skipped, 13 in_progress and 0 failed. Check Changeset, Live E2E UI, Build UI Deps, the type-check families and the Lint · families were still running, and the Test UI shards had not yet appeared. Their conclusions, not this record, answer the derived gate families. This record judges ①–③ only.

Implemented-by: claude/project-thread-wh1csy
Reviewed-by: session_01L9qibvMMgnKA797JY46H9i

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibvMMgnKA797JY46H9i

L1-c, the seat's L1 thread · 2026-11-27T17:01Z

席位核对 — L1 delta @ b25938f9705ddcf315fcf2a73f02ded1b84c62b4 (from b41c6ea0)

Verdict: ACCEPT. It stands on 7222775385. The landing condition D1 is answered: Tesla chose (a), the bottom composer (#37862, comment 7222646032). So Fixes #37862 stands, and no follow-up card is owed.

  • What moved. Two commits, added without a rebase or force-push:
  • The merge leaves the PR's own lines unchanged. The file list is the same 23 files. Each file's added and removed lines against 4af32b99 are identical to b41c6ea0's against its old base 4de4e3e9. C4's changes to ChatPane.tsx, ChatDockConversation.tsx, useConversationList.ts and the locale packs sit beside this PR's lines.
  • b25938f9 closes L2 F2. DRAWER_RECENT_FETCH_LIMIT (emptyConversationModel.ts) is ASK_RECENT_FETCH_LIMIT (50), the AI home's page size, and DrawerRecentConversations reads it in place of the bare 20. The new export is app-shell's, and that package is private. Both files are inside the claim.
  • The contract review on this head is the delta PASS at TIER_DEFAULT by the same reviewer, comment 7223609014, with no new finding.
  • Checks at this head: 47 success, 15 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check are green.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Landing · 2026-11-27T17:03Z · zone o3-askai (seat card thread)
Head-sha: b25938f9705ddcf315fcf2a73f02ded1b84c62b4

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 27, 2026 17:03
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 46038762113 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Live E2E UI — 失败步骤: Build the Console for the live lane

    ✗ Build failed in 6.64s
    
  • Build Core — 失败步骤: Build packages (excluding docs)(日志不可读,点进 job 看)

  • Build & E2E UI — 失败步骤: Build the Console for E2E

    ✗ Build failed in 7.22s
    
  • Type Check UI — 失败步骤: Verify every sideEffects array names exactly its registering modules(日志不可读,点进 job 看)

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

  • ⚠️ 本次没有可用的聚合签名(日志里没有能解析出测试文件名的 FAIL 行)—— 这不是「没有同签名的其他 PR」,是这一轮没测到。跨 PR 聚合本次不可用,请手工比对其他 PR 的同类评论。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 12 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

Merged via the queue into main with commit 3df181b Nov 27, 2026
63 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-wh1csy branch November 27, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

入口专题 C7:空会话界面组件(AI 首页、全屏新会话、窄抽屉三处共用),19.1

2 participants