Commit Graph
2302 Commits
Author SHA1 Message Date
morluto 8322b55552 test(web): consolidate module syntax and capture identity fixtures (#13073) 2026-11-21 06:02:44 -05:00
morluto f63915d6f2 test(web): consolidate interrupted module resolution evidence (#13072) 2026-11-21 05:58:59 -05:00
morluto 56a0617f51 test(web): consolidate module context and resolver evidence checks (#13071)
* test(web): retain capture identity and resolver completeness proofs

* test(web): assert resolver output without matching prose
2026-11-21 05:51:08 -05:00
morluto eca10e848f test(sourcemap): isolate artifact identity and retain rejected reports (#13069)
* test(sourcemap): isolate artifact identity and retain rejected reports

* test(sourcemap): track the consolidated artifact lifecycle witness
2026-11-21 05:41:12 -05:00
morluto a9463bf1a9 test(sourcemap): consolidate retained views and MCP delivery checks (#13070) 2026-11-21 10:40:12 +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 34da2cce1f test(snapshots): verify live source metadata refresh (#13048) 2026-11-21 08:51:24 +00:00
morluto b6fced40a3 test(snapshots): verify ambiguous provenance through direct replay (#13046) 2026-11-21 08:42:05 +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
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
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
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 1c2ad52b28 test(setup): consolidate Hopper download failure coverage (#12928) 2026-11-20 21:35:24 +00:00
morluto 4269f79678 test(snapshot): consolidate Ghidra replay and import coverage (#12915) 2026-11-20 19:59:57 +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 f4937a04be fix(reference): retain physical Git read failure after cleanup refusal (#12848) 2026-11-20 14:28:31 +00:00
morluto adb8e2ea35 test(evidence): consolidate bundle comparison proof at the MCP boundary (#12813)
* test(evidence): verify bundle source retention through MCP

* test(evidence): verify retention without explicit record pairs
2026-11-20 13:00:23 +00:00
morluto 9bca53f96e test(environment): consolidate learned route matching checks (#12809)
test(environment): remove duplicate collection path checks
2026-11-20 12:45:45 +00:00
morluto 236f5ae3fa test(artifacts): repair comparison evidence authenticity checks (#12779)
test(artifacts): exercise retained comparison evidence authentication
2026-11-20 12:34:40 +00:00
e58c60b36e test(limits): reference limit constants instead of repeating their values (#12715)
* test(limits): reference limit constants instead of repeating their values

Point duplicated default literals at their owner constants and replace
recovery-wording locks with the setting name, units, and those constants.
Keep the single default pins that guard shipped values.

* test(limits): pin the shipped Ghidra value-flow defaults

Consumer checks follow the owner constants, so they no longer catch a
change to 3000, 64, or 12000. One owner pin keeps those shipped values.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-20 04:22:32 +00:00
morlutoandCursor Agent be14c9d475 test: own temporary directories through createTestTempDirectory in src/ tests (#12725)
Give per-test temporary directories to the shared helper so Vitest removes
them after the case. Keep directories whose lifetime is the assertion, or
that are shared from beforeAll, on their existing cleanup.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-20 04:10:06 +00:00
74bdfd2ec2 test: assert structured recovery facts instead of recovery wording in src tests (#12721)
* test: assert structured recovery facts instead of recovery wording in src tests

Replace recovery-sentence locks with the structured fields that already
carry those facts, and own Batch 4 temporary directories through
createTestTempDirectory.

* test(hopper): keep recovery order that retry_action does not carry

retry_action names restart or unknown. It does not say to read
provider_operation_health before retrying, or to close_binary before
opening and retrying. Those order checks stay.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 23:05:20 -05:00
morluto c0ee832a30 fix(javascript): honor outer lexical order through standalone blocks (#12701)
fix(javascript): carry lexical timing through standalone blocks
2026-11-19 21:24:20 -05:00
morluto ddd31b0289 fix(javascript): preserve uncertainty before lexical initialization (#12682)
* fix(javascript): preserve uncertainty before lexical initialization

* fix(javascript): respect lexical declarator initialization order
2026-11-20 02:13:04 +00:00
morluto 0fcbfe83dc fix(elf): retain readable build IDs beside compressed notes (#12674) 2026-11-20 02:02:45 +00:00
morluto a5f19cbaf6 fix(javascript): preserve uncertainty after immutable pattern targets (#12673)
* fix(javascript): preserve uncertainty after immutable pattern targets

* fix(javascript): retain self-name assignment rules in patterns
2026-11-20 02:01:05 +00:00
morluto fd2bc88d53 fix(javascript): retain effects only from reachable first defaults (#12659) 2026-11-20 01:40:30 +00:00
morluto 17ada289ac fix(javascript): retain original nested iterator acquisitions (#12645) 2026-11-20 01:20:59 +00:00
RRFZ 04b47507dc refactor(pe): read CodeView directory declarations once (#12632) 2026-11-20 01:15:48 +00:00
morluto ba2d70d71e fix(javascript): retain numeric reads from projected arrays (#12624) 2026-11-20 01:01:22 +00:00
morluto c1de510702 fix(javascript): retain read proof across inactive destructuring defaults (#12613)
fix(javascript): retain destructuring proof across inactive defaults
2026-11-20 00:48:03 +00:00
RRFZandmorluto 0be83b62fc fix(binary): retain unconfirmed composite clients until close succeeds (#12599)
* fix(binary): retain unconfirmed composite clients until close succeeds

* fix(binary): settle synthesized close failures after client retry

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-20 00:40:51 +00:00
morluto e736d90bdf fix(javascript): preserve nested reads through numeric array properties (#12595)
fix(javascript): retain nested reads through numeric array properties
2026-11-20 00:09:58 +00:00
morluto b2bb427553 fix(cleanup): report live resources independently of failed closes (#12589)
fix(cleanup): follow live resources across owner close failures
2026-11-20 00:00:10 +00:00
morluto 2ff20ce32e fix(javascript): preserve object sibling reads across safe iterator close (#12587)
* fix(javascript): preserve sibling array reads under object bindings

* fix(javascript): require coercible nested object pattern receivers
2026-11-19 23:57:06 +00:00
RRFZ e99fb5eb92 fix(release): finish closing exposure readers after individual failures (#12583) 2026-11-19 18:50:46 -05:00
RRFZandmorluto 184ed690d6 fix(desktop): apply APT architecture modifiers to explicit source restrictions (#12573)
* fix(desktop): apply APT architecture modifiers to explicit source restrictions

* fix(desktop): export architecture-independent APT packages

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 23:43:58 +00:00
morluto 50a4dcf126 fix(javascript): preserve later nested array reads across safe iterator close (#12576)
fix(javascript): preserve sibling reads across native iterator close
2026-11-19 23:39:40 +00:00
morluto 7cb3f1090c fix(javascript): retain iterator prototype effects through array spreads (#12563)
* fix(javascript): retain ambient references through array spread

* fix(javascript): retain spread aliases to inherited iterator close hooks

* fix(javascript): share dense inline array spread layout (#12564)

* fix(javascript): share dense inline array spread layout

* fix(javascript): report exhausted dense spread layout allowance

* fix(javascript): preserve getter receivers through array spread

* fix(javascript): guard native array iteration from opaque global code

* test(javascript): group spread receiver controls

* test(javascript): preserve getter fixture tuple types

* fix(javascript): preserve spread slot projections for iterator receivers
2026-11-19 23:27:01 +00:00
morluto 473b3ee10e fix(javascript): preserve nested array iterator dependencies (#12558)
* fix(javascript): preserve nested array iterator dependencies

* fix(javascript): retain reflected array prototype identity

* fix(javascript): guard native arrays with ambient prototype effects

Reuse the shared effect-log classifier first prepared for dense inline spread analysis.

* test(javascript): keep array prototype alias fixture with sources
2026-11-19 17:58:10 -05:00
morluto c751013621 fix(javascript): preserve read-time evidence for nested native arrays (#12551) 2026-11-19 22:33:39 +00:00
morluto f5573a0064 fix(javascript): acquire nested iterators from stored receivers (#12542)
* fix(javascript): acquire nested iterators from stored receivers

* fix(javascript): preserve stored iterator branches and pattern timing
2026-11-19 22:22:46 +00:00