Commit Graph
7005 Commits
Author SHA1 Message Date
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
morluto 6d895a9e8b test(hopper): consolidate host and launcher selection coverage (#12934) 2026-11-20 22:08:53 +00:00
morluto 48e1af5990 test(cli): consolidate numeric and flag admission checks (#12933) 2026-11-20 16:56:08 -05:00
morluto 82cb3d040b test(ghidra): consolidate function observation evidence coverage (#12932) 2026-11-20 16:51:10 -05:00
morluto 1bc85bc215 test(cutter): consolidate authenticated response frame coverage (#12931) 2026-11-20 21:48:16 +00:00
morluto a516a8533e test(ghidra): consolidate checkpoint publication and restore coverage (#12930)
* test(ghidra): consolidate checkpoint publication and restore coverage

* test(ghidra): preserve multi-buffer checkpoint hashing
2026-11-20 16:44:15 -05:00
morluto 1c2ad52b28 test(setup): consolidate Hopper download failure coverage (#12928) 2026-11-20 21:35:24 +00:00
morluto ed42b4f179 test(ida): consolidate callee coverage across graph and trace (#12927) 2026-11-20 21:34:26 +00:00
morluto 7d31b97456 test(ghidra): consolidate load-image snapshot attestation (#12926) 2026-11-20 21:28:16 +00:00
morluto 5f9e931365 test(ghidra): consolidate literal search boundary coverage (#12925)
* test(ghidra): consolidate literal search boundary coverage

* test(ghidra): prove primary-name Unicode folding independently
2026-11-20 21:26:34 +00:00
morluto 41e9997289 test(ghidra): consolidate ABI profile and handshake coverage (#12924) 2026-11-20 21:16:26 +00:00
morluto 753b7e908c fix(ghidra): expose NativeAOT opt-out recovery (#12923) 2026-11-20 21:12:13 +00:00
morluto 9c3ab4a0df test(ghidra): consolidate inventory Evidence and byte coverage (#12922) 2026-11-20 16:03:47 -05:00
morluto d1242fa30b test(ghidra): consolidate saved project selection and history (#12920) 2026-11-20 15:58:14 -05:00
morluto 76585bc085 test(ghidra): consolidate PE PDB provenance coverage (#12919) 2026-11-20 15:52:49 -05:00
morluto a9f8c70dbf test(ghidra): consolidate disabled analyzer admission coverage (#12917) 2026-11-20 20:18:32 +00:00
morluto 73e1b67516 test(ghidra): consolidate seed commitment and report coverage (#12918) 2026-11-20 20:14:48 +00:00
morluto c8b938252d test(ghidra): consolidate request recovery assertions (#12916)
* test(ghidra): consolidate request recovery assertions

* test(ghidra): verify recovery delivery without fixed prose
2026-11-20 20:11:03 +00:00
morluto 4269f79678 test(snapshot): consolidate Ghidra replay and import coverage (#12915) 2026-11-20 19:59:57 +00:00
morluto b2f55fab50 test(ghidra): verify checkpoint storage and publication retry (#12914)
test(ghidra): verify the full checkpoint digest on publication
2026-11-20 14:50:26 -05:00
morluto 048a3765a4 test(ghidra): consolidate session temporary resource coverage (#12913)
* test(ghidra): consolidate session temporary resource checks

* test(ghidra): account for dotted Windows temporary ancestors
2026-11-20 19:47:23 +00:00
morluto 9d37cba9c7 test(ghidra): consolidate bounded failure projection coverage (#12912) 2026-11-20 14:38:04 -05:00
morluto 6c5f0ae6f6 test(ghidra): consolidate launcher and JDK discovery coverage (#12909) 2026-11-20 19:37:27 +00:00
morluto 86b4360ce2 test(process): consolidate command timeout and output ownership checks (#12905)
* test(process): consolidate command timeout and output ownership checks

* test(process): join inherited-pipe descendant during failed checks

* test(process): cover inherited pipe grace and use project wait deadlines
2026-11-20 19:16:55 +00:00
morluto 9fff01f791 test(process): consolidate local bridge transport and cancellation coverage (#12907)
* test(process): prove local socket handoff with a real exchange

* test(ghidra): consolidate wire admission and cancellation checks
2026-11-20 14:12:32 -05:00
morluto 3a002fb708 test(process): consolidate supervised output closure and cleanup checks (#12906) 2026-11-20 19:03:45 +00:00
morluto 193bc533be test(process): consolidate Darwin helper request and cleanup proof (#12897)
* test(process): consolidate Darwin helper request and cleanup proof

* test(process): preserve native helper argument boundaries in fixture
2026-11-20 17:47:03 +00:00
morluto 56682a75c1 test(windows): consolidate executable lookup and cancellation coverage (#12894)
* test(windows): verify qualified lookup cannot fall back to PATH

* test(ida): join stalled Windows lookup fixtures at close and timeout
2026-11-20 17:45:58 +00:00
morluto 21f8f56dde test(process): consolidate PID authority and native exit settlement coverage (#12895) 2026-11-20 17:36:41 +00:00
morluto 0ed5f76713 test(windows): consolidate Job Object settlement and output polling checks (#12893) 2026-11-20 17:32:15 +00:00
morluto afc8c0ae7b test(process): consolidate run-token fallback and native retry coverage (#12892) 2026-11-20 17:28:35 +00:00
morluto cbe3d16e44 test(process): join descriptor inspection and consolidate ownership proof (#12891) 2026-11-20 17:22:18 +00:00
morluto 880e62351e test(process): consolidate process inventory and native row checks (#12889)
* test(process): remove redundant wide-family assertions

* test(process): consolidate process inventory checks
2026-11-20 17:16:38 +00:00
morluto 19f9a01655 test(process): synchronize launcher exit proof and remove duplicate deadline check (#12890) 2026-11-20 17:10:04 +00:00
morluto 819a72678f test(process): consolidate worker and transport ownership checks (#12887)
* test(process): consolidate worker admission and cleanup ownership checks

* test(process): prove local transport ownership after setup

* test(process): keep cleanup coverage after a skipped owner
2026-11-20 16:55:34 +00:00
morluto 70eb0b6722 test(browser): verify result budgets and memory attribution structurally (#12886) 2026-11-20 16:51:12 +00:00
morluto 6cd055bfca test: restore audited startup, launcher, and BEAM contracts (#12884) 2026-11-20 16:48:32 +00:00
morluto 87940b192c test(browser): consolidate worker framing and cleanup checks (#12885)
* test(browser): synchronize worker stderr and final cleanup checks

* test(browser): consolidate exact worker control frame coverage
2026-11-20 16:42:27 +00:00
morluto d3c29cddb6 test(hopper): consolidate launcher failure and provenance checks (#12877) 2026-11-20 16:17:12 +00:00
morluto 6dde865ccf test(model): consolidate historical layout and retained views (#12878) 2026-11-20 16:06:43 +00:00
morluto 41fc470072 fix(ci): verify packaged Agent Environment bridges (#12874)
* test(agentenv): observe timeout before polling a pending run

* test(agentenv): verify bridge files at package boundary
2026-11-20 16:06:14 +00:00
morluto b38438bab4 test(sqlite): consolidate retained views and journal coverage (#12876) 2026-11-20 16:02:40 +00:00
morluto aa84c59d8b test(go): consolidate retained metadata views (#12875) 2026-11-20 10:57:02 -05:00