Commit Graph
6 Commits
Author SHA1 Message Date
adamfandClaude Code 45da723d49 Clean up .tour on failed init
Aborting the metadata prompts (Ctrl-C/EOF) left a half-built .tour behind,
so every later `tour init` failed with TourAlreadyExists and no recovery.

Co-Authored-By: Claude Code <[email protected]>
2026-09-22 22:16:16 +01:00
adamfandClaude Opus 4.6 507c61fe5f Fix bugs and improve robustness across the codebase
- Fix staged files being silently cleared when commit uses inline files
- Refactor step navigation to use direct go_to_step instead of fragile delta math
- Change step numbers from i32 to u32 (reject negative values at parse time)
- Add tour rm command to mark files for removal during carry-forward
- Add tour reset command to clear session and remove tracked files
- Consolidate duplicate recursive copy functions into shared copy_tree in utils
- Validate step directories are sequential (detect corruption)
- Detect binary files in diffs instead of showing garbage
- Use /// doc comments on enum variants so clap generates proper help text
- Remove custom Help subcommand in favor of clap's built-in --help
- Add CorruptedTour error variant for integrity checks

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-05 21:23:39 +00:00
adamf c0a71bc285 adding important subcommands 2026-03-02 21:55:37 +00:00
adamf 26eccecc7c Adding all commands and boilerplate 2026-02-23 14:46:19 +00:00
adamf 7aa3ca651e Copy files with tour init 2026-02-18 17:37:01 +00:00
adamf efa297a07a Create file directorys in init 2026-02-18 17:10:13 +00:00