Posthorse v0.4.0
Posthorse 0.4.0
Fresh context. Same journey.
Posthorse is the new name for this repository's context-window extension. Native boundaries keep the full transcript recoverable without generating a summary when Posthorse handles an automatic rollover.
- Automatic rollover works before summary authentication/preparation and keeps unconsumed tool results recoverable.
- Newly submitted prompts and steering survive rollover in order, without being duplicated in the handoff.
- Handoffs, read pages, and reminders use the active context budget, including prompt/tool overhead. Large reserves no longer cause immediate checkpoint loops.
- History restores stored images; notes support nested repositories, shared worktrees, pagination, empty writes, and separated concurrent appends.
- Branding, installation, privacy documentation, diagram, and Node 22.19/24 CI are updated. Existing notes and transcripts remain compatible.
Compatibility
Requires Node >=22.19.0 and the fitchmultz/pi compatibility tag posthorse-v0.4.0. The README and integration CI pin tested Pi commit 0291ae42151fe0f77bacb13182186039be92eaea. Official, unpatched Pi is unsupported.
With that fork installed:
pi install git:github.com/fitchmultz/pi-posthorse@v0.4.0Keep only one copy loaded; remove an older Git/local installation before adding another. Package removal leaves notes and Pi history intact.
Validation and limits
22 unit tests and eight real-fork integration tests pass; Node 22.19/24 CI, type checking, audit, and package inspection pass. Final clean-tree live smoke passes on OpenAI and Anthropic, including explicit/automatic rollover and persisted-session resume. Context counts remain estimates. Automatic Posthorse behavior requires at least 10,000 usable tokens; Pi keeps control if no safe recovery record fits. Manual /compact remains unchanged.
GitHub-only release: nothing was published to npm. See the full changelog and implementation PRs Posthorse #7 / Pi #6.