Extract patterned glob entry preparation

This commit is contained in:
2026-10-26 00:08:23 +00:00
parent b1d89810ca
commit 7d18c93339
2 changed files with 52 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
# Import Discovery And Facade Simplification Implementation Plan
Status: not started.
Status: in progress.
Baseline: `bb5540b62e382106d59678e2edb7655acfd5c960`.
Audience: a Luna coding agent implementing the stages sequentially.
@@ -76,7 +76,8 @@ acceptance criteria.
## Stage 1 — Extract Patterned Glob Entry Preparation
Finding: **C03**. Owners: `internal/engine/glob.go`, existing glob selection,
link, and directory failure tests. Status: **not started**.
link, and directory failure tests. Status: **complete**. Validation passed:
`env GOTOOLCHAIN=local GOPROXY=off GOTELEMETRY=off go test ./internal/engine -run 'Glob|Directory|Link|Filesystem|Resource'` and `git diff --check`.
1. Add `prepareGlobEntry` beside the selector. Take the filesystem access,
base path, parent `selectedImportCandidate`, `fs.DirEntry`, pattern segment,