Skip to content

0.1.1 DW1: the Hermes driver passes the kit #1988

Done

Description

@jparker2006

Parent

Ticket DW1 of spec #1987 (0.1.1). Size: S.

What to build

A driver for Hermes at adapters/hermes/, copied from adapters/template/ and built on the driver contract (kernel/driver.v1.md): version, schema, start, wake and stop, with a fake Hermes under fixtures/bin/ so the kit runs in CI. Hermes runs locally behind hermes gateway on loopback: start is POST /v1/runs, wake is a run on the same session_id, stop is POST /v1/runs/{id}/stop until it settles cancelled. Hermes is its own agent, so harness is passed through its bundled Claude Code or Codex skill; say plainly in the README how that mapping works and what it can't control. Hermes' own bearer key stays in its own config and is never read by the driver. The exact commands are in the drivers-wave research (private/research/drivers-wave/2026-11-20.md in jparker2006/ClosedWiz; your parent passes the section). If one of start, wake or stop turns out not to be scriptable, stop and ask on this ticket. The driver never reads, prints or passes on a credential (contract section 2). Its README opens with one login line in the spec's form: Login: stays on your machine. Shared lines, one row each: the test line in .github/workflows/ci.yml, the entry in tools/open-import/paths.json, and the name in DRIVERS in tools/release/build_products.py.

Owned paths

  • adapters/hermes/ in openwizdev/OpenWiz (new)
  • .github/workflows/ci.yml in openwizdev/OpenWiz (shared: this driver's one test line)
  • tools/open-import/paths.json in openwizdev/OpenWiz (shared: this driver's one entry)
  • tools/release/build_products.py in openwizdev/OpenWiz (shared: this driver's name in DRIVERS)

Relies on: kernel/driver.v1.md, kernel/driver-kit/schema.json

Links

none

Acceptance criteria

  • The kit fails against the copied template first (red log in evidence/), then passes all five checks on fixtures, in CI
  • No input, argument, output or copied environment carries a login, token, key or password
  • The README's login line says where the user's login lives, in the spec's form
  • Merge gate: merges only after its live-check ticket records 5 of 5 on the real host at this pull request's approved head (driver contract section 3), and after the 0.1.0 cut

Proof

P1 (this driver): test_driver.py and the kit on fixtures, red first. P3: the code review.

Activity

  1. added this to the 0.1.1 milestone on Nov 20, 2026
  2. added
    ready-for-agent
    on Nov 20, 2026
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start withdrawn

  4. added
    held
    ready-for-agent
    and removed
    ready-for-agent
    held
    on Nov 20, 2026
  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1988-hermes-driver

    Started by hand under the J87 planner's fleet.sh-outage ruling (OpenWiz #1958): fleet.sh claim failed only with "conflicting PR check snapshots". Start conditions read at 20:06Z: open; labelled ready-for-agent only, not held; no open blocker; no other live claim, builder or pull request; plan approval 7049330143 (revision 2) current, as fleet.sh spec 1987 printed start #1988 at 20:01Z.

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: claude
    model: claude-opus-5-5
    skills: build-ticket@0.2.0
    step: Fixed re-check R2 and R6 red first, merged main and named the platform at a823bb6.
    time: 2026-11-20T22:13:46Z
    pr: #2017

  7. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Question (builder, #1988): the run endpoints need Hermes' bearer key, which this driver may not read.

    What I found in Hermes' API server docs: API_SERVER_KEY is required on every request, loopback included (auth: {type: bearer, required: true}). So POST /v1/runs, a run with session_id, and POST /v1/runs/{id}/stop can only be called by sending that key. This ticket says the key "stays in its own config and is never read by the driver", and driver v1 N2 says a driver never reads a credential to pass it on. As written, start, wake and stop through the endpoints are not scriptable without breaking that rule, so I am stopping to ask, as the ticket says.

    Options:

    • (a) Use Hermes' own signed-in CLI instead of the HTTP endpoints. My pick. start: hermes chat --oneshot --query-file - --format stream-json --source tool -m <model> -s <harness skill> (the prompt on stdin; the session_id comes from its first system/init line). wake: the same command with --resume <session_id>, the same session and transcript, so the agent edits its own note. stop: interrupt the turn (Hermes documents Ctrl-C as an interrupt, ending result with exit 130), then end every process the turn started, using the template's supervisor. Hermes reads its own ~/.hermes config, as the boat driver lets boat do. The driver never touches API_SERVER_KEY and needs no gateway port. The lifecycle words stay the same (start, wake on the same session, stop until it settles).
    • (b) Keep the endpoints; the driver reads API_SERVER_KEY from ~/.hermes/.env and sends it only as an in-process HTTP header. It is never put in an argument, an environment or the output, but the driver does read a credential. That goes against this ticket's line and arguably N2, so I would not do it without an explicit ruling.
    • (c) Keep the endpoints; the user runs a tiny signed-in local proxy that adds the header. That is more for the user to set up, and the proxy still reads the key, so it only moves the problem.

    The harness mapping is the same under each option: harness picks Hermes' bundled claude-code or codex skill, which shells out to that CLI. The README will say that model goes to Hermes, and that the inner CLI's own model and effort are whatever that skill and CLI choose.

    Meanwhile I am building the parts that don't depend on this (the copied template, the red kit run, the fixture tests' frame). I will build (a) only on a record author's answer here.

  8. added
    needs-info
    on Nov 20, 2026
  9. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner ruling for DW1 #1988 (Hermes): option (a). The driver drives Hermes's own CLI, not its API server. Start is hermes chat --oneshot --format stream-json, keeping the session id it returns. Wake is the same with --resume <session_id>. Stop interrupts and ends the run's process tree through the template's supervisor. Hermes reads its own configuration, and the driver never reads, sends or prints Hermes's API key (driver contract N2). This replaces the ticket's endpoint sentence; everything else in the ticket stands. DW1L's live check then needs only Hermes installed, not its API server turned on.

  10. removed
    needs-info
    on Nov 20, 2026
  11. 12 remaining items

  12. added a commit that references this issue on Nov 20, 2026
  13. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2026

  14. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2026

    kernel/driver.v1.md (the login-line section) changed in #2026; its builder was told at 21:17Z.

  15. added 3 commits that reference this issue on Nov 20, 2026
  16. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (the Supported platforms line) and kernel/driver-kit/ changed in #2028; its fresh-round builder was told in its brief at 22:1xZ.

  17. added a commit that references this issue on Nov 24, 2026
  18. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: review-ticket@0.4.0
    step: APPROVE posted at ea8d2ef
    time: 2026-11-24T12:57:57Z
    pr: #2017

  19. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    Planner note: #2017 is approved at ea8d2ef but left the merge queue on a merge conflict (14:49Z). A fresh builder in its own boat.dev sandbox merges main (a merge commit, noreply identity), gets a fresh full CI run and posts the hand-back; then a merge-only re-check.

  20. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Codex
    model: Sol 6.2 medium effort
    skills: build-ticket@0.2.2
    step: Resolved the merge conflicts without changing Hermes behavior; handed back the new head for fresh CI and a merge-only re-check.
    time: 2026-11-24T14:54:55Z
    pr: #2017

  21. added a commit that references this issue on Nov 24, 2026
  22. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: review-ticket@0.4.0
    step: APPROVE posted at 2456274
    time: 2026-11-24T15:39:31Z
    pr: #2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions