Share link dependency evaluation with host access

This commit is contained in:
2026-10-25 21:45:33 +00:00
parent 7bf2f0c687
commit 0f9ecf12ed
3 changed files with 156 additions and 51 deletions

View File

@@ -294,6 +294,12 @@ Focused check: `go test ./internal/engine -run 'Link|Directories|Glob'`.
Finding: remaining host part of **C02**.
Owners: `internal/engine/filesystem_links.go` and the same link/discovery tests.
Status: **complete** (C02). Prior completed commits: `2736ddf`, `deb9aa5`,
`ae3408a`, `ea27f17`, `08a8c25`, `877c497`, `8aba43d`, `7bf2f0c`.
Validation passed: `env GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -run 'Link|Directory|Glob|Filesystem|Discovery' -count=1`,
`env GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -count=1`,
and `git diff --check`.
Bind rooted host `Lstat`/`Readlink` operations to Stage 8's evaluator and retire the
duplicate host frame loop. Retain portable component evaluation, rooted access,
host-relative targets, and contained absolute targets translated with `filepath`.