Files
cleveragents-core/features
HAL9000 7cbcebf1c4 fix(cli): wrap plan status --format json output in spec-required JSON envelope
- Updated plan_status() to build spec-compliant JSON envelope via _status_output_dict()
- Envelope includes: command, status, exit_code, data, timing, messages fields
- data includes: plan_id, phase, state, action, attempt, progress, execution, cost
- Computed elapsed/eta from plan timestamps and estimation_result
- Derived files_modified from plan.changeset.changes count
- Derived child_plans from plan.child_plan_ids/completed_child_plan_ids
- Moved Plan/PlanPhase/ProcessingState imports to module level
- Promoted _get_progress_status to module-level private function
- Added Behave BDD test scenarios in features/plan_status_json_envelope.feature
- Updated cli_output_formats.feature to use spec field name 'state' (not 'processing_state')
- Added CHANGELOG entry for #9450

ISSUES CLOSED: #9450
2026-05-15 10:24:55 +00:00
..