OpenCode pins sessions, keeps costs visible
OpenCode users are treating a single session as the working thread for each PR now that compaction keeps long chats usable. Pinning lets them preserve context across a feature branch while making the running token bill visible.
This is the right shape for coding agents: one durable conversation per task, with compaction turning long-lived chats from liability into workflow.
- –Pinning a session per PR reduces context thrash and makes it easier to pick up the same branch days later.
- –Compaction is the key enabler here; without it, long-running agent sessions would turn into brittle, expensive context dumps.
- –Visible cost tracking matters because it turns agent usage from “feels fast” into something teams can budget and compare.
- –The experimental flag suggests the session UX is still evolving, but the direction is clear: persistent, task-scoped agent work instead of throwaway chats.
DISCOVERED
2h ago
2026-05-12
PUBLISHED
2h ago
2026-05-12
RELEVANCE
AUTHOR
thdxr