Description
The owner reported (2026-11-23): on the iPhone, where an agent's question is answered by picking one of its choices, there is no way to answer in words of one's own. Claude Code, Copilot CLI and Antigravity all offer a row after the last choice ("Type something.", "Other", "Write-in…") that takes such an answer, and the host already types a written answer into it (Sources/AgentTermHost/AgentAnswer.swift:6-40), so the iPhone should offer one wherever it offers the choices.
Said by the owner (2026-11-23): the fault is when the agent's list of answers has a place to write one's own (the row after the choices): the app's answer place does not offer it. What the code shows: the host takes a question's choices from the agent's hook (Sources/AgentTermHost/AgentHooks.swift:137-140 for Claude Code's AskUserQuestion, :162-165 for Copilot's ask_user, :183-188 for Antigravity's ask_question), which holds only the agent's options; the row to write in that each agent shows after them is in no choices, so nothing the app shows stands for it. The host already types a written answer into that row (AgentAnswer.swift:46-48).
Where the iPhone shows a question's choices, as read in the code at commit 968516d:
- A notification with choices (
iOS/NotificationShared/NoticeContent.swift:29-37): one button per choice, up toAgentNotice.mostButtons(9), then the text reply action last. Not known: how many actions iOS 27 shows for a notification, and whether the reply is left out when there are many choices; this needs a real iPhone with a TestFlight build, since pushes do not reach a simulator. - An Inbox item opened (
iOS/AgentTerm/NoticeScreen.swift:106-113): the choices are listed as text only, with neither buttons nor a field to answer in. - The compose bar of a session (
iOS/AgentTerm/TerminalScreen.swift:656-668): the choices are buttons, and the Answer field is there once Answer is picked.
Not known yet: in which of these the owner saw it, and whether the Mac's Inbox (Sources/AgentTermMac/InboxView.swift:256-260, choices as text only) has the same lack.
- Tried with the real agents at their versions (principle 5): what each shows as the row to write in, and whether a question of Claude Code's with several questions or several choices to pick (
multiSelect) is read as more than its first (questions.first) - Tried on a real iPhone for the notification
- Reproduced: a test that fails because there is no way to answer in words of one's own there, seen failing
- Fixed, the test passing, the layers of rule 2 run, committed, CI green
Definition of done
- What each real agent shows as the row to write in is tried and written here, with its version (principle 5); for the notification, how many actions iOS 27 shows is tried on a real iPhone and written here, with the iOS version.
- A test that fails because a question with choices offers no answer in words of one's own where it is answered (
scripts/test-ios.sh "iPhone Air", a mode of its own), seen failing, then passing. - Wherever the iPhone offers a question's choices and the agent's list has a row to write in, the iPhone offers that row as a field for an answer of one's own, sent as the host sends a written answer (
AgentAnswer); the reply of a notification is never left out for the choices. - The Mac's Inbox is looked at for the same lack, and given the same (principle 1: what is answered in one step is on both), in the same words, from
AgentTermProtocol(principle 9). - A case in
docs/TESTING.mdthat the test names;docs/SPEC.mdsays it. swift build,swift test,scripts/test-ios.sh "iPhone Air", andscripts/test-mac.shif the Mac changes; the pictures of the answer place looked at (scripts/screenshots.sh); what only a real iPhone shows noted in the milestone's pull request.make formatandmake lint, committed on the milestone's branch and pushed, CI on the branch green.
Tiếng Việt
Đây là bản dịch của phần tiếng Anh ở trên; các ô đánh dấu chỉ có ở phần tiếng Anh.
Owner báo (2026-11-23): trên iPhone, ở chỗ trả lời câu hỏi của agent bằng cách chọn một trong các lựa chọn, không có cách nào trả lời bằng chữ của mình. Claude Code, Copilot CLI và Antigravity đều có một dòng sau lựa chọn cuối ("Type something.", "Other", "Write-in…") nhận câu trả lời như vậy, và host đã gõ câu trả lời bằng chữ vào dòng đó (Sources/AgentTermHost/AgentAnswer.swift:6-40), nên iPhone cần có ô nhập ở mọi chỗ nó đưa ra các lựa chọn.
Owner nói rõ (2026-11-23): lỗi xảy ra khi danh sách đáp án của agent có một chỗ để nhập chữ (dòng sau các lựa chọn): chỗ trả lời của app không đưa ra chỗ đó. Code cho thấy: host lấy các lựa chọn của câu hỏi từ hook của agent (Sources/AgentTermHost/AgentHooks.swift:137-140 cho AskUserQuestion của Claude Code, :162-165 cho ask_user của Copilot, :183-188 cho ask_question của Antigravity), vốn chỉ chứa các lựa chọn của agent; dòng để nhập mà mỗi agent hiện sau chúng không có trong choices nào, nên không có gì app hiện ra đại diện cho nó. Host đã biết gõ câu trả lời bằng chữ vào dòng đó (AgentAnswer.swift:46-48).
Những chỗ iPhone hiện các lựa chọn của một câu hỏi, đọc trong code ở commit 968516d:
- Notification có lựa chọn (
iOS/NotificationShared/NoticeContent.swift:29-37): mỗi lựa chọn một nút, tối đaAgentNotice.mostButtons(9), rồi đến action trả lời bằng chữ ở cuối. Chưa biết: iOS 27 hiện bao nhiêu action cho một notification, và action trả lời có bị bỏ đi khi có nhiều lựa chọn không; việc này cần iPhone thật với bản TestFlight, vì push không đến simulator. - Một mục Inbox được mở (
iOS/AgentTerm/NoticeScreen.swift:106-113): các lựa chọn chỉ được liệt kê bằng chữ, không có nút cũng không có ô để trả lời. - Thanh soạn của một session (
iOS/AgentTerm/TerminalScreen.swift:656-668): các lựa chọn là nút, và ô Answer có khi chọn Answer.
Chưa biết: owner thấy ở chỗ nào trong số này, và Inbox của Mac (Sources/AgentTermMac/InboxView.swift:256-260, lựa chọn chỉ là chữ) có thiếu giống vậy không.
- Thử với các agent thật ở phiên bản đang dùng (nguyên tắc 5): mỗi agent hiện dòng để nhập ra sao, và một câu hỏi của Claude Code có nhiều câu hỏi hoặc cho chọn nhiều lựa chọn (
multiSelect) có được đọc quá câu đầu tiên không (questions.first) - Thử notification trên iPhone thật
- Tái hiện: một test fail vì ở đó không có cách trả lời bằng chữ của mình, đã thấy fail
- Đã sửa, test pass, chạy các tầng của rule 2, commit, CI xanh
Định nghĩa hoàn thành
- Mỗi agent thật hiện dòng để nhập ra sao được thử và ghi vào đây, kèm phiên bản (nguyên tắc 5); với notification, iOS 27 hiện bao nhiêu action được thử trên iPhone thật và ghi vào đây, kèm phiên bản iOS.
- Một test fail vì câu hỏi có lựa chọn không cho trả lời bằng chữ của mình ở chỗ trả lời (
scripts/test-ios.sh "iPhone Air", một mode riêng), đã thấy fail, rồi pass. - Ở mọi chỗ iPhone đưa ra các lựa chọn của câu hỏi mà danh sách của agent có dòng để nhập, iPhone đưa dòng đó ra thành một ô cho câu trả lời của mình, được gửi như host gửi câu trả lời bằng chữ (
AgentAnswer); action trả lời của notification không bao giờ bị bỏ vì các lựa chọn. - Inbox của Mac được xem có thiếu giống vậy không, và được bổ sung như iPhone (nguyên tắc 1: thứ trả lời trong một bước có ở cả hai), cùng câu chữ, lấy từ
AgentTermProtocol(nguyên tắc 9). - Một case trong
docs/TESTING.mdmà test ghi tên;docs/SPEC.mdcó nói đến. swift build,swift test,scripts/test-ios.sh "iPhone Air", vàscripts/test-mac.shnếu Mac thay đổi; ảnh chụp chỗ trả lời được xem (scripts/screenshots.sh); những gì chỉ iPhone thật mới thấy được ghi trong pull request của milestone.make formatvàmake lint, commit trên nhánh của milestone và push, CI trên nhánh xanh.
Activity
[-]On the iPhone, a question with choices offers no way to answer in words of one's own[/-][+]When an agent's list of answers has a place to write one's own, the iPhone's answer place does not offer it[/+]manhpham90vn commentedon Nov 23, 2026
Not tried with the real agents yet, 2026-11-24. The trial needs a signed-in agent answering a question in a folder it trusts. With a
CLAUDE_CONFIG_DIRof its own, Claude Code 2.1.330 is not signed in: it says "Not logged in" and asks nothing. In the owner's own configuration, a new folder brings its trust question first. Signing in and answering that question are the owner's, under rule 1. Written in PR #326 for the owner. Stays open.fix: take back the profile question, answer an agent from the Inbox, …
manhpham90vn commentedon Nov 25, 2026
Closed at the owner's word (2026-11-25): the automated tests are enough for 0.15.1; the trials below are not done.
Done: the Inbox answer on both apps (
NoticeAnswer,AnswerField, words fromAgentTermProtocol), Reply first in a notification (4dfe99e,NoticeActionTests.testWrittenReplyPrecedesTheChoices), IOS-26, IOS-26a, INBOX-14, SPEC.md. Run 2026-11-25:INBOXASK=only scripts/test-ios.sh "iPhone Air"passed, and its pictures25-inbox-answerand26-inbox-answeredwere looked at;swift build,swift test(558 tests, 0 failures);make lint; CI on PR #331.Not done:
multiSelector several questions, not tried with the real agents; Claude Code 2.1.331's "Type something." row is in TESTING.md NOTICE-7a.scripts/test-mac.shrun after the change.