You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gather everything one Harness does into one adapter behind one interface, as the prefactor for the four new Harnesses. Each adapter owns:
its name (which is its CLI's) and its product name;
the arguments for a new session and for a Resume;
how the prompt reaches the CLI;
how the Session prompt names its skill (/ sigil, $ sigil, or an instruction to load it with the model's skill tool);
its project skills directory;
its instruction-file fallback;
its fixed environment;
its stop signals;
its Model and Effort check;
its stream parser;
an optional step after the session exits that reads the final message, usage and outcome from outside the stream.
The rest of thirdshift picks the adapter once from the Harness and no longer matches on the Harness anywhere else. The list of every Harness and the names messages print come from the adapters. Claude and Codex become the first two adapters.
The behavior doesn't change.
Acceptance criteria
Claude and Codex are each one adapter, and no code outside the adapters matches on the Harness.
The adapter interface has a place for everything listed above, including the skill-tool loading style, the instruction-file fallback link and the read after exit, even where Claude and Codex leave them empty.
Every existing test passes unchanged. This includes the Codex sessions, Harness choice, Setup, User config, progress lines and background work tests.
The generated prompts are unchanged (UPDATE_PROMPTS=1 cargo test prompts_page produces no diff).
Activity
JacobStephens2 commentedon Oct 6, 2026
Closed by #441, merged into issue-432 by a thirdshift Merge run.