023 box heads: one head band per box under its top border; in widget mode its controls join the widget title band. 024 Match card content: merge cards show their diff (the runner previews a review's tree against its worktree HEAD), every card carries legal and architecture scores, the null under command cards is gone. 025 Radio speak card: no hint text, a rounder flowing card, a MAYDAY toggle beside push to talk. 026 widget zoom: zoom a widget's content by keyboard and the context menu. 027 slash skill suggestions: every field that messages agents suggests skills after a slash, from a skills index the tree timer writes. 028 Resources accounts: an Accounts panel (provider, renewal, resets, usage and remaining, host-local, emails never in git) and panel checkboxes. 029 Controls layout: Rules and Groups pages laid out. 030 Yes/No answers as buttons, and nothing hides: rows the runner cannot run stay greyed with the reason. 031 mic in fields. Line comments (operator 2026-11-24): wherever code waits for a grant (Waits on Operator, the stream, the review overlay) selected lines or a right-clicked row take a comment that marks its lines and collects on the card; Deny opens with them as the reason and Call preselected, Grant sends them after the signed grant as one post. Requirement 003 decision 4 and its contract follow. Tests are written for every requirement and run once on this head. 🎯 Fix: 80 % 💥 Break: 20 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: ~95 % 🏆 Score: 61 🚦 Gate: ⛔ fix 80 % < 90, break 20 % > 5; security ~95 % < 100: ask the operator before the commit Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
69 lines
2.9 KiB
Markdown
69 lines
2.9 KiB
Markdown
# 025 - Radio Speak Card
|
|
|
|
## User Story
|
|
|
|
As the operator, I want a calm, rounded Speak card with MAYDAY next to PTT,
|
|
so that I write without fine print and raise or lift a mayday where I send.
|
|
|
|
## Decisions (operator-confirmed 2026-11-23; do not re-litigate)
|
|
|
|
1. **No hint line**: "Post arrives at the end of the turn. Your passkey
|
|
signs every message." goes; each channel's meaning moves to its option's
|
|
title, the signature note to PTT's tooltip.
|
|
2. **MAYDAY toggle**: one button right of the PTT split button. Without an
|
|
active mayday it reads MAYDAY, asks in an in-page confirm and sends the
|
|
typed text as mayday to all; with one active it is pressed, reads
|
|
"Cancel mayday" and lifts it (`clear-mayday`). Mayday leaves the channel
|
|
select; the separate cancel button goes. Rejected: Mayday in the select
|
|
(two ways to one alarm).
|
|
3. **Flowing shape**: one surface without inner boxes: Channel and To as one
|
|
joined pill row, the textarea below, footer Record, mic, MAYDAY and PTT
|
|
in one row; card radius 14 px, fields 10 px; usable at 390.
|
|
4. **Timing**: 023 decision 5.
|
|
|
|
## Approach
|
|
|
|
```mermaid
|
|
flowchart TD
|
|
subgraph P["🧭 0 · Preparation"]
|
|
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
|
|
P2 -- "✏️ corrections" --> P1
|
|
end
|
|
P2 -- "🤖 yes, after 024" --> A1
|
|
subgraph A["📻 A · Speak card"]
|
|
A1["🧹 Hint line gone, titles on the options"] --> A2["🆘 MAYDAY toggle beside PTT"]
|
|
A2 --> A3["🎨 One flowing surface"]
|
|
A3 --> A4["✍️ Unit and E2E tests written"]
|
|
end
|
|
A4 --> C1
|
|
subgraph C["🧪 C · After 030"]
|
|
C1["🧪 All tests of 023 to 030 once"] --> C2{"🟢 Green?"}
|
|
C2 -- "🔴 no: fix" --> C1
|
|
C2 -- "🟢 yes" --> CF{"💬 Operator feedback on screenshots?"}
|
|
CF -- "✏️ changes" --> A1
|
|
end
|
|
CF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
|
|
```
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] The Speak card holds neither hint sentence.
|
|
- [ ] The channel select has no mayday option; every option has a title.
|
|
- [ ] MAYDAY is the next sibling of the PTT split button.
|
|
- [ ] MAYDAY opens the in-page confirm; Confirm sends one mayday row with
|
|
the typed text, Cancel sends nothing.
|
|
- [ ] With an active mayday the button has `aria-pressed="true"` and reads
|
|
"Cancel mayday"; confirming clears it and it reads MAYDAY again.
|
|
- [ ] `grep -n 'window.confirm' orchestrator/templates/page-composer.js`
|
|
finds nothing.
|
|
- [ ] The card has no descendant `.card`; its radius is 14 px, its fields'
|
|
10 px.
|
|
- [ ] At 390 the footer fits the card width without horizontal scroll.
|
|
|
|
### Tests
|
|
|
|
- [ ] Unit: toggle state from `state.silence`; the select without mayday.
|
|
- [ ] Integration: n/a: the server's mayday and clear paths are unchanged.
|
|
- [ ] E2E: raise and cancel a mayday, the layout probes at 1920, 1366 and
|
|
390; screenshots.
|