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 031dc349e2 agent: add hook observability; log state changes only on transition
- Debug-log all hook firings unconditionally (name, cmd, exit, context_len)
- Emit "N hook(s) run" to chat for lifecycle hooks (agentSpawn, pre/postCompact,
  pre/postClear); suppress per-turn hooks (userPromptSubmit, stop) from chat
- Store env.Messages (MCP connections) on agentCore; emit to chat on first turn,
  debug-log unconditionally
- Replace inline s.state assignments with setState() so debug logs emit only
  on state transitions, not on every State() poll

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 07:24:44 +02:00
..
core.go agent: add hook observability; log state changes only on transition 2026-04-19 07:24:44 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: add hook observability; log state changes only on transition 2026-04-19 07:24:44 +02:00
loop.go usage: track responses, estimate tokens when backend doesn't report 2026-04-13 11:03:39 +02:00
session.go usage: drop TotalResponses, accumulate requests only 2026-04-13 11:06:29 +02:00
signals.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_unix.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
signals_windows.go Make pkg/agent internals private; move app-level utils to cmd/ollie 2026-04-09 21:31:02 +02:00
state.go refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
types.go env: session-scoped env injection via session spec; no daemon-global env 2026-04-18 15:59:51 +02:00