mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
9b08fb933d
* docs: add go cli quality discovery plan * fix(cli): harden gc bridge version parsing * docs(go): align complexity policy with gates * docs(cli): classify command surface * fix(cli): enforce json output contracts * feat(cli): expand completion coverage * refactor(cli): pilot badge options writer * refactor(cli): inject contradict output writer * refactor(cli): inject notebook update writer * fix(cli): enable gc runtime smoke coverage * fix(cli): align gc bridge with gascity v1 * Release v2.39.0 * fix(tests): align next-work schema test with widened type enum Commited35c47fadded `docs` and `chore` to the script's VALID_TYPES, but tests/scripts/check-next-work-schema-rows.bats:42 still used `type:"docs"` as its supposed-to-be-rejected example, so the test now passes through the validator — `bats-tests` has been red on main since. Switch the rejected-type example to `finding`, which is still outside the enum and is also the canonical example cited in the script's own header comment ("type=finding ... caught at push time"). Local: 11/11 in tests/scripts/check-next-work-schema-rows.bats pass. * docs: capture finding generator postmortem (#157) * fix(rpi): sort verdicts deterministically in context and status helpers (#158) BuildPhaseContext and JoinVerdicts iterated the verdicts map directly, producing non-deterministic output across runs. Sort keys before rendering so prompt injection and status logs are reproducible. Closes council finding W-7 (context-orchestration-leverage batch). The related buildHandoffContext path was already fixed to delegate to FormatVerdicts (which sorts); this completes the remaining helpers. - cli/internal/rpi/status.go: sort keys in JoinVerdicts - cli/internal/rpi/phased_context.go: sort keys in BuildPhaseContext - tests: replace "ordering not deterministic" waivers with exact-order asserts and add a 50-run stability check https://claude.ai/code/session_01Qw4bZvXUNuLs8Rp1j1homB Co-authored-by: Claude <noreply@anthropic.com> * fix(codex): audit noisy hook injections (#159) * docs: add competitive radar (#160) * feat(agents): harden operator control plane (#161) * docs(discovery): plan agents control plane hardening * feat(agents): harden operator control plane * Release v2.39.0 * fix(tests): align next-work schema test with widened type enum Commited35c47fadded `docs` and `chore` to the script's VALID_TYPES, but tests/scripts/check-next-work-schema-rows.bats:42 still used `type:"docs"` as its supposed-to-be-rejected example, so the test now passes through the validator — `bats-tests` has been red on main since. Switch the rejected-type example to `finding`, which is still outside the enum and is also the canonical example cited in the script's own header comment ("type=finding ... caught at push time"). Local: 11/11 in tests/scripts/check-next-work-schema-rows.bats pass. * docs: capture finding generator postmortem (#157) * fix(rpi): sort verdicts deterministically in context and status helpers (#158) BuildPhaseContext and JoinVerdicts iterated the verdicts map directly, producing non-deterministic output across runs. Sort keys before rendering so prompt injection and status logs are reproducible. Closes council finding W-7 (context-orchestration-leverage batch). The related buildHandoffContext path was already fixed to delegate to FormatVerdicts (which sorts); this completes the remaining helpers. - cli/internal/rpi/status.go: sort keys in JoinVerdicts - cli/internal/rpi/phased_context.go: sort keys in BuildPhaseContext - tests: replace "ordering not deterministic" waivers with exact-order asserts and add a 50-run stability check https://claude.ai/code/session_01Qw4bZvXUNuLs8Rp1j1homB Co-authored-by: Claude <noreply@anthropic.com> * fix(codex): audit noisy hook injections (#159) * docs: add competitive radar (#160) * fix(merge): drop unused AgentsDoctorError ref and prune allowlist entries without production refs --------- Co-authored-by: Claude <noreply@anthropic.com> * fix(merge): resolve conflicts by taking PR's refactored contradict/codex_runtime, main's overnight test schema --------- Co-authored-by: Claude <noreply@anthropic.com>
505 B
505 B
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