diff --git a/docs/outline/04-agent-runbook.md b/docs/outline/04-agent-runbook.md index 1db1db5..96cedcd 100644 --- a/docs/outline/04-agent-runbook.md +++ b/docs/outline/04-agent-runbook.md @@ -24,10 +24,14 @@ result that returns. - The old `POST /api/issues` route does not exist. It returns `404`. - Company id: `d4921013-e5da-4d88-8016-57d5746e2d03`. - Script: `scripts/paperclip-roundtrip.sh`. -3. Confirm the job appears in the Paperclip board. -4. Wait for the agent to close the job. -5. Send the result to Jervis `POST /announce` so the house speaks it. -6. Record the result in this file. +3. Confirm the job appears in the Paperclip board. **DONE.** + - The first job is `AUD-55`, id `d58891ce-9934-4710-9bba-d37974251ed9`. +4. Wait for the agent to close the job. **DONE.** + - `AUD-55` closed as `done` at `2026-10-10T06:21:03Z`. + - The agent comment on `AUD-55`: "The Hub round trip works." +5. Send the result to Jervis `POST /announce` so the house speaks it. **DONE.** + - See the announce call and the response below. +6. Record the result in this file. **DONE.** ### Commands @@ -42,17 +46,42 @@ scripts/paperclip-roundtrip.sh \ --project 7ae791bb-8d9a-462f-99bf-013421d20623 # Speak the result. -curl -s -X POST http://192.168.20.13:8501/announce \ +curl -sS -X POST http://192.168.20.13:8501/announce \ -H "Content-Type: application/json" \ - -d '{"text":"Round trip works."}' + -d '{"text":"The Hub round trip works."}' ``` +### Recorded Result — 2026-10-10 + +The round trip works. This table holds the proof. + +| Item | Value | +|---|---| +| Key source | `PAPERCLIP_API_KEY` in `/home/sam/.config/environment.d/10-secrets.conf` | +| Key name | `hub-service` | +| Agent | `Hub`, id `108c6220-c9e1-4b62-9e0a-6a763e0d28fd` | +| Job identifier | `AUD-55`, id `d58891ce-9934-4710-9bba-d37974251ed9` | +| Job result | "The Hub round trip works." | +| Job final status | `done`, at `2026-10-10T06:21:03Z` | +| Announce call | `POST http://192.168.20.13:8501/announce` | +| Announce response | HTTP 200, text "The Hub round trip works." | + +The script wrote this line to `.state/paperclip-roundtrip-issues.log`: + +```text +2026-10-10T06:20:48Z d58891ce-9934-4710-9bba-d37974251ed9 AUD-55 +``` + +Note: Jervis has no playback-telemetry endpoint. Thus the HTTP 200 code and +the spoken reply are the strongest available proof of the announce. The +announce ran one time. + ### Definition of Done -- The job appears in Paperclip. -- The job closes. -- The house speaks the result. -- This file records the result. +- The job appears in Paperclip. **DONE.** +- The job closes. **DONE.** +- The house speaks the result. **DONE.** +- This file records the result. **DONE.** ## After Phase 1