Repository navigation
v1.13.0
GitHub source release at 7072987 (#49). Update with pi update git:github.com/alsevilla/agent-harness, or pin @v1.13.0.
Token efficiency
Workers skip duplicate reads. A repeat read of the same file and range that returns exactly the same text becomes a one-line note pointing at the earlier copy. Changed text, other ranges, errors and images pass through; an edit, write or compaction resets it. (Ledger, arXiv 2608.00808; CORVUS, 2607.22711)
Serena where it pays. Read or grep a file or symbol the packet names; grep for renames and every occurrence (it also finds comments and strings); Serena when grep matches are noisy or for unfamiliar code. (2608.13568)
Better packets. When the intended structure is known, the packet carries a code skeleton (signatures, types, module layout) beside the behavior and checks (Skeleton Coding, 2610.38214). A fix round passes the failed attempt's REPORT path and failing output as they are, not a summary (2610.41433).
Keep main lean. The footer adds "consider /new" once main's context reaches 100k tokens. README: run main at medium thinking and start /new after each merged task; /reload loads new code but keeps the conversation. (DACS, 2604.07911; 2606.01351)
README: keep a project's AGENTS.md to rules and guardrails, with detail in .agents/skills/ (2602.11988, 2607.27250).
Fixes
No more "Tool codemode not found". Pi's base prompt says "Additional tools may be available" and names codemode; main now gets two rules: call only declared tools, and batch reads with parallel read calls (within its 3-file limit) or a delegation.
Ponytail in the live view. The worker line shows ponytail: loaded when the worker launched with the Ponytail extension; it injects mode text and has no tool calls to count.
Verification and limits
npm test: 948 passed, 0 failed, 7 skipped. With a Pi 1.5.0 host: 1514 passed; the 11 failures need the owner's installed setup (subscription connector, Ponytail, Serena/Graphify integrations, a git identity) and match the previous release. Source release only: no npm publication.