diff --git a/docs/guides/data/packet-captures.md b/docs/guides/data/packet-captures.md index af194c27f49..ef4d9fa9179 100644 --- a/docs/guides/data/packet-captures.md +++ b/docs/guides/data/packet-captures.md @@ -172,8 +172,7 @@ The real-tool lane requires Linux and TShark 4.x. A separate kernel-limit regression checks the inherited soft/hard limits and verifies an oversized allocation is refused before it can consume memory. The Ubuntu workflow uses its distribution package; check its outcome before claiming that build verified. -The earlier macOS check does not establish the current bounded integration, -which deliberately refuses unsupported hosts. Other formats (including PCAPNG), +Other formats (including PCAPNG), USB, BLE ATT and actual physical capture are not established by these fixtures. Each provider admits one inspection at a time, including acquisition and cleanup. diff --git a/docs/guides/data/pcap-analysis.md b/docs/guides/data/pcap-analysis.md index 97908045895..440d9236d05 100644 --- a/docs/guides/data/pcap-analysis.md +++ b/docs/guides/data/pcap-analysis.md @@ -148,16 +148,15 @@ retains owned resources for retry on close. ## Verification scope -Current follow-up verification uses Linux/Node 24.18.0 and Wireshark 4.0.17. +The recorded follow-up verification used Linux, Node 24.18.0 and Wireshark 4.0.17; +that Node release is below REA's current 24.x floor (24.22.1). Private real recorded corpora are checked against independent raw-frame/IP parsing and Python aggregation, public CLI/stdio MCP parity, SDK schemas, source hashes and retained views. Synthetic native tools separately test malformed output, cancellation, source/snapshot mutation, capacity and cleanup; they do not establish real Wireshark or other-platform behavior. -The original proposal reported Linux 4.6.6, macOS/Windows 4.6.9 verification on -its earlier implementation. Those reports do not verify the new final memory -boundary. Actual Windows/Bun Wireshark execution is unverified here; macOS +Actual Windows/Bun Wireshark execution is unverified here; macOS capture support needs a separate enforceable-bound decision. ```sh diff --git a/docs/guides/data/sqlite-databases.md b/docs/guides/data/sqlite-databases.md index a04ad8db2ba..9511c334d12 100644 --- a/docs/guides/data/sqlite-databases.md +++ b/docs/guides/data/sqlite-databases.md @@ -5,10 +5,10 @@ selected local SQLite database snapshot without an active native analysis target. Use it to understand application storage, configuration or retained database evidence. No separate SQLite installation is required. -This operation requires Node.js 24.x >=24.15 or 26+ with the native -`DatabaseSync.limits` API. The worker verifies that capability before querying -the copied database. Other REA features retain their published Node.js 22.x, -24.x or 26+ requirements. +This operation needs the native `DatabaseSync.limits` API, which REA's +supported Node.js 24.x (>=24.22.1) and 26.x (>=26.12.1) releases provide; it is +unavailable on the supported 22.x line. The worker verifies that capability +before querying the copied database. `rea capabilities` reports `inspect_sqlite_database` availability and the runtime requirement without opening a database. Unsupported runtimes show diff --git a/docs/guides/firmware/firmware-analysis.md b/docs/guides/firmware/firmware-analysis.md index 12ef34da280..82cf08bd403 100644 --- a/docs/guides/firmware/firmware-analysis.md +++ b/docs/guides/firmware/firmware-analysis.md @@ -4,7 +4,8 @@ REA accepts **Binwalk 3.1.x** for region inspection and **Unblob 26.6.x** for explicit extraction. The report parsers are verified with Binwalk 3.1.0 and Unblob 26.6.4. Another build on those lines is accepted, the observed version is reported, and a limitation records that the parser was not verified against -that build. This first firmware milestone is verified on Linux x64. +that build. Binwalk and Unblob operations run only on Linux; other hosts +report the capability as unavailable. Verification covers Linux x64. No device, root privilege, mount, emulation or execution of extracted programs is needed. Arbitrary firmware bytes do not pass native executable admission; select a returned ELF separately for supported Ghidra analysis. diff --git a/docs/guides/javascript/javascript-application-graph.md b/docs/guides/javascript/javascript-application-graph.md index 3b45dd0841f..41f9326f13f 100644 --- a/docs/guides/javascript/javascript-application-graph.md +++ b/docs/guides/javascript/javascript-application-graph.md @@ -97,9 +97,8 @@ one physical source map. The full URL is kept out of node identity, display label, and edge properties, so large inline data URLs are stored once per source-map reference. -Consumers previously reading `edge.properties.declared_url` should follow -`target_node_id` and select the observation by `declared_url_sha256` instead. -Node labels serve display; the observation preserves the original URL. +To read the URL, follow `target_node_id` and select the observation by +`declared_url_sha256`. Node labels serve display; the observation preserves the original URL. For example, a source-owned synthetic fixture proves this path without using a third-party application: diff --git a/docs/guides/javascript/javascript-application-workflows.md b/docs/guides/javascript/javascript-application-workflows.md index ff077384347..295dedab5c5 100644 --- a/docs/guides/javascript/javascript-application-workflows.md +++ b/docs/guides/javascript/javascript-application-workflows.md @@ -296,8 +296,8 @@ searchable. The offered per-file node capacity also bounds the producer's expression and operand collections before graph projection. Expression nodes and unknowns share the existing per-file graph admission budgets; omitted facts make graph coverage truncated and the trace partial. -Consumers that previously treated `found` as compatible with a relevant -unknown should handle `partial` and inspect the returned unknowns. Retained +A relevant unknown makes the trace `partial`; inspect the returned unknowns. +Retained graphs without `influences` edges remain readable but do not gain edges until the application is analyzed again. Global timer, `fetch`, `WebSocket`, `JSON.parse`, and coercion calls receive @@ -380,8 +380,7 @@ shorter; smaller values keep their existing JSON key. This keeps large values out of identity and display metadata without expanding short values or truncating their Evidence. -New analyses therefore produce different IDs for hashed literals from the -earlier payload-bearing role keys. Use IDs returned by the selected parent +Use IDs returned by the selected parent graph and read literal values from `properties.value`, rather than decoding role keys or labels. Previously stored graphs and their original IDs remain valid inputs. @@ -400,7 +399,6 @@ shorter of the exact value and ` endpoint`; semantic request/response labels use the shorter of the endpoint and operation method. These labels are display metadata, not endpoint lookup values. -New analyses therefore change hashed endpoint IDs and longer endpoint labels. Use IDs from the selected graph and read the complete endpoint properties; previously stored graphs still support their original IDs. Literal endpoint search, semantic tracing, and version comparison use the preserved values. @@ -410,9 +408,8 @@ Event and listener nodes likewise preserve the complete event name in digest rule, scoped to the emitter; repeated registrations, removals, and dispatches keep one event per exact emitter/name pair. Long event labels use `event`, and listener labels use the shorter of `:` and -`:listener`. Dynamic names remain `null` with explicit uncertainty. New analyses -change hashed event IDs and longer event/listener labels; query the preserved -name or select IDs from the parent graph. Previously stored graphs keep their +`:listener`. Dynamic names remain `null` with explicit uncertainty. Query +the preserved name or select IDs from the parent graph. Previously stored graphs keep their original IDs and remain valid trace inputs. Empty string event names remain exact identities and can be selected with an @@ -680,10 +677,8 @@ A partial comparison still records an unknown in the MCP session when matching uncertain projections produce no changes and `summary.unknown` is zero. The output includes exact selector candidates, omissions, Evidence links, -coverage, and limitations; it does not execute JavaScript. When runtime -semantics matter, run behavioral probes directly against the relevant -application versions and capture them through the available browser, Electron, -or process workflows. +coverage, and limitations; it does not execute JavaScript. See +[runtime evidence](#runtime-evidence) when runtime semantics matter. ## CLI and verification diff --git a/docs/guides/javascript/javascript-artifact-reconstruction.md b/docs/guides/javascript/javascript-artifact-reconstruction.md index 57dc90510a6..033dd8e5674 100644 --- a/docs/guides/javascript/javascript-artifact-reconstruction.md +++ b/docs/guides/javascript/javascript-artifact-reconstruction.md @@ -81,10 +81,9 @@ were present; `null` means package metadata was invalid or unavailable. Renderer role mechanisms and package load edges name the field that supplied the candidate, selected as the first nonempty string from `renderer`, `browser`, then `module`. The package load edge retains `declared_path`, `source_field`, and resolution -facts for that selection. New analyses no longer emit the derived package -`renderer` alias; consumers must read declarations for source metadata and load -edges for the selected candidate. Previously retained Evidence keeps its original -properties and remains readable without migration. +facts for that selection. Read declarations for source metadata and load edges +for the selected candidate; there is no derived package `renderer` alias. +Previously retained Evidence keeps its original properties. ## Select sources before analysis @@ -881,8 +880,7 @@ facts. Increasing these budgets does not raise graph retention, worker heap, transfer admission, or parent result memory. Cyclic or unsupported evaluations remain unknown. Wrapper limitations name visits and depth separately so a caller can change the resource actually exhausted. Finite inline literal object -spreads use iterative syntax traversal and no longer inherit a duplicate -semantic-depth cut. +spreads use iterative syntax traversal. `semantic_analysis` selects how much of each source is examined. The default, `complete`, parses, static-analyzes and semantic-analyzes every selected diff --git a/docs/guides/javascript/v8-code-cache.md b/docs/guides/javascript/v8-code-cache.md index 702e0a9cece..728904bfd5a 100644 --- a/docs/guides/javascript/v8-code-cache.md +++ b/docs/guides/javascript/v8-code-cache.md @@ -8,7 +8,7 @@ decompiler. ```bash rea inspect-v8-code-cache /absolute/path/to/module.jsc --json -rea inspect-v8-code-cache /absolute/path/to/module.jsc --minStringBytes 8 --json +rea inspect-v8-code-cache /absolute/path/to/module.jsc --min-string-bytes 8 --json ``` The MCP tool is `inspect_v8_code_cache` with the same inputs and the same retained diff --git a/docs/guides/runtime/frida-instrumentation.md b/docs/guides/runtime/frida-instrumentation.md index fb89d28b660..89d64372897 100644 --- a/docs/guides/runtime/frida-instrumentation.md +++ b/docs/guides/runtime/frida-instrumentation.md @@ -14,7 +14,7 @@ whether the page omitted rows. Omitting both arguments returns every observed process in provider order. Each call enumerates again, so process starts and exits can shift rows between pages. -`instrument-with-frida --json` returns the Evidence record directly, matching MCP. Consumers of the earlier `{evidence, cleanup_error}` CLI wrapper should read the record at the JSON root and the session cleanup observation at `normalized_result.cleanup_error`. If final provider cleanup fails or cancellation arrives during it, the typed error retains completed Evidence in `details.partial_observation`. Discovery commands retain their device or process report in the same field. +`instrument-with-frida --json` returns the Evidence record directly, matching MCP; the session cleanup observation is at `normalized_result.cleanup_error`. If final provider cleanup fails or cancellation arrives during it, the typed error retains completed Evidence in `details.partial_observation`. Discovery commands retain their device or process report in the same field. For state and capture-coverage checks, pass `{"session_id":"SESSION_ID","detail":"summary"}` to `frida_session_status`. Each call reads the observed session state and retains the complete observation. The reply is an `inspect_analysis_view` Evidence summary with the session identity, state, scripts, `messages_retained`, and `messages_truncated`; message payloads remain in its `parent_evidence_id`. The count covers retained queued messages, not every target event. Omitted `detail` or `detail=complete` preserves the existing complete reply. diff --git a/docs/guides/runtime/process-capture.md b/docs/guides/runtime/process-capture.md index 08d9b90b5de..a3bc53d02e8 100644 --- a/docs/guides/runtime/process-capture.md +++ b/docs/guides/runtime/process-capture.md @@ -694,10 +694,9 @@ observations and explicit unavailable fields. Older records may omit this option array. No intervention entry is added without an observed signaling fact; absence does not prove that cleanup sent no signals. -Readers that previously accepted only `not_required` for a quiesced settlement -must refresh the advertised MCP schema or update their saved-capture reader to -accept `cleaned` as well. Existing saved captures remain valid and keep their -recorded outcome; missing historical signal facts are not reconstructed. +A quiesced settlement can report `cleaned` as well as `not_required`. Saved +captures keep their recorded outcome; missing historical signal facts are not +reconstructed. When the host withholds an unrelated process's ownership token, REA leaves that process untouched and records its PID and reason in `cleanup.unverified_processes` diff --git a/docs/guides/signals/signal-recordings.md b/docs/guides/signals/signal-recordings.md index d2dbb38cefd..04238edbf91 100644 --- a/docs/guides/signals/signal-recordings.md +++ b/docs/guides/signals/signal-recordings.md @@ -6,7 +6,8 @@ libsigrokdecode on **Linux**. util-linux `prlimit` is required (default `/usr/bin/prlimit`, overridable with absolute `REA_SIGROK_PRLIMIT_COMMAND`). The limiter sets soft and hard address-space limits before the decoder starts. macOS and Windows are refused because this adapter cannot enforce that limit on -those hosts. It does not acquire samples or communicate with hardware. +those hosts. `REA_SIGROK_COMMAND` must name sigrok-cli by absolute path; REA +does not search `PATH`. REA does not acquire samples or communicate with hardware. ```sh export REA_SIGROK_COMMAND=/absolute/path/to/sigrok-cli @@ -114,13 +115,12 @@ recording expansion cannot exceed the per-process address-space cap. These are not aggregate process-memory or filesystem quotas. The selected limiter is trusted and its path, digest and arguments are retained in Evidence. -Each capture/recording operation accepts `producer_limits` with positive safe +Each decoding and discovery call accepts `producer_limits` with positive safe integer overrides: `input_bytes`, `output_bytes`, `command_timeout_ms`, `address_space_bytes`, `file_bytes`, and `cpu_seconds`. The wall-clock timeout is at most 2,147,483,647 milliseconds, matching Node timers. Omitted fields keep -the defaults above. Discovery accepts the same controls except `input_bytes`, -since it does not read a capture or recording. Packet field discovery defaults -to 32 MiB output rather than 4 MiB. +the defaults above. Decoder discovery accepts the same controls except +`input_bytes`, since it does not read a recording. CLI supplies this object as JSON with `--producer-limits`, for example `--producer-limits '{"input_bytes":67108864,"output_bytes":8388608,"cpu_seconds":60}'`. @@ -148,8 +148,7 @@ kernel-limit regression checks the inherited soft/hard limits and verifies an oversized allocation is refused before it can consume memory. Other formats, decoders and physical acquisition are not established by the UART fixture. The workflow result must be checked before claiming a specific Linux build -verified. The earlier macOS tool check does not establish the current bounded -integration, which deliberately refuses unsupported hosts. +verified. One decode is admitted at a time, including acquisition and cleanup. Excess requests receive a retryable capacity error before acquiring another file or diff --git a/docs/guides/web/browser-observation.md b/docs/guides/web/browser-observation.md index 54b389b8146..7cb2a6c59d1 100644 --- a/docs/guides/web/browser-observation.md +++ b/docs/guides/web/browser-observation.md @@ -30,7 +30,7 @@ authority are validated independently before selection and connection. `importScripts()` call. The edge describes recovered source syntax. Whether the call ran in a classic worker remains a runtime question. - `observe_web_session` / `rea observe-web-session` arms an observation window of the requested duration for an external user action and records ordered reload, SPA navigation, redirect, failure, lifecycle, and target-termination metadata. -- `discover_webmcp_tools` / `rea discover-webmcp-tools` uses the experimental CDP WebMCP domain to return observed in-scope registrations and their complete observed `input_schema` declaration and canonical `input_schema_sha256` digest inline. Declarations are untrusted JSON data, including declared types, required fields, enums, examples and reference URLs. REA does not resolve schema references. An omitted optional `inputSchema` is a valid parameterless registration, represented by null schema and digest. These fields replace `input_schema_shape`. Registrations with the same name and URL in distinct observed frames retain separate identities. `tool_key` includes the observed frame ID; it is not a stable identity across navigation or browser sessions. Same-frame registration updates replace that owner only, and removal leaves other owners intact. Declared `readOnly`, `untrustedContent`, `consequential`, and `autosubmit` annotation hints are reported per registration: `true`/`false` are declared values, `null` means the declaration did not provide the hint in that capture, and a missing `consequential` key means the observed annotation was invalid, so the hint was not recorded. Consult discovery completeness and exclusions to distinguish these cases. Malformed annotation values or registration stacks retain the registration with incomplete coverage and an `invalid_protocol_value` exclusion. Other malformed protocol payloads can fail discovery explicitly. REA never exposes `WebMCP.invokeTool`. +- `discover_webmcp_tools` / `rea discover-webmcp-tools` uses the experimental CDP WebMCP domain to return observed in-scope registrations and their complete observed `input_schema` declaration and canonical `input_schema_sha256` digest inline. Declarations are untrusted JSON data, including declared types, required fields, enums, examples and reference URLs. REA does not resolve schema references. An omitted optional `inputSchema` is a valid parameterless registration, represented by null schema and digest. Registrations with the same name and URL in distinct observed frames retain separate identities. `tool_key` includes the observed frame ID; it is not a stable identity across navigation or browser sessions. Same-frame registration updates replace that owner only, and removal leaves other owners intact. Declared `readOnly`, `untrustedContent`, `consequential`, and `autosubmit` annotation hints are reported per registration: `true`/`false` are declared values, `null` means the declaration did not provide the hint in that capture, and a missing `consequential` key means the observed annotation was invalid, so the hint was not recorded. Consult discovery completeness and exclusions to distinguish these cases. Malformed annotation values or registration stacks retain the registration with incomplete coverage and an `invalid_protocol_value` exclusion. Other malformed protocol payloads can fail discovery explicitly. REA never exposes `WebMCP.invokeTool`. - `compare_web_captures` / `rea compare-web-captures` compares passive captures or exact-step-aligned browser scenarios. Scenario results commit reproducible literal normalization and expose alignment failures plus artifact-level action, screenshot, DOM, accessibility, URL, history, storage, and event differences. Missing or truncated evidence is never treated as equivalence. diff --git a/docs/guides/web/browser-scenario-contract.md b/docs/guides/web/browser-scenario-contract.md index 159d583fd56..b76945d75d6 100644 --- a/docs/guides/web/browser-scenario-contract.md +++ b/docs/guides/web/browser-scenario-contract.md @@ -107,8 +107,7 @@ rea capture-browser-scenario ./browser-scenario.json --json > browser-capture.js The default capture includes the final URL. Select DOM, screenshots, or events only when they help answer the question. REA launches and cleans up the browser profile for this request; it does not start your fixture server or install a -browser. A schema-valid scenario does not prove that the executable or target -is available on the host. +browser. ## Interaction example: capture the visible result