Repository navigation
v0.2.1 — Shell Hook Auto-Wrap + Harness Guard
Highlights
ph shell-hook — zero-config auto-wrap (3 new commands)
No more typing ph wrap --auto-evolve every time. Install a shell hook once and all agent commands are automatically wrapped:
ph shell-hook install # one-time setup → ~/.zshrc
claude -p "Fix the auth bug" # auto-becomes: ph wrap --auto-evolve claude -p ...Supports claude, claw, codex, and opencode. Fully reversible with ph shell-hook uninstall.
Harness existence guard
The orchestrator now checks whether the Proposer generated harness.py before evaluation, giving a clear error message instead of a cryptic FileNotFoundError.
Documentation restructure
Flow diagrams moved to their corresponding modules (batch search loop → Step 4, auto-evolution → Step 6) for better readability.
What's Changed
Added
ph shell-hook install— inject preexec hook into shell rc fileph shell-hook status— check if hook is installedph shell-hook uninstall— cleanly remove hook- Harness existence guard in orchestrator before evaluation
- 8 new tests (173 total)
Changed
- README flow diagrams relocated to Step 4 and Step 6
- "How It Works" section simplified with cross-references
- CLI commands: 22 → 25
Install / Upgrade
pip install --upgrade polyharness
# or
npm install -g polyharness@0.2.1