# 053 - Agent Settings on Every Face and Name ## User Story As the operator, I want every agent's avatar and name to open that agent, with settings of its own, so that I tune one noisy agent without touching the rest. ## Decisions (operator-confirmed 2026-11-25; do not re-litigate) 1. **Always clickable** (operator): every agent avatar and every agent name in the hub opens the agent popover (`openAgent`). Today names built by `person()` do; avatars and names written as plain text do not. 2. **Per-agent settings** (operator): the popover gains the agent's own switches for sound, read aloud and bubbles, each on or off for this agent only, stored in the signed settings. ## Approach ```mermaid flowchart TD subgraph P["๐Ÿงญ 0 ยท Preparation"] P1["๐Ÿ“‹ Write requirement"] --> P2{"โœ… Operator approves?"} P2 -- "โœ๏ธ corrections" --> P1 end P2 -- "๐Ÿค– yes" --> A1 subgraph A["๐Ÿง‘ A ยท Agent settings"] A1["๐Ÿงฉ Faces and names open the agent"] --> A2["๐ŸŽš๏ธ Sound, read aloud, bubbles per agent"] A2 --> A3["โœ๏ธ Integration and E2E tests written"] end A3 --> C1 subgraph C["๐Ÿงช C ยท All of 039 to 053"] C1["๐Ÿงช All tests 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 ### Clickable - [ ] In Stream, Waits on Operator, Match, Tasks and the radio log, every `.avatar[data-face]` and every agent name sits in a button that opens the agent popover; dragging a Match card by its head still works. ### Settings - [ ] The agent popover holds `.agent-settings` with three switches. - [ ] Sound off: no tone for that agent's radio; read aloud off: its messages are not spoken; bubbles off: no bubble for it. Other agents stay as they were. ### Tests - [ ] Unit: n/a: page JS. - [ ] Integration: the settings schema accepts the per-agent map and refuses unknown keys. - [ ] E2E: the Clickable and Settings checks in Chromium; screenshots.