Commit Graph
7047 Commits
Author SHA1 Message Date
morluto dc16719b04 test(sourcemap): repair codec deadline verification (#13057)
test(sourcemap): verify the codec deadline outside the launcher
2026-11-21 09:30:03 +00:00
morluto bf77776873 test(evidence): consolidate native routing and identity refusals (#13054)
test(evidence): consolidate native routing and identity refusal checks
2026-11-21 09:15:18 +00:00
morluto 0c3e1d69aa test(evidence): verify request admission and retained display ownership (#13053)
* test(evidence): verify frame refusal and pre-parse cancellation

* test(evidence): verify display and digest at their owners
2026-11-21 09:07:28 +00:00
morluto cf87e474eb test(cli): consolidate JSON document admission and path checks (#13052)
* test(cli): consolidate JSON document admission checks

* test(cli): retain caller path checks at the provider boundary
2026-11-21 04:03:19 -05:00
morluto 34da2cce1f test(snapshots): verify live source metadata refresh (#13048) 2026-11-21 08:51:24 +00:00
Kaoru0822 8f2b865c06 perf(mcp): reduce deferred catalog startup data (#13039)
* perf(mcp): trim deferrable result schema storage

* test(mcp): guard the deferred catalog output projection

* test(mcp): validate hardening against the canonical output schema
2026-11-21 00:47:31 -08:00
morluto b6fced40a3 test(snapshots): verify ambiguous provenance through direct replay (#13046) 2026-11-21 08:42:05 +00:00
morluto 184e9c083c test(evidence): distinguish legacy format from schema refusal (#13045)
* test(evidence): distinguish legacy format from schema refusal

* test(evidence): verify full format recovery guidance
2026-11-21 08:32:56 +00:00
Kaoru0822 9fd8c8d903 fix(setup): recognize DSH registrations nested in Cordis groups (#13037)
* test(setup): reproduce hidden DSH registrations in Cordis groups

* fix(setup): track DSH registrations inside Cordis insert groups

* test(uninstall): cover aliased DSH group cleanup

* fix(uninstall): preserve comments at edited DSH group aliases
2026-11-21 00:23:18 -08:00
Kaoru0822 76da8fd8ba fix(uninstall): keep emptied DSH inserts from applying overrides (#13036)
* test(uninstall): reproduce DSH inserts becoming active overrides

* fix(uninstall): preserve the mode of emptied DSH insert operations
2026-11-21 00:23:02 -08:00
Kaoru0822 270c3a6b28 fix(setup): preserve caller comments on detached DSH aliases (#13032)
* test(setup): reproduce DSH alias comment loss on registration edits

* fix(setup): retain DSH alias annotations when materializing values
2026-11-21 00:22:38 -08:00
morluto 8ffbebd3c8 test(ghidra): consolidate wire admission and shutdown checks (#13044) 2026-11-21 08:19:56 +00:00
morluto 67f8094efa test(debugger): consolidate runtime setting recovery coverage (#13042) 2026-11-21 08:12:59 +00:00
Kaoru0822 2e45687dfd perf(javascript): share settled ambient call continuations (#13010)
* perf(javascript): share settled ambient call continuations

* test(javascript): cover settled dispatch invalidation at captured reads
2026-11-20 23:50:21 -08:00
morluto 5fb7126a65 test(providers): consolidate bridge request lifecycle checks (#13033) 2026-11-21 07:47:01 +00:00
morluto ba90341421 test(rizin): consolidate detach inventory and protocol checks (#13031) 2026-11-21 07:46:38 +00:00
morluto d989ff06e8 test(process): bound inherited-pipe fixture lifetime to its workspace (#13030)
test(process): stop inherited-pipe fixtures when their workspace disappears
2026-11-21 07:28:38 +00:00
Kaoru0822 f2d5cd6337 perf(javascript): index widened summary coverage by root (#13007)
* perf(javascript): reuse lexical returned-reference facts across ambient writes

* test(javascript): count returned-reference dependency checks by binding

* perf(javascript): collect return dependency facts once per binding

* ci: run required verification for stacked pull requests

* perf(javascript): index widened summary coverage by root

* test(javascript): count canonical keys during widened effect merging

* perf(javascript): reuse canonical keys from widened effect summaries
2026-11-20 23:12:23 -08:00
Kaoru0822 d43fc10511 perf(javascript): reuse lexical returned-reference facts across ambient writes (#13004)
* perf(javascript): reuse lexical returned-reference facts across ambient writes

* test(javascript): count returned-reference dependency checks by binding

* perf(javascript): collect return dependency facts once per binding

* ci: run required verification for stacked pull requests
2026-11-20 23:12:00 -08:00
morluto d84652e55b fix(rizin): report the required inferior terminal field (#13019) 2026-11-21 07:10:53 +00:00
Kaoru0822 91a68a8b7c fix(javascript): preserve Webpack slots outside finite writes (#13006)
* fix(javascript): preserve Webpack slots outside finite writes

* test(javascript): verify finite Webpack cache writes preserve other slots

* test(javascript): separate cache slot controls from external identity
2026-11-20 22:32:29 -08:00
Kaoru0822 e66a27c2f2 fix(electron): resolve exact local IPC channel values (#13005)
* fix(electron): resolve exact local IPC channel values

* test(electron): cover ESM IPC channel overwrites

* fix(electron): reconcile wrapper registrations before resolving channels

* test(electron): require inference evidence for resolved handler channels

* fix(electron): preserve inferred channels on handler evidence
2026-11-20 22:32:13 -08:00
Kaoru0822 fba5e44bf5 fix(javascript): share widened reference-store propagation (#12990)
* fix(javascript): share widened reference-store propagation

* test(javascript): witness post-fixpoint ambient checkpoints

* fix(javascript): checkpoint ambient effect publication between sites
2026-11-20 22:31:43 -08:00
Kaoru0822 c2870f9132 fix(javascript): preserve Electron identity beside unrelated alias exhaustion (#12988)
* fix(javascript): preserve Electron identity beside unrelated alias exhaustion

* fix(javascript): retain delegate uncertainty after opaque global code

* test(javascript): keep an escaped CommonJS receiver unresolved

* fix(javascript): bound CommonJS receiver sources at admission
2026-11-20 22:31:28 -08:00
morluto 9bb06b29ca test(ida): consolidate advertised observation and effect checks (#13008)
* test(ida): consolidate advertised observation and effect checks

* test(ida): preserve empty-name and instruction-body contracts
2026-11-21 00:59:22 -05:00
morluto 0d1f40bf2a test(ida): consolidate diagnostic redaction checks (#13002) 2026-11-21 00:31:23 -05:00
morluto 0b29fc37f8 test(ida): consolidate input and workspace validation checks (#13001) 2026-11-21 00:31:20 -05:00
morluto 8ce837662b test(ida): consolidate native result precedence checks (#12999) 2026-11-21 05:14:50 +00:00
morluto 37467640cb test(ida): consolidate registration and profile selection checks (#12998)
* test(ida): consolidate registration and profile selection checks

* test(ida): keep native registration checks at their reader
2026-11-21 05:14:16 +00:00
morluto a2b5a32163 test(ida): consolidate selector errors and partial evidence checks (#12997) 2026-11-21 05:12:34 +00:00
morluto 40c21638e5 test(ida): consolidate containment and address context checks (#12996) 2026-11-21 05:05:22 +00:00
morluto 10789bc4c1 test(ida): consolidate relationship routing and coverage checks (#12995) 2026-11-21 04:58:01 +00:00
morluto 4df6b371b0 test(ida): consolidate worker release and retry checks (#12993)
* test(ida): consolidate worker release and retry checks

* test(ida): point lifecycle coverage at retained cleanup checks
2026-11-21 04:49:13 +00:00
morluto a93f558d0e test(ida): consolidate startup diagnostics and remove fixture waits (#12994) 2026-11-21 04:48:55 +00:00
morluto 809e6bbafd test(ida): consolidate readiness and regex deadline checks (#12992) 2026-11-20 23:35:41 -05:00
morluto 8fefe18381 test(ida): consolidate workspace copy and release checks (#12991) 2026-11-21 04:27:16 +00:00
morluto b60d6e3e8d test(composition): consolidate retained session liveness checks (#12987) 2026-11-21 04:07:20 +00:00
morluto ddbfd07369 test(providers): consolidate composite child ownership checks (#12986) 2026-11-20 23:02:01 -05:00
morluto efe2da79a8 test(providers): consolidate refusal and finalization checks (#12985) 2026-11-21 04:00:44 +00:00
morluto 01022e9afe test(providers): consolidate selection diagnostics checks (#12982) 2026-11-20 22:51:54 -05:00
morluto d184c208f3 test(evidence): consolidate investigation record coverage (#12978) 2026-11-21 03:35:10 +00:00
morluto 2533a8b32b fix(electron): preserve waits and cancellation through renderer shutdown (#12972)
* fix(electron): preserve scenario waits through renderer crashes

* fix(electron): retain action cancellation across final Inspector failure

* fix(electron): collect active state in a single Inspector call
2026-11-21 03:08:49 +00:00
morluto 6d74dbe5cc test(electron): consolidate capture cleanup coverage (#12958)
* test(electron): consolidate capture cleanup coverage

* test(electron): point lifecycle coverage to retained cleanup proof
2026-11-20 23:39:35 +00:00
morluto 32e5f5bc1c test(electron): consolidate action and projection coverage (#12959)
* test(electron): consolidate action and projection coverage

* style(tests): format Electron action diagnostics assertion
2026-11-20 23:39:25 +00:00
morluto 8d2eb16710 test(electron): consolidate fuse preflight coverage (#12957)
* test(electron): consolidate fuse preflight coverage

* test(electron): assert fuse cancellation reason identity
2026-11-20 23:33:47 +00:00
morluto 2bac1b5add test(electron): consolidate file admission and cleanup coverage (#12953) 2026-11-20 23:12:10 +00:00
6822ebe1f3 feat(ida): support the official Hex-Rays IDA MCP headlessly (#4813)
* feat(ida): support the official Hex-Rays IDA MCP headlessly

Hex-Rays IDA MCP serves database reads only through execute_python, so
REA rejected it as an upstream. A `hexrays` headless stdio registration
now leases a private idalib worker through open_database, answers the
existing database-supervisor reads with a fixed, packaged, read-only
query module, and releases the lease with close_database, verified by
list_databases.

Observations record execute_python, the query and the module digest.
Tool errors are typed so a completed rejection is distinguished from an
unknown outcome; an unconfirmed release is retried and a late lease on
the private input is adopted.

Validated IDA source and bridge tests, static checks, docs, and npm run
verify:ida on Linux x64 against x86-64 and AArch64 ELF fixtures.

* feat(ida): name the Hex-Rays registration for its catalog

A registration without `protocol` that reaches the official Hex-Rays
server failed with only the missing database-supervisor tools. Startup
profile failures now report the advertised catalog, and when it is the
Hex-Rays one the message and recovery name the `hexrays` registration.

Refs #1416

* docs(ida): state Hex-Rays prerequisites and upstream session traces

Upstream needs IDA 9.4 or later with idalib, Python 3.11 or later, uv
and Git. The profile does not analyze databases open in the IDA GUI, and
the server keeps its own session traces outside REA's workspace.

Refs #1416

* fix(ida): skip inline data when scanning Hex-Rays calls

The call scan decoded every head that FuncItems yields. Inline data such
as a jump table can decode as a call and refer to a function or import,
which reported false callees and call-graph edges. Skip non-code heads
before decoding, as disassembly already does.

Refs #1416

* fix(ida): retain Hex-Rays health reads in evidence

The identity and readiness reads around each operation kept only their
parsed result, dropping the bridge digest and any engine output. Keep
them whole as health_observations beside the parsed metadata, in both
successful and partial-failure Evidence.

Refs #1416

* test(ida): list the Hex-Rays bridge in package fixtures

The packed-bridge verifier has required bridge/ida/hexrays_queries.py
since the Hex-Rays profile landed, but three package tests still built
their member lists without it. The verifier stopped at that file, so 21
cases failed or asserted on the wrong omission.

Refs #1416

* feat(ida): open existing IDA databases through the Hex-Rays profile

A headless open re-ran auto-analysis from the input binary, discarding
the names, types and comments of an existing database and taking far
longer on large targets. Target admission now identifies IDA databases
by their IDA1/IDA2 signature, and the hexrays profile opens a private
copy of one; Hopper and the other IDA profiles reject them.

The copy is required, not incidental: idalib repacks a database when
its last lease is released, even without a save. A database reports
the input it was created from, so the session is bound to the opened
copy's idb_path, and health now reports the input SHA-256 it records.

Validated with resolver, provider and session tests, check:fast,
docs:check and test:changed, plus a real Hex-Rays MCP run against a
1.4 GB SC2 .i64 whose original file was left byte-identical.

Refs #1416

* fix(ida): verify the private workspace of a database target by idb_path

* test(ida): fix Hex-Rays health stand-ins and Windows path and runtime teardown

* refactor(ida): resolve the registration once for target support

* docs(ida): record the real Hex-Rays run on an existing .i64

* docs(ida): make the Hex-Rays registration example install-neutral

* chore: keep merge-hook formatting outside the IDA change

* fix(ida): retain live Hex-Rays databases this server does not lease

A list_databases row with instance_id null is a live owner, not a stopped
database. Mapping it to the supervisor's released-worker shape made cleanup
delete files another client still held. Unleased rows stay active, so the
private path must leave inventory before the workspace is removed.

Accept idat inventory rows, hash the query bridge with sha256Hex, and
complete databaseEngine on Hopper fixtures added on main.

* fix(ida): report uncapped Hex-Rays call graphs

* docs(ida): link to the Hex-Rays bridge on GitHub

* fix(ida): verify Hex-Rays worker identity and cleanup

* feat(ida): support Hex-Rays idat headless workers

Refs #12921

* fix(ida): retain workspace after ambiguous Hex-Rays startup

* fix(ida): preserve typed Hex-Rays call edges and deadlines

* test(ida): verify Hex-Rays cleanup with a peer lease

* test(ci): use project deadlines for the Cutter verifier

* test(ida): keep verifier cleanup fixtures scoped to mocked modules

* fix(ida): retain the worker backend in partial evidence

---------

Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-20 17:58:27 -05:00
morluto 4f472e001c test(asar): consolidate header admission coverage (#12944) 2026-11-20 22:42:46 +00:00
morluto a31b80a412 test(cli): consolidate Amp launcher registration coverage (#12940) 2026-11-20 22:24:25 +00:00
morluto 12ac0541f6 test(apple): consolidate bundle resource CLI coverage (#12936) 2026-11-20 17:13:13 -05:00