v0.4.2 — Post-audit Critical fixes + docs polish
Critical findings closed (post-Phase-4 UX audit)
- C1 — tar compaction no longer orphans Dream pairs. Transparent
tar extraction indream diffanddream rollback;dream history
showsSTORAGEcolumn (dir / tar). - C2 —
backups pruneno longer eats Dream restore points.
~/.cc-janitor/backups/dream/partitioned off by default;
--include-dreamopts in with per-pair granularity.backups list
groups by[settings]/[dream]. - C3 — TUI hook-logging toggle works again. ConfirmModal +
tui_confirmed()wired inhooks_screen.action_toggle_logging
(silently failing since 0.3.2). - C4 — Memory TUI bindings cleaned up. Dropped unimplemented
e/m. Implementeda(archive, reversible viaundo) andf
(duplicate-line preview toggle). Final BINDINGS ={r, a, f}. - C5 —
stats sleep-hygieneexposes contradicting pair content.
Both JSON and text output now include subject + file list, not just
count.
Bonus
cc-janitor undoreversesdream rollback.cc-janitor config init [--force]scaffolds
~/.cc-janitor/config.tomlwith documented defaults.- Malformed
config.tomlnow warns to stderr instead of silently
falling back to defaults. - All 8 TUI tab labels routed through i18n.
dream rollbackdry-run warns about discarded post-snapshot dreams;
success message points tocc-janitor undo.
Documentation
- README.md drops outdated "not on PyPI" warning; install block uses
uv tool / pipx. Phase 4 section restructured. - README.ru.md fully resynced (was still describing Phase 1 only).
- docs/cookbook.md Phase-3 recipes reformatted to Problem / Commands /
Expected output / Next step style; sections renumbered. - docs/CC_USAGE.md updated with new commands and the dream-partition
guidance.
Tests
269 → 290 (+21 covering C1-C5 + bonus features). CI green on Ubuntu
3.11/3.12 and Windows 3.11/3.12.
Deferred to 0.4.3
dream doctor discoverability hint, doctor Dream / config.toml /
sys.platform rows, mutating Dream TUI actions, dream history WHEN
column, remaining I10/I11 (sessions/perms TUI write paths).