Verify record storage preserves whitespace in Git paths

This commit is contained in:
2026-11-02 22:33:29 +00:00
parent 993866c1d7
commit 6fc140d8dc
2 changed files with 48 additions and 0 deletions

View File

@@ -300,6 +300,12 @@ have exited, rather than only testing a directly built CLI or a warm cache.
## R08: Reuse the existing repository-path semantics for record storage — P2
**Completed:** R04's shared resolver reuses the established Git root and
metadata-path normalization. Added regressions passed for repository roots and
separate metadata directories ending in whitespace, default/relative read-write
agreement, and rejection of absolute unignored worktree stores. Existing ordinary
and linked-worktree recording tests also passed.
**Relevant code:** `internal/publish/record.go:112`, especially line 117;
`internal/publish/attempts.go:74`, especially line 82; the existing
`internal/git/source.go:39` and `source.go:50` repository-root helpers.