054. Harnesses are pluggable, and speak Claude Code's events

Status: accepted 2026-10-04, built the same day with pi as the second harness; pi pinned in cages 2026-10-11 — how to add one in docs/agents-harnesses.md

Context

The agent drove only claude -p (ADR-036). The owner wanted the open coding agents too, pi and OpenCode first, then Codex: a machine with a GPU and no Claude account could then serve sessions to the whole mesh on a local model. The agents on pi5 (Jimmy), proteus and scribe were already pi, kept in tmux by a service of their own.

Every app, every test and every event log already on disk read Claude Code's stream-json.

Decision

Consequences

What would change our mind

A harness whose events cannot be expressed in Claude Code's shape without losing something the apps should show. That would be the time for a format of our own.