ollie/agent
Ollie Agent 625654fcef agent: simplify prompt resolver to file-path-only
All agent configs use the same pattern: JSON array of file paths with
env var expansion. Remove unused features:

- Shell command execution via resolveStringPrompt (the `!cmd` prefix
  path is kept as a trivial fallback but the 30s timeout/stderr
  capture/cwd probing is gone)
- Prompt directory search (PromptsDirs, resolvePromptFile)
- Shell metacharacter detection guard
- Literal-text-if-contains-newline heuristic
- IsExec flag on Prompt type (both string and array now mean the same
  thing: list of file paths)

207 + 49 → 104 + 38 lines (-114)
2026-08-09 00:51:13 +02:00
..
agent.go simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +02:00
agent_config.go agent: simplify prompt resolver to file-path-only 2026-08-09 00:51:13 +02:00
agent_test.go simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +02:00
commands.go simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +02:00
config_paths.go agent: simplify prompt resolver to file-path-only 2026-08-09 00: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 simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +02:00
prompt_resolver.go agent: simplify prompt resolver to file-path-only 2026-08-09 00:51:13 +02:00
runtime.go simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +02:00
runtime_test.go simplify preamble: section-based model, no string surgery 2026-08-09 00:32:49 +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