Files
boshu2__agentops/tests/cli
Bo 3f4b67be49 feat(cli): add reconciliation report (#550)
## Summary
- add `ao reconcile` for a read-only git/GitHub release/beads/.agents
decision report
- emit both human and `--json` output with ranked findings and next
actions
- anchor external checks at the git root and disable bd Dolt auto-start
for this read-only scan
- update generated CLI docs and JSON flag consistency coverage

## Validation
- `cd cli && go test ./cmd/ao -run 'TestReconcile|TestCapabilities'`\n-
`cd cli && make build`\n- `cd cli && bin/ao reconcile --json | jq ...`
(live run detected green main Validate plus failed `v3.0.1` tag
Validate)\n- `bash tests/cli/test-json-flag-consistency.sh`\n- `bash
scripts/validate-ci-policy-parity.sh`\n-
`./scripts/generate-cli-reference.sh --check`\n- `git diff --check`\n-
`scripts/pre-push-gate.sh --fast` (passes; existing warn-only
executable-spec warnings for `scenarios --lint` and `trace
--orphans`)\n\nNote: a broad local `go test ./cmd/ao` run was stopped
after it appeared hung with no child test process; the focused command
tests and build passed, and CI should provide the full-package signal.
2026-05-26 17:03:27 -04:00
..

CLI Tests

Validates broad ao CLI contracts: JSON output for the committed machine-output set and executable help smoke coverage for every generated leaf command. The leaf smoke test parses cli/docs/COMMANDS.md and runs ao <leaf> --help for each leaf command, catching registration gaps that reference-only parity checks can miss.

Running

bash tests/cli/test-json-flag-consistency.sh
bash tests/cli/test-json-flag-consistency-tempdir.sh
bash tests/cli/test-all-leaf-help-smoke.sh