feat
BREAKING
gc
task/gc-supercharge-json-agent
#1 / 1
feat(gc): supercharge JSON schema for agent-readiness
- Add status (ok|error), error, warnings, mode, exit_code fields to --json output - Replace elapsed_seconds with duration_ms (milliseconds, float) for consistency - Add collected_commit_ids and collected_snapshot_ids lists (populated by --full) - Structured JSON error response when --grace-period < 0 in --json mode - GcResult.warnings captures logger.warning() calls via _WarningCapture handler - mode: 'conservative' (default) | 'tight' (--full) communicates reachability strategy - Extract _run_gc_inner() to cleanly wrap warning capture in run_gc() - 33 new TDD tests (test_gc_supercharge_json.py) — all green
sha256:658b27c22adbc07d28a88375c4400231fbc35071b6f67abb495a1818adc94280
sha
sha256:045b811b20c4b31d647d586a40800738bc6bf74bc89781a8c55cad8d6740a160
snapshot
← Older
Oldest on task/gc-supercharge-json-agent
All commits
Newer →
Latest on task/gc-supercharge-json-agent
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:658b27c22adbc07d28a88375c4400231fbc35071b6f67abb495a1818adc94280 --body "your comment"
No comments yet. Be the first to start the discussion.