rea/scripts/lib
ysopwnable 01be082e9e
feat(browser): trace captured website module imports (#879)
* feat(browser): trace captured website module imports

Compose verified exported scripts, inert native import syntax and a narrow
Chromium resolution port. Preserve query/fragment identity, import-map context,
all reported capture candidates and explicit unknown execution. Share named
CLI/MCP contracts and retain native reports, diagnostics and cleanup failures.

Add focused boundary regressions and a real module-loading oracle to the
existing conditional Chrome lane. No captured application code is executed
by module tracing, and no selected website asset is refetched.

Refs #851, #774

Assisted-by: Yukari (gensokyo-skills:yukari-boundary-analysis)
Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)

* fix(browser): preserve module contexts and source bindings

Keep capture completeness inline, validate actual source text against its
digest, and separate unsupported URL contexts from malformed input.
Use the importer origin for native module resolution and the selected map
base independently, including mixed HTTP/HTTPS and escaped HTML attributes.

Refs #851, #774

Assisted-by: Yukari (gensokyo-skills:yukari-boundary-analysis)
Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
2026-10-07 14:59:52 +08:00
..
artifact-e2e.mjs feat(native): add inspection primitives, dispatch traces and approved UI observation (#500) 2026-10-04 16:02:36 +08:00
browser-dom-destinations-e2e.mjs fix(browser): preserve form destinations and satisfies mutation uncertainty (#825) 2026-10-07 11:22:03 +08:00
browser-module-e2e.mjs feat(browser): trace captured website module imports (#879) 2026-10-07 14:59:52 +08:00
browser-network-assertions.mjs feat(browser): capture correlated network content and lifecycle evidence (#797) 2026-10-07 04:35:49 +08:00
browser-network-e2e.mjs feat(browser): capture correlated network content and lifecycle evidence (#797) 2026-10-07 04:35:49 +08:00
browser-popup-e2e.mjs fix(browser): capture popup network and report early event gaps (#614) 2026-10-06 01:58:54 +08:00
browser-scenario-verifier.mjs feat(browser): capture correlated network content and lifecycle evidence (#797) 2026-10-07 04:35:49 +08:00
browser-screenshot-e2e.mjs refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
browser-script-export-assertions.mjs feat(web): export captured scripts for JavaScript application analysis (#801) 2026-10-07 05:24:32 +08:00
browser-script-export-e2e.mjs feat(web): export captured scripts for JavaScript application analysis (#801) 2026-10-07 05:24:32 +08:00
browser-verifier-assertions.mjs fix(browser): preserve form destinations and satisfies mutation uncertainty (#825) 2026-10-07 11:22:03 +08:00
catalog-builders.mjs feat(application): wire Android and Apple inventory graph tools (#852) 2026-10-07 13:34:48 +08:00
catalog-cli.mjs refactor(adapters): split oversized provider workflows 2026-07-18 05:49:14 +00:00
catalog-core.mjs refactor(firmware): group layered source and verification (#878) 2026-10-07 14:44:52 +08:00
conformance-fixtures.d.mts test(conformance): remove fixture generator test option 2026-09-29 18:00:47 +08:00
conformance-fixtures.mjs test(conformance): remove fixture generator test option 2026-09-29 18:00:47 +08:00
development-tests.d.mts chore(test): separate development feedback from full verification (#599) 2026-10-06 00:59:26 +08:00
development-tests.mjs fix(test): improve capture reliability and runner cleanup (#609) 2026-10-06 01:32:46 +08:00
docs-facts.d.mts docs: clarify onboarding and align provider guidance (#745) 2026-10-06 22:57:36 +08:00
docs-facts.mjs docs: clarify onboarding and align provider guidance (#745) 2026-10-06 22:57:36 +08:00
format-generated-file.mjs chore: migrate formatting to Oxfmt (#615) 2026-10-06 01:59:19 +08:00
generated-file.d.mts build: add canonical product catalog and docs drift checks 2026-07-15 17:43:52 +08:00
generated-file.mjs fix(build): preserve native generated-file line endings 2026-07-17 03:05:19 +09:00
javascript-recovery-fixtures.mjs feat(javascript): recover readable modules with Wakaru (#848) 2026-10-07 12:46:13 +08:00
managed-completion-report.mjs refactor!: simplify runtime tools and remove replay engines (#572) 2026-10-05 21:15:04 +08:00
managed-conformance-config.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
managed-conformance-manifest-parser.mjs refactor(tools): remove remaining arbitrary workflow caps 2026-09-29 17:00:06 +08:00
managed-conformance-manifest.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
managed-conformance-oracles.mjs refactor: return complete analysis results inline 2026-09-29 08:07:24 +08:00
managed-conformance-support.mjs fix: consolidate boundary ownership and cleanup failure paths (#477) 2026-09-08 10:59:13 +08:00
managed-pe-fixture.d.mts fix(managed): emit valid x64 conformance PE 2026-07-17 20:06:07 +08:00
managed-pe-fixture.mjs refactor: split oversized analysis workflows 2026-07-18 05:49:14 +00:00
mcp-startup-probe.d.mts perf(mcp): reduce cold-start work 2026-07-26 15:02:58 +00:00
mcp-startup-probe.mjs perf(mcp): reduce cold-start work 2026-07-26 15:02:58 +00:00
mcp-verifier-results.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
module-boundaries.d.mts build: verify resolved module boundaries (#862) 2026-10-07 13:02:28 +08:00
module-boundaries.mjs refactor: give Inspector its own capability directory (#869) 2026-10-07 13:53:25 +08:00
native-value-e2e.mjs fix(mcp): return complete inline Evidence records (#585) 2026-10-06 00:10:31 +08:00
product-catalog.d.mts refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
product-catalog.mjs chore: migrate formatting to Oxfmt (#615) 2026-10-06 01:59:19 +08:00
real-hopper-exhaustive-search.d.mts refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
real-hopper-exhaustive-search.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
real-hopper-fixture.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-fixture.mjs refactor(schema): remove data-only version markers 2026-09-29 08:45:36 +08:00
real-hopper-function-basics.mjs feat(native): add inspection primitives, dispatch traces and approved UI observation (#500) 2026-10-04 16:02:36 +08:00
real-hopper-inventory.mjs fix: correct native inventories and bridge error classification (#503) 2026-10-04 17:25:09 +08:00
real-hopper-selection.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
real-hopper-semantic.d.mts test(hopper): add semantic runtime conformance 2026-07-18 04:50:23 +00:00
real-hopper-semantic.mjs refactor: return complete tool results inline 2026-09-29 07:08:46 +08:00
test-discovery.d.mts refactor: add incremental capability migration safeguards (#819) 2026-10-07 10:56:06 +08:00
test-discovery.mjs refactor: add incremental capability migration safeguards (#819) 2026-10-07 10:56:06 +08:00
unrelated-hopper-sentinel.mjs fix(process): protect unrelated Hopper during cleanup 2026-07-22 14:04:00 +00:00
verifier-run.d.mts refactor: return complete analysis results inline 2026-09-29 08:07:24 +08:00
verifier-run.mjs feat(ghidra): enable Windows x64 read-only analysis (#699) 2026-10-06 16:53:33 +08:00
verify-package-core.mjs fix(mcp): emit valid schemas for empty arrays (#535) 2026-10-05 15:32:58 +08:00