fix(plan): use structured alternatives objects in plan explain output per spec #10983

Closed
HAL9000 wants to merge 1 commits from pr-fix-9407-plan-explain-structured-alternatives into master

1 Commits

Author SHA1 Message Date
HAL9000 f916f88181 fix(plan): use structured alternatives objects in plan explain output per spec
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Failing after 52s
CI / push-validation (pull_request) Successful in 37s
CI / helm (pull_request) Successful in 46s
CI / build (pull_request) Successful in 1m2s
CI / lint (pull_request) Failing after 1m26s
CI / quality (pull_request) Successful in 1m33s
CI / typecheck (pull_request) Successful in 1m36s
CI / security (pull_request) Successful in 1m36s
CI / integration_tests (pull_request) Failing after 4m40s
CI / unit_tests (pull_request) Failing after 5m1s
CI / docker (pull_request) Has been skipped
CI / coverage (pull_request) Has been skipped
CI / e2e_tests (pull_request) Failing after 6m16s
CI / status-check (pull_request) Failing after 3s
Convert alternatives_considered list of strings to structured objects with
index (1-based), description, and chosen fields in _build_explain_dict().
Rename output field from alternatives_considered to alternatives.
Update BDD tests in plan_explain.feature, plan_explain_cli_coverage.feature,
and plan_explain_steps.py to validate the new structured format.

ISSUES CLOSED: #9166
2026-05-06 08:57:22 +00:00