095 compact agent message box, 096 silent reject of expired Match cards, 097 Match show filter in the right-click menu, 098 docked speech bubbles with avatar and skip, 099 Match card headline capped at 120 characters. 094 gains the live test result, the 5 s close criterion and decision 6: closes are bound to a per-session closer token. README describes the 094 hook protocol and the uncapped prune list. 🎯 Fix: 97 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 96 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
69 lines
2.4 KiB
Markdown
69 lines
2.4 KiB
Markdown
# 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.
|