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 fd20070294 refactor: remove 9P mount logic from core execute server
Moved all 9P FUSE mount code from core to 9p module using lifecycle hooks.

Changes:
- Removed 9P-specific fields (mountProc, mountPath, mountEnabled) from execute.Server
- Removed WithMount(), MountPath(), startMount(), remountIfStale() functions
- Added lifecycle hooks: OnPreDispatch, OnClose, OnEnvSet with corresponding options
- Updated SetEnv(), Close(), and Dispatch() to call hooks instead of hardcoded mount logic
- Fixed tool descriptions to use $OLLIE_TOOLS_PATH instead of 9P-specific $OLLIE/s/$SID/t paths
- Removed unused execute import from agent/commands.go

The core execute server is now harness-agnostic.
2026-07-08 15:55:10 +02:00
..
commands.go refactor: remove 9P mount logic from core execute server 2026-07-08 15:55:10 +02:00
compaction.go fix compaction model to deepseek-v4-flash; accept error stop reason in loop 2026-05-30 10:46:12 +02:00
compaction_test.go updates 2026-06-01 08:05:38 +02:00
core.go agent: update preamble when cwd changes 2026-07-07 12:20:48 +02:00
core_test.go codewhisperer: image content block support in user messages and tool results 2026-05-25 23:14:40 +02:00
cost.go core: Anthropic prompt caching and cache-aware cost accounting 2026-04-28 12:01:14 +02:00
cost_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go speed up agent tests 2026-05-04 11:58:01 +02:00
loop.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
loop_cache_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_errlimit_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_maxsteps_helpers_test.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
loop_maxsteps_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_parallel_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_texttool_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_truncate_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
loop_turnerror_test.go agent: plumb image ContentBlocks from tool results through to backend messages 2026-05-25 18:02:21 +02:00
prompt_resolver.go add OLLIE_DEFAULT_AGENT support and update agent commands 2026-05-21 12:33:18 +02:00
runtime.go token efficiency: fix tier classification, expand cold tier, add usage log and compaction model override 2026-05-28 18:44:30 +02:00
session.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
state.go agent: replace cold truncation with real LLM summarization 2026-06-01 09:45:27 +02:00
types.go token efficiency: fix tier classification, expand cold tier, add usage log and compaction model override 2026-05-28 18:44:30 +02:00
usage_log.go token efficiency: fix tier classification, expand cold tier, add usage log and compaction model override 2026-05-28 18:44:30 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00