Self Improvement Harness based on pi. pi-harness-rsi A new pi extension, pi-harness-rsi, implements a harness self-improvement loop based on the RSI method from Harness² (arXiv:2610.14224), enforcing context economy through a single choke point in src/context.ts, src/guard.ts and src/ledger.ts so that no artifact entering an LLM context is silently truncated. The extension runs a snapshot → probe ×k → propose INV/DOM ×2k → probe ×2k → compose ×k → probe ×k → select → adopt → reflect cycle, invoked via /rsi commands such as start, probe, status, watch, adopt and revert, with adoption gated behind human confirmation and every state-changing command printing exactly one next command to type. A pi extension for harness self-improvement RSI, after Harness² / arXiv:2610.14224 with enforced context economy : every artifact that may enter an LLM context is budgeted by one choke point, and nothing is ever silently truncated. Design: budgets, the editable surface, the safety model and a full example workflow are documented below — and enforced in code src/context.ts , src/guard.ts , src/ledger.ts with an executable test suite, so every invariant here is executable rather than aspirational. The loop: snapshot → probe ×k → propose INV/DOM ×2k → probe ×2k → compose ×k → probe ×k → select → adopt → reflect . pi -e /path/to/pi-harness-rsi/index.ts one-off pi install /path/to/pi-harness-rsi registers in settings One command, verb first. The verb may be omitted: then the whole line is a start task. /rsi