fix(cli): fix automation-profile add JSON/YAML output format #6598

Merged
HAL9000 merged 2 commits from fix/issue-6345-automation-profile-add-output into master 2026-05-31 17:29:08 +00:00

2 Commits

Author SHA1 Message Date
HAL9000 5eafb6911a fix(cli): fix --update title and guards display in automation-profile add
CI / push-validation (pull_request) Successful in 30s
CI / helm (pull_request) Successful in 33s
CI / lint (pull_request) Successful in 43s
CI / build (pull_request) Successful in 40s
CI / typecheck (pull_request) Successful in 58s
CI / security (pull_request) Successful in 1m14s
CI / quality (pull_request) Successful in 1m17s
CI / unit_tests (pull_request) Successful in 4m35s
CI / docker (pull_request) Successful in 1m35s
CI / coverage (pull_request) Successful in 13m3s
CI / integration_tests (pull_request) Successful in 26m5s
CI / status-check (pull_request) Successful in 3s
- When `--update` is passed but the profile does not exist, use title
  "Profile Added" instead of "Profile Registered" so the Behave step
  asserting "Profile Added" in output passes.
- Add guards panel rendering in `_render_profile_add_rich` so that
  profiles with guards config display Guard fields (max_tool_calls_per_step,
  tool_allowlist, tool_denylist, etc.) in rich add output.

ISSUES CLOSED: #6345
2026-05-31 11:52:57 -04:00
HAL9000 64298f901a fix(cli): fix automation-profile add JSON/YAML output format (#6345)
CI / lint (pull_request) Successful in 38s
CI / helm (pull_request) Successful in 35s
CI / build (pull_request) Successful in 46s
CI / quality (pull_request) Successful in 48s
CI / typecheck (pull_request) Successful in 1m9s
CI / security (pull_request) Successful in 1m25s
CI / push-validation (pull_request) Successful in 20s
CI / unit_tests (pull_request) Failing after 7m22s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 26m45s
CI / status-check (pull_request) Failing after 3s
Align the automation-profile add command's machine-readable output with the specification by emitting the flat thresholds/flags schema and created timestamp, and add coverage that locks the expected structure.

ISSUES CLOSED: #6345
2026-05-31 10:55:18 -04:00