Commit Graph

4 Commits

Author SHA1 Message Date
boshu bc8315437a refactor: retire .agentops/ entirely; all AgentOps state lives under .agents/ao/
Follow-up to the evidence-store move: the project and home config now resolve
at .agents/ao/config.yaml (config.go, gateway, doctor cliconfig fixes, help
text), the Claude hook-manifest probe reads ~/.agents/ao/hooks.json, and the
cc-hooks guardrail telemetry default AGENTOPS_HOME falls back to ~/.agents/ao.
The tracked tracker-pin config moved via git mv with a narrow gitignore
negation (.agents/ stays untracked except ao/config.yaml). The .agentops/
directory no longer exists and nothing in the repo writes to it.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 08:37:10 -04:00
Boden Fuller 5c7b411f01 feat(cli): wire agent-ergonomics surfaces into the root command
Activates the helpers added in the prior three commits: rootCmd gets the
typo-suggesting flag-error func, the --json-aware help func for parent
commands, and ExecuteC()-based required-flag hints. The root help text
gains a "For AI agents" footer pointing at `ao capabilities` and
`ao robot-docs` so the surfaces are discoverable from --help.

Mirrors the doctor surface's registration shape. The ratchet error golden
is regenerated to capture the now-enriched flag error (2 → 6 lines).
2026-05-17 01:12:35 -04:00
Boden Fuller 032ce8cb08 fix(test): update forge golden file for review subcommand
TestErrorForgeNoArgs golden file needed the new `review` subcommand
in the Available Commands list.
2026-04-12 00:45:08 -04:00
Boden Fuller e820e24f3a feat(cli+tests): Wave 1 — contracts, golden files, assertion audit, hook bats tests (na-83w)
Wave 1 of testing strategy implementation (4 parallel issues):

- na-83w.1: Hook stdin contract bats tests (93 tests for 13 hooks) + converted
  test-hooks.sh to bats framework (63 tests)
- na-83w.2: Golden-file tests for CLI commands (11 golden + 7 error snapshots)
  with -update-golden flag pattern, using google/go-cmp
- na-83w.3: CLI<->skill regex contract tests (15 table-driven test groups covering
  all major regex patterns), expanded skill_contract_test.go, added
  context-contract-check.sh to preflight checker
- na-83w.4: Assertion density audit script + fixed 6 hollow coverage test files
  (0/47 hollow, all ratios >= 1.5)

Source: .agents/plans/2026-03-04-testing-strategy.md
Council: .agents/council/2026-03-04-testing-strategy-report.md (6 judges, WARN)
2026-03-04 14:29:41 -05:00