Repository navigation
v1.12.0: Release 1.12.0 (#45)
v1.12.0
GitHub source release at bf6488901fdac66ef3644fa4b2f73a187eeed852 (#45). Install or update with pi update git:github.com/alsevilla/agent-harness, or pin @v1.12.0.
Orchestration and cost
- AGENTS.md is a 7-step protocol for main; fixed T1/T2/T3 subagent shapes; one economy planner before T3 multi-module work.
- Task packets name known locations (files, symbols, failing tests) and a stop condition; workers start there, stop there, and send long test/build/install output to a
_scratchlog. - reviewer and planner run at medium thinking (was high).
- Shared prompt prefix first in child prompts (cache reuse); main's older large tool outputs and older subagent results are shortened in its requests.
/subagent usage: per-role usage, cost per completed task and main's context size; footer status line after each main turn.- Handoff check: a worker that ends without a STATUS line gets one follow-up to write its handoff.
Delivery
- Branch-by-default candidates, one merge approval, full post-merge cleanup of the worktree or branch and its
_scratch/_evidence. - Trusted release-engineer: commit, feature push and PR create/edit without extra grants; merge and release keep their own approvals.
Safety guard
- Read-only roles enforced by the guard; read before edit; no unresolvable deletes (
rm -rf $DIR/and peers). - Your own allow/deny rules in
harness-permissions.json. - Pi package commands (
pi install/update/remove/uninstall/config) arePI_PACKAGE;pi list,--helpand--versionrun; only agent launches areLAUNCH_PI. - Block messages say when an approval exists for other text, another folder, or was already used.
- Opt-in OS sandbox for workers (
PI_SUBAGENT_SANDBOX): bubblewrap on Linux, Seatbelt on macOS. Path comparisons fold case on Windows and macOS.
General-purpose harness
- Stack-specific content removed: the Rust/Axum, SQLite/SQLx and SolidJS skills, Cargo build defaults, and project deployment notes now live with their project. Roles follow each project's own framework; platform-worker covers infrastructure-as-code, manifests, GitOps and CI in general.
- Copilot CLI plugin fixed; short README; policy titled "Engineering harness policy".
Verification and limits
npm test: 940 passed, 0 failed, 7 skipped. With a Pi 1.5.0 host: 1504 passed; the 11 failures need the owner's installed setup (subscription connector, Ponytail, Serena/Graphify integrations, a git identity) and match master. macOS Seatbelt and live Pi/Copilot dispatch were not run. Source release only: no npm publication.