Skip to content

AI 问询首页 T3:首页列出本应用的最近对话 #37790

In progress

Description

@objectstack-fleet

epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf

Filing gate: ① maintainer-asked. Jack in the seat thread, 2026-11-27: 「立卡派发」 (02:37Z); route ruling 「先内置页面,再做页面积木」 (02:41Z card); 「我们是一个开发平台,你搭的入口页面必须是通用的」 (02:51Z); 「用fable评审一下完整的首页方案,我现在只要考虑这一个页面」 (03:07Z); ADR-0057 conflict ruling 「做首页,本页隐藏机器人」 (03:16Z card).
Plan: /mnt/project-files/ai-home/plan-v1.md, Fable review with file:line evidence /mnt/project-files/ai-home/fable-review-v1.md (objectstack da31daff, cloud 917f57c). Mockup: https://claude.ai/artifact/SS7UdUYXethLuvV8f5D7JY.
Parent: objectstack-ai/cloud#5027 (ask experience). Trigger app: brightrule (a policy-inquiry app whose only AI entry today is the top-right robot).
Grading: area:ai · Task · p2 · size S · reach: the ai:chat page.
Dedupe: searched recent conversations activePackageId: none.
Blocked-by: #37788

维护者速读

  • 是什么:AI 问询页首页态下方列"最近的对话",只列本应用、从这一页发起的对话(最多 5 条),另有"全部对话"打开右侧抽屉的历史(已砍:与 ADR-0057 修订 A4「本页隐藏机器人」冲突,见席位评论)。
  • 已定:只算本页发起的,抽屉里的不算(Jack 未反对的默认,03:14Z)。
  • 要你做什么:无。

Background

What to do

  1. On the home state, fetch the caller's latest 50 conversations (existing list call), keep those whose metadata.activePackageId is this app's package, show the newest 5 (title + relative time); click opens it in the page (?c=).
  2. "全部对话" opens the drawer's history (useOpenAssistant or the existing opener), not a full page. Cut by seat repo:objectstack#1 (Premise corrected, see its comment): on this page ADR-0057 Amendment A4 keeps the drawer closed and its triggers inert. An in-page "view all" is a later card if someone asks.
  3. Extend the client conversation type to carry metadata. No server change in this card (a server-side package filter is a later card if 50 proves too few).

Acceptance

  • A conversation of another app, or one started in the drawer, does not appear; empty state when none.
  • Tests for the filter and the empty state.

Activity

  1. added
    enhancement
    priority:p2
    pm:blocked
    domain:ui
    area:ai
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:ui · Feature · priority:p2 · pm:blocked · size S; rationale: AI ask home page T3, the recent conversations of this app on the home page. p2 as filed; blocked by #37788.

  3. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

    Premise corrected · 2026-11-27T11:02Z · #37790 (area o1-D)

    Ruling-ref: 「做首页,本页隐藏机器人」 — the maintainer's ruling recorded in #37788's filing-gate line, written down as ADR-0057 Amendment A4 (PR #37825), Decision bullet "No drawer on the page": "While the page is the active route the drawer is closed and its triggers are hidden or inert … No address, the /ai… addresses included, stacks a second ask conversation on the page. A build hand-off from the page still opens the drawer."

    • Original premise: item 2, "全部对话" opens the drawer's history from the page's home state.
    • Reading: on the ai:chat page the drawer is closed and only a build hand-off opens it (A4, merged on main); opening the drawer for history from this page puts a second ask surface on the screen A4 rules out.
    • Change: item 2 is cut (struck in the body). Items 1 and 3 stand unchanged: this app's newest 5 page-started conversations, opened in the page by ?c=; the client conversation type carries metadata. An in-page "view all" is a later card if someone asks; not filed.
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwGVgec21LwQTtRY85

    Claim: PM loop round 2 · area o1-D (hand-off 7209013967 from epic:#5027#1, accepted 7210179549 on the maintainer's tap 「全接,开新专区」; assignee moves from hotlong as the hand-off asks: "reassign on your claim") · 2026-11-27T11:04Z
    Session: session_016WV4cwGVgec21LwQTtRY85
    Account: os-elon-musk
    Branch: claude/issue-37790-ask-recent
    Worktree: objectstack-issue-37790
    Domain: domain:ui
    Area: o1-D
    Seat: repo:objectstack#1
    File surface: ui/packages/app-shell/src/console/ai/AppAskPage.tsx, ui/packages/app-shell/src/console/ai/appAskPageModel.ts, ui/packages/app-shell/src/hooks/useChatConversation.ts (the client conversation type carries metadata; list call unchanged), new test file(s) named for this card, ui/packages/i18n/src/locales/*.ts (the section's strings only), one changeset; no server change (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier on AppAskPage.tsx: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (Task)
    Thread-read: 7216616461
    Premise: corrected 7216616461 — item 2 (「全部对话」 opens the drawer) cut against ADR-0057 A4 "No drawer on the page"; items 1 and 3 hold on origin/main e50ab8f: AppAskPage.tsx is on main (PR #37889) and conversations created from it carry metadata.activePackageId.
    Serial constraints cleared: none: overlap-check on a probe branch touching AppAskPage.tsx and useChatConversation.ts exit 0 against origin/main e50ab8fc91; in-flight siblings #37832 (DesignModeMenu*) and #37833 (nav gate) declare other files.
    Pre-claim lane: ui/packages/app-shell/** ⇒ domain:ui (file ownership only); not governed.
    Pre-claim deps: Blocked-by: #37788 closed (PR #37889 merged).
    Prior rulings read: the seat's Premise corrected 7216616461 (Ruling-ref 「做首页,本页隐藏机器人」 via ADR-0057 A4); metadata.activePackageId written by #37788 item 5; no other ruling bounds a client-side filter.
    Fold-or-serial: not folded with #37908 (follow-ups in the same file, p3, after this lands); serial behind nothing.

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

Metadata

Metadata

Assignees

Labels

area:aidomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions