rea/scripts/verify
JingHao-Leon 12c416005f
feat(javascript): recover code-split bundles from multiple inputs (#1686)
* feat(javascript): recover code-split bundles from multiple inputs

recover_javascript_sources accepted a single path, and
validateModuleSet bound every module's provenance to that one snapshot.
A code-split app (runtime + chunks, or an Electron main/preload/renderer
set) had to be recovered one file per call, and modules recovered alone
could not resolve imports across chunks: cross-chunk require(id)
references stayed as numeric ids with property reads.

Add an optional additional_paths input. The listed files are
concatenated, in order after path, into the single engine snapshot, so
one Wakaru run sees every module and cross-chunk imports resolve.
validateModuleSet's single-snapshot binding is unchanged. Module
provenance is attributed back to the input file its first extraction
range starts in, with byte ranges rebased to that file's own offsets;
a module whose ranges cross an input boundary keeps the concatenated
snapshot identity and offsets, recorded as an explicit limitation.
Single-path behavior is byte-for-byte unchanged (one segment,
offset 0).

Fixes #1605

* fix(javascript): preserve source identity in multi-input recovery

---------

Co-authored-by: JingHao-Leon <w15909130000@gmail.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-11 18:39:49 +08:00
..
android fix(mcp): deliver typed errors without invalid structured output (#1277) 2026-10-09 13:54:32 +00:00
apple fix: bind identity and coverage to the producing rule (#1513) 2026-10-10 17:14:47 +08:00
clients test(clients): verify native Claude Code integration (#1549) 2026-10-10 20:16:41 +08:00
electron fix(ci): format Electron IPC verification assertion 2026-10-11 08:34:22 +08:00
firmware refactor!: enforce canonical evidence and provider boundaries 2026-10-09 20:18:52 +08:00
ghidra feat(ghidra): configurable import language and analysis seeds (#1667) 2026-10-11 09:57:38 +08:00
inspector refactor!: enforce canonical evidence and provider boundaries 2026-10-09 20:18:52 +08:00
javascript feat(javascript): recover code-split bundles from multiple inputs (#1686) 2026-10-11 18:39:49 +08:00
managed test(managed): include shared dossier fixture in artifact inputs 2026-10-10 04:09:45 +08:00
recorded-crash perf(native): record pwntools diagnostics once in their Evidence (#1404) 2026-10-09 20:00:11 -07:00
termux fix(browser): support Termux Android scenarios (#1655) 2026-10-11 08:10:06 +08:00
architecture-guards.mjs ci: enforce architecture guards with portable checkout paths 2026-10-10 06:20:28 +08:00