ollie/agent
Ollie Agent c1c0013f2d all: kill loadEnvFile dupe, extract text parser, tidy tests
backend:
- Delete loadEnvFile (env.EnsureDefaults at startup covers it)
- Move newFromEnv to test file (only tests use it)
- Delete dead tests (TestLoadEnvFile*, env-file override tests)
- new.go: 150→60 lines

agent:
- Extract text tool-call parser to text_parse.go (288 lines)
  parseTextToolCalls, shorthandToJSON, extractBalanced,
  parseExtraKV, extractJSONObject, relaxJSON
- loop.go: 1113→835 lines
2026-08-08 17:06:51 +02:00
..
agent.go agent: remove auditLog (was always derived from log) 2026-08-08 15:59:00 +02:00
agent_config.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
agent_test.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
commands.go agent: simplify configuration/instantiation layers 2026-08-08 14:19:46 +02:00
config_paths.go all: delete dead code, tighten API surface 2026-08-08 15:51:13 +02:00
cost.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
fifo.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
fifo_test.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
history.go all: merge thin packages and small files 2026-08-08 15:56:26 +02:00
loop.go all: kill loadEnvFile dupe, extract text parser, tidy tests 2026-08-08 17:06:51 +02:00
prompt_resolver.go simplify prompt loading, some renames 2026-08-08 13:29:01 +02:00
runtime.go all: merge thin packages and small files 2026-08-08 15:56:26 +02:00
runtime_test.go all: merge thin packages and small files 2026-08-08 15:56:26 +02:00
text_parse.go all: kill loadEnvFile dupe, extract text parser, tidy tests 2026-08-08 17:06:51 +02:00
turn.go agent: remove auditLog (was always derived from log) 2026-08-08 15:59:00 +02:00
usage_log.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00