* 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
* 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>
* 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>
* 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>