You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI chat: text typed but not yet sent is lost when the chat pane learns its conversation id (deep link loading, or the new-conversation create answering) #33674
bugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Filing gate: ① a user-visible defect with a named producer, measured by the developer of PR #33673 (#33562/#33567, Acceptance notes) with a rendered probe on origin/maind95ddebc. Reader: domain:ui (ui/packages/app-shell/src/console/ai/AiChatPage.tsx). Filed as finding for triage; not graded or claimed by this seat (the ui lane takes P1/P2 only since 2026-11-15T05:05Z).
Dedupe: is:issue is:open ChatPane draft remount and is:issue is:open composer draft lost conversation find only #33562 (the joined-restore fix, a different path: submitted text) and #32984 (unrelated items).
What the user sees
In the AI chat (full page /ai, the console chat dock, the Studio copilot), text typed into the message box but NOT yet sent disappears when the conversation the pane belongs to becomes known:
On a deep link to an existing conversation (/ai/build/conv-7), text typed while the conversation is still loading is gone when it loads (the box comes back empty).
On a new conversation, after the first send, a second message typed (not sent) while POST /conversations is running is gone when the create answers; only the first message is sent.
A message the user SUBMITTED is never lost on either path (held and sent once; pinned by #33673's #33567 pin).
Where (on main)
ChatPane is keyed on ${chatApi}:${conversationId ?? 'pending'}, and the composer's text lives inside the pane (ChatbotEnhanced's textarea), so the remount from …:pending to the real id drops it.
Acceptance
A draft typed before the pane's id is known survives the remount on both paths (deep-link GET answering; new-conversation create answering), cursor at the end, nothing sent.
Pins through the rendered page on both paths, red first on base. CONTROL: a submitted message is held and sent once as today; a draft in an already-open conversation is unchanged.
Triage: first touch → domain:ui · p2 · 2026-11-15T05:46Z
⛔ Not a claim.
Text typed but not yet sent is lost when the chat pane learns its conversation id (a deep link loading, or the create answering). The user's input is lost with no warning, so p2. It is the measured form of #33567.
Claim: PM loop round 1 · 2026-11-15T06:42Z
Session: session_01FEkQ5peXUXXQ6HU4H89s6J (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
Account: os-project-manager
Branch: claude/project-thread-ztpzpa
Worktree: objectstack-issue-33674
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/console/ai/AiChatPage.tsx, ui/packages/app-shell/src/hooks/useChatConversation.ts, ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx (only if a prop is needed), their tests, root .changeset/. ⛔ No server, spec or cloud edit. ⛔ Serial: edits wait for seat 2's PR #33673 (same files) to merge; seat 2's #33660 shares AiChatPage.tsx / ChatbotEnhanced.tsx and the seat orders the landings.
Container & model: M, mode:thread, model: default tier, effort: default
Clause-②: no (fix inside the private @object-ui/app-shell expected); becomes yes (widening) if ChatbotEnhanced (@object-ui/plugin-chatbot) needs a new prop, then a contract record is owed
Metadata-protocol: none
Responsibility: text typed but not yet sent is lost when the chat pane learns its conversation id (deep link GET answering; new-conversation create answering) | ChatPane is keyed on the conversation id and the composer's text lives in the pane | a person typing in the AI chat while a conversation loads or is created
Thread-read: 6889937205
Premise: holds: measured by PR #33673's dev with a rendered probe on d95ddebc (#33673 Acceptance notes); triage#1 first touch 6889937205 graded p2
Serial constraints cleared: no other pm:dispatcheddomain:ui card claims a file in this surface (live label read; ui seat 1's live PRs #33671#33677#33679 are disjoint; ui seat 1 agreed this card is seat 2's); no other ui seat holds a Claim: on these files
domain:ui#2 · os-project-manager · session_01FEkQ5peXUXXQ6HU4H89s6J
os-dev-report
{
"issue": 33674,
"status": "done",
"branch": "claude/project-thread-ztpzpa",
"pr": "#33727",
"session": "session_01FEkQ5peXUXXQ6HU4H89s6J",
"premise_still_valid": true,
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 8500bab: 38 families (same list as at 8702038); 37 exit 0 in the loop, 'pnpm --dir ui exec vitest run scripts/' first exit 99 (lock queue budget ran out behind the suites, NOT MEASURED) and re-run alone under the lock with --maxWorkers=2: 171 files passed, 2 skipped, VERDICT command-exit 0. --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (record /mnt/project-files/pm-orders/ui/33674-33685-gates-ran.txt). Extra: pnpm --filter @object-ui/app-shell run type-check exit 0; eslint --no-inline-config on AiChatPage.tsx, useChatConversation.ts and the harness exit 0 (0 errors; +1 react-refresh/only-export-components warning vs base for the new exported hook); pnpm check:new-line-citations (from ui/) 0 new, exit 0. CI check-runs on PR #33727: in_progress at report time.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls (reads through gh api GET; writes through the relay)",
"api_writes": "3 — POST dispatches (relay pr_create, run 43693428126, read-back identical, PR #33727); this os-dev-report comment on #33674 and its twin on #33685, both via post-stamped. git push is not a REST write.",
"security_findings": "none",
"summary": "Measured first on origin/main 5604aeb (which carries #33673) through the #33420 harness: on the full page and the dock, text typed but not sent before the pane knew its conversation (path a: the conversation GET held then answered; path b: the create held while a second message is typed) was gone after the id-keyed remount. Fix, commit 0d69e25, AiChatPage.tsx only: the ChatPane key stays (runtime and messages belong to one conversation); new useComposerDraftHandoff has a pending pane hand its composer text to the replacing pane in the same commit (unmount layout cleanup writes, mount layout effect reads; WeakMap keyed by the host's pendingFirstMessageRef; a microtask drops an untaken entry), into the empty box with the cursor at the end and focus kept; nothing is sent. Carried only from a pending pane, to an id pane on the same endpoint, while the host still asks for the conversation it asked for when the text was typed (new optional ChatPane prop requestedConversationId, passed by the /ai page as its activeId; dock and Studio copilot pass nothing, matching their activeId undefined, so no host file changed). Decided and pinned: opening another conversation leaves a draft behind. No ChatbotEnhanced prop: Clause-② no. One PR with #33685 as the seat ruled; a third commit 8500bab fixes a react-hooks/globals lint error in the harness (branch not rewritten).",
"tests": "AiChatPage.firstMessageDrawnAtOnce-33420.test.tsx (rendered, driven through the composer): page + dock path (a) and path (b) (new box, same text, cursor at end, focused, nothing sent; path b first message sent once, drawn once); CONTROL page + dock a draft in an open conversation stays in the same box; CONTROL page switching to another conversation (from a new chat, and from an open one) leaves the box empty; 4 hook unit pins (pending pane hands on; a pane with a conversation hands nothing on; another endpoint takes nothing; an untaken hand-off is dropped). Red first, sources at 5604aeb with the 0d69e25 harness: 8 failed / 14 passed (4 path pins 'expected empty string' + 4 unit pins 'useComposerDraftHandoff is not a function'); every CONTROL green on base. Ablations via scripts/ablation-replace.mjs (src-resolved, no build), each restored blob == HEAD and git diff HEAD empty, harness 34 tests: A1 restore write removed 5 failed (4 path pins + the hand-on unit pin); A2 requested-conversation guard always true 1 failed (switch from a new chat); A3 pending-only guard never true 1 failed (pane with a conversation); A4 microtask expiry removed 1 failed (untaken hand-off); A5 endpoint guard always true 1 failed (another endpoint). On 8500bab: harness 34/34; useChatConversation + console/ai + layout + studio-design + plugin-chatbot 627 files / 4848 tests passed (VERDICT command-exit 0).",
"open_questions": [],
"out_of_scope_findings": [
"carrier: none · noted, not filed: the dock moving between apps with a draft in its pending pane keeps the same pane (same key, as today) and the draft is now kept when the new app's conversation lands; a draft in an open conversation is not carried. PR Acceptance notes."
]
}
Seat review: PR #33727 ACCEPT on head 8500bab4 (2026-11-15T08:34Z), for #33674 and #33685 together. K = 8, CI green; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).
bugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p2 · 2026-11-15T05:46Z⛔ Not a claim.
Text typed but not yet sent is lost when the chat pane learns its conversation id (a deep link loading, or the create answering). The user's input is lost with no warning, so p2. It is the measured form of #33567.
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Claim: PM loop round 1 · 2026-11-15T06:42Z
Session:
session_01FEkQ5peXUXXQ6HU4H89s6J(card thread, dev) · seatsession_01FEkQ5oF8GgTHN2jBZoDwz8Account:
os-project-managerBranch:
claude/project-thread-ztpzpaWorktree:
objectstack-issue-33674Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/console/ai/AiChatPage.tsx,ui/packages/app-shell/src/hooks/useChatConversation.ts,ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx(only if a prop is needed), their tests, root.changeset/. ⛔ No server, spec or cloud edit. ⛔ Serial: edits wait for seat 2's PR #33673 (same files) to merge; seat 2's #33660 sharesAiChatPage.tsx/ChatbotEnhanced.tsxand the seat orders the landings.Container & model: M,
mode:thread,model: default tier,effort: defaultClause-②: no (fix inside the private
@object-ui/app-shellexpected); becomes yes (widening) ifChatbotEnhanced(@object-ui/plugin-chatbot) needs a new prop, then a contract record is owedMetadata-protocol: none
Responsibility: text typed but not yet sent is lost when the chat pane learns its conversation id (deep link GET answering; new-conversation create answering) |
ChatPaneis keyed on the conversation id and the composer's text lives in the pane | a person typing in the AI chat while a conversation loads or is createdThread-read: 6889937205
Premise: holds: measured by PR #33673's dev with a rendered probe on
d95ddebc(#33673 Acceptance notes); triage#1 first touch 6889937205 graded p2Serial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read; ui seat 1's live PRs #33671 #33677 #33679 are disjoint; ui seat 1 agreed this card is seat 2's); no other ui seat holds aClaim:on these filesScope: p2. Order:
/mnt/project-files/pm-orders/ui/order-33674.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「任务进展如何,后续只处理 p1 p2」 (2026-11-15T05:05Z).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5peXUXXQ6HU4H89s6J
os-dev-report
{
"issue": 33674,
"status": "done",
"branch": "claude/project-thread-ztpzpa",
"pr": "#33727",
"session": "session_01FEkQ5peXUXXQ6HU4H89s6J",
"premise_still_valid": true,
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 8500bab: 38 families (same list as at 8702038); 37 exit 0 in the loop, 'pnpm --dir ui exec vitest run scripts/' first exit 99 (lock queue budget ran out behind the suites, NOT MEASURED) and re-run alone under the lock with --maxWorkers=2: 171 files passed, 2 skipped, VERDICT command-exit 0. --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (record /mnt/project-files/pm-orders/ui/33674-33685-gates-ran.txt). Extra: pnpm --filter @object-ui/app-shell run type-check exit 0; eslint --no-inline-config on AiChatPage.tsx, useChatConversation.ts and the harness exit 0 (0 errors; +1 react-refresh/only-export-components warning vs base for the new exported hook); pnpm check:new-line-citations (from ui/) 0 new, exit 0. CI check-runs on PR #33727: in_progress at report time.",
"dogfood_battery": "n/a — no
!in the PR title and no (narrowing) arm","mcp_calls": "0 — no MCP GitHub calls (reads through gh api GET; writes through the relay)",
"api_writes": "3 — POST dispatches (relay pr_create, run 43693428126, read-back identical, PR #33727); this os-dev-report comment on #33674 and its twin on #33685, both via post-stamped. git push is not a REST write.",
"security_findings": "none",
"summary": "Measured first on origin/main 5604aeb (which carries #33673) through the #33420 harness: on the full page and the dock, text typed but not sent before the pane knew its conversation (path a: the conversation GET held then answered; path b: the create held while a second message is typed) was gone after the id-keyed remount. Fix, commit 0d69e25, AiChatPage.tsx only: the ChatPane key stays (runtime and messages belong to one conversation); new useComposerDraftHandoff has a pending pane hand its composer text to the replacing pane in the same commit (unmount layout cleanup writes, mount layout effect reads; WeakMap keyed by the host's pendingFirstMessageRef; a microtask drops an untaken entry), into the empty box with the cursor at the end and focus kept; nothing is sent. Carried only from a pending pane, to an id pane on the same endpoint, while the host still asks for the conversation it asked for when the text was typed (new optional ChatPane prop requestedConversationId, passed by the /ai page as its activeId; dock and Studio copilot pass nothing, matching their activeId undefined, so no host file changed). Decided and pinned: opening another conversation leaves a draft behind. No ChatbotEnhanced prop: Clause-② no. One PR with #33685 as the seat ruled; a third commit 8500bab fixes a react-hooks/globals lint error in the harness (branch not rewritten).",
"tests": "AiChatPage.firstMessageDrawnAtOnce-33420.test.tsx (rendered, driven through the composer): page + dock path (a) and path (b) (new box, same text, cursor at end, focused, nothing sent; path b first message sent once, drawn once); CONTROL page + dock a draft in an open conversation stays in the same box; CONTROL page switching to another conversation (from a new chat, and from an open one) leaves the box empty; 4 hook unit pins (pending pane hands on; a pane with a conversation hands nothing on; another endpoint takes nothing; an untaken hand-off is dropped). Red first, sources at 5604aeb with the 0d69e25 harness: 8 failed / 14 passed (4 path pins 'expected empty string' + 4 unit pins 'useComposerDraftHandoff is not a function'); every CONTROL green on base. Ablations via scripts/ablation-replace.mjs (src-resolved, no build), each restored blob == HEAD and git diff HEAD empty, harness 34 tests: A1 restore write removed 5 failed (4 path pins + the hand-on unit pin); A2 requested-conversation guard always true 1 failed (switch from a new chat); A3 pending-only guard never true 1 failed (pane with a conversation); A4 microtask expiry removed 1 failed (untaken hand-off); A5 endpoint guard always true 1 failed (another endpoint). On 8500bab: harness 34/34; useChatConversation + console/ai + layout + studio-design + plugin-chatbot 627 files / 4848 tests passed (VERDICT command-exit 0).",
"open_questions": [],
"out_of_scope_findings": [
"carrier: none · noted, not filed: the dock moving between apps with a draft in its pending pane keeps the same pane (same key, as today) and the draft is now kept when the new app's conversation lands; a draft in an open conversation is not carried. PR Acceptance notes."
]
}
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Seat review: PR #33727 ACCEPT on head
8500bab4(2026-11-15T08:34Z), for #33674 and #33685 together. K = 8, CI green; ready + auto-merge set in the same stroke. Contract record not owed (Clause-② no).objectstack-fleet commentedon Nov 15, 2026
domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8
Landed · 2026-11-15T08:57Z
baf9f3b0onmain(closes this card viaFixes #33674)State:
pm:dispatchedremoved, assignee cleared; card closed by the merge. Shipped with #33685 in one PR (seat ACCEPT 6891760359).fix(console): AI chat keeps a draft typed before the conversation is …