Repository navigation
fix(cli): summarize cleanup dry-run by label - #93565
vincentkoc merged 3 commits into
Conversation
|
ClawSweeper review: did not complete due to Codex infrastructure failure. Reviewed June 16, 2026, 4:51 AM ET / 08:51 UTC. Summary PR surface: Source +48, Tests +74, Docs 0. Total +122 across 4 files. Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Stored data model Merge readiness This is a ClawSweeper/Codex infrastructure failure, not a PR readiness or patch-quality verdict. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against c14793d35a10. Evidence reviewedPR surface: Source +48, Tests +74, Docs 0. Total +122 across 4 files. View PR surface stats
What I checked:
Likely related people:
How this review workflow works
|
4b03dce to
b0dd1d0
Compare
|
Land-ready maintainer pass complete. Repairs made:
Verification:
Known proof gap: repo-wrapper broad |
|
Merged via squash.
Thanks @AgentArcLab! |
Merged via squash. Prepared head SHA: b0dd1d0 Co-authored-by: AgentArcLab <[email protected]> Co-authored-by: vincentkoc <[email protected]> Reviewed-by: @vincentkoc
Summary
sessions cleanup --dry-runsummary grouped by session labelUnlabeledbucket for entries withoutSessionEntry.labelFixes #76826.
Proof
Red check before implementation:
Failed as expected because
Summary by Label:was absent from dry-run output.Focused verification after implementation:
All commands passed locally.
Surface map
renderStoreDryRunPlannow renders the existing action table and then a label summary from the same preview rows.resolveSessionCleanupActionand preview key sets.serializeSessionCleanupResult.renderAppliedSummariesand gateway delegation are untouched.docs/cli/sessions.mdnow describes the text-mode action table plus label summary.Risk notes
This does not add config, touch restricted CODEOWNERS paths, change retention rules, or modify session store data. Non-
keeppreview actions are counted as pruned in the summary because the dry-run asks what would be kept vs removed.