* test(clients): verify native OpenCode integration against OpenCode V2
The OpenCode client lane targeted OpenCode V1 (opencode-ai@1.18.35) and
could not pass against OpenCode V2. The V2 skill tool names its argument
`id`, so the lane's `{ name: ... }` call was rejected with "id: Missing
key" and the personal skill never loaded.
Bring the lane to OpenCode V2:
- Call the skill tool with `id` under V2 and keep `name` for V1.
- Register REA in the native `mcp.servers` table and read additional skill
sources from the `skills` array; grant tool access with a `permissions`
ruleset. The V1 dialect remains selectable with
`REA_VERIFY_OPENCODE_DIALECT=v1`.
- OpenCode V2 groups MCP tools behind its Code Mode tool by default, so the
lane sets the documented `codemode: false` server option to observe the
forwarded catalog as direct function tools. REA's refresh preserves that
client-owned option, which the lane now covers.
- Start a private server under V2. The shared background service keeps the
environment it started with and would read the caller's own configuration
instead of the lane's isolated one.
- Isolate the home for both platforms. The lane set only USERPROFILE, so a
POSIX run resolved the caller's real home for the shared skill directory.
- Take the expected catalog from the runtime under test, so
`REA_VERIFY_RUNTIME_ROOT` can point at an installed package whose catalog
differs from this checkout.
- Record the dialect, plugin-isolation mechanism and tool surface in the
receipt. OpenCode V2 dropped OPENCODE_PURE, so the V1 isolation claim no
longer described what ran.
The lane no longer refuses Windows, so the OpenCode integration can be
verified on a native Windows host.
* fix(clients): isolate OpenCode verifier config and coverage claims
Clear inherited OPENCODE_CONFIG and OPENCODE_CONFIG_CONTENT so the lab
cannot load the caller's configuration layers. Record V2 as verified
only on native Windows and leave POSIX V2 explicitly unverified.
* fix(clients): pin OpenCode verifier to a full REA catalog
Clear inherited REA_MCP_TOOL_FAMILIES and set REA_MCP_TOOL_CATALOG_PROFILE=full so setup and the MCP child always advertise the complete catalog the fixture asserts.
* fix(ci): pin Native MCP OpenCode checks to @opencode/cli@2.2.7
The verifier defaults to the OpenCode V2 dialect, but the Native MCP
registration workflow still installed opencode-ai@1.19.6 without selecting
v1. Point the matrix at the published V2 CLI that supports the V2 config
and --standalone.
* fix(clients): harden OpenCode V2 verifier modes and launch seeds
Keep Code Mode enabled for scoped-chat and assert the paginated catalog
search, clear inherited REA MCP capacity/schema settings that can reject
fixture calls, and accept Aube-managed shim launchers alongside the
raw Node/script/mcp shape.
* fix(clients): only require Code Mode catalog search for OpenCode V2
* fix(clients): clear OpenCode verifier ambient budget and Windows env aliases
Unset inherited REA_AGENT_RESULT_BUDGET_BYTES so the fixture keeps complete
Evidence, and delete cleared OpenCode/REA launch seeds case-insensitively
before spawn so mixed-case Windows aliases cannot survive.
* fix(clients): require Windows packaged OpenCode runtime and isolate V2 ancestors
Document that Windows call verification needs REA_VERIFY_RUNTIME_ROOT with a
matching packaged runtime, and refuse OpenCode V2 lab runs when an ancestor
project configuration file would join the private server.
* fix(clients): qualify POSIX OpenCode V2 coverage and dialect Windows hint
Limit checked-in POSIX V2 claims to scoped-chat catalog search and point
Windows preflight recovery at the selected OpenCode package major.
* fix(clients): match OpenCode runtime contracts and clear registration seeds
Reject a REA_VERIFY_RUNTIME_ROOT whose package version or tool catalog
differs from this checkout, and clear every selected registration setting
from SetupRegistrationEnvironment instead of a hand-maintained MCP list.
* fix(verification): bind OpenCode fixtures to selected runtime
* fix(verification): refuse discovered OpenCode plugin sources
* test(verification): reject plugins before starting OpenCode
* test(ci): exercise packaged OpenCode on Windows
* fix(verification): type the selected-runtime fixture reader
* chore(ci): use pinned npm for Windows client proof
* docs(verification): distinguish Windows runner isolation
* test(verification): keep compiled fixtures in the built test lane
* test(verification): type catalog fixtures without generated output
* fix(ci): classify automated OpenCode verification
* ci(test-selection): run every portable test when error classification changes
Boundary and acceptance tests pin the code, category and retry class a
refusal reports, but reach src/domain/analysisError* only through the
built CLI or MCP server, so PR selection never picked them. A
classification change (#15588) passed CI and left stale pins that
failed later on unrelated PRs. Treat a change to that owner as
untraceable so the plan falls back to the complete fast suite.
The rule lives in test selection rather than SHARED_BOUNDARY, because
that list also limits lane planning to a single naming lane and would
drop the four lanes that name these files.
* style(ci): format test selection
* fix(contracts): refuse empty enhanced selector strings
Empty get_call_graph, find_xrefs_to_name, trace_call_path, and
batch_decompile selectors were admitted by the schema, so agents could
reach the provider or record empty Evidence. Align them with the shared
min(1) selector rule.
* test(mcp): refresh advertised compact digests for empty selectors
The min(1) admission change updated the compact input schemas for
batch_decompile, find_xrefs_to_name, get_call_graph, and trace_call_path.
Commit the advertised-schema summaries CI printed for those tools.
* fix(resources)!: refuse Windows names ending in a dot or space
Node writes files through `\\?\` paths on Windows, so a member named
`dir/name.` or `dir/space ` is created literally. Win32 path
normalization drops a trailing dot or space when other programs open
the path, so `dir\name.` reads the bytes of a sibling `dir\name`, and
`dir\space ` cannot be opened. The extraction manifest then records a
digest for a path that ordinary tools resolve to different bytes.
A Windows output tree now refuses any path segment that ends in a dot
or space with DestinationPathUnrepresentableFailure, before creating
the path, using the trailing rule isPortablePathSegment already
applies. The refusal names the cause and the next step. Reserved device
names stay accepted, since Node creates them as ordinary files.
Every writer that materializes target-derived names goes through
SafeOutputTree (extract_artifact, firmware and UEFI publication,
desktop export, environment bundles, recovered JavaScript sources, web
script export), so all of them apply the rule. Web script export
already moves an unrepresentable URL path to its isolated layout.
Fixes#15613
BREAKING CHANGE: On Windows, extract_artifact and other output-tree
writers now refuse a path with a segment ending in a dot or space,
where they used to write it. To extract the rest of such an archive on
Windows, select occurrence_ids that leave those members out, or extract
on a non-Windows host. Web script export on Windows writes such URL
paths under its isolated layout instead.
* ci: run Windows extraction name tests in the curated Windows lane
* fix(pe)!: deliver inspect_pe_imports and inspect_pe_resources within the agent result budget
Neither tool had a detail input or a summary view, so their complete
Evidence was always delivered inline: about 200-480 KB of CLI JSON for
stock kernel32.dll, shell32.dll and explorer.exe, and over 1 MB over MCP.
Both now follow the inspect_deb_package pattern. With detail omitted,
complete Evidence is returned when it fits the agent result budget, and
otherwise the retained summary with delivery facts; detail complete always
returns everything, and inspect_analysis_view evidence-json pages the
retained record. The CLI gains --detail and --evidence_output.
The imports summary carries image identity, imphash, coverage with DLL
and function counts, issue/limitation counts and one name/function_count/
delay_load row per DLL, bounded to 16 KiB of rows with an omitted count.
The resources summary carries image identity, the resource directory,
coverage, directory/resource/icon-group counts and resource counts by type
and by language, each bounded to 8 KiB of rows with an omitted count.
The byte-bounded leading-prefix rule extract_artifact's summary used is
now byteBoundedList, shared by the three summaries.
BREAKING CHANGE: inspect_pe_imports and inspect_pe_resources output is now
complete Evidence or, when detail is omitted and the Evidence exceeds the
agent result budget, the inspect_analysis_view summary with delivery facts.
Callers that need the complete record inline pass detail "complete"
(CLI --detail complete); otherwise follow delivery.next.
Fixes#15619
* test(pe): cover byte-bounded lists and named resource identities in summaries
* fix(cli): withhold an over-budget summary answer and print its paging facts
The CLI printed {summary, evidence_bundle, delivery} for over-budget Evidence without measuring it, so a summary larger than a smaller configured agent result budget was printed whole. Like MCP since #15591, the CLI now measures that answer and, when it is over the budget, prints the bundle receipt and the delivery facts marked withheld, whose next call pages the saved Evidence.
* fix(native)!: bound read_bytes to 1 MiB per call
read_bytes accepted any length up to Number.MAX_SAFE_INTEGER, both in the
public contract and in the Ghidra bridge request, so one call could ask a
provider to allocate and hex-encode an unbounded range before any
delivery budget applied. Admit at most 1,048,576 bytes per call: about
2 MiB of hex, inside the 10 MiB maximum agent result budget and the MCP
SDK's default 10 MiB stdio message buffer. The contract and the Ghidra
request share one MAX_READ_BYTES_LENGTH, the schema describes the bound
and how to read a longer range, and the refusal comes from input
admission before the provider runs.
Refs #8560
BREAKING CHANGE: read_bytes refuses length above 1048576 with
invalid_request on length. Read longer ranges as consecutive calls that
start at the previous address plus returned_bytes.
* fix(native): derive the read_bytes ceiling from the maximum agent result budget
The 1 MiB ceiling was a chosen number. Each byte returns as at least two
hex characters and no result can exceed MAXIMUM_AGENT_RESULT_BUDGET_BYTES,
so a read longer than half that maximum could never be delivered at any
budget. Derive MAX_READ_BYTES_LENGTH from it (5,242,880 bytes), so it
follows that ceiling instead of a separate constant.
* fix(native): size the read_bytes ceiling to a complete MCP response
MCP sends bytes_hex in both structuredContent and the text block, so a
read of N bytes needs about 4N bytes of response. The ceiling was half the
maximum agent budget, so a full read at it could not fit the default 10
MiB MCP response and failed after the provider finished. Derive it from
MINIMUM_RESPONSE_BYTES, which every server delivers, less a 64 KiB
Evidence envelope reserve, divided by four (2,605,056 bytes). The boundary
test now delivers a complete read at the ceiling.
The compact input schema drops field descriptions, so the consecutive-call
advice now lives in the tool description and the length refusal message,
from one READ_BYTES_CONTINUATION.
* refactor(limits): own the minimum MCP response size in the domain limits
nativeByteRead derives the read_bytes ceiling from the minimum MCP
response, but imported it from config, which the pure-layer boundary
forbids. Define MINIMUM_RESPONSE_BYTES with the other delivery limits in
src/domain/analysisResourceLimits.ts; the config parser, the byte-read
ceiling, the numeric-limit verifier and tests read it there.
* test(ghidra): verify read_bytes at its admitted ceiling
The real-Ghidra verifier still requested read_bytes with
Number.MAX_SAFE_INTEGER and with a length past the new ceiling, so it
stopped on input refusal.
- The boundary probe reads MAX_READ_BYTES_LENGTH, which runs past the
probe's mapped bytes, so it still checks an explicit incomplete read,
and refuses a length one over the ceiling.
- The large-result probe reads MAX_READ_BYTES_LENGTH through MCP and the
CLI and checks it is delivered complete with the fixture's bytes. The
annotation and dossier probes keep covering oversized delivery with a
retained reference.
* test(ghidra): compare the served annotation description with its owner
The real-Ghidra boundary verifier compared annotate_native_function's
served description with the bare contract text. Since the open-target
prerequisite is appended by describeToolPrerequisite, the check failed
before reaching the read_bytes probes. Compare with the description that
owner produces from the contract and its availability.
* test(ghidra): run verifier probes under the shared command owner
The read_bytes and large-result verifier helpers launched the CLI, ps and
the compiler through promisify(execFile), outside the verifier's command
owner, so a failure or timeout could leave their children running. Pass
the native-value verifier's commands owner through verifyGhidraBoundaries,
verifyStartupCancellation and verifyGhidraLargeResults and run every
command with commands.exec. Expected-refusal checks read the owner's
VerifierCommandExitError output (snapshot.stdout.text).
* fix(delivery): refuse within the budget when even the summary is over it
When complete Evidence was over the agent result budget, MCP retained it
and delivered its summary without measuring the summary. A deb package
with many ar members, for example, produced a summary larger than the
budget it was meant to fit.
Measure the summary before retaining it. When it is still over the
budget, return a resource_constraint error that carries the same
delivery facts in details.reported_limits.agent_budget: the complete
size, the budget, the retained complete Evidence ID and the
inspect_analysis_view call that pages it within the budget. Errors are
already delivered within the budget.
The CLI path, which builds its summary separately, is unchanged.
* fix(delivery): measure the delivered answer and describe the refusal
- Measure the {summary, delivery} answer MCP sends, not the summary
alone, when deciding whether the summary fits the budget.
- The refusal's delivery note says neither the result nor its summary
was delivered, instead of reusing the summary-delivered note.
- Offer repeating the call with detail complete only for idempotent
tools; a call with effects is told not to repeat its completed call.
- Build all three delivery refusals in this file through one
responseRefusal helper, and lower the resource-constraint constructor
baseline it no longer needs.
* Merge origin/main into fix/over-budget-summary-refusal
Also lower the untyped-budget-refusal baseline for ToolResultDelivery.ts,
which now builds its refusals through one helper.
* Merge origin/main into fix/over-budget-summary-refusal
With #15638, the page delivery.next names fits the effective budget.
The deb regression now asserts the followed page is within 4,096 bytes,
and the minimum-budget paging test accepts the refusal this branch
returns when the summary answer is over the budget too, following the
same next call.
* test(firmware): select a budget the vector-table summary answer fits
The test selected the 4,096-byte minimum budget to make the complete
vector-table report over budget. At that budget the summary answer with
its delivery facts is over the budget too, so this branch now refuses
with paging facts instead. Select 12,000 bytes: above the summary
answer and below the about 18 KB complete report, so the test still
exercises summary delivery.
* feat(evtx): page event records with offset and report page facts
inspect_evtx_archive stopped walking at max_records, so records past the first 20,000 (the newest events of a default-size Application log) could not be listed. The walk now covers every record. max_records stays a 20,000-record page bound, which limits retained Evidence. A new zero-based offset selects the first record listed. The result reports page { offset, limit, returned, total, next_offset }, and the record-limit-reached diagnostic names offset=next_offset. Coverage now describes parse loss only, so a page that leaves records out by selection is no longer partial, and chunk ending facts and endpoint checks cover records past the page.
Fixes#15612
* feat(evtx)!: qualify the file-tail offset for small and wrapped logs
The suggested tail offset is now the larger of 0 and page.total minus max_records, so a log smaller than one page gets a valid offset. File order is oldest first only in a log that has not wrapped; the guide and descriptions now say how chunks[] locates the newest records in a wrapped log.
BREAKING CHANGE: inspect_evtx_archive results now require page. Evidence saved before this change has no page, and inspect_analysis_view refuses to summarise it. Re-run inspect_evtx_archive on the log to produce current Evidence.
* fix(setup): keep Hopper advice and plans off hosts without Hopper
On Windows, doctor told people to run rea setup to install Hopper, and
rea setup --install-hopper --dry-run then showed the macOS installer before
refusing. Hopper runs only on macOS and Linux.
The Hopper provider, doctor and setup now share one host rule. On another
host doctor reports Hopper as unsupported_host, even for a configured
launcher the provider would refuse, and names Ghidra or IDA as the next
step. Setup refuses an explicit Hopper installation before planning, so no
host shows an installer it cannot run, and its Windows refusal names the
command to run instead.
* test(package): expect no Hopper plan where setup refuses it
The package verifier required an install_hopper plan from
setup --install-hopper on every host, including Linux arm64 and Windows,
where setup refuses. Setup now refuses before planning there, so the
verifier expects the installer plan only where Hopper setup is supported.
* test(providers): name the refusal behind bare toThrow assertions
Replace argument-less toThrow()/rejects.toThrow() in provider boundary
tests with the observed refusal: ENOENT/ESRCH codes for removed roots and
stopped processes, retained cleanup reason and resources for retry
failures, stop-failed debugger cleanup, cancellation tags, input issue
paths, and the fixture scripts' diagnostics.
* test(ida): give the verifier's containment-reason refusal a stable message
The assertion had no message, so Node copied its source expression into
the error and the test could only match that text. Name the reference
and the rejected reason instead, as the sibling assertions already do.
* fix(deb)!: deliver inspect_deb_package within the agent result budget
inspect_deb_package registered a retained summary view but declared no
detail selector and no summary delivery, so a large .deb inventory was
always inlined whole (about 790 KB for 5000 files).
The tool now takes detail like inspect_nuget_nupkg: omitted detail returns
complete Evidence within delivery.agent_result_budget_bytes and the retained
summary otherwise, and the CLI gains --detail and --evidence_output.
BREAKING CHANGE: inspect_deb_package with detail omitted now returns its
retained summary when complete Evidence exceeds the agent result budget in
a session that can page it. Pass detail "complete" (CLI --detail complete)
for complete inline delivery.
Refs #15326
* test(deb): read the retained parent without reopening the package
* fix(mcp): serve refinement-only input rules agents need before the first call
- UEFI paths use the shared absolute-path schema, so the served schema
carries the absolute-path pattern instead of a refinement.
- Blank-text checks (guided workflow ids, prompt arguments, guidance
queries, residual-unknown text) are a served `\S` pattern, not a trim
refinement.
- Input groups name the selector values that open them, for example
`operation=architectures` for inspect_with_objdump.
- inspect_native_data_type states its one-of rule in the tool description,
from the same constant the refusal uses.
- The served-schema parity sweep credits a cross-field rule when the
description states the refusal or the selecting input group, with
controls, and drops the fixed refinement gaps.
Refs #15311
* fix(mcp): serve endpoint and literal rules on reduced schemas; state wider patterns
- A reduced schema over budget drops name-derived fallback descriptions
before its scalar rules, so analyze_web_bundle keeps its bounds.
- Reduced root properties that are unions of literals serve their values
as one enum (detail, format).
- CDP and Inspector endpoint schemas declare the explicit-port envelope
that explicitEndpointAuthority reads, as their pattern.
- A pattern the portable grammar can only serve wider (`\S`, the adb
serial) is also stated exactly in guidance.
- The parity sweep drops the endpoint and literal gaps; the generated
property accepts the host-independent absolute-path envelope.
Refs #15311
* fix(ida): bound each MCP HTTP reply message like stdio frames
IDA over stdio refuses a reply message above 64 MiB with max_response_bytes,
but IDA over HTTP read a successful JSON reply whole with readText() and
JSON.parse, and an SSE stream without any limit. JEB and the agentenv driver
share the same HTTP response validator and were equally unbounded.
validateMcpHttpResponse, which already owns the accepted reply bytes for
UTF-8 validation, now also counts each message (the whole JSON body, or each
SSE event) and refuses one over the consumer's limit before the SDK buffers
or parses it, closing the transport as it does for malformed UTF-8. IDA uses
one message limit for stdio and HTTP and reports the HTTP refusal exactly as
the stdio one: a non-retryable transport resource constraint attributed to
the operation with max_response_bytes. JEB and agentenv use the same 64 MiB
default.
Refs #15326
* fix(ida): count SSE events across CR, LF and CRLF line endings
The per-event counter only recognized LF, so a valid CR-only SSE stream was
counted as one message and could be refused although every event fit.
* fix(ida): count a CRLF event separator with its event and register the HTTP message ceiling
A blank line ended by CR reset the event count before its LF, so that LF
was charged to the next event and an event exactly at the limit was
refused. The reset now waits for the possible LF.
The message allowance is declared through fixedAllowanceOptions so the
fixed-ceiling guard sees it, and is registered as a protocol ceiling.
* fix(ci): retry transient release-host failures when fetching pinned fixtures
The scheduled CI sweep on 0b7f2229b5 failed android_metadata because
GitHub's release host answered one ApiDemos APK request with HTTP 618;
the Android and Harmony fixture fetchers gave up on the first response.
Both now fetch through one helper that retries network errors, HTTP 429
and HTTP 5xx-or-above up to three attempts with a short backoff, and
fails at once on any other status. Size and SHA-256 verification are
unchanged, so a retry cannot admit different bytes.
* fix(ci): retry fixture downloads interrupted while reading the body
The retry covered only the response headers: a reset or timeout while
streaming the body surfaced from each caller's read loop and failed after
one request. downloadFixture now owns the whole download. Each attempt
streams into a fresh partial file and hash, and network errors before or
during the body are retried. A permanent HTTP status, a size or SHA-256
mismatch, and local file errors still fail at once. Both fetchers drop
their duplicated existing-file check, streaming, hashing and size checks.
* fix(errors)!: derive retryable from the producer's declared retry class
`retryable` means the unchanged request may succeed, but it was computed
downstream as an OR of a code table and five class rules. Every error
classification now declares a retry class (same_call, change_first, never,
unknown_outcome); `retryable` is `same_call` after one incomplete-cleanup
check, and the RETRYABLE_CODES table is deleted.
Producer corrections:
- update_unknown revision conflicts are change_first and report
details.current_revision; duplicate record_unknown reports
details.existing_unknown_id.
- close_gdb_session's explicit-disposition refusal is change_first.
- Per-call artifact reader limits are change_first (never when the limit
cannot rise).
- An exited or unreachable Hopper bridge, and a Hopper start that another
REA session owns, are change_first.
- File-descriptor exhaustion (EMFILE/ENFILE) outside process launch is
occupied host capacity (same_call) for private workspaces, model and GPU
readers and JavaScript application reads.
- apktool JVM native-thread exhaustion follows the shared capacity default.
BREAKING CHANGE: these refusals now report `retryable: false` (descriptor
pressure now reports `retryable: true` as `resource_constraint`). Callers
that repeated them unchanged should follow the remediation first: re-read
the unknown and retry with details.current_revision, dispose GDB inferiors,
raise the reported reader limit, or restart the Hopper provider.
* fix(errors): require producers to name recovery for conforming refusals
A refusal whose arguments match the input schema was presented as a schema
error whenever its producer left out remediation, and many producers did.
AnalysisInputError's options are now a union: a conforming refusal must
supply both its outcome (userMessage) and next step (remediationAction),
so the compiler lists every producer; only contract violations may fall
back to the schema guidance.
Producers fixed: unknown Frida session and script, decompile_all
output-directory state, the duplicate unknown build computer factory
(collapsed), stale Cutter sessions, Mach-O architecture selection, output
roots that already exist, selected files the host refuses, Ghidra lookups
the bridge could not resolve, YARA path refusals, unresolved native symbol
names, apt key files and withheld sign-in state. A missing selected APK is
now target_unavailable like every other selected-file reader.
The capability fallback "Choose another analysis or target" is deleted; a
capability refusal without its own recovery names details.reason and
binary_session.
Refs #15312
* fix(errors): classify caller selections and target bytes by their real failure
Several refusals reported a code that reads as corruption or a crash:
- a missing unknown_id and a missing Evidence reference now report
invalid_request instead of execution_failure and
evidence_integrity_mismatch;
- close_binary with snapshot_path in a resource-only session reports
invalid_request instead of evidence_integrity_mismatch;
- ADB push onto an existing device path and pulls into an occupied output
directory are conforming invalid_request refusals naming overwrite or
output_directory, not unreadable_output;
- damaged APK ZIP, signing-block, signer and central-directory structures
are malformed targets, not invalid input;
- NuGet and VSIX bytes without a ZIP signature are unrecognized, not
malformed;
- a historical source graph file whose entries contradict its root
commitment is an integrity failure, not invalid input;
- a CDP protocol failure states what happened instead of the unclassified
fallback message.
Refs #15319
* feat(errors): expose the producer's retry class as retry_class
Every error projection now carries retry_class (same_call, change_first, never or unknown_outcome) beside retryable, which stays true exactly for same_call. The field is additive: the error schema accepts errors retained by earlier releases without it.
Refs #15323
* fix(errors): address review of the folded error-contract PRs
Keep a provider's own capability message as its remediation; the binary_session fallback applies only to a bare declared reason. Delete the unused conformingInputRefusal helper. Compose both retry fields for a refused publication whose cleanup is incomplete. Report descriptor exhaustion from a JavaScript directory opendir as occupied capacity. Let an exited Hopper startup attempt without a setup failure code retry unchanged. Declare retry for the Ghidra superseded checkpoint and unknown IDA readiness. Redact ambiguous selector candidates. Give a Ghidra document miss its own recovery. Drop an unchanged-files claim the journal repair cannot make. Name each withheld sign-in refusal's step. Hash the source graph commitment before the cancellation yield. Keep the browser protocol_error message neutral. Add tests for mutation-audit survivors C3, C5, P2, P4, P8, H1, H4 and H5.
* fix(errors): keep a missing Evidence reference an integrity failure and state only the observed commitment mismatch
* test(desktop): assert the unknown build computer refusal's remediation, not its message
The refusal now carries its next step in remediation.action instead of the message, so the closed-computer checks assert the exact code, message and remediation facts.
* fix(errors): keep producer retry choices apart from cleanup and fixed ceilings
A capture's retryable flag no longer folds in pending cleanup, so the projection applies the cleanup rule once and a transient capture with pending cleanup reports change_first instead of never. A release-fixed artifact allowance reports never, and a stale admitted session identity reports change_first (reopen, then retry); both have catalogue rows. The bare capability-unavailable remediation names binary_session only for a binary-analysis session, so standalone bridges such as Cutter are pointed at their own reason.
* test(vsix): expect a non-ZIP selection to be refused as unrecognized
This PR reports bytes without a ZIP signature as another format (unrecognized), not a damaged package; the exact-reason assertion added on main still expected malformed.
* test(delivery): expect the capacity refusal's retry class in delivered failure facts
The exact failure facts asserted on main predate the projection's retry_class; occupied capacity reports same_call.
* fix(errors): mark a sent Hopper cancellation unknown and missing Evidence recoverable
A cancellation Hopper already received may still apply, so its retry class is unknown_outcome instead of same_call; an unsent cancellation keeps same_call. A missing EvidenceReferenceError is change_first, since importing the referenced records lets the same request succeed; other reference failures stay never. Both have catalogue rows.
* fix(hopper): ask for changed launch arguments before retrying an unencodable launch
A launcher path or argument that cannot be encoded as an AppleScript literal meets the same pre-launch guard on every attempt, so the start refusal is change_first and its retry_action is unknown; a start failure without a declared reason stays same_call.
* fix(errors): keep a one-shot cleanup failure's retry class with its cleanup state
A one-shot reply that reports cleanup_incomplete spread the primary or cleanup projection and overrode only retryable, so a timed-out read whose close also failed carried retry_class same_call. The reply now reads its retry class from the typed composed failure, and never offers the same call before cleanup settles.
* test(evtx): expect an unreadable selected log to be refused with its own recovery
This PR treats a well-formed path the host refused as a regular file as conforming input with its own remediation; the evtx boundary test still expected a schema-recovery refusal.
* test(javascript): expect a broken source-graph commitment as an integrity failure
This PR reports a well-formed historical source graph whose entries disagree with its root_sha256 as evidence_integrity_mismatch, not an input issue; the exact refusal assertion added on main still expected invalid_request.