Commit Graph
5682 Commits
Author SHA1 Message Date
morluto 3dacda36f2 test(elf): consolidate debug-link candidate coverage (#12851) 2026-11-20 14:27:36 +00:00
morluto 67a55ea8e1 test(firmware): consolidate parsing and process-limit checks (#12844)
* test(firmware): consolidate process limit and recovery checks

* test(uefi): consolidate binary framing coverage
2026-11-20 14:14:58 +00:00
morluto 4edb900bdd test(mcp): consolidate shutdown and retry lifecycle checks (#12847)
test(mcp): consolidate runtime shutdown and retry checks
2026-11-20 09:14:54 -05:00
morluto 18cd307b6e test(reference): consolidate Git exclusion and policy checks (#12846)
test(reference): consolidate Git metadata and policy checks
2026-11-20 14:12:54 +00:00
morluto 52cf28b28e test(managed): consolidate identity and finalization checks (#12845)
test(managed): consolidate snapshot cancellation coverage
2026-11-20 14:12:22 +00:00
morluto baf80358cb test(jeb): consolidate HTTP deadline and cancellation checks (#12843)
test(jeb): consolidate HTTP deadline and cancellation coverage
2026-11-20 14:11:28 +00:00
morluto 21795b199d test(ci): consolidate project discovery and isolation checks (#12842) 2026-11-20 14:10:36 +00:00
morluto 4f5d1b250c test(reference): consolidate reader scheduling and failure checks (#12835)
* test(reference): prove directory admission scheduling without sleeps

Gate real admissions to verify traversal-order policy, drained lookups on cancellation, and bounded lookahead beneath held siblings. Retain cancellation reason and inventory in the same fixture. Share a native import between unsupported FIFO recovery and configured exclusion.

* test(reference): witness deeper admission pressure

Keep directory admissions pending through the third level so a cap bypass under backlog fails. Check the native FIFO error category and compare delivered guidance with the existing projection producer.
2026-11-20 08:58:11 -05:00
morluto 79525a7c3e test(android): consolidate ADB and Apktool boundary checks (#12837) 2026-11-20 13:54:53 +00:00
morluto 11c951228c test(mcp): consolidate result delivery and capture checks (#12836) 2026-11-20 08:48:55 -05:00
morluto 15d53aecb0 test(pcap): consolidate tool admission coverage (#12834) 2026-11-20 13:45:37 +00:00
morluto c9caa0aa5b test(formats): consolidate BEAM and DOL boundary checks (#12832)
* test(erlang): consolidate BEAM path and atom budget checks

* test(dol): prove session contracts through the MCP client
2026-11-20 13:44:28 +00:00
morluto bb7bdd2fba test(mcp): consolidate admission and lifecycle checks (#12833)
* test(mcp): consolidate canonical batch capacity checks

* test(mcp): keep separate cold-start prompt checks

* test(mcp): consolidate byte entropy request checks

* test(mcp): consolidate progress checks and remove waiting sleeps
2026-11-20 08:44:13 -05:00
morluto 01895d33ef test(erlang): consolidate BEAM budget and truncation coverage (#12830)
test(erlang): consolidate BEAM limit and truncation checks
2026-11-20 08:30:16 -05:00
morluto 68e6953897 test(reference): verify exclusion and missing-root outcomes (#12831)
test(reference): verify exact exclusions against failed ancestors
2026-11-20 13:29:33 +00:00
morluto 53a23c0f0d test(cli): consolidate launcher alias readiness checks (#12827)
test(cli): consolidate cross-alias registration readiness checks
2026-11-20 08:28:17 -05:00
morluto 9af55017cf test(guards): verify CLI prose exemptions independently (#12828) 2026-11-20 08:27:11 -05:00
morluto 43f884bbfb test(cutter): keep session discovery proof at the public boundary (#12824)
test(cutter): remove injected discovery replay
2026-11-20 13:25:20 +00:00
morluto 40c6dade8e test(mcp): consolidate reduced output schema proof at the SDK boundary (#12823)
* test(mcp): consolidate reduced output schema proof at the SDK boundary

* test(mcp): verify both required fields on the reduced output root
2026-11-20 08:24:46 -05:00
morluto 68ed9b0e67 test(android): consolidate OTA partition metadata order coverage (#12826)
test(firmware): consolidate split OTA partition order coverage
2026-11-20 13:24:16 +00:00
morluto a71ae07ffb test(artifacts): consolidate extraction publication coverage (#12825) 2026-11-20 08:22:38 -05:00
morluto 84ee3c1edc test(filesystem): verify commit cancellation closes its parent descriptor (#12814) 2026-11-20 13:03:31 +00:00
morluto c94f275667 test(desktop): verify cancellation before releasing the guest (#12812)
* test(desktop): verify controller cancellation against held guest execution

* test(desktop): settle the readiness probe with one return type
2026-11-20 13:01:11 +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 86acb2a964 test(jeb): independently verify structured and text refusal envelopes (#12817)
test(jeb): distinguish structured and text refusal evidence
2026-11-20 12:59:41 +00:00
morluto 06ffe5c63e test(install): isolate installer fixtures from ambient configuration (#12810)
test(installer): isolate release selection and consolidate dry-run coverage
2026-11-20 12:59:31 +00:00
morluto 4b79eaa9ed test(pcap): consolidate packet provider output and cleanup coverage (#12816)
test(captures): consolidate packet provider coverage
2026-11-20 12:56:14 +00:00
morluto b9bcfa4041 test(ci): consolidate NativeAOT verifier restore and publish checks (#12815)
test(evaluation): consolidate NativeAOT retry verification
2026-11-20 12:56:09 +00:00
morluto 766fb9e78e test(kuna): exercise contradictory rows and coordinate shared cancellation (#12802)
* test(kuna): tighten streaming string scan coverage

* test(kuna): join shared scan requests on gate failure
2026-11-20 12:55:52 +00:00
morluto 29925b3c2f test(android): verify component name resolution through the manifest reader (#12806)
test(android): check component names through manifest inventory
2026-11-20 12:49:13 +00:00
morluto f718e17caa test(cli): consolidate automatic client setup journeys (#12807)
test(setup): consolidate manual-client selection coverage
2026-11-20 12:44:55 +00:00
morluto b20f8576f2 test(ci): consolidate analysis efficiency comparator scenarios (#12804)
test(evaluation): consolidate recording comparison fixtures
2026-11-20 12:44:49 +00:00
morluto 7f411078a3 test(native): consolidate keyed archive scalar journeys (#12799)
test(artifacts): consolidate keyed archive scalar delivery coverage
2026-11-20 12:42:22 +00:00
morluto fce34706dd test(go): shrink cumulative header search fixtures (#12800) 2026-11-20 12:42:10 +00:00
morluto d21636ae07 test(sqlite): consolidate inventory column capacity checks (#12798)
test(sqlite): consolidate inventory column capacity coverage
2026-11-20 12:41:55 +00:00
morluto 98c3fad24d test(erlang): consolidate Beam atom layout coverage (#12795)
test(erlang): consolidate BEAM atom layout coverage
2026-11-20 12:41:43 +00:00
morluto fc5ba5473b test(browser): catch permissive decoding of malformed wire payloads (#12792)
test(browser): catch permissive response body decoding
2026-11-20 12:40:25 +00:00
morluto 6bc96f3f99 test(cli): consolidate malformed setup dry-run coverage (#12790)
test(setup): consolidate malformed dry-run CLI coverage
2026-11-20 12:39:10 +00:00
morluto d766ab56dc test(apk): consolidate signature capacity checks at their boundaries (#12789)
test(apk): consolidate signature refusal coverage
2026-11-20 12:37:00 +00:00
morluto 9899c6659a test(reverse): consolidate command outcome coverage (#12776) 2026-11-20 12:34:17 +00:00
morluto 49f78bd03b test(cli): consolidate one-shot cleanup coverage (#12781) 2026-11-20 12:33:48 +00:00
morluto 21051b9d06 test(ci): make test selection and provider report refusals observable (#12782)
test(ci): verify selected shard and provider report refusals
2026-11-20 12:33:39 +00:00
morluto ec533c6e64 test(ci): consolidate project deadline policy checks (#12777) 2026-11-20 12:32:19 +00:00
morluto ad2b34ca9b ci(release): preserve unpublished versions and verify npm before tagging (#12770)
* ci(release): require full qualification before tagging

* ci(release): preserve unpublished versions and verify npm before tagging

* test(release): exercise publication gates on both release routes

* fix(release): fetch the live main checkpoint before verifying it

* fix(release): constrain GitHub requests and workflow output

* fix(release): honor GitHub label and recovery API contracts
2026-11-20 12:08:59 +00:00
2474e6ec6c refactor(verify): run Hopper and Kuna verifier commands through the supervised owner (#12718)
* refactor(verify): run Hopper and Kuna verifier commands through the supervised owner

Replace bare execFile in the Hopper and Kuna real-provider verifiers with
createVerifierCommands, and run pre-workspace toolchain probes through
runOwnedCommand. Close the owner before lineage verification and keep the
diagnostic workspace when cleanup, lineage, or the run fails.

Replace isError-only and FAT64 prose refusals with the projected error code
and structured issue or target details.

* fix(verify): release a clean Kuna workspace after a verification failure

A failed check whose provider, command, and lineage cleanup all completed
still removes the root. The workspace stays only when that cleanup is
unconfirmed, which is the contract the Kuna verifier failure-path tests
already require.

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

* fix(verify): keep the Kuna report when workspace release fails

release() closes cleanup registration before it removes the root, so
retain() after a failed release throws and skips the JSON report. Register
retention only when release has not started; a failed release already
keeps the workspace.

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

* fix(verify): keep both Hopper verification and lineage failures

When verification has already failed and lineage observation then fails,
the retained-workspace error carried only the earlier cause. Aggregate
both failures in the Hopper, FAT, and caller verifiers so the cleanup
reason stays with the workspace.

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

* fix(verify): keep Hopper manifests inside the repository

realpath() accepted REA_HOPPER_CONFORMANCE_MANIFEST_PATH as any filesystem
path. Resolve the manifest against the repository and reject a lexical or
symlink escape before it is read.

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

* fix(verify): acquire command owners before verifier workspaces

* fix(verify): create the command owner before the verifier workspace

If command-owner setup fails after a workspace is allocated, the temporary
root is never released. Create the owner first and close it when workspace
allocation fails.

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

* fix(verify): supervise Hopper helper CLI processes

* fix(verify): run Hopper helper CLIs through the command owner

Boundary and Linux owner-exit checks still launched the REA CLI with
execFile, so a timeout could not stop those processes. Both helpers now
require the verifier command owner and run those CLIs through it.

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:35:35 +00:00
f25a0a0599 refactor(verify): run Ghidra verifier commands through the supervised owner (2 of 2) (#12717)
* refactor(verify): run Ghidra verifier commands through the supervised owner (2 of 2)

Route the remaining Ghidra verifier compiler and CLI launches through
createVerifierCommands, close that owner before lineage observation, and
assert the raw arm64 alignment refusal from its structured error.

* fix(verify): stop detached Ghidra verifier commands on interrupt

SIGINT and SIGTERM abort the command owner and the scripts wait for its
cleanup, so a compiler started in its own process group cannot outlive
the verifier.

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

* fix(verify): stop Ghidra verifier analysis when interrupted

Pass the verifier interruption signal into MCP and Ghidra waits, and stop
waiting for calls that cannot observe it, so SIGINT does not continue the
analysis before cleanup.

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

* fix(verify): stop the switch evidence probe when the verifier is interrupted

Pass the verifier interruption signal into the detached Ghidra control
probe and end its wait so supervisor.stop() runs before a later SIGKILL.

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

* fix(verify): observe work already started when a verifier interrupt wins

untilInterrupted now settles the caller's promise after the signal has
already aborted, so a connection started just before the check cannot
reject with nobody listening.

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

* refactor(verify): share verifier interrupt handling and keep it through release

Move the SIGINT/SIGTERM abort wiring into bindVerifierCommandInterruption.
Handlers stay installed until after fixture release, and untilInterrupted
still observes a promise that was already started.

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

* fix(verify): keep diagnostic workspaces and stop fixture builds on interrupt

Check the interruption signal after finalization and before the fixture
root is removed. MIPS and RISC-V fixture compilers and readers now run
through the verifier command owner, so SIGTERM aborts them instead of
waiting out their execFile deadline.

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:29:09 -05:00
385e5d228f test: own temporary directories through createTestTempDirectory in remaining tests/ (#12727)
* test: own temporary directories through createTestTempDirectory in remaining tests/

Give per-test directories in the remaining tests/ suites to
createTestTempDirectory so onTestFinished removes them through
removeTestWorkspace. Keep suite-scoped roots and child-process directories
whose removal is the assertion.

* test: drop empty cleanup callbacks and keep the capture skip reason visible

Remove the no-op withVerifierCleanup steps left after directory removal
moved to createTestTempDirectory. Put the native capture skip explanation
in the Linux sample test name, because it.skipIf only tests truthiness.

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:22:53 -05: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
94c3077355 test(providers): own temporary directories through createTestTempDirectory (#12722)
* test(providers): own temporary directories through createTestTempDirectory

Route provider-boundary fixtures through createTestTempDirectory so each
case removes its canonical directory after the test. Process shutdown stays
in afterEach, which still runs before that removal. Skip the two Windows
Cutter checks with it.skipIf, and compare unknown plugin recovery with
cutterBridgeSourceRecovery.

* test(providers): keep gated fixture cleanup with its owner

createTestTempDirectory always deletes after the test, including when
GDB or inferior cleanup fails and when the Rizin MCP harness already
owns the directory. Restore mkdtemp removal behind confirmed process
cleanup, and leave decoder inputs owned by the harness.

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

* test(cutter): keep an independent unknown-source recovery check

Comparing discovery recovery with cutterBridgeSourceRecovery follows the
formatter, so dropping the unknown-source explanation still passes. Assert
that explanation directly, beside bridge_source and the plugin path.

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:06:31 +00:00
dc2c31e76d test(limits): check documented limit defaults against code instead of per-file pins (#12720)
* test(limits): check documented limit defaults against code instead of per-file pins

The numeric-limit script now reads every default, floor, and maximum in
docs/design/rea-limit-inventory.md and compares it with ANALYSIS_SETTINGS
or the owner constant the parser enforces. A mismatch names the limit and
both values. Pins that only restated a covered value are removed.

Pwntools input bytes and the Kuna timeouts now use the shared exports, so
the registry value is the one the parser applies.

* fix(limits): reject a fractional documented limit cell

The cell parser treated a dot as the end of the integer, so 5000.5
compared equal to 5000. A documented number is now one complete integer,
with prose only after whitespace.

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:07 -05:00