ECC/tests
Affaan Mustafa 0b0b66c02f
feat: agent compression, inspection logic, governance hooks (#491, #485, #482) (#688)
Implements three roadmap features:

- Agent description compression (#491): New `agent-compress` module with
  catalog/summary/full compression modes and lazy-loading. Reduces ~26k
  token agent descriptions to ~2-3k catalog entries for context efficiency.

- Inspection logic (#485): New `inspection` module that detects recurring
  failure patterns in skill_runs. Groups by skill + normalized failure
  reason, generates structured reports with suggested remediation actions.
  Configurable threshold (default: 3 failures).

- Governance event capture hook (#482): PreToolUse/PostToolUse hook that
  detects secrets, policy violations, approval-required commands, and
  elevated privilege usage. Gated behind ECC_GOVERNANCE_CAPTURE=1 flag.
  Writes to governance_events table via JSON-line stderr output.

59 new tests (16 + 16 + 27), all passing.
2026-03-20 01:38:13 -07:00
..
ci fix: resolve Windows CI failures and markdown lint (#667) 2026-03-20 00:29:17 -07:00
hooks feat: agent compression, inspection logic, governance hooks (#491, #485, #482) (#688) 2026-03-20 01:38:13 -07:00
integration fix: update hook integration tests for auto-tmux-dev behavior 2026-03-07 22:45:44 -08:00
lib feat: agent compression, inspection logic, governance hooks (#491, #485, #482) (#688) 2026-03-20 01:38:13 -07:00
scripts fix: refresh orchestration follow-up after #414 (#430) 2026-03-16 14:29:28 -07:00
codex-config.test.js fix: stop pinning o4-mini in codex config 2026-03-12 07:59:50 -07:00
opencode-config.test.js fix: repair opencode config and project metadata 2026-03-11 01:52:10 -07:00
run-all.js Add PowerShell installer wrapper and update documentation (#532) 2026-03-16 13:35:17 -07:00