feat(clean): supercharge for agents — elapsed_seconds, exit_code, would_remove status
- Add elapsed_seconds (time.monotonic) and exit_code to all 3 JSON output paths - Introduce 'would_remove' status for dry-run with untracked files (was 'clean') - Move import json/time to module level (remove inline __import__) - Update _CleanResultJson TypedDict with new fields - Update module docstring with full JSON contract - Fix test_json_dry_run_shows_files to expect 'would_remove' (correct semantic) - Add TestElapsed, TestExitCode, TestDryRunStatus, TestJsonSchemaComplete (12 tests) - Add missing _init_repo() calls in new test class methods
sha256:66066aa50a6622711417985213c4661bd65b7a37b289fc49168b08a610f226be
sha
sha256:7e06d30e7bf7b49bc15fc79ad6409dcc22ef552ed0a968dfe678221ce141067f
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:66066aa50a6622711417985213c4661bd65b7a37b289fc49168b08a610f226be --body "your comment"
No comments yet. Be the first to start the discussion.