# 095 - Compact Agent Message Box ## User Story As the operator, I want the message box to one agent to be one compact field with everything inside it, so that I write, attach and send without a second file picker or explanation text in the way. ## Decisions (operator-confirmed 2026-11-27; do not re-litigate) 1. **One merged field** (operator): the message dialog to one agent (`openAgent` in `orchestrator/templates/page-agent.js`) looks like the radio composer of 066: text area on top, one footer row inside the same frame. 2. **No second file picker** (operator): the native "Choose File" input goes; the paperclip of 082 attaches files. 3. **Controls in the footer** (operator): Post/Call as a small segmented switch on the left, paperclip, mic and the Send button on the right of the field's footer. 4. **No explanation line** (operator): "Post arrives at the end of the turn, ..." goes; the passkey and `operator_message` hint moves into the Send button's tooltip, the Post and Call meaning into their tooltips. ## Approach ```mermaid flowchart TD subgraph P["๐Ÿงญ 0 ยท Preparation"] P1["๐Ÿ“‹ Write requirement"] --> P2{"โœ… Operator approves?"} P2 -- "โœ๏ธ corrections" --> P1 end P2 -- "๐Ÿค– yes" --> A1 subgraph A["โœ‰๏ธ A ยท Message box"] A1["๐Ÿงฉ Footer with Post/Call, paperclip, mic, Send"] --> A2["๐Ÿ—‘๏ธ File input and explanation line gone"] A2 --> A3{"๐Ÿงช E2E green?"} A3 -- "๐Ÿ”ด no: fix" --> A1 A3 -- "๐ŸŸข yes" --> AF{"๐Ÿ’ฌ Operator feedback on screenshots?"} AF -- "โœ๏ธ changes" --> A1 end AF -- "๐Ÿ‘ fits" --> D1["๐Ÿ Review, commit with operator OK, hand-over"] ``` ## Acceptance Criteria ### Layout - [ ] The agent message dialog holds no `input[type=file]` and no explanation paragraph. - [ ] Post/Call, paperclip, mic and Send lie inside the field's frame in one footer row at 1366 and 390 px. - [ ] Send's tooltip names the passkey signature and `operator_message`; Post and Call each explain their delivery in their tooltip. ### Function - [ ] A message with a pasted screenshot arrives with its `๐Ÿ“Ž` path line; Post and Call still choose the class. ### Tests - Unit: - n/a: layout only. - Integration: - n/a: no server change. - E2E: - [ ] `tests/e2e/test_agent_message_box_e2e.py`: no file input, footer controls inside the frame, send as post and as call, screenshots at 1366 and 390.