fix(plan): wrap plan tree JSON/YAML output in spec-required command envelope #11071

Merged
HAL9000 merged 2 commits from fix/11041-plan-tree-envelope into master 2026-06-17 09:48:54 +00:00

2 Commits

Author SHA1 Message Date
controller-ci-rerun 14d6a9ed0d chore: re-trigger CI [controller]
CI / load-versions (pull_request) Successful in 15s
CI / push-validation (pull_request) Successful in 25s
CI / lint (pull_request) Successful in 54s
CI / typecheck (pull_request) Successful in 1m4s
CI / security (pull_request) Successful in 1m8s
CI / build (pull_request) Successful in 37s
CI / quality (pull_request) Successful in 1m21s
CI / helm (pull_request) Successful in 35s
CI / unit_tests (pull_request) Successful in 7m17s
CI / docker (pull_request) Successful in 1m55s
CI / integration_tests (pull_request) Successful in 10m59s
CI / coverage (pull_request) Successful in 13m31s
CI / status-check (pull_request) Successful in 3s
2026-06-17 04:52:49 -04:00
HAL9000 653a4e9001 fix(plan): wrap plan tree JSON/YAML output in spec-required command envelope
Add `command="agents plan tree"` parameter to the `format_output()` call for
the `plan tree` CLI command, so that JSON and YAML output conforms to the
spec's Output Rendering Framework. The output is now a proper envelope with
`command`, `status`, `exit_code`, `data`, `timing`, and `messages` fields.

Update BDD step definitions to validate envelope structure and update feature
scenarios for spec-compliant assertions. Remove `@tdd_expected_fail` tag from
the previously-failing JSON tree format test (issue #4254).

ISSUES CLOSED: #11041
2026-06-17 04:52:07 -04:00