Skip to content

Add interactive TUI browsing and reversible cleanup - #9

Merged
MicroMilo merged 2 commits into
mainfrom
agent/advanced-tui-browsing
Aug 7, 2026
Merged

Add interactive TUI browsing and reversible cleanup#9
MicroMilo merged 2 commits into
mainfrom
agent/advanced-tui-browsing

Conversation

@MicroMilo

Copy link
Copy Markdown
Owner

What changed

  • Turn the terminal explorer into a reusable browsing surface with fuzzy search, filters, sibling sorting, local tags, bookmarks, and session-local tabs.
  • Keep search and view controls attached to the loaded metadata map, with clear UI state and help text.
  • Add an approval-gated cleanup loop: dd stages an exact path, the coding agent advises from metadata, and only an explicit confirmation moves it to system Trash with undo support.
  • Add path actions, workspace persistence, bounded deep relationship analysis, file previews, and privacy documentation.
  • Add deterministic tests for cleanup, workspace actions, tags, fuzzy browsing, sorting, and tabs.

Why

The TUI should be a continuing local workspace rather than a one-time directory listing. The new controls let a user narrow and organize a path while keeping the scan read-only by default and making cleanup reversible.

Privacy and safety

  • Reports stay metadata-first and redacted by default.
  • Search, filters, tags, and tabs do not upload data or read unopened file contents.
  • Local tags, bookmarks, recents, workspace state, and cleanup history stay in the local Clean Your Data state directory.
  • Cleanup is limited to an exact, measured, user-confirmed path moved to system Trash; app-managed, cloud-sync, unknown, home, and root paths remain blocked.

Validation

  • python3 -m py_compile audit-local-files/scripts/*.py tests/*.py
  • python3 tests/smoke_test.py
  • python3 tests/contract_test.py
  • python3 tests/duplicate_test.py
  • python3 tests/interactive_test.py
  • python3 tests/tui_test.py
  • python3 tests/cleanup_test.py
  • python3 tests/workspace_test.py
  • python3 tests/browse_test.py
  • git diff --check
  • Real pseudo-terminal TUI launch and q exit

@MicroMilo
MicroMilo marked this pull request as ready for review August 7, 2026 12:27
@MicroMilo
MicroMilo merged commit 6e406a9 into main Aug 7, 2026
4 checks passed
@MicroMilo
MicroMilo deleted the agent/advanced-tui-browsing branch August 7, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant