Files
boshu2__agentops/hooks
Boden Fuller d673d7337c fix(hooks): rotate chain.jsonl, cache file count, remove redundant hook
- Add chain.jsonl rotation at session start when exceeding 200 lines
  (configurable via AGENTOPS_CHAIN_MAX_LINES), archiving excess to
  .agents/ao/archive/. Prevents unbounded growth that slows O(n) grep
  in 5 consumer hooks.
- Cache .agents file count in AGENTS_FILE_COUNT variable, eliminating
  a duplicate find call in the prune check.
- Remove ao-agents-check.sh (redundant with session-start.sh prune
  block) and deregister from hooks.json.
- Fix stop-auto-handoff test assertion (wrong glob path).
- Add kill-switch + fail-open tests for 9 previously uncovered ao-*
  hooks, achieving 100% hook coverage.
2026-02-21 21:23:53 -05:00
..