This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg
Levi Neely 370171bf80 agent: context overflow recovery and OLLIE_MAX_SESSION_COST spending cap
On ContextOverflowError (400 with context-length body), restore pre-turn
snapshot, compact, and retry the turn once. Covers runaway context growth
that slips past the proactive 75% threshold.

OLLIE_MAX_SESSION_COST (USD) blocks turn start and interrupts mid-turn
via the usage event handler, which fires between every tool round.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 18:35:39 +02:00
..
agent agent: context overflow recovery and OLLIE_MAX_SESSION_COST spending cap 2026-04-27 18:35:39 +02:00
backend agent: context overflow recovery and OLLIE_MAX_SESSION_COST spending cap 2026-04-27 18:35:39 +02:00
config config: make prompt executable (string or []string of commands) 2026-04-26 15:00:33 +02:00
env env: add OLLIE_ELEVATE_SOCKET to managed list and EnsureDefaults 2026-04-25 11:45:46 +02:00
log agent: audit logging via OLLIE_AUDIT_LOG=debug 2026-04-27 18:21:13 +02:00
paths expand ~ in cwd across agent core, hooks, and execute server 2026-04-24 20:10:42 +02:00
skills pkg/config, pkg/skills: accept io.Reader, remove filesystem access 2026-04-21 13:51:46 +02:00
store agent: per-turn and session cost tracking in USD 2026-04-27 18:14:12 +02:00
tools tests: add flock/locking coverage for execute package 2026-04-26 18:50:35 +02:00