ollie/agent
Levi Neely e84b4ffef7 feat: add resetsCounter tool property to reset step budget on active progress
Tools like file_write, file_edit, and shell now reset the agent's step
counter when called successfully. This allows the agent to continue
working without hitting the soft step-budget guardrail as long as it's
making active progress (writing files, running commands) rather than
looping on research/reading.

Changes:
- Add ResetsCounter bool to ToolInfo and MetaFile structs
- Parse resetsCounter from .meta JSON files
- Reset step counter in agent loop when ResetsCounter tool succeeds
- Add resetsCounter: true to file_write, file_edit, shell
- Reduce maxSteps from 50 to 25 (resetsCounter makes this safe)
2026-08-07 17:13:14 +02:00
..
agent.go Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
agent_config.go Good idea fairy cleanup: ~960 lines removed 2026-08-05 21:51:55 +02:00
build_runtime.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +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 feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +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