fix(layering): parse static imports from OXC AST

Merged
TH
2mo ago
+369-106

Summary

  • Closes #3293; umbrella #3276; stacked on #3316. Four files touched; no runtime dependency added.
  • Static imports, re-exports and TSImportType share the existing OXC AST. Source-side qualifier symbols make named type dependencies visible to R75. Mixed type/dynamic edges stay distinct; malformed parses now fail closed.
  • Nine recorded shapes retain isolated fixtures plus live production dependency assertions, including shutdown’s current operations-module declaration. Eight file pairs are newly resolved on the rebased tree. All 104 added occurrences are permitted type dependencies; there are no new layering findings. The test dependency into Apple internals uses its exported subpath.
  • Removed the redundant ordering counter. Comment/template text produces no phantom edges. Evaluated value/dynamic edges and eager budgets remain unchanged; ownership includes type edges but its sets do not grow.

Validation

  • Head 5f411172f460e2d16eabf97e94ca749f565ca554: pnpm check:affected --run passed every runnable check; pnpm check:fallow --base origin/main also passed. CI pending.
  • Against parent 8ed2225f0: all 10,182 prior resolved edges retain identical symbols/kinds/lines/residue. No edges removed. Layering stdout, 22 cycle paths/kinds and all seven ownership sets (3,813 assignments) match exactly; R75 remains 13 shape / 22 authority files.
  • Malformed-parse and template-text regressions fail before their fixes and pass afterward. The named import-type/R75 regression passes; the production-edge test also fails with TSImportType extraction disabled.