Resolve nested inheritance in destination scopes

This commit is contained in:
2026-09-29 22:31:07 +00:00
parent fdbc306cfb
commit 4207110e2f
4 changed files with 478 additions and 0 deletions

View File

@@ -151,6 +151,15 @@ fields, not stack layout or exact prose. Run focused tests and the everyday chec
## Stage 3 — Resolve nested destination scopes and bound expansion
**Completed 2026-09-29.** Private expansion now walks from enclosing mappings
into destination-local nested scopes, including mappings within sequences.
Root and direct sequence-element string references fail; null cancellation is
consumed. Logical materialization uses an early non-directive lower bound and
final node/depth checks under projection limits, with no global cache. Focused
tests cover destination-specific nested values, three-generation chains,
relationship replacement/cancellation, a destination-only cycle, sequence
scopes, invalid positions, and budget boundaries. `./scripts/check.sh` passed.
Extend to the complete effective tree. Distinguish enclosing-chain templates from
fully resolved destination subtrees. After materializing an enclosing mapping,
resolve its nested sibling scopes independently. Visit sequence-contained mappings;