Discover checkout roots for optional preparation

This commit is contained in:
2026-11-01 21:11:39 +00:00
parent 0632aa5901
commit b47202a2e9
3 changed files with 200 additions and 1 deletions

View File

@@ -108,7 +108,10 @@ and CLI publication tests. Use the offline environment specified in Stage 10.
## Stage 2: Add optional checkout-root discovery with precise failure handling
**Status:** pending.
**Status:** complete. `go test ./internal/git` passes offline, including real
checkout, worktree, alias, standalone, missing-Git, diagnostic, and failure
cases. The public Go-only preparation composition check is deferred to Stage 3,
where preparation adopts discovery.
**Files:** `internal/git/source.go` or a focused companion file, Git tests, and
`internal/process/process.go` only if an existing invocation capability proves