🤖 Generated by the Agentic Engineer
Problem
Historical release inspection succeeds in an ordinary checkout but fails in an otherwise identical checkout whose physical pathname ends in a newline. Shell capture removes bytes from the root pathname before re-entering it.
Reproduced against reviewed 739d01b using the actual command and isolated offline fixtures. This is one defect family; related input variants belong to this issue.
Proposed direction
Preserve complete physical pathnames through release inspection without modifying the caller checkout.
Acceptance criteria
Both checkouts inspect the same existing release successfully. Paths with ordinary spaces and newlines remain supported. Caller HEAD, index, configuration and worktree state are unchanged.
Size: Small.
Part of #101.
Problem
Historical release inspection succeeds in an ordinary checkout but fails in an otherwise identical checkout whose physical pathname ends in a newline. Shell capture removes bytes from the root pathname before re-entering it.
Reproduced against reviewed 739d01b using the actual command and isolated offline fixtures. This is one defect family; related input variants belong to this issue.
Proposed direction
Preserve complete physical pathnames through release inspection without modifying the caller checkout.
Acceptance criteria
Both checkouts inspect the same existing release successfully. Paths with ordinary spaces and newlines remain supported. Caller HEAD, index, configuration and worktree state are unchanged.
Size: Small.
Part of #101.