Provide passive resource contexts for external imported sources

This commit is contained in:
2026-12-05 20:49:30 +00:00
parent ddb014ca05
commit 6e0c5436e9
3 changed files with 86 additions and 8 deletions

View File

@@ -350,6 +350,11 @@ behavior rather than behaving like a prematurely cleaned literal path.
## Stage 9 — Produce passive contexts for external imported sources
Completed: external unbounded host sources receive their own passive directory
root; contained/native/bounded coordinates remain intact. Resource tests cover
origins, resolution, failed validation inspection, synthetic contexts and imports
beyond an external source's resource directory.
Update `contextsForResolvedSources` in `source_context.go` to select a passive
root per source under the rules above. Keep the context anchor unchanged for
existing contained sources. External unbounded host imports use their own