Choose an agent with a swipe at Ready (0.2.0)
Bridge: an owner-configured list of agents (HERMEVEN_AGENTS). Each extra agent is another profile of the same Hermes gateway, reached at /p/<profile> with that profile's own key. GET /v1/agents lists ids and names; POST /v1/conversations takes an optional agent_id checked against the list. A conversation belongs to one agent (migration v3) and its turns are submitted, polled and stopped at that agent. /v1/device is unchanged so clients built earlier keep working. Client: at Ready a swipe moves between agents; the name is shown through the exchange; each agent keeps its own conversation; a follow-up goes to the agent that answered. Reopened within the conversation window it opens on the last agent, otherwise on the default. With one agent, or a bridge without /v1/agents, nothing changes. Also: contract section G, server survey and key evidence, the 0.1.2 upload, and the CODY-020 correction. Not reviewed, not deployed, not uploaded. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -257,3 +257,38 @@ message by a few minutes, on the owner's instruction. `evenhub ls` at 23:21 UTC:
|
||||
0.1.1; 0.1.0 retained, on no channel. The server was not changed.
|
||||
|
||||
Build 0.1.2 has **not** been uploaded.
|
||||
|
||||
## 23:48 UTC: build 0.1.2 uploaded
|
||||
|
||||
Cody, Round 14: SHIP (trial designation SHIP FOR TRIAL) on
|
||||
`15714bd848a7bf7230bb80d187de85af4b3fa66b`. Dan: "yes, upload 0.1.2". `evenhub upload` (id 155527,
|
||||
99,892 bytes, SHA-256 `3781f3e8256f0efdba4155fbd5d0926a6726f14ca3ed89bc039d34b48a0f608b`, built from
|
||||
that commit) and `evenhub promote 0.1.2 --to beta`. Dan has not reported a trial of 0.1.2.
|
||||
|
||||
## 23:52 to 23:58 UTC: Hermes profiles surveyed; keys added for wendy and cody
|
||||
|
||||
Read-only survey (Dan: "Yes, take a read-only survey"):
|
||||
|
||||
| Found | Detail |
|
||||
|---|---|
|
||||
| Profiles | default, cody, jeanette, natalie, wendy, all with a running gateway |
|
||||
| Gateways | `hermes-gateway.service` serves default, cody, natalie and wendy (`gateway.multiplex_profiles: true`); `hermes-gateway-jeanette.service` is separate and not on port 8642 |
|
||||
| API | Hermes v0.23.1 source: named profiles are served at `/p/<profile>/...` on the same port, each authorised by that profile's own `API_SERVER_KEY`, failing closed without one |
|
||||
| Unauthenticated probes | `/p/wendy/health`, `/p/cody/health`, `/p/natalie/health`: 200. `/p/jeanette/health`, `/p/nosuch/health`: 404 |
|
||||
| Keys before | Only the default profile had `API_SERVER_KEY` |
|
||||
|
||||
Changes (Dan: "Pepper, wendy and cody. yes. go for it."):
|
||||
|
||||
| Step | Result |
|
||||
|---|---|
|
||||
| `API_SERVER_KEY` (64 hex, generated on the server, never displayed) appended to `profiles/wendy/.env`; previous file kept as `.env.bak-hermeven-<time>` | File stays `hermes` 600. No gateway restart. |
|
||||
| Same for `profiles/cody/.env` | Same. |
|
||||
| Wendy's key at `/p/wendy/v1/runs/<unknown>` | 404: accepted, no such run. Effective without a restart. |
|
||||
| Wendy's key at the default address; the default key at `/p/wendy`; Cody's key at `/p/wendy` | 401 each |
|
||||
| One test question to Wendy through `POST /p/wendy/v1/runs` with an idempotency key ("connection test... Do not use any tools.") | 202; an identical resubmit returned the same run; completed in 4 s with a one-sentence answer identifying herself as Wendy. This created one session in Wendy's profile. |
|
||||
| That run looked up at the default address with the default key | 404 |
|
||||
| Cody's key at `/p/cody/v1/runs/<unknown>` | 404: accepted. No question was sent to Cody. |
|
||||
|
||||
`platforms.api_server.enabled` is `false` in wendy's and natalie's profile settings; the request
|
||||
above worked regardless. The bridge on the server was **not** changed: it still runs `d90cd89`
|
||||
with one agent, and the new keys are not yet in its settings.
|
||||
|
||||
Reference in New Issue
Block a user