Resolve symlink target parents in filesystem order

This commit is contained in:
2026-12-05 22:02:16 +00:00
parent 4668d5d7f9
commit b38bd101f2
3 changed files with 107 additions and 22 deletions

View File

@@ -112,7 +112,14 @@ named-file rejection or a stronger filesystem guarantee.
## 3. Preserve symlink-target components before resolving host directory identity
Priority: P2. Status: open.
Priority: P2. Status: complete.
Completed: host link targets retain unresolved components for the shared frame
evaluator. Bounded absolute target resolution keeps canonical containment and
uses rooted access for contained names. A regression compares all three import
selectors for relative/absolute targets and bounded/unbounded access; it fails
before the fix and passes afterward. Focused link/directory/glob tests,
`./scripts/check.sh`, and `go test -race ./internal/engine` pass.
Relevant code: `hostImportLinkOperations.normalizeTarget` at lines 237–249 of
[filesystem_links.go](../../internal/engine/filesystem_links.go), and the