ollie/agent
Ollie Agent 605212e1fd Simplify preamble construction system
- Extract hardcoded tool sections into prompts.ToolSections() function
- Replace template system with simple Go code for better maintainability
- Fix refreshToolListing to preserve tool documentation and discovery sections
- Add comprehensive unit tests for prompts and agent packages
- Remove unnecessary tool_sections.md template file

The refactoring simplifies the preamble construction while maintaining
all functionality. Tool listing updates dynamically via refreshToolListing,
while tool documentation requires agent reload (full BuildPreamble call).
2026-08-08 12:27:53 +02:00
..
agent.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
agent_config.go Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
agent_test.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
build_runtime.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
build_runtime_test.go Simplify preamble construction system 2026-08-08 12:27:53 +02:00
commands.go fsedsl: HandlerCtx composes context.Context — no more context.Background() in handlers 2026-08-07 07:42:41 +02:00
compaction.go agent: replace hardcoded model maps with models.yaml config 2026-08-07 07:24:43 +02:00
config_paths.go refactor: consolidate event formatting, remove log validator 2026-08-07 10:11:48 +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 Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
loop.go fix: correct plan path in replan-required message 2026-08-07 17:21:51 +02:00
models.go agent: replace hardcoded model maps with models.yaml config 2026-08-07 07:24:43 +02:00
new.go Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
prompt_resolver.go Remove OLLIE_*_PATH env vars: paths follow ~/.config/ollie/ convention 2026-08-05 19:37:13 +02:00
runtime.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +02:00
state.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
turn.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +02:00
usage_log.go clean up OLLIE_* env vars: replace with XDG conventions 2026-08-07 07:11:53 +02:00