Files
tour/tests
adamfandClaude Code a81b1ace96 Normalise staged paths and reject staging on an ended tour
`tour rm ./f.txt` recorded "./f.txt", which never matched carry-forward's
"f.txt", so the file silently survived into the next step; unstage had the
same mismatch. normalize_path is now shared by add/rm/unstage/commit and
also strips the leading "." that components() keeps.

add/rm/unstage gain the ended-tour check commit already had, via a shared
require_active, so a finalised tour can't accumulate uncommittable staging.
rm now warns instead of silently accepting paths no step tracks.

Co-Authored-By: Claude Code <[email protected]>
2026-09-22 22:16:40 +01:00
..