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 4b96e0cae1 agent: audit logging via OLLIE_AUDIT_LOG=debug
Logger.Sub(tag) derives a child logger with a new tag from the same
writers, with level inherited from the parent but independently
overridable via OLLIE_{TAG}_LOG.

The agent creates an "audit" sub-logger at startup. Key events are
logged at debug level through it:
  audit: call: <tool> <args (truncated)>
  audit: result: <tool> <content (truncated)>
  audit: error: <message>
  audit: turn: start/end with cost and session ID
  audit: compact: messages removed, trigger, session ID

Enable with OLLIE_AUDIT_LOG=debug.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 18:21:13 +02:00
..
commands.go remove built-in SYSTEM_PROMPT.md loading 2026-04-26 15:10:05 +02:00
core.go agent: audit logging via OLLIE_AUDIT_LOG=debug 2026-04-27 18:21:13 +02:00
core_test.go remove built-in SYSTEM_PROMPT.md loading 2026-04-26 15:10:05 +02:00
cost.go agent: audit logging via OLLIE_AUDIT_LOG=debug 2026-04-27 18:21:13 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: add preTool and postTool hooks 2026-04-26 07:19:35 +02:00
loop.go agent: per-turn and session cost tracking in USD 2026-04-27 18:14:12 +02:00
prompt_resolver.go config: make prompt executable (string or []string of commands) 2026-04-26 15:00:33 +02:00
session.go agent: per-turn and session cost tracking in USD 2026-04-27 18:14:12 +02:00
state.go agent: drop error return from Session.update 2026-04-26 18:56:58 +02:00
types.go agent: per-turn and session cost tracking in USD 2026-04-27 18:14:12 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00