Development record
The capture ledger's os.Root escape is classified by matching the string 'path escapes from parent' (internal/core/capture/ledgerroot.go:59-64), and nothing pins the match: ledgerroot_test.go:62 and :97 assert only err != nil, so a Go release that rewords the message would silently degrade ErrPathUnsafe to a generic error (review-capture 1). Assert errors.Is(err, ErrPathUnsafe) in both race tests.
issueresolvedminoriss-2609251823559111
The capture ledger's os.Root escape is classified by matching the string 'path escapes from parent' (internal/core/capture/ledgerroot.go:59-64), and nothing pins the match: ledgerroot_test.go:62 and :97 assert only err != nil, so a Go release that rewords the message would silently degrade ErrPathUnsafe to a generic error (review-capture 1). Assert errors.Is(err, ErrPathUnsafe) in both race tests.
Grounds
- pursued: a Go release that rewords the os.Root escape text turns TestMapEscapeClassifiesTheRealOSRootEscape and the write-race test RED; a mutant of the match string leaving the capture tests green would show it wrong
Frontmatter
| id | iss-2609251823559111 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609251823559111-the-capture-ledger-s-os-root-escape-is.md
open on GitHub ↗ · commit history ↗