Skip to content

v0.4.2 — Post-audit Critical fixes + docs polish

Choose a tag to compare

@CreatmanCEO CreatmanCEO released this 13 May 08:52
· 5 commits to main since this release
1f6912d

Critical findings closed (post-Phase-4 UX audit)

  • C1 — tar compaction no longer orphans Dream pairs. Transparent
    tar extraction in dream diff and dream rollback; dream history
    shows STORAGE column (dir / tar).
  • C2 — backups prune no longer eats Dream restore points.
    ~/.cc-janitor/backups/dream/ partitioned off by default;
    --include-dream opts in with per-pair granularity. backups list
    groups by [settings] / [dream].
  • C3 — TUI hook-logging toggle works again. ConfirmModal +
    tui_confirmed() wired in hooks_screen.action_toggle_logging
    (silently failing since 0.3.2).
  • C4 — Memory TUI bindings cleaned up. Dropped unimplemented
    e / m. Implemented a (archive, reversible via undo) and f
    (duplicate-line preview toggle). Final BINDINGS = {r, a, f}.
  • C5 — stats sleep-hygiene exposes contradicting pair content.
    Both JSON and text output now include subject + file list, not just
    count.

Bonus

  • cc-janitor undo reverses dream rollback.
  • cc-janitor config init [--force] scaffolds
    ~/.cc-janitor/config.toml with documented defaults.
  • Malformed config.toml now warns to stderr instead of silently
    falling back to defaults.
  • All 8 TUI tab labels routed through i18n.
  • dream rollback dry-run warns about discarded post-snapshot dreams;
    success message points to cc-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).