5 Commits

Author SHA1 Message Date
Bo 7a765cde19 Align AgentOps around its operations-layer identity (#1051)
Executes docs/plans/2026-08-07-agentops-operations-layer-alignment.md:
AgentOps is the operations layer for agentic engineering; the federated
integration graph is the topology, the semantic work-and-proof protocol
is the contract, and RPI is the standard one-experiment traversal.

Retires the ao flywheel command family and all knowledge-flywheel
product state, tombstones the seven-move operating-loop workflow,
narrows ao init and the .agents state writers to declared destinations,
renames the core architecture page to rpi-traversal.md with a
compatibility redirect, aligns AGENTS.md, 25 skills, public and package
copy, regenerates every owned projection, and strengthens the
conformance gates with planted-negative proofs.

Both the alignment subject and the follow-up gate-bookkeeping commit
carry fresh author-distinct validation PASS verdicts with empty
not_checked scope.

Test-Removal-Reason: dead knowledge-flywheel and session-store surfaces were deleted with their tests (operations-layer alignment)
2026-08-07 18:37:03 -04:00
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