rea/docs
Rudy Mizrahi Celekli bae87b4ded
fix(browser): derive source-map imports from syntax nodes (#588)
* fix(browser): derive source-map imports from syntax nodes

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>

* fix(browser): recover source-map dependencies from decorated and aliased sources

Discarding a source's edges whenever it had parse errors cost more than it
protected. parseJavaScriptSource only enabled jsx and typescript, so a
decorated TypeScript source did not parse at all and contributed no edges at
all, even for the imports Babel could otherwise have read. That is the common
shape for the bundles this boundary inspects. "decorators-legacy" is enabled
instead of "decorators" because the standard form still rejects parameter
decorators such as constructor(@Inject() private s: S), which is the Angular
and Nest dependency-injection shape.

import x = require("m") parses cleanly but is a TSImportEqualsDeclaration
rather than a call expression, so it contributed no edge. It is now read as a
require dependency. It is only legal at module top level and always refers to
the host loader, so it needs no unbound-require check; the local-alias form
imports an entity name and still declares nothing.

A source whose syntax could not be recovered now yields status "partial" with
a limitation naming the affected sources, instead of an included item whose
empty edge list was indistinguishable from a source that genuinely imports
nothing. Edges that did parse are retained and the caller is told the list is
a subset, which matches how the static and semantic analysers already report
recovered syntax.

The source-map item status union gains "partial" and the coverage rollup now
counts it as retained, so a collection of only-partial items reports partial
rather than unavailable.

* Merge main into fix(browser): derive source-map imports from syntax nodes

Resolve the generated-file conflicts by taking main's generated output and
regenerating from the merged source contracts, rather than merging generated
text by hand.

---------

Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-06 01:03:41 +08:00
..
adr fix!: repair boundary contracts across CLI and MCP (#597) 2026-10-06 00:50:38 +08:00
assets docs: add Discord community links to README 2026-10-05 17:36:29 +08:00
verification fix(browser): derive source-map imports from syntax nodes (#588) 2026-10-06 01:03:41 +08:00
apple-application-analysis.md docs: describe complete application analysis outputs 2026-09-29 14:54:01 +08:00
architecture.mermaid refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
browser-observation.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
browser-scenario-contract.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
electron-observation.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
error-contract.schema.json refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
ghidra-dos.md feat(ghidra): add DOS MZ analysis and complete function extents (#556) 2026-10-05 20:09:45 +08:00
installation.md feat(setup)!: expand agent integrations and verify updates (#577) 2026-10-05 23:06:19 +08:00
javascript-application-graph.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
javascript-application-workflows.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
javascript-artifact-reconstruction.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
javascript-runtime-observation.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
javascript-runtime-reconciliation.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
managed-code-analysis.md fix!: repair boundary contracts across CLI and MCP (#597) 2026-10-06 00:50:38 +08:00
mcp-contracts.md fix(mcp): return complete inline Evidence records (#585) 2026-10-06 00:10:31 +08:00
mcp-prompts.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
native-investigation.md fix(ghidra): recover evidenced switch cases and default targets (#579) 2026-10-05 22:54:17 +08:00
process-capture.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
product-catalog.json fix(browser): derive source-map imports from syntax nodes (#588) 2026-10-06 01:03:41 +08:00
provider-evaluation.md docs: align translated READMEs and clarify support guides 2026-10-05 18:39:28 +08:00
reconstruction-obligation-ledgers.md refactor: return complete analysis results inline 2026-09-29 08:07:24 +08:00
reconstruction-readiness.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
roadmap.md fix!: repair boundary contracts across CLI and MCP (#597) 2026-10-06 00:50:38 +08:00
test-suite-audit.md fix(tools)!: simplify direct invocation and harden boundary contracts (#555) 2026-10-05 20:16:44 +08:00
testing.md chore(test): separate development feedback from full verification (#599) 2026-10-06 00:59:26 +08:00
tool-design.md refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
user-visible-errors.csv refactor(files): use caller paths for local evidence files 2026-09-29 14:53:20 +08:00
windows-ghidra-p0.md feat(setup)!: expand agent integrations and verify updates (#577) 2026-10-05 23:06:19 +08:00