refactor(javascript): break the semantic analysis import cycle (#8063)

* refactor(javascript): break the semantic analysis import cycle

Split shared semantic facts out of the analysis hub so projectors of
effects, evaluation, and identity no longer import one another in a cycle.

* refactor(javascript): share the import specifier reader

Read static imports in one module used by the boundary checker and both
cycle guards, so those rules cannot drift apart.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
morluto
2026-10-30 06:07:49 +08:00
committed by GitHub
co-authored by Cursor Agent
parent 940d71a45a
commit 249b90c5e3
33 changed files with 1043 additions and 772 deletions
@@ -16,7 +16,7 @@ import {
import type {
JavaScriptRpcEndpoint,
JavaScriptRpcScan,
} from "./javascriptRpcEndpoints.js";
} from "./javascriptRpcEndpoint.js";
/**
* Find source-body string values owned by a GraphQL Source-shaped literal.