Round 15 handoff and evidence (documentation only)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -651,3 +651,58 @@ Negative control (stricter mutation): leave only after a `glassesMenu` launch so
|
||||
11 of the 69 tests in the two files fail, including all five new cases above except "never
|
||||
paired". The CODY-019 control was not re-run; `activityEpoch` and its tests are unchanged and
|
||||
pass.
|
||||
|
||||
## Round 15: choosing an agent, 0.2.0 (2026-11-21/22)
|
||||
|
||||
Run on `9394c24`.
|
||||
|
||||
```
|
||||
$ npm ci exit 0
|
||||
$ npm run typecheck exit 0
|
||||
$ npm test Test Files 15 passed; Tests 296 passed (296)
|
||||
$ vitest --project integration agents + idleExitHost + client-bridge + clientSecurity + entryPoint + bridge
|
||||
Tests 174 passed (174)
|
||||
$ npm run client:build built
|
||||
$ HERMEVEN_BRIDGE_ORIGIN=https://hermeven.xylo.gg npm run -w @hermeven/even-client pack
|
||||
Stamped hermeven.ehpk (100769 bytes); not uploaded
|
||||
$ npm run test:real-stt Tests 11 passed (11)
|
||||
$ npm run test:real-hermes Tests 9 passed (9) (default agent only; see below)
|
||||
$ npm run test:simulator Tests 8 passed (8) (one agent: screens unchanged)
|
||||
$ bash -n deploy/install.sh tests/deploy/runbook-proof.sh ok
|
||||
$ tests/deploy/runbook-proof.sh exit 0 (Caddy "Valid configuration"; systemd-analyze verify ok)
|
||||
$ git diff --check f02715f...HEAD ; git diff --check 15714bd..HEAD clean
|
||||
```
|
||||
|
||||
No check was omitted.
|
||||
|
||||
New: `tests/integration/agents.test.ts` (29 tests) and five reducer tests. The Hermes in them is
|
||||
the test fake, extended to imitate multiplexed profiles: `/p/<profile>/...`, a separate key per
|
||||
profile, runs and idempotency keys invisible from any other profile, 404 for an unserved profile.
|
||||
|
||||
| Behaviour | Proven by |
|
||||
|---|---|
|
||||
| The list: ids and names only, default first; needs a credential; one agent when none are configured | response compared whole; searched for keys, `/p/` and the Hermes address |
|
||||
| `/v1/device` has exactly its previous fields | key list compared |
|
||||
| A Wendy conversation is submitted and polled only at her prefix, with her key | every `/v1/runs` request recorded by the fake carries profile `wendy` |
|
||||
| An id not on the list (including real profiles that are not listed) or a malformed one: 400, no conversation row, nothing sent to Hermes | |
|
||||
| Per-agent conversations: a new one with Wendy closes only her earlier one; Pepper's keeps its history | fake session count and turn numbers |
|
||||
| Lost Hermes reply, and bridge restart mid-run, for a non-default agent: one execution, same key, same agent | execution counter, posted keys |
|
||||
| Wrong key, or the default's key, at another agent: `agent_rejected`, nothing ran, other agents unaffected | |
|
||||
| Agent removed while its turn is in flight: `outcome_unknown` after restart, not sent to anyone else | |
|
||||
| Keys never in the bridge log | log searched |
|
||||
| Configuration errors refused | seven cases |
|
||||
| Glasses: opens on the default with its name; swipe moves through the list and wraps, sending nothing | |
|
||||
| Question, spoken or typed, goes to the chosen agent; name on listening, thinking and answer screens; follow-up continues with it | |
|
||||
| A swipe chooses only at Ready (pages on an answer, nothing while busy) | integration and reducer tests |
|
||||
| Reopen: within the window on the last agent and its conversation; after it, or if never asked, or if removed, on the default; list unavailable at start: last known list | |
|
||||
| One-agent bridge, and a bridge without `/v1/agents`: screens and requests exactly as before | request bodies compared |
|
||||
|
||||
Eight ways of breaking it were tried against `agents.test.ts`; seven failed tests there (13, 2,
|
||||
2, 6, 3, 2 and 1). The eighth (letting the reducer accept a selection on any screen) passed
|
||||
there because the controller refuses it too; a reducer test was added and now fails under it.
|
||||
|
||||
Not covered by an automated test against a real Hermes: profile multiplexing. The real-Hermes
|
||||
suite's isolated gateway serves one profile. What exists instead is one manual request on the
|
||||
server (`docs/evidence/droplet/2026-11-21.md`): Wendy's profile answered through `/p/wendy` with
|
||||
her own key, an identical resubmit returned the same run, and the keys were refused crosswise.
|
||||
The simulator suite runs with one agent; the agent screens have not been drawn in the simulator.
|
||||
|
||||
Reference in New Issue
Block a user