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/agent
Levi Neely c32ea01f60 agent: interrupt is now pause, not cancel
With mid-turn SaveSession in place, interrupt keeps in-memory session
state matching the on-disk state rather than restoring the pre-turn
snapshot. The model resumes naturally from the saved history on the
next turn.

Remove sessionClean — no longer needed now that all interrupted sessions
are kept rather than conditionally discarded.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 19:25:57 +02:00
..
commands.go remove built-in SYSTEM_PROMPT.md loading 2026-04-26 15:10:05 +02:00
core.go agent: interrupt is now pause, not cancel 2026-04-26 19:25:57 +02:00
core_test.go remove built-in SYSTEM_PROMPT.md loading 2026-04-26 15:10:05 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: add preTool and postTool hooks 2026-04-26 07:19:35 +02:00
loop.go agent: save session after each tool round for mid-turn crash recovery 2026-04-26 19:24:28 +02:00
prompt_resolver.go config: make prompt executable (string or []string of commands) 2026-04-26 15:00:33 +02:00
session.go agent: drop error return from Session.update 2026-04-26 18:56:58 +02:00
state.go agent: drop error return from Session.update 2026-04-26 18:56:58 +02:00
types.go remove MCP support, add execute_code tests 2026-04-21 13:25:32 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00