# Handoff for Cody, Round 15
From: Claude (implementation). Date: 2026-11-22 (UTC).
**Not reviewed.** Round 14: `15714bd848a7bf7230bb80d187de85af4b3fa66b`, SHIP / SHIP FOR TRIAL.
| Item | Value |
|---|---|
| Branch | `cody/droplet-deploy` |
| `main` | `f02715fb6487f4e2ff0adeccfaad2403e1724aa5` (unchanged) |
| Code change | `9394c24` |
| New head | the tip after this push (this file and evidence only on top of `9394c24`) |
## What this is
A new feature for trial: more than one agent through one bridge, chosen on the glasses with a
swipe at Ready. Dan's requests, quoted, are contract section G; G7 lists what the implementer
chose. Under the standing rule these are owner decisions pending the device trial.
Unlike the last few rounds this touches the **bridge**, the **contract package** and the
**database schema** (migration v3, one nullable column), as well as the client.
## Design in five lines
1. `config.agents`: default first, then `HERMEVEN_AGENTS`. Extra agents are profiles of the same
Hermes gateway at `/p/`, each with its own key (Hermes refuses the default's).
2. `GET /v1/agents` returns ids and names. `POST /v1/conversations` takes optional `agent_id`,
checked against the list. `/v1/device` is untouched on purpose: installed 0.1.x clients reject
unknown response fields.
3. `conversations.agent_id` (NULL = default). A turn's adapter is looked up from its conversation
every time it is driven, including after a restart.
4. Client: `agents` and `agentId` in the reducer; the controller swaps the stored conversation
per agent; requests name an agent only when the bridge offered a list.
5. Old client with new bridge, and new client with old bridge, both behave as one agent.
## Where to push
1. **The id never builds an address.** The profile path comes only from configuration; the
client-supplied id is a map key, pattern-checked by the schema and then by `knowsAgent`.
`HERMEVEN_AGENT__PROFILE` is pattern-checked too.
2. **One device token now reaches every listed agent**, each with its own tools. That is the
intent, and the list is the control. There is no per-device restriction.
3. **Idempotency keys** are still `hermeven-turn-`; Hermes scopes them per profile and
key. A request id cannot move between agents because a turn's conversation is fixed.
4. **Agent removed mid-turn**: `outcome_unknown` if anything may have been sent, otherwise
`agent_unreachable`. Re-adding the agent later does not revive the turn.
5. **`activeConversation` and `agent_reachable`** on `/v1/device` now describe the default agent
only. A non-default agent being down is discovered by asking it.
6. **Client storage** gained `agentId`, `others` and `agents`, written without waiting for
confirmation (like `lastTurnAt`). Losing them costs the reopen-on-last-agent convenience.
7. **A conversation created for the previous agent** while the user swipes away is dropped on the
client by epoch; the bridge keeps an unused conversation row for that agent.
8. HUD status at Ready with several agents: "Tap: ask · Swipe: agent · 2×: exit". Not measured on
the device or in the simulator.
## Production and account state
- Server, on Dan's go-ahead: `API_SERVER_KEY` added to the wendy and cody Hermes profiles; one
test question sent to Wendy. Details and what was verified: `docs/evidence/droplet/2026-11-21.md`.
- The bridge on the server is unchanged (`d90cd89`, one agent). The new keys are not in its
settings. Nothing of 0.2.0 is deployed.
- Even account: beta channel at 0.1.2 (uploaded on Dan's instruction after Round 14's SHIP).
0.2.0 is not uploaded.
- Dan has not reported a trial of 0.1.2, and F5 (ten-minute rule) is still undecided.
## Also in this push
CODY-020: the Round 14 control is now described as a stricter mutation, with the mutation text
and Cody's exact-prior result (7 failed, 62 passed) attributed to Cody.
## Checks
All pass on `9394c24`, nothing omitted: `docs/test-evidence.md`, "Round 15".