fix(cli): fix project context show JSON/YAML output fields #6680

Merged
HAL9000 merged 6 commits from fix/issue-6323-project-context-show-output into master 2026-06-01 01:34:53 +00:00

6 Commits

Author SHA1 Message Date
cleveragents-auto 57cb71e424 chore: worker ruff auto-fix (pre-push lint gate)
CI / lint (pull_request) Successful in 1m4s
CI / push-validation (pull_request) Successful in 37s
CI / helm (pull_request) Successful in 39s
CI / build (pull_request) Successful in 47s
CI / typecheck (pull_request) Successful in 1m19s
CI / security (pull_request) Successful in 1m18s
CI / quality (pull_request) Successful in 1m19s
CI / unit_tests (pull_request) Successful in 7m0s
CI / docker (pull_request) Successful in 1m38s
CI / coverage (pull_request) Successful in 14m26s
CI / integration_tests (pull_request) Successful in 29m47s
CI / status-check (pull_request) Successful in 4s
2026-05-31 20:45:10 -04:00
HAL9000 826d70299a test(project-context): add BDD scenarios to boost coverage for issue 6323
Cover previously uncovered paths in _format_size (None, byte, KB/MB/GB/TB
branches), format_output dict-message paths (level/text, malformed key
ValueError, empty-level plain output), and context_show rich rendering
with execution environment panel and non-integer depth gradient keys.
2026-05-31 20:45:10 -04:00
HAL9000 565263ab24 fix(cli): fix project context show test mock for tier service
Add ContextTierService mock to step_m5_invoke_project_context_show
so the CLI command can call _get_context_tier_service() without
failing. Also patch _load_policy_json to prevent JSON decode errors
from MagicMock session objects. Update CHANGELOG.md and CONTRIBUTORS.md.

ISSUES CLOSED: #6323
2026-05-31 20:45:10 -04:00
HAL9000 19f11f0d0a fix(cli): restore context show rich panels
ISSUES CLOSED: #6323
2026-05-31 20:45:10 -04:00
HAL9000 17ede04458 fix(cli): align project context show structured output
ISSUES CLOSED: #6323
2026-05-31 20:45:10 -04:00
HAL9000 628c1dcf12 fix(cli): fix project context show JSON/YAML output fields (#6323)
ISSUES CLOSED: #6323
2026-05-31 20:45:10 -04:00