Skip to content

入口专题 C0b:ui ADR-0057 A5(哪些打开方式开新会话、build 例外、抽屉页头) #37855

Done

Description

@objectstack-fleet

epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf

Filing gate: ④ topic child. Source: topic #37853 (Jack: 「"页面里加按钮"的需求 作废」 06:28Z; card 「撤掉 ask_ai」 06:30Z; 「问 AI」 06:33Z; 「同意,立专题卡,非 cloud 的任务,让 objectstack #3 座位接手」 07:12Z, all 2026-11-27). Business reason: carried by the parent.
Parent: #37853 (rulings, target experience, card table, topic acceptance). Evidence: an independent Fable review of objectstack and cloud main (2026-11-27) checked every file:line below.
Owner: repo:objectstack#3 (Jack 07:12Z 「非 cloud 的任务,让 objectstack #3 座位接手」). Reserved under topic #37853 (pm:epic), not pm:queue: other seats leave it.

Grading: area:ai · Task · p1 · size S · governed surface ui/docs/adr/** (Tier H): needs Jack or os-zhuang approval.
Blocked-by: #37819 (ADR-0057 A4 must merge first; A5 overturns A3's "What the drawer shows is kept per tab").
Dedupe: searched ADR-0057 A5, drawer open new conversation: none.

维护者速读

What A5 says

Open-type table:

How the drawer opens Result
Header / top bar 「问 AI」, ⌘⇧I, Home 「Ask AI」, and the last close was user-initiated (×, button again, shortcut) new conversation (forceNew)
Last close was the mobile auto-collapse after tapping an answer link (#37556) the same conversation
A plan or write awaiting approval (the bus records its conversation id) that conversation
open() with a target, legacy /ai/:agent/:id, share links, history, favourites the named conversation
Page refresh, legacy-URL "expand on mount" not an open; state kept
Studio canvas requestOpen() unchanged
build threads, targets with packageId (app.defaultAgent:'build' can still land on build) not covered; returns to the same conversation
narrow ↔ full screen not an open; conversation unchanged
  • New conversations use forceNew only, never resumeMode:'fresh' (it treats "zero messages on the server" as empty, and a turn is persisted only when it ends, so a generating conversation would be reused).
  • Drawer header: left = conversation title (「新会话」 before the first send; first-message summary when title generation is off); right = ☆ (from C8), + new conversation, history (clock icon button), ⋯, ×. The mobile sheet header gets the same row.

Acceptance

  • A5 merged after A4; it names the A3 sentence it supersedes.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf

    Addendum to the A5 open-type table 2026-11-27T08:13Z, from question-card topic #37871 (maintainer-approved 2026-11-27 08:05Z). Add one row:

    How the drawer opens Result
    A question card is pending in the last conversation, and the last close was user-initiated not an exception: new conversation (forceNew); the old question stays in history as past (asking again is cheap)

    This keeps the A5 rule simple: only a pending write approval reopens its conversation. #37860 implements the row with the rest of the table.

  3. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibzLtFztVjQtMvtssA4
    Account: os-tesla
    Branch: claude/project-thread-j0fusx
    Worktree: objectstack-issue-37855
    Domain: docs
    Seat: repo:objectstack#3
    File surface: ui/docs/adr/** (the one file ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md, plus the ui ADR index if a gate derives it) (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: xhigh, reason: ADR revision standing order (定档: docs/adr/** effort xhigh), here the ui ADR tree
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ADR text only: ui ADR-0057 Amendment A5 (which openings start a new conversation, the build exception, the drawer header); topic #37853 rulings quoted verbatim, not re-ruled; Tier H, lands by the maintainer; unblocks C4 #37860
    Thread-read: 7213286436
    Premise: Blocked-by #37819 (ADR-0057 A4) closed; topic #37853 and A4 read by the thread at origin/main 73d5e34; tier: dispatch-gates --tier on ui/docs/adr/0057 prints no path-derived mandate, so default tier, drafted in-thread
    Serial constraints cleared: overlap-check.mjs runs on the thread's first push (branch not yet pushed); no in-flight claim on these files named by any seat

    Ask-AI own cap (Tesla 「给问ai单独5个并发」 2026-11-27T11:21Z). Hand-off by the seat after L1/L2.

  4. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 27, 2026
  5. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibzLtFztVjQtMvtssA4
    os-dev-report

    {
      "issue": 37855,
      "status": "done",
      "branch": "claude/project-thread-j0fusx",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37931",
      "head": "21f3c81c",
      "session": "session_01L9qibzLtFztVjQtMvtssA4",
      "premise_still_valid": true,
      "summary": "ui ADR-0057 Amendment A5: nine-row open-type table (entry after the user's close or first opening in a tab: new conversation; after the console's phone-sheet collapse: same; a write awaiting approval in the conversation shown at the close: that one; pending question card per comment 7213286436: as row 1; named targets, reload, assistant bus, build threads, full-window toggle: as before), forceNew never resumeMode 'fresh' with the reason, a 'Not recorded yet' bullet, and the drawer header row. Names the superseded A3 'Addresses' sentence (the 'kept per tab' half; 'never in the URL' stands), with in-place pointers at A3 'Addresses' and 'Entries' and an A5 header entry. Card premise corrections written into the text: no pending-plan producer since #37720 (row 3 is a pending write), auto-collapse fires on any push/pop and shares the x collapse, share is /s/:token not the drawer, requestAssistantOpen's caller is the object designer, title follows the history row's label (latest user message), header already one row.",
      "tier": "default tier (dispatch-gates --tier: no path-derived mandate for ui/docs/adr/**); drafting in an isolated subagent at model opus, effort xhigh passed explicitly (this thread cannot change effort mid-session); thread served claude-opus-5-5 for review, commit, push, PR",
      "files_changed": ["ui/docs/adr/0057-console-ai-chat-one-conversation-docked.md"],
      "line_budget": "125 changed lines (+122 / -3); under the 3000 human-merge threshold",
      "tests": "docs-only; no package touched, no tests owed",
      "gates": "dispatch-gates --commands exit 0, 16 derived: 11 exit 0 (adr-anchors, adr-index, gitlink-declared, nul-bytes, published-files, refd-timer-probe, registry-log-declared, rest-log-spy-declared, tier-file-adoption, undeclared-dep-imports, watch-hint-literal); extra adr-links, adr-symbol-anchors (root tree only), ui check:new-line-citations exit 0; NOT MEASURED locally (no node_modules): closing-keyword-parity + --self-test, comment-mask-corpus, driver-memory-census, pm-governed-merges -> CI; PR check-runs in_progress at report time",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "deviations": [
        "edited in the platform checkout on the card-thread branch, no separate worktree (a branch cannot be checked out twice)",
        "no post-create review request (card threads do not request review; the seat hands off)"
      ],
      "mcp_calls": "0 GitHub MCP writes (reads only: issue_read on the card and topic)",
      "api_writes": "2 REST — fleet-write relay pr_create (POST pulls, assignee os-tesla, label skip-changeset; read-back identical); this os-dev-report comment via post-stamped. Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · reach: exception: maintainer-dispatched card text · A3 'One container' still names Studio's copilot, retired by #37720 · carrier: seat (ADR revisions week card)",
        "class: b · reach: exception: maintainer-dispatched card text · A2's app:PKG:build dock key no longer matches the drawer's product-only scope since #37720 · carrier: seat (ADR revisions week card)",
        "class: b · reach: exception: maintainer-dispatched card text · A3 'Entry' plan-awaiting-approval marker has no producer since #37720 · carrier: #37860 (records pending writes per A5) or seat"
      ]
    }
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibzLtFztVjQtMvtssA4

    Close-out: PR #37931 merged 2026-11-27T12:48Z (merge commit bc17334), which closed this card as completed. ui ADR-0057 Amendment A5 is on main; C4 #37860 implements it. Dropping pm:dispatched in the same stroke, on the seat's request (repo:objectstack#3 seat thread, 2026-11-27T12:52Z: "Please do the card's close-out (drop pm:dispatched with the close-out comment").

  7. removed
    pm:dispatched
    on Nov 27, 2026
  8. added a commit that references this issue on Dec 1, 2026
    bc17334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:docsenhancementpm:epicpriority:p1size/s

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions