feat: persistent organized ledger, grouping cache, TUI multi-select & preview - #12
Merged
Conversation
… multi-select & preview
Track previously organized files in a persistent ledger so re-runs skip them
automatically. New files that are byte-identical to organized content are
flagged as duplicates. Claude results are cached by content hash: per-file
descriptions by file hash, grouping by the full set of file hashes plus
existing folder labels — re-running over an unchanged set sends zero tokens.
Group labels can now be nested paths ("Work/Acme Corp/Website Redesign")
that become real directory trees. Claude is prompted with existing folder
names from the ledger so new files route into matching groups instead of
near-duplicate ones.
TUI gains multi-select (Enter to mark, batch d/m/n) and a spacebar preview
modal for images and text files, reusing the DiffState modal pattern.
Folders containing `.spindel-ignore` are excluded from all scanning.
CLI additions: --no-ledger, --ledger <path>.
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
Add decode_image() helper that tries the image crate first, then falls back to ImageMagick `magick convert` for formats the crate can't handle (e.g. HEIC/HEIF). Replaces four inline decode blocks. Also clears preview state when no image path is available, and updates test model references from claude-sonnet-4-20250514 to claude-sonnet-4-6.
🔒 Upgrade RequiredPrivate repository analysis requires Pro or Enterprise. Upgrade: https://ecc.tools/pricing?plan=pro ECC Tools keeps the core app open, and puts private repos, team features, and enterprise controls behind paid tiers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--no-ledger/--ledger <path>CLI flags control behavior.Work/Acme Corp/Website Redesignbecome real directory trees. Sanitization handles traversal, backslash, and empty segments safely..spindel-ignore: sentinel file excludes a directory and all its children from scanning.Test plan
cargo test— 318 tests passcargo clippy— no warnings.spindel-ignorein a subfolder, verify it's skipped🤖 Generated with Claude Code