Commit Graph
6773 Commits
Author SHA1 Message Date
morluto bdba620af3 fix(mcp): serve input rules agents need within every client's schema budget (#15393)
* test(mcp): check schema parity against the served tools/list

Schema parity tests registered contracts on a bare SDK server, so they
checked a schema REA never serves and missed the compact presentation's
losses (#15310, #15311).

- Add servedToolCatalog, which lists every tools/list page from a session
  server, and use it for parity checks in toolSchemaValidity and
  advertisedDialect.
- Add a catalog-wide test that derives one violating value per
  constrained canonical field from each contract example and requires
  the served schema to reject it or the served description to name the
  rule. Today's gaps are listed by root cause; an entry that stops
  matching fails the test.
- Remove absoluteLocalPathTools.test.ts; the catalog test covers every
  absolute-path field it checked.

Refs #15328

* test(mcp): add a seeded property and visited fields to served parity

- Generate string values for every constrained string field with a fixed
  fast-check seed; the refinement gaps it found (rules in .refine() with
  no served keyword or guidance) are listed with a violating value each.
- Assert the sweep derives violations for root, nested and array
  absolute-path fields.
- Check canonical schema validity against the contract schemas directly
  instead of a bare SDK server, and drop the served-listing test that
  validated canonicalInputSchema.
- Move the reserved environment key check into the compact handler test,
  which now requires the served description to name the rule.
- testing.md: assert parity against the served tools/list.

Refs #15328

* fix(mcp): advertise the absolute-path pattern and dialect-dropped rules

absoluteLocalPathStringSchema serialized as two allOf patterns, and the
dialect projection kept only the first (NUL-free), so every absolute-path
field advertised a schema that accepts relative paths.

- absoluteLocalPathStringSchema emits one pattern: the absolute envelope
  over a NUL-free path. NUL is still refused first with its own message.
- mergeAllOf conjoins exactly what it can: bounds keep the tighter value
  and negated-class patterns become one class. A pattern it cannot
  conjoin is named in tool guidance instead of dropped silently.
- multipleOf, length bounds of 1999 or more and exclusive bounds on
  non-integers become tool guidance, including on nullable values.
- Move the allOf merge into advertisedAllOf.ts.

Fixes #15310
Refs #15328

* fix(mcp): keep defaults, scalar rules, examples and field semantics in compact schemas

Compact input schemas dropped facts an agent needs for a correct first
call: every default, the enums and bounds of reduced root properties, any
example for reduced or pruned schemas, and the Frida cross-field rules.
Name-keyed fallback descriptions also labelled fields of another type.

- Tool guidance names root property defaults in one "Defaults:" sentence.
- A reduced schema keeps the enum, const, pattern and bounds of each
  scalar root property.
- A reduced or depth-pruned schema states its smallest canonical example
  (up to 1,024 bytes), and a pruned schema says nested fields are omitted.
- Frida contracts state each cross-field rule once, as the refusal and
  the root description.
- Fallback descriptions apply only to a property of the JSON type they
  describe; they move to propertyFallbackDescriptions.ts.

Refs #15311
Refs #15328

* test(mcp): validate the served schema in three advertisement tests

compare_artifacts sources, compare_web_captures inputs and the
analyze_javascript_application source selection called a canonical or
bare-server schema advertised. They now validate the served listing;
canonical rejections stay on the contract parser, and the gaps the
reduced form leaves are asserted with a pointer to the parity list.

Refs #15328

* test(mcp): check recovery promises on an agent's first wrong calls

Calls every served tool with generated wrong arguments on a session with
nothing open: an unknown path key, an omitted required field, valid
arguments for an active-target tool, a missing file and an unknown id.
Every refusal must name only advertised tools, name open_binary for an
active-target tool, give no schema remediation to arguments the served
schema accepts, and claim retryable only when an identical replay can
succeed. A seeded property varies the guessed key and missing path.

Known failures are listed by root cause (#15309, #15312, #15323 and the
active-target declarations #15350 removes); a new failure or a stale
entry fails the sweep.

* test(mcp): assert the served schema where tests claimed the advertisement

Five tests validated the canonical schema and called it advertised, so they
asserted rules the served tools/list does not carry: batch_decompile
maxItems, inspect_api_contract format and view, the inspect_dart_aot length
and line-terminator rules, extract_artifact uniqueItems, and examples on
compare_javascript_export_shapes. Each now validates the served schema and
keeps the handler enforcement. A missing rule is pinned as a known gap (in
the parity sweep where it can see the field, or beside the test where the
contract example leaves it unreachable), so the expectation fails once the
rule is served.

The parity sweep now also derives maxItems and uniqueItems violations from
example arrays; it finds inspect_managed_members type_names uniqueItems.
Two value-correct tests are relabelled and check the served schema too.

* fix(mcp): fit every advertised input schema under Codex's 5,000-byte compaction threshold

Codex compacts any MCP input schema above 5,000 serialized bytes and drops
descriptions and nested structure first, so update_analysis_settings
reached the model as a list of empty objects with no setting IDs. Lower the
advertised input budget from 13 KiB to 5,000 bytes, bound $ref expansion
separately so projection and depth pruning are judged on their result,
and advertise update_analysis_settings changes as one object whose setting
enum lists every ID; the canonical parser still enforces each setting's
bounds.

Refs #15339

* fix(mcp): address review findings across the served-schema stack

Keep the recorded description, or its absence, when the deferred runtime
materializes, so discovery and the loaded listing agree. Measure example
guidance in UTF-8 bytes once, resolve defaults through each property's own
reference scope, keep root names and types when scalar rules alone would
overflow the reduced form, and decline joining negated classes that a
literal hyphen could turn into a range.

Served parity now counts guidance only when one sentence labels the field
and states its rule, and counts uniqueItems guidance. That stricter match
exposed seven gaps the loose match hid; they join their root causes, and
the fixed arrayRules gap is removed. The first-contact sweep keys findings
by check, checks a structured next step against the served catalog, and
uses the catalog's own MCP settings.

* chore(mcp): refresh advertised catalog summaries

* fix(paths): keep the NUL path refusal's format reason

Moving the NUL check out of the advertised pattern turned its issue into a
custom refinement, so tool refusals reported reason invalid_value instead
of invalid_format with expected regex. The check now raises the same
format issue, and still stops before the absolute-path rule.

* fix(mcp): state the optional Frida device choice and match bounds by rule

The Frida device rule now says both fields may be omitted for the local
device. Served parity matches a numeric bound by its direction, unit and
complete value, so another bound on the same field cannot cover it.

* test(mcp): stop pinning served-schema omissions in workflow tests

Workflow tests asserted that the served schema accepts values runtime
refuses, so serving a rule would fail them. They keep the valid-input and
runtime-refusal checks; the catalog-wide parity sweep tracks what is
served.

* test(mcp): count a required field only when guidance requires it

A sentence that only mentions a field, or a same-named key under another
parent, no longer covers a missing required rule. Guidance must state the
requirement about the field's full path, or state a shape listing every
required key of the field's parent.

* test(mcp): credit a served rejection only to the rule that failed

The parity sweep counted any served rejection as coverage, so a probe that
also broke another rule (a too-long locale that breaks its pattern) hid a
missing bound. Served validation now reports every failing keyword, and a
rejection covers a rule only when that rule's served keyword fails.
2026-12-01 00:23:37 -05:00
morluto 0e07a3c876 fix(delivery)!: deliver over-budget results and errors inside the agent result budget (#15396)
* fix(mcp)!: deliver over-budget delivery facts inside the structured result

Codex and VS Code forward only structuredContent to the model, and Gemini
CLI and LangChain forward only the text blocks; _meta reaches no model. An
over-budget result put its delivery facts in a second text block and in
_meta, so Codex and VS Code agents received a summary with no sign that it
was one.

An over-budget result is now {summary, delivery} in structuredContent,
the shape the CLI already prints, and its one text block is that value's
serialization. The delivery layer owns the alternative: every budgeted
operation's registered output schema admits it, so canonical and compact
advertisements validate the result.

An overflowing completed result no longer picks its recovery by tool
name. The producer declares an overflow recovery (stateless, retained or
committed, with its next call and identities): list_unknowns,
get_evidence_bundle, inspect_address_context and committed unknowns
declare theirs in their bindings, and retained Evidence declares its own.
Undeclared results fall back to the contract's effects. Only a CLI
contract that reads no session is told to use its `rea` command, so
session reads and committed mutations are never told to use CLI JSON.

BREAKING CHANGE: When a budgeted tool's omitted detail returns a retained
summary, structuredContent is {"summary": <summary Evidence>, "delivery":
<delivery facts>} instead of the summary Evidence, the second
{"delivery": ...} text block is gone, and _meta["rea/agent-budget-delivery"]
is no longer set. Read the summary from structuredContent.summary and the
delivery facts from structuredContent.delivery (or the same members of the
text block). Pass detail "summary" or "complete" to receive Evidence at the
root as before.

Refs #15338
Refs #15326

* fix(delivery)!: deliver every error result under the agent result budget

A failure whose text exceeds delivery.agent_result_budget_bytes is now
retained whole as Evidence (mcp_tool_error in the MCP session,
cli_command_error in the CLI's private cache) and replaced by a bounded
summary. The summary keeps the code, category, retry, recovery and
remediation and every detail field that fits, names the fields it left
out, and carries details.failure_delivery with the inspect_analysis_view
call that pages the complete failure. Non-Evidence facts such as a
mid-extraction artifact inventory were previously inlined whole.

The transport's unretained string-ceiling fallback no longer points at
complete CLI JSON output.

BREAKING CHANGE: An MCP error, or a one-shot CLI failure without
--evidence_output, larger than the agent result budget is delivered as a
bounded summary: oversized details fields are listed in
details.omitted_details instead of being inlined, and
details.failure_delivery names the retained failure Evidence and the
inspect_analysis_view call that pages it. Pass detail complete (CLI
--detail complete) for the complete failure inline, or raise
delivery.agent_result_budget_bytes.

Refs #15326

* fix(delivery): keep overflow recovery from repeating effects or losing the session target

A retained overflow no longer offers the CLI command: the retained record is the complete result, and a call with effects is told not to repeat it. The CLI fallback for an unretained result excludes session tools. The MCP result guarantee is limited to successful results. The schema validity test selects the complete-result alternative of a budgeted output schema.

* fix(delivery): keep failure summaries schema-valid and CLI failure retention self-contained

boundedFailureSummary restores the details a code's schema requires. The CLI retains the failure as it was before its partial observation was summarized, so the record does not depend on a partial file the cache could evict, and a cache write that commits before failing or leaves cleanup incomplete keeps its receipt and cleanup owner.

* fix(delivery): retain the delivered CLI failure with its complete partial restored

* fix(delivery): budget CLI-enveloped failures through the envelope's owner

Provider-backed CLI commands wrap the canonical failure in their error envelope (a label and input diagnostics). The strict projection schema rejected the wrapped failure, so an over-budget failure printed whole without being retained. The envelope's owner now splits it; delivery budgets the canonical failure and keeps the envelope fields on the bounded result. CLI logging uses the same splitter instead of its own destructuring.

* fix(cli): print a bounded failure's retrieval facts on a terminal

A failure bounded to the agent budget carries its retained record and paging call in details.failure_delivery. The terminal presentation printed only the concise error for it, because its preserved-Evidence check did not know that field. It now does, so the structured failure is printed whole.
2026-12-01 04:10:00 +00:00
morluto 402ce20b80 fix(session): declare, admit and advertise the open-target prerequisite through one owner (#15356)
* fix(contracts): declare the open-target prerequisite once in availability

Replace the requiresActiveTarget boolean with an "active-target" value of the
availability declaration. 18 contracts that read a required caller path, all
declared standalone or host-restricted or named inventory rules, no longer
claim to need an open target.

* fix(session): admit tools through one session evaluator shared with binary_session

binary_session availability and call-time dispatch now read one admission
evaluator for active-target tools and external mutations. Resource-only
lane refusals and Ghidra or resource-only external-mutation refusals carry
the open_binary or close_binary recovery that binary_session reports,
instead of a generic capability or unreadable-output error. Packet
capture, Wakaru, firmware and mitmproxy refuse an unsupported host before
reading tool configuration.

* fix(mcp): advertise the open-target prerequisite and name open_binary on first contact

Each active-target tool's advertised description ends with one sentence
derived from its availability declaration. When the SDK refuses such a
tool's arguments while the session would also refuse it, the
invalid_request remediation names the session recovery first, read from
the same admission evaluator as binary_session and dispatch.

* fix(mcp): refuse composed workflows as a whole and keep scoped recovery and catalog identity in step

A composed workflow such as batch_decompile now refuses with the
advertised open_binary or close_binary recovery before it runs, instead of
reporting a batch of failed children. Malformed arguments on a connection
that does not advertise session tools lead with the scoped restart
recovery, and catalog digests cover the advertised prerequisite sentence.
The prerequisite test reads union alternatives.
2026-12-01 03:55:48 +00:00
morluto 9258370c14 fix(hopper)!: derive cancel and timeout outcomes from one request stage (#15354)
* fix(hopper): report a cancel after send as pending with an unknown outcome

HopperCancelledError always reported cleanup "complete", including when the
caller cancelled after Hopper had received the request. Hopper's bridge runs
one request at a time and still applies it, so binary_session showed the
request active while the error claimed cleanup had finished.

The queue already records whether a request was transmitted. Cancellation now
carries that fact: a request Hopper received reports cleanup "pending" and
outcome "unknown", and its message says Hopper may still apply it; a request
that was never sent still reports cleanup "complete".

Refs #15322

* fix(hopper)!: derive cancel and timeout outcomes from one request stage

HopperRequestQueue tracked how far a request got with a `transmitted`
boolean and a separate `callerSettled` flag, and labelled every abandoned
caller "cancelled". The timeout path read `transmitted` to choose
providerState while the cancel path read it again separately.

Each request now has one stage (queued, sent, replied) and one caller
state (waiting, settled, cancelled, timed_out). A single #abandon derives
both the cancellation and the deadline error from the stage: a queued
request never reached Hopper, while a sent one keeps the wire until Hopper
replies and its effect is unknown. binary_session analysis_activity now
reports `timed_out` for a caller whose deadline expired instead of
`cancelled`. The caller-state values are defined once in the domain.

Refs #15322

BREAKING CHANGE: binary_session `analysis_activity.providers[].active.caller_state`
can now be `timed_out`. Previously a caller whose deadline expired while
Hopper still ran its request was reported as `cancelled`. Clients that
validate the output against the previous schema must accept `timed_out`;
`cancelled` now means only an explicit cancellation.

* fix(hopper): tell every caller a sent cancellation may still apply

The sent-request warning and its recovery are now part of the cancelled
error's presentation, so CLI and MCP callers see them instead of the
generic "start it again" text. A zero deadline is expired by the queue's
one deadline check instead of a second early return, and failActive is
pinned to refuse a request that has not been sent.

* fix(hopper): keep the session-only step out of a one-shot caller's recovery
2026-12-01 03:48:04 +00:00
morluto 8ae69d7f2e test(wasm): assert the structured refusal facts, not the reason sentence (#15419)
#15415 merged before its review fix: the attribution test still froze the
explanatory reason text. Keep code and details.side, which carry the contract,
so a wording change cannot break the test.
2026-11-30 22:47:20 -05:00
morluto 0b7f2229b5 test(cli): select export-web-scripts' capture file in the contract parity check (#15418)
Since #15385 export_web_scripts takes exactly one of capture_path or capture, so neither is required alone and the parity check's argv builder supplied no capture source; the contract refused the input. The check now selects the positional capture file.
2026-12-01 03:29:05 +00:00
morluto 3bc9cfc379 test(setup): give the aliased Hermes fixture entry a tool timeout (#15416)
Since #15371 Hermes registrations carry a per-server timeout, and doctor reports a missing one as config drift. The uninstall fixture builds its REA entry by hand without one, so its healthy-before-uninstall precondition failed. The entry now sets an hour, longer than REA's recommendation, which setup and doctor keep.
2026-12-01 03:23:18 +00:00
morluto ff3c1d23b4 test(wasm): expect the shared Evidence identity refusal in compare_wasm_interfaces (#15415)
#15385 moved compare_wasm_interfaces onto the shared Evidence input owner, which
reports an Evidence whose subject or selected path does not match its artifact
identity as evidence_integrity_mismatch and names the argument through
details.side. The process-global attribution test still expected the old
invalid_request issue at [side], so it failed on main; main CI skips the
Portable tests job, so only PR runs caught it.
2026-11-30 21:56:33 -05:00
Saim Shafique 1c00958431 fix(android): advertise portable DEX descriptor patterns (#15392) 2026-11-30 21:37:47 -05:00
morluto 4d84c6919f fix(frida): recover detached sessions and report why Frida detached them (#15357)
* fix(frida): give detached and unknown sessions lifecycle recovery

A session whose target detached was refused with the unknown-session error,
"No open Frida session; start one with start_frida_session", although the
session is still held, frida_session_status still returns its remaining
messages and close_frida_session must still release it. Following the advice
abandoned the session and its messages.

load_frida_script and resume_frida_session now refuse a detached session with
a capability refusal naming frida_session_status, then close_frida_session.
Unknown session and script IDs conform to the input contract, so their
recovery names the lifecycle tools instead of schema guidance, matching the
gdb and rizin session errors.

Refs #15329

* fix(frida): track session phase and report why a session detached

ManagedSession kept attachment as a `detached` boolean beside
`cleanupStarted` and `resumeAfterDetachPending`, and the `detached`
signal handler ignored Frida's (reason, crash) arguments, so an agent
could see that a session detached but not whether the target exited,
crashed, or the connection dropped.

The session now has one phase: attached, detached with its detachment,
or closing with the detachment seen so far and whether a paused spawn
still owes a resume. The signal arguments are parsed at the native
boundary; a detach seen only through isDetached() is recorded as
`unobserved`. frida_session_status, start_frida_session and
instrument_with_frida report an optional `detachment` with Frida's
reason and crash summary, and the detached-session refusal names the
reason. close_frida_session cleanup is unchanged.

Refs #15329

* fix(frida): report whether a retained crash summary was truncated

A crash summary is bounded to 4096 bytes; detachment output now carries
crash_summary_truncated so a clipped summary is not presented as
complete. The detached-session test also proves messages captured before
the detach stay readable. Commits the advertised schema summary for
start_frida_session.

* docs(frida): state why the crash summary bound is fixed

* fix(frida): keep Frida's one-line crash summary complete instead of capping it

The 4096-byte cap had no format, protocol or resource reason, and cutting
the summary left no way to read the rest. The summary is now kept whole
apart from credential redaction, so the truncation flag and constant are
removed.
2026-12-01 02:36:09 +00:00
morluto 02aa23afbc test(mcp): model target lifecycle sequences and scan Evidence for planted credentials (#15382)
* test(mcp): model target lifecycle sequences and scan Evidence for planted credentials

lifecycleModel.test.ts runs fast-check command sequences in-process against a
ManagedStaticProvider session: open_binary(A|B), close_binary,
reset_investigation, explicit and path-less managed calls, and
binary_session. A path-less managed call must analyze the model's open
target or be refused naming open_binary; an explicit path is never
remembered, and nothing open survives close_binary. On the revision
before #15345 it shrinks to a single path-less call with nothing open.

evidenceSecretScan.test.ts plants random canaries as a literal
Authorization value, a cookie seed and an ordinary header, and scans the
tool result, the retained record and the exported bundle for the raw,
base64 and SHA-256 forms. The ordinary header must stay visible. The two
literal credentials still recorded verbatim are known leaks for #15340
(open: #15347); a new or a fixed leak fails the test.

The fake capture builder moves from browserScenarioMcp.test.ts to the
shared browser scenario fixture so both suites use one copy.

* test(mcp): compare the open path directly and require the record in every scanned output

* test(mcp): drop the fixed literal-credential leaks and cover retained credentials
2026-12-01 02:35:27 +00:00
morluto b211f216d8 fix(errors): vsix and pyc limit refusals state recovery from the measured requirement (#15407)
* fix(errors): let the typed limit refusal state recovery, with the measured requirement

A resource constraint with a typed adjustable limit now takes its recovery from the shared refusal owner, which compares the measured requirement with the control's maximum, instead of producer prose. The VSIX and pyc providers drop their hand-built "raise X up to MAX" text. pyc string and key limits report the size the parser measured; VSIX reports its early-stop lower bound only when it already exceeds the control's maximum.

Refs #15325

* fix(python): report an integer key's limit without a byte requirement it did not measure

* fix(errors): keep producer-authored recovery precedence; vsix and pyc state only typed facts

The global precedence change hid multi-control advice (V8) and producer-measured requirements kept in prose (Maven/Gradle). The VSIX and pyc producers no longer author prose for a single-control limit, so the shared typed recovery applies to them without changing other producers.
2026-12-01 02:30:52 +00:00
morluto 44d3658e4a test(runtime): assert exact device effects, limitations and cleanup resources (#15380)
* test(runtime): assert exact device effects, limitations and cleanup resources

Replace length-only, ok:false-only, prose-only and format-only checks in adb, browser and build-computer tests with the exact device argv, limitations, retained resources, refusal field and timeout limit facts the producers report.

* test(runtime): assert measured paging and resource facts instead of guidance sentences

* test(artifacts): attribute comparison limitations by side instead of matching sentences

* test(artifacts): check each side's coverage fact and its carried source limitations
2026-12-01 02:27:07 +00:00
morluto c7fa6af8a3 test: fail loudly on setup refusals and assert exact MCP refusal and linkage facts (#15368)
* test(mcp): assert exact refusal, identity and Evidence linkage facts

Replace isError-only, expect.any and oracle-mirror checks in MCP and CLI workflow tests with the exact code, reason, subject identity and Evidence links the producers report. The capability-unavailable unknowns test now opens its target, so it exercises the path it names instead of NoBinaryOpenError.

* test: fail loudly on setup refusals, unrecorded paths and zombie liveness

Three shared helpers remove weakness classes from the suite:

- callOk (tests/support/mcp/toolResult.ts) fails at the setup step when a
  tool used as fixture setup refuses. It replaces the build-computer copy
  and the unchecked open_binary calls. serverUnknownsMcp's
  capability-unavailable test passed only because open_binary failed: its
  fixture refused health, and NoBinaryOpenError has the same "unavailable"
  category. The fixture now answers health, and the test asserts
  capability_unavailable for procedure_pseudo_code.
- expectRemoved (tests/support/expectRemoved.ts) throws when no path was
  recorded; access(list[0] ?? "") passed because "" is also ENOENT.
- expectProcessRunning checks ps state instead of signal 0, which still
  reaches a zombie that REA wrongly signalled.

Also asserts the open target before and after an ordinary close, the
written overwrite snapshot, and the comparison's links, status and
supporting unknown.

* test(mcp): compare delivered recovery with its owning projection
2026-12-01 02:26:44 +00:00
morluto 080635e7eb fix(artifacts)!: refuse an unusable extract_artifact output_root first, as caller input (#15387)
* fix(artifacts): refuse an unusable extract_artifact output_root before scanning

extract_artifact checked output_root only when it created the output tree,
after scanning the whole archive and preparing its reader. A destination
that already existed was refused there, and the refusal carried the
archive's complete inventory as its partial observation: 1.7 MB of error
text for a 2,000-entry ZIP.

The read-only SafeOutputTree.checkDestination admission, which firmware
and environment-bundle extraction already use, now runs before the archive
is read. SafeOutputTree.create still rechecks and acquires the destination
exclusively, so a destination that changes after the early check is still
refused there.

Refs #15326

* fix(artifacts)!: report a refused extract_artifact output_root as caller input

A destination refusal on extract_artifact is now an input error on
output_root, as firmware, UEFI, script and bundle export report theirs.
Every destination refusal conforms to the input contract and names the
fix instead of pointing at the schema.

BREAKING CHANGE: extract_artifact reports a refused output_root as
invalid_request with an issue at output_root (CLI: outputRoot) instead of
artifact_operation_failed with reason path. Destination refusals of
extract_firmware, UEFI extraction, export_web_scripts,
export_environment_bundle, environment-export/build and desktop build
exports no longer carry recovery.kind inspect_input_contract; read
remediation.action and details.issues instead.

Refs #15326

* test(artifacts): expect the caller-input refusal for a refused extract_artifact output_root

The provider extraction boundary tests still asserted ArtifactOperationError reason path, the shape this change replaces; they now expect AnalysisInputError with an issue at output_root.

* test(artifacts): prove extract_artifact refuses the destination before reading the source
2026-12-01 02:23:38 +00:00
morluto d09fa76eca fix(debuggers)!: report the inferior disposition that debugger cleanup established (#15353)
* fix(debuggers)!: report the inferior disposition that debugger cleanup established

The shared owned-debugger stop returned `stopped` or `already_exited`
without saying what happened to the inferior, so close_gdb_session
re-derived a local target_state (reporting a verified -target-detach as
"unknown") and close_rizin_debug_session always returned the literal
"unknown".

The stop result now carries one InferiorDisposition (none_observed,
detached, exited, or unknown with the provider's reason), mapped once
from the recorded detach outcome. `stopped_inferior_unknown` is folded
into it. Providers report a verified state through `verifiedInferior`
(replacing `inferiorStateUnknown`), and a detach whose identified
inferior then ended reports `inferior-ended` instead of `no-inferior`.
GDB tracks its verified inferior state as a union instead of a boolean,
so the detach that close performed is still reported after the debugger
stops. Both close tools return `target_state` from the stop result.

Refs #15324

BREAKING CHANGE: close_gdb_session and close_rizin_debug_session
output `target_state` is now one of none_observed, detached, exited or
unknown. close_gdb_session previously returned only none_observed or
unknown; close_rizin_debug_session always returned unknown. Clients that
validate output against the previous schemas must accept the new values;
`unknown` keeps its meaning (the debugger was terminated without a
verified detach, so the inferior may still be running).

* test(debuggers): type the lifecycle close fake with the full inferior disposition

* test(debuggers): commit close schema summaries and prove what a failed close keeps

Commits the advertised schema summaries for close_gdb_session and
close_rizin_debug_session. The GDB manager test now asserts the close
itself stopped the owned process, and the external-mutation lifecycle
test asserts a command refused behind a failed close is that retained
cleanup blocker and never reaches the debugger.
2026-12-01 02:19:09 +00:00
morluto db9a030020 test(artifacts): assert exact refusal reasons, limits and cleanup reports (#15379)
* test(artifacts): assert exact refusal reasons, limits and cleanup reports

Replace ok:false-only, bare toThrow, class-only, expect.any and negative-only checks in parser and artifact tests with the exact failure kind, reason, limit, cleanup report, classification and retained samples the producers report.

* test(uefi): assert the receipt issue path through the retained cause
2026-12-01 02:09:05 +00:00
morluto aa09b21a6e test: assert exact refusal, path and classification facts in six audit sites (#15406)
test: assert exact refusal, path and classification facts in six low-priority audit sites
2026-12-01 02:07:50 +00:00
morluto 87fca13536 test(providers): assert exact cancellation, cleanup and identity facts (#15378)
* test(providers): assert exact cancellation, cleanup and identity facts

Replace ok:false-only, toBeDefined, length-only and expect.any checks in provider lifecycle tests with the exact cancellation cause, cleanup resources, partial observations, identity-check facts and process identity the producers report.

* test(ghidra): accept either close cause when the stop races the export reply
2026-12-01 02:07:15 +00:00
morluto 089dfa3a8b fix(setup): derive client deadlines from one record per client (#15371)
* fix(setup): derive client deadlines from one record per client

Each supported client definition now declares the MCP deadlines it applies
to REA's server: key, unit, built-in default, maximum, coverage and whether
progress resets it. Setup raises a shorter or missing deadline to REA's
recommendation within the client's maximum and keeps a longer one; doctor
reports the same shortfall from the same record. Cline, Zed, Antigravity,
Hermes, Goose and Gemini CLI gain deadlines; the codex/kimi/grok/dsh name
branches, the Goose timeout literal and the per-client startup constants
are removed.

Refs #15337

* fix(setup): keep a raised Goose timeout over a short inherited one and expect Antigravity's deadline
2026-12-01 01:48:59 +00:00
morluto 536462559a test(debuggers): pin cleanup retry, close admission and retained-owner facts (#15395)
Add lifecycle regressions a mutation audit showed unguarded: a later GDB closeAll retries cleanup after a failed one, a second concurrent GDB close is bounded behind a full queue, an incomplete Rizin inferior inventory keeps the disposition unverified after exit, and a Frida remote device stays referenced while a script remains retained. Release the gated GDB start in a finally so a capacity regression fails at once instead of hanging teardown.
2026-11-30 20:43:05 -05:00
morluto 77ba430ffb fix(yara): resolve the yara command before copying the scanned file (#15386)
* fix(yara): resolve the yara command before copying the scanned file

inspect_yara_matches on POSIX passed a bare or configured command to the
launcher unresolved, so a missing yara was found only at spawn, after the
target and rule files had been copied into a private snapshot and hashed.
The composition now resolves the command to an executable file (PATH
searched as execvp searches it from the child's working directory) before
any selected file is read, and launches the resolved path. Every
selection failure carries the same remediation and user message.

Refs #15327

* fix(yara): search Node's default PATH when PATH is unset and register the launch test
2026-11-30 20:42:53 -05:00
morluto fbfcad3152 fix(evidence): route web script export and WASM comparison through shared Evidence inputs (#15385)
* fix(evidence): resolve web script and WASM comparison sources through the shared Evidence input owner

export_web_scripts accepts its capture as declared Evidence input: a
complete record, a retained reference, or a retained inspect_analysis_view
summary, which reads its retained parent. compare_wasm_interfaces admits
both sides through resolveEvidenceRequest, so a malformed side is a
bounded evidence_integrity_mismatch and a summary reads its parent. The
summary-to-parent rule lives in the shared resolver as completeProducers.
A catalog test checks that every declared Evidence input resolves a
retained reference through the shared resolver.

Refs #15341

* fix(evidence): retain an inline web script capture before publishing and commit the schema summary
2026-11-30 20:42:45 -05:00
morluto 313365bdfb test(hopper): wait for the bridge to accept before queueing a reconnect (#15398)
The reconnect probe queued its successor connection while the bridge, listening with a backlog of one, could still hold the first connection unaccepted. macOS refuses a Unix connect beyond the backlog instead of waiting as Linux does, so the probe failed with ConnectionRefusedError whenever it won that race, most often when run alone. Wait until the bridge accepts the current connection before connecting its successor.
2026-11-30 20:27:10 -05:00
morluto 87dcb534ba fix(managed)!: read an omitted path from the open target, not a remembered selection (#15345)
Managed tools kept the last explicit path for the server's lifetime and
preferred it over the open target, so close_binary, reset_investigation and
target switches left an earlier file in effect and later calls silently
analyzed the wrong assembly.

The router now keeps no selection. An omitted path reads the active target
when it is a managed PE; otherwise the call is refused, conforming to the
input contract, with remediation naming both ways to supply a target.

Fixes #15314

BREAKING CHANGE: inspect_managed_* tools no longer reuse a path from an
earlier call. Pass path on each call, or open the managed PE with open_binary.
2026-11-30 18:25:55 -05:00
Beqa 4b19f283d3 fix(setup): own REA scripts when the registered Node path is gone (#15281)
* fix(setup): own REA scripts when the registered Node path is gone

When a saved node/script/mcp launcher pointed at a missing interpreter,
ownership stayed unknown and setup refused to refresh after nvm/fnm moved
Node. Check the script whenever a current entrypoint is available, not only
when the interpreter path still resolves as a foreign binary.

Fixes #15024

* fix(setup): own vanished Node only for verified rea-agents scripts

Narrow the missing-interpreter path: keep a disappeared runtime unknown
unless its basename is node/bun and the script verifies as an installed
rea-agents package. Preserve the existing foreign-runtime script check
and the maintainer invariant that a matching non-package script stays
unknown after the executable vanishes.

Merge upstream/main for ownedPackageCommand OpenCode fixtures.
2026-12-01 02:57:17 +08:00
Taksh KothariandVincent Koc 6a728ba419 feat(evidence): page retained procedure aliases (#9325)
* feat(evidence): page retained procedure aliases

Bound alias pages by the serialized byte budget and advertise the native-inventory-aliases selector, including source_index.

* use the shared analysis-view page refusal for alias pages

the 1 MiB page budget already has a typed refusal, so this page does not declare a separate fixed ceiling.

* test(evidence): verify alias page recovery and portability

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 02:52:33 +08:00
ShuaixinHuang e8419acaf5 fix(javascript): explain relation omissions at semantic node ceilings (#15295) 2026-12-01 02:51:17 +08:00
Vincent Koc fcdb137120 test(setup): use owned launchers in uninstall fixtures (#15296) 2026-12-01 02:36:15 +08:00
ShuaixinHuang f9053a26ec perf(artifacts): defer unrelated modules during CLI inspection (#15268)
* perf(artifacts): defer unrelated modules during CLI inspection

* test(cli): detect unrelated modules folded into startup chunks

* test(cli): exercise bundled source markers with positive controls
2026-12-01 01:55:31 +08:00
ShuaixinHuangandVincent Koc 181fd31f16 fix(analysis-view): fit Android JNI row pages to the byte budget (#15276)
* fix(analysis-view): fit Android JNI row pages to the byte budget

* fix(views): preserve indexed selection in byte-bounded pages

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 01:48:30 +08:00
ShuaixinHuang 6940e960ba fix(analysis-view): fit devicetree property pages to the response budget (#15269)
* fix(analysis-view): fit devicetree property pages to the response budget

* test(analysis-view): cover multi-property devicetree pages
2026-12-01 01:46:00 +08:00
Ysopwnableandgensokyo-dev b3cf255894 test(setup): remove PATH assumptions from launcher fixtures (#15282)
Use a shared package-owned launcher in setup and uninstall fixtures.
Exercise publication, recovery, and policy under an isolated PATH.

Follow-up to #15046.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 01:44:05 +08:00
Heo Hao 7741d92531 fix(artifacts): refuse an unrepresentable Windows name as such (#15246)
Creating a destination whose name holds `*`, `?`, `"`, `<`, `>` or `|`
fails inside Win32 with ENOENT, so the write surfaced "Could not
exclusively create extraction path: Report*.txt" with a raw cause. That
reads as a missing path, not as a name the destination cannot hold.

I refuse those names before any extraction path is created and raise the
DestinationPathUnrepresentableFailure that already reports ENAMETOOLONG,
so the refusal names the destination filesystem as the owner. The
character set stays in portablePathSegment.ts, which isPortablePathSegment
already applies to bundle and ROM names.

Device names and trailing dots or spaces stay accepted: the host
materializes NUL, CON and name. as ordinary files, so there is no Win32
redirection to refuse.
2026-12-01 01:42:35 +08:00
Vincent Koc eeba69c9aa fix(javascript): retain import edges through cyclic mutation aliases (#15279) 2026-12-01 01:32:17 +08:00
Ysopwnableandgensokyo-dev ea2db355a5 test(setup): declare ownership in Hermes CLI fixtures (#15277)
Give Hermes YAML preservation and policy fixtures a launcher with
explicit REA ownership. Cover setup on CI runners without an installed
bare rea command on PATH.

Follow-up to #15046.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 01:25:14 +08:00
Ysopwnableandgensokyo-dev a8fa92107c test(setup): cover shared Copilot CLI project configuration (#15275)
Exercise owned Copilot CLI removal and backup in the shared project
MCP file. Assert the winning Mastra Code registration in doctor when
multiple clients report the same shared file.

Follow-up to #15230.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 01:07:54 +08:00
7915d15938 fix(setup): own bare rea only when PATH resolves to this package (#15046)
Resolve bare REA launchers using the registration's effective PATH and
verify the resulting installation before setup or uninstall changes an
entry. Share the parsed environment through registration workflows and
keep unproven launchers unknown. Cover npm shim lookup on Windows and
use deterministic ownership fixtures for layered removal.

Fixes #15026.

Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 00:53:48 +08:00
ShuaixinHuangandVincent Koc 72d2b74945 perf(analysis-view): bound JavaScript fact group sorting for small pages (#15265)
* perf(analysis-view): bound JavaScript fact group sorting for small pages

* test(analysis-view): verify fact group page ordering and counts

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 00:52:25 +08:00
2afad5b789 fix(setup): honor OpenCode system, managed and policy configuration (#15081)
Discover the OpenCode system and managed layers and honor their effective
MCP policy when planning, publishing, diagnosing, or removing registrations.
Preserve the writable layer's dialect and verify effective registration
and policy after publication.

Fixes #15036.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 00:48:10 +08:00
Ysopwnableandgensokyo-dev 3e3c2ba1cc feat(artifacts): inspect SWF and extract embedded payloads (#15264)
Inventory FWS and CWS files through the shared artifact reader. Preserve the
carrier and normalized identities, top-level tag counts, and individual
DefineBinaryData occurrences. Use the existing selected-extraction pipeline and
per-call artifact admission controls.

Refs #3614

Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 00:41:11 +08:00
ShuaixinHuangandVincent Koc 88eaed6fa7 perf(analysis-view): count JavaScript fact group nodes without retaining ID sets (#15261)
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 00:33:34 +08:00
7bedbcb6f6 fix(javascript): scope the missing-listener rule to proven Node emitters (#8663)
* fix(javascript): scope the missing-listener rule to proven Node emitters

A listener method called without a listener argument passes `undefined` to
Node's `checkListener`, which throws before anything is registered or
removed, so no event operation exists. That rule currently applies to every
receiver, including objects that only look like an emitter.

Restrict it to a receiver whose stable initializer is `new EventEmitter()`
resolved through a proven `events` load, or a call Node's own
`child_process` factories answer with a `ChildProcess`. The proof is
withdrawn when `Function.prototype.call` was replaced, when the class
reference or its prototype object escaped to a call, when any member of the
shared `events` module was written, or when the selected method, the
receiver's own prototype or an earlier escape of the instance may have
replaced it. An effect that runs after the call cannot change whether it
threw.

Any other receiver keeps its operation as an unresolved candidate, as it did
before the missing argument was considered. Those include EventEmitter-style
APIs that define a one-argument form, such as Socket.IO's `socket.off("x")`,
which removes every listener for the event.

* fix(javascript): verify native emitter constructor and prototype ownership

* fix(javascript): retain escaped prototype constructor aliases

* fix(javascript): track acquired builtin module mutations

* fix(javascript): charge module acquisition to phase allowance

* fix(javascript): recognize computed builtin getter keys

---------

Co-authored-by: gongfpp <22683417+gongfpp@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 00:30:59 +08:00
061239a5de fix(setup): follow the registration Copilot, Codex, and Kiro load (#15230)
Follow the effective Copilot, Codex, and Kiro MCP registration. Use the
same resolved Kiro agent file for the approval plan and the write.

Fixes #15032.
Fixes #15034.
Fixes #15035.

Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-01 00:19:28 +08:00
9b3586e933 fix(javascript): keep parameter members a function overwrites unresolved (#9508)
* fix(javascript): keep parameter members a function overwrites unresolved

Wrapper tracing binds a traced function's parameters to the call-site
arguments. JavaScriptSymbolicBindings#identifier returned that bound value
before consulting the binding's recorded member writes, so a member the
function writes, deletes or redefines was still read from the argument. A
wrapper that rewrites def.channel before ipcMain.handle(def.channel, ...)
produced an exact wrapper-substituted channel from the stale argument
member, and a preload wrapper that replaces api.ping before exposing api
produced a call path through the replaced function.

Apply the binding's existing write facts to the bound value per member. A
written member reads as "overwritten object members" wherever the value
flows (aliases, destructuring, spreads, returns, forwarded arguments), and
members() lists it, so spreads and exposed-API inventories do not fall back
to an earlier value. Unwritten members, and loader calls through a
parameter whose properties a module sets, keep their values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* perf(javascript): share parameter member-write views across reads

#withMemberWrites rescanned a binding's writes and copied the bound value
on every read, so W writes and R reads of one parameter did W x R work
outside the symbolic evaluation budget and left R copies in the
evaluation cache.

Collect each binding's written top-level members once, and keep one view
per bound value and binding that every read returns. Building a view is
charged against the evaluation budget before its copies and merged
member sets are allocated, as added conditions already are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(javascript): apply rest parameter writes to spread elements

A rest parameter's view recorded its written members, but a call spread
expanded the array's elements unchanged, so a wrapper that rewrites
args[0] before ipcMain.handle(...args) still supplied the caller's
channel. An index read after a written length also returned an element
the write may have removed.

Rewrite the array's elements when building the parameter's view: a
written index becomes unknown, and a written length or an index past the
end leaves one unknown element for the rest, as for any dynamic spread.
Unwritten elements before that point keep their values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(javascript): state how rest parameter writes resolve

The wrapper-substitution passage said that an argument's unwritten members
keep their values. For a rest parameter, a written length leaves every
element unresolved, and an index written past the end leaves the elements
after the known ones unresolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(javascript): leave arguments after an unknown-length spread unplaced

arguments() expanded a spread of unknown length as exactly one unknown
element, so the arguments after it kept fixed positions. With
function f(...a){a.length=2; return g(...a, "fallback")}, g's second
parameter read "fallback", although at runtime it is the original second
argument; a helper that picks an argument this way supplied a false
wrapper-substituted IPC channel. The same held for any spread whose value
is not a known array.

Mark the element that stands for an unknown number of further elements
(unknownCount), and stop the argument list after it, so later parameters
read as unknown. A rest parameter bound past that point is the same
open-ended unknown, and a rest array's written length or index past its
known elements produces the marker instead of a fixed-length element.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(javascript): pass one element of an unknown-length list as one argument

A fixed parameter bound from a spread of unknown length, and an index
read of a rest array whose length the function writes, kept the
unknown-count marker that stands for the rest of a list. Passed on as an
ordinary argument, that one value made the callee's argument list look
open, so a later rest parameter took the marker and a spread of it
dropped the arguments after it. With function first(x){return x} and
function h(x,...rest){return k(...rest,"app:ping")}, h(first(...xs))
lost "app:ping", although rest is always empty there.

A value selected from one position of an argument list or array is now a
plain unknown, so it supplies exactly one argument wherever it goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(javascript): resolve a channel after a rest list left empty by one value

The symbolic tests for one value selected from a list of unknown length
check the resolver, but the loss shows at the wrapper boundary. A rest
parameter that one selected value leaves empty looked open, so a channel
placed after it in a helper call went unresolved and the wrapper's
app:ping registration disappeared.

Add two wrapper rows to electronWrappedCallPaths.test.ts. In the first,
register(first(...extraArguments)) supplies one argument, so the rest
parameter of register is empty and choose(...extra, "app:ping") picks
app:ping. In the second, forward(args[0]) after args.length = 0 supplies
one argument, so choose(...rest, "app:ping") picks app:ping. Node with a
stub electron module registers app:ping in both cases for every
extraArguments list tried ([], ["x"], ["x", "y"]).

Validation: with the source of the previous commit reverted, these two
rows and the two symbolic rows fail (4 of 322 tests in
javascriptSymbolicBindings.test.ts and electronWrappedCallPaths.test.ts,
the app:ping row is missing) and every other test passes. With the source
as committed, all 322 pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(javascript): state that one value read from a list is one argument

The guide says arguments after a spread of unknown length stay
unresolved because their positions are unknown. A reader can take that to
cover a value read from such a list, but a value read from one position of
a spread or of a rest array supplies exactly one argument, so a rest
parameter after it is empty and a channel placed after that rest list
still resolves.

State the rule beside the spread rule it qualifies. The behavior comes
from the selected-element rule of "pass one element of an unknown-length
list as one argument". The symbolic rows of that commit and the wrapper
rows of the test commit after it assert it.

Validation: npx oxfmt --check on the guide passes. node
scripts/check-doc-facts.mjs needs a built dist/ and did not run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(javascript): do not grow a rest array for an out-of-range delete

`function f(...args) { delete args[2]; return pick(...args, "fallback") }`
with two known rest arguments always passes `fallback` third: `delete`
neither creates the element nor changes the length. The written member
set lost the operation, so the index past the end appended an
unknown-count element and the fixed-position argument was dropped.

Only members that a write other than `delete` reaches can now grow the
array. A delete inside the known elements still makes that element
unknown, and a delete plus an assignment of the same index still grows.

Validation: the two delete rows fail on the previous head and pass now;
the delete-then-assign control stays unknown. vitest on
electronWrappedCallPaths.test.ts and javascriptSymbolicBindings.test.ts:
365 passed (365). tsc --noEmit is clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(javascript): separate member enumeration from value invalidation

* fix(javascript): preserve rest-array enumeration and snapshot order

* fix(javascript): preserve conditional writes and pre-mutation array membership

* fix(javascript): invalidate added array indices after length writes

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-01 00:03:33 +08:00
ShuaixinHuangandShuaixinHuang 5367fe5a5f fix(analysis-view): fit Playwright trace row pages to byte budget (#15231)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 23:55:16 +08:00
ShuaixinHuangandVincent Koc dd52af8c92 feat(artifacts): extract stored Unix ar members (#15248)
* feat(artifacts): extract stored Unix ar members

* test(artifacts): assert structured thin ar extraction refusal

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 23:53:45 +08:00
BeqaandVincent Koc 130243a7c1 fix(setup): recognize path-qualified cmd.exe and npm rea.cmd shims (#15045)
* fix(setup): recognize path-qualified cmd.exe and npm rea.cmd shims

Unwrap C:\Windows\System32\cmd.exe /d /c package runners, and read the
script an npm rea.cmd shim launches so those registrations stay owned.

* fix(setup): parse npm rea.cmd launch statements with a bounded read

Own only the script argument of the npm cmd-shim launch line, skip rem
comments, refuse oversized files before allocating, and join with host
path rules so UNC roots stay intact.

* fix(setup): ignore echoed npm launch text in rea.cmd shims

Skip echo lines and refuse ownership when a later "%_prog%" launch names
a non-package script, so printed paths cannot prove an unrelated row.

* fix(setup): require executed npm rea.cmd launch statements

Anchor "%_prog%" matching to a real launch command, skip @rem comments,
and ignore conditional echo lines so ownership cannot follow text that
is never executed.

* fix(setup): require strict npm cmd-shim structure for rea.cmd ownership

* fix(setup): match exact npm cmd-shim template for rea.cmd ownership

* fix(client-identity): reject batch variables and support local node_modules/.bin rea.cmd shims

* fix(setup): recognize current npm command shims

* fix(ci): route CMD shim tests to the Windows package lane

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 23:53:39 +08:00
ShuaixinHuang 1f1dd15a92 fix(analysis-view): fit GraphQL contract pages to byte budget (#15240) 2026-11-30 23:51:46 +08:00
morluto 02c6d3c8bc fix(cli): suggest npx rea-agents@latest setup in the update notice under npx (#15251)
* fix(cli): suggest npx rea-agents@latest setup in the update notice under npx

A package-runner launch has no installed rea to run --update on, and its agent registrations point at that run's cache, so the notice now suggests rerunning setup at @latest through the same runner.

* fix(update): tell npx users how to update REA in plain words

rea update cannot upgrade a copy it did not install. Its message now tells npx users to run npx rea-agents@latest setup and that they can ask their agent to do it. The skill tells agents which update command to run, and the README mentions asking the agent.
2026-11-30 10:33:18 -05:00