Commit Graph
2935 Commits
Author SHA1 Message Date
morluto 61b4ada453 fix(errors)!: split reader path refusals from malformed target bytes
ArtifactReaderFailure("format") covered two different facts: target
bytes that violate their format, and a selected path that is not a
regular file. The shared selected-file projections
(projectOwnedArtifactInputFailure and classifyProviderFailure's file
step) mapped both to invalid_request with an invalid_format path
issue, so corrupt BEAM files and PE certificate table bodies were
reported as caller argument errors.

Split the reason at its producers:

- Path-kind refusals now use the existing "path" selection reason:
  regular-file admission, the stable root, directory, ZIP, ASAR and
  PyInstaller entries, dyld inputs, the UEFI flash source and extract
  occurrence selection. They stay invalid_request.
- The BEAM parser and the PE certificate table parser raise the format
  owner's ParseFailureError (malformed or truncated, format "beam" or
  "pe-certificate-table"). A short file that does not start with FOR1
  is malformed, not truncated. A PKCS#7 name encoding the decoder does
  not implement is unsupported, not malformed.
- Short reads inside an admitted range (kernel module, kernel build
  config, ELF unwind ranges) are integrity read-coverage failures,
  because the file changed during the read.
- Internal contract breaks (stream chunk size, a non-Buffer keyed
  archive chunk) are invariant violations; an impossible descriptor
  byte count is an I/O failure.

The shared projections now treat only "path" as a selection error.
They take the malformed-target facts from the reader failure's own
parseFailure, which artifactParseFailure sets once from the owner's
ParseFailureError and rebuilt failures keep through primaryFacts.
ArtifactOperationError carries the same facts, so inspect_artifact
refusals (for example Android boot images) now include
details.format_failure, format, offset and field. Android boot entry
planning raises the format owner's malformed failure, and the
redundant shortcut and API-contract format branches are removed.

BREAKING CHANGE: callers that parse `code` see unsupported_target
instead of invalid_request for malformed or truncated bytes from
inspect_erlang_beam and from the inspect_pe_certificates certificate
table body. Truncated reads of a file that changed during
inspect_kernel_module, inspect_kernel_build_config and
inspect_elf_unwind_ranges now report artifact_changed. inspect_artifact
malformed and truncated refusals gain details.format_failure and
details.format. Existing fields are unchanged.
2026-11-23 20:11:49 -05:00
morluto 89c1dd3c32 fix(errors): refuse malformed target bytes as a target, not invalid input (#14195)
* fix(errors): refuse malformed target bytes as a target, not invalid input

parseFailureAnalysisError is the shared owner that turns a byte-format
parser's ParseFailure into a public refusal. It mapped malformed and
truncated bytes to an AnalysisInputError on the path field. The envelope
then reported invalid_request, with inspect_input_contract recovery and
"correct the listed fields". The arguments were valid; the target bytes
were the problem. Readers that wrap the ParseFailureError in an
ArtifactReaderFailure, and ArtifactOperationError reason=malformed, were
classified the same way.

Add AnalysisMalformedTargetError. It keeps the parser's kind, format,
detail, offset and field, and projects as unsupported_target with
details.format_failure. Its recovery is to choose another operation or a
well-formed copy of the target. Route both parser entry points through it
and reclassify ArtifactOperationError reason=malformed. Argument and
selection errors (missing files, directories, symlinks, JSON arguments)
stay invalid_request.

Fixes #14170

* docs(maven): describe duplicate variant names as malformed metadata

Duplicate Gradle variant names go through malformedInput, which now
reports unsupported_target with details.format_failure: malformed.
Point the earlier statement at that section instead of the old
invalid_format code.

* test(errors): expect malformed-target refusals from CLI byte-format readers

Truncated IPS, ELF, PE and shortcut bytes now project as unsupported_target with format_failure=malformed. Update the CLI acceptance cases that still expected invalid_request.

* fix(errors): keep a cancelled read a cancellation whatever its abort reason

projectOwnedArtifactInputFailure read the reader failure's cause without
checking the reader's own reason. A cancelled read carries the caller's
opaque abort reason as that cause, so aborting with a ParseFailureError
turned the cancellation into a non-retryable malformed-target refusal
before the shared cancellation projection ran. Only a reader whose own
reason is malformed or truncated now yields a malformed target.

The ELF dependency checkpoint cancellation test now also aborts with a
parser failure as the reason, through the public provider read.

* test(pe): expect malformed-target refusals from the PE filesystem boundaries

Short non-PE bytes now refuse the target rather than the request field.
The missing-file, directory, symlink and child-path controls keep their
caller-input expectations.

* fix(elf): refuse malformed ELF note bytes as a target, not invalid input

inspect_elf_notes shared this PR's root cause: its parser reported
structural violations as a reader "format" failure, which the shared
stable-artifact projection treats as a request-field error, so truncated
or non-ELF bytes still returned invalid_request. The parser now raises
malformed or truncated ParseFailureErrors, which the shared projection
reports as a malformed target with format_failure and format facts.

Consumers that interpreted the old reader reason now use the parser's
facts: debug-link build-id observation keys on ParseFailureError kinds,
and binary hardening drops its rewrap of note-parser format failures
into BinaryFormatFailure, which the parser's own failure supersedes.

* test(errors): own the byte readers' malformed-target projection in one CLI table

The PR repeated the same malformed -> unsupported_target mapping in a
dedicated CLI test per command and again in each provider's filesystem
boundary test. The stable-artifact parser-failure CLI table now owns it:
every byte reader it covers (now including ELF dependencies, debug link,
unwind ranges and native initializers) refuses a truncated ELF header as
a malformed target with operation, path, format_failure, retained file
identity and no argument recovery.

Removed as redundant with that table: the truncated or non-ELF/non-PE
CLI tests for ELF debug link, dependencies, unwind ranges and notes,
native initializers, and PE imports and certificates; and the
malformed-file blocks in thirteen filesystem boundary tests, which keep
their directory, symlink, missing-file and child-path controls. Format
specific refusals (a truncated IPS body, a wrong shortcut CLSID, DWARF
units) keep their own tests, as do the owner tests in
parseFailureAnalysisError and ArtifactOperationFailure.

* test(errors): expect malformed target bytes as unsupported_target in acceptance tests

The first full acceptance run of this PR found five expectations still
asserting invalid_request for target-byte failures: the timing test's
truncated ELF, a truncated DTB, duplicate Rust dependency JSON, and PE32
and PE64 load-config images without an MZ header. Assert the
unsupported_target code, with format_failure malformed where the
non-MZ PE path matches the already-updated PE imports test.
2026-11-24 00:44:40 +00:00
morluto ff2f9d9880 docs(reference): say that pwntools memory failures carry no producer limit (#14221)
Both the structured resource-limit reply and the reserved memory exit omit
details.limit, because an allocation failure does not prove that
producer_limits.address_space_bytes was exhausted. The reference promised
the parameter limit for every pwntools budget failure.
2026-11-24 00:41:02 +00:00
morluto c4fa5b475c fix(cli)!: accept only the documented kebab-case option spelling (#14204)
* fix(cli)!: accept only the documented kebab-case option spelling

REA's argv parser kept incur's second spelling of every option: the
camelCase schema key (`--maxRows`) bound like the documented
`--max-rows`, although help, completion and manifests list only the
kebab-case form. That hidden alias let wrong spellings survive in the
guides.

The parser now binds only the documented flag. A schema key spelling,
including its `--no-` negation, fails as a typed `flag_spelling`
failure rendered as PARSE_ERROR that names the documented flag:
"Unknown flag: --maxRows. Did you mean --max-rows?". Completion no
longer resolves camelCase option names. The sensitive-value scan still
treats `--sensitiveValue` as a declaration so its value stays redacted
from the refusal.

Guides, the inspect-api-contract option description and tests now use
the kebab-case flags.

BREAKING CHANGE: camelCase option spellings such as `--maxRows` or
`--dryRun` are refused; use the kebab-case flag that `--help` lists.

* test(cli): exercise invalid dry-run values with the documented flag spelling

The invalid dry-run cases in strictPositionals and cliSetup appended
--dryRun=false as a later valid override. The parser now refuses that
schema key spelling before it validates the dry-run value, so each case
failed on flag spelling and never checked that a later override cannot
hide an earlier invalid value. The override is now --dry-run=false, and
each case asserts the dry-run failure message, so a spelling refusal can
no longer satisfy it.

The --dryRun=abc case in cliSetup's malformed-value list is removed: it
was the --dry-run=abc case under a spelling the parser now refuses
before reading the value, and argvParser.test.ts owns that refusal.

* test(cli): keep one public case for the flag spelling refusal

cliOptionAliases repeated argvParser's three token shapes (bare, inline
value, negation) through the full CLI. The parser test owns those shapes
and asserts the structured flag_spelling failure with its flag and
documented spelling; the CLI keeps one case for the documented
PARSE_ERROR projection, whose message is part of the CLI contract.

The camel-case sensitive-value case also dropped its trailing
--no-<literal> token: the spelling refusal stops parsing before it, so
the token no longer exercised anything.
2026-11-23 19:36:23 -05:00
morluto fc795dd260 fix(pwntools)!: report a per-call input ceiling as its producer_limits parameter (#14208)
* docs: correct, re-verify and prune getting-started, provider and reference pages

Re-verify the macOS arm64 native decompiler build, the m68k lane and the
RISC-V lane on Ghidra 12.2, check RISC-V language facts against the 12.2
SLEIGH sources, document the verify:ghidra demangler prerequisite, remove
duplicated IDA and mcp add paragraphs, prune release-history narratives and
the stale 6.4.0 registry checkpoint, clarify Godot carrier classification,
correct the packet-summary and SQLite host rows, and say in the
inspect-binary-layout CLI description that it is ELF-only on Linux x64.

* docs(reference): add a canonical producer_limits section

Derive the accepted fields and defaults per operation from the producer
limit schemas and describe how an exhausted budget reports its per-call
control.

* docs(reference): split producer_limits defaults by operation and document the pwntools exceptions

Field and decoder discovery reject input_bytes, and packet field search
defaults output_bytes to 32 MiB. For pwntools, diagnostic_bytes bounds
combined stdout and stderr while output_bytes bounds the reply file, and
an oversized input reports the pwntools.max_input_bytes setting limit
rather than the producer_limits parameter shape.

* fix(pwntools)!: report a per-call input ceiling as its producer_limits parameter

When producer_limits.input_bytes set the pwntools admission ceiling for a
call, an oversized input reported the registered pwntools.max_input_bytes
setting limit with update_mode "parameter" attached. Every other
producer budget reports the parameter shape, and AGENTS.md asks for the
limit of the control that stopped the work. Report producer_limits.input_bytes
with applies_at "next_call" and, as its default, the ceiling that applies
when the field is omitted. Setting, launch and built-in ceilings keep the
setting shape. Remove the reference exception this made obsolete.

BREAKING CHANGE: for a request-sourced pwntools input ceiling,
details.limit is now a control_kind "parameter" limit instead of a
setting limit carrying setting, source, update_mode and scope fields.
2026-11-24 00:32:01 +00:00
morluto af53dd9df1 fix(wasm): state the accepted WABT release range from its owning constant (#14205)
* fix(wasm): state the accepted WABT release range from its owning constant

`WabtRelease.ts` admits caller-supplied WABT `>=1.0.42 <1.1.0`, but the
`inspect_wasm_artifact` description, the capability inventory
remediation and the WASM static-inspection guidance said "WABT 1.0.42",
and a source comment and the WASM guide claimed managed downloads stay
pinned, although REA downloads no WABT.

The accepted range and the caller-facing release line now live in the
domain beside `WABT_VERSION`, so the contract description, inventory
remediation, error guidance and adapter messages all render the same
"WABT >=1.0.42 <1.1.0 (verified with 1.0.42)". The download claim is
removed, and the guides and skill source state the range.

* docs(wasm): state the accepted WABT release range in one owning guide section

The bundled WABT README still required an exact 1.0.42 banner while the
guide and supported-targets table stated the admitted range. Keep the range
in the WASM guide's Configure WABT section and link to it from the README
and the supported-targets table; the README keeps the verified release,
source commit and archive digest.

* test(wasm): derive WABT version assertions from the owning constants

Assert the verified release and caller-facing release line through
WABT_VERSION and WABT_RELEASE_LINE, and drop the literal range pin that the
owner-level admission boundary checks already cover.

* test(wasm): type the WABT version probe fixture by its owning type

Deriving expected_version from WABT_VERSION in an untyped literal widened
it to string; annotate the fixture as WabtVersionProbe instead.
2026-11-24 00:28:27 +00:00
morluto cebfae50d9 perf(ghidra): retain literal search candidates only when filtering narrows them (#14143)
* perf(ghidra): retain literal search candidates only when filtering narrows them

The Ghidra bridge folds ASCII exactly, so a case-insensitive literal
search with an ASCII-foldable pattern already returns its matches.
Attaching the unnarrowed reply as rawResult repeated the full match list
in every default search_strings/search_procedures response and Evidence
record. Retain it, with the candidate limitation, only when Unicode
filtering removed a row or secondary name.

Closes #14142

* docs(ghidra): state when a literal search retains raw candidates

The native investigation guide still said every case-insensitive literal
search puts bridge candidates in raw_result. It now states the
condition. A test covers the case where filtering removes only a matched
secondary name, which keeps every procedure but must still retain the
candidates.
2026-11-23 23:24:46 +00:00
morluto d506a6f6df docs: tighten contributor guidance and prune duplicated skill text (#14203)
* docs: tighten contributor guidance and prune duplicated skill and verification text

Link AGENTS.md to the CONTRIBUTING.md owners for scope, issues and pull
requests, remove change narratives from the development guides, add a
verification-record retention rule, and route format-specific skill
entries to tool descriptions and guides instead of restating them.

* chore(skill): regenerate the Cursor plugin skill copy

The skill source was trimmed in this PR; regenerate the tracked Cursor
plugin copy with scripts/generate-cursor-plugin-skill.mjs so the
documentation check's freshness test passes.
2026-11-23 18:03:55 -05:00
morluto f3ce4cabf6 docs: tighten format pages and correct stated limits (#14199)
* docs: tighten format pages and correct stated limits

Restructure the GPU code object, UnityFS, IL2CPP, model, Rust and
hardening pages for scanning, state the Rust input and report limits
as overridable defaults, replace an IL2CPP jq round trip with the
--evidence-bundle query, and remove change narratives.

* docs(model): separate the big-endian v2 and unknown-version GGUF refusals

Only unknown versions report the raw version bytes and both UINT32
interpretations with byte order unknown; big-endian v2 is recognised and
refused with its own message.
2026-11-23 18:02:09 -05:00
morluto a1d53d3956 docs(development): route first contact by parsed facts and split admission limits from delivery budgets (#14193)
* docs(development): route first contact by parsed facts and split admission limits from delivery budgets

Add first-contact routing rules, provider-neutral selector semantics,
address-space naming, once-per-session caveats, sibling-reader parser
sharing and target-versus-request error categorization to the tool
design guide. Replace the unpaged-by-default rule with bounded summaries
backed by retained Evidence, and distinguish refusing admission limits
from non-refusing delivery budgets. Add public-corpus checks to the
testing guide and tighten the audit and workflow sections.

* docs(development): bind mutable-state cursors to a revision and limit retryable to idempotent retries

* docs(development): share parsing, not admission policy, across sibling readers

Sibling readers of one format need different amounts of the same header,
so they share the parser and structural checks while each operation keeps
its own required fields and admission policy. Align the AGENTS.md limits
rule with the admission-limit and delivery-budget split.
2026-11-23 23:00:10 +00:00
morluto 75c733acb4 fix(examples): pin the CI example to the current REA release (#14201)
The GitHub Actions example pinned rea-agents 6.7.0 and its test
hard-coded the same string, so the pin went stale silently across
three releases. Pin 6.10.1 and derive the test's expected version from
package.json, so a release bump fails the test until the example is
updated. Stop naming a fixed version in the CI analysis guide.
2026-11-23 17:58:02 -05:00
morluto 4b5fcc9eab docs(guides): correct host requirements and prune change notes in runtime, web, data guides (#14197)
docs(guides): correct host and runtime claims and prune change notes

Correct sigrok, firmware and SQLite host/runtime requirements and a v8 CLI
flag, remove consumer-migration and historical asides, and drop duplicated
sentences in the JavaScript, web, runtime, data, firmware and signals guides.
2026-11-23 17:55:40 -05:00
morluto 77b5b76e99 docs(guides): correct native and platform guide flags, host limits and stale notes (#14198) 2026-11-23 17:51:36 -05:00
morluto bdefa90dfb docs(verification): remove dated records that nothing cites (#14196)
Delete 54 dated verification records and companion JSON files that no
document, script, test or sidebar entry references. Keep the records
that live docs cite as evidence, the script-produced release-exposure
record, and the JSON companions those records link to. Move the one
record a test reads as data into tests/fixtures/javascript beside its
consumer. Git history retains every removed record.

Claude-Session: https://claude.ai/code/session_01TBh3FSTJTdVSc2DntiwVY7
2026-11-23 17:44:41 -05:00
gensokyo-devandgensokyo-dev 386d294f90 feat(analysis-view): order inventory occurrences by size before paging
Finding the largest files in an archive meant reading every occurrence
and sorting client-side, which for a jar of 28,671 entries is tens of
megabytes of rows. Add order_by with field declared_size or
compressed_size and an ascending or descending direction. Selected rows
are ordered before paging; unknown sizes, such as directories, come last in
either direction and ties keep inventory order. The container's own "."
row carries its size, so the description points at path_globs ["**"] to
rank only its entries.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 02:54:49 +08:00
gensokyo-devandgensokyo-dev dba72f1277 feat(analysis-view): select inventory occurrences by path glob
Questions about one directory of a large archive, such as the native
libraries under lib/ in an APK or the classes of one package in a jar,
required paging every occurrence, because occurrences could be selected
only by exact path, ID or kind. Add path_globs, which match whole recorded
logical paths: * and ? stay within one segment, a ** segment spans zero or
more segments (or everything below when last), other characters are
literal and case-sensitive, and the container's own "." row never matches.
Several globs union, then intersect with the other selectors, so one call
returns, for example, every file at the archive root or below assets/.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 02:54:49 +08:00
54d62c75da perf(mcp): serve compact output schemas from the build-recorded catalog (#14121)
* perf(mcp): serve compact output schemas from the build-recorded catalog

The compact output profile forced the eager runtime: full server composition plus runtime schema compaction measured at ~700 ms init + ~421 ms first tools/list, vs ~125 ms deferred for the default profile. The catalog recorder now also records bounded compact output advertisements per tool at build time; the deferred server serves them verbatim (new recorded presentation kind, canonical validation unchanged on calls), main admits the compact profile to the deferred path, and catalogs recorded before this field fall back to eager. Measured after: compact init 118 ms + list 7 ms at the same ~672 KB payload.

Refs #13275. Verified: DeferredEvidenceMcpServer tests (17), check:fast, build:cached, and a stdio probe comparing default/compact/hot-cold initialize and tools/list timings and bytes.

* fix(mcp): align compact deferred listings with the recorded catalog

Deferred compact startup used the off-profile catalog digests, so the first
tool call rejected the runtime. Select the digest for the configured output
profile.

Recorded output presentation skipped compaction for every listed schema.
Track which tools have a build-recorded advertisement and compact live
registrations, including discover_tools.

The recorder stored a contract projection. Legacy clients receive that
projection after the SDK stamps or wraps a non-object root and REA compacts
the listing. Record that listed schema.

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

* docs(mcp): describe recorded compact startup

Compact stdio startup serves the recorded catalog, including compact output
when that catalog has compact schemas. A compact profile whose catalog has
none falls back to eager composition. Initial-target, HTTP, family-scoped
hot/cold, and source runs without recorded artifacts stay eager.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-23 13:40:29 -05:00
morlutoandCursor Agent eccd18a2cc feat(javascript): add semantic_analysis structure-only mode to analyze_javascript_application (#14117)
* feat(javascript): add semantic_analysis structure-only mode to analyze_javascript_application

On large Electron apps the default analysis runs full semantic analysis per file (364 s measured in #14100) although first questions are application-graph facts. semantic_analysis: structure-only returns static and application-graph facts without semantic IR, graph content or traces: the worker purpose protocol gains structure-only (full static checkpoint, semantic phase skipped, no semantic result budget consumed), adoption records the mode once as a limitation, and Evidence parameters record the selection. Default complete behavior is unchanged.

Closes #14116. Verified: javascriptArtifactReconstruction, electronApplicationAnalysis and javascriptApplicationService suites (75 tests incl. new structure-only e2e), worker server/schema tests, check:fast, docs:check, advertised schema summary regenerated.

* test(javascript): assert semantic relations in the structure-only test

* fix(javascript): record structure-only semantic coverage as incomplete and retain refusal facts

Structure-only files now record a semantic unavailable reason so graph coverage cannot claim complete examination (comparisons will not report skipped bindings as removed), member-mutation refusal checkpoints cross for structure-only as they do for complete analysis, and the e2e control asserts real semantic content under the default.

* docs(javascript): document semantic_analysis and expose --semantic-analysis

The owning reconstruction guide now describes the complete default, what structure-only returns and skips, and how to follow up with complete analysis of selected sources. The CLI projection declares the field so --semantic-analysis <complete|structure-only> is accepted with the contract enum.

* fix(javascript): record structure-only application coverage as partial

Structure-only omits source-module and export-binding nodes. The
application graph now reports partial coverage with a null omission
count, so a comparison of an unchanged application treats those
bindings as unknown rather than removed.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-23 17:56:32 +00:00
gensokyo-devandgensokyo-dev 1dc1c20cd6 docs(analysis-view): qualify javascript-fact-groups readback to scalar values
where.properties selects only present JSON scalar values, so a group over
array, object or missing values cannot be read back through it. Say so in
the group_by description and the workflow guide, and assert the exact node
count of a repeated channel in the MCP test.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 00:08:10 +08:00
gensokyo-devandgensokyo-dev e19dbcf857 feat(analysis-view): count distinct retained JavaScript fact values
Counting the distinct IPC channels of one operation meant paging every
observation, each with its full Evidence, and deduplicating by hand; real
clients miscounted send channels on a large Electron app. Add the
javascript-fact-groups view: with the javascript-facts selectors and
group_by property names, it returns each distinct combination with its
observation and node counts, ordered by canonical JSON, and its total. A
missing key stays omitted, distinct from a retained null such as an
unresolved dynamic channel. The analyze_javascript_application description
names the IPC grouping.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 00:08:10 +08:00
gensokyo-devandgensokyo-dev 25e93a8139 feat(analysis-view): select retained JavaScript facts by property value
javascript-facts selected observations only by location and node kind, so
reading one operation of an IPC channel set meant paging every channel
observation of the file. Add where.properties: each listed key must be
retained with one of its JSON scalar values. A missing key or non-scalar
value never matches, and repeated keys must all hold.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 00:08:10 +08:00
gensokyo-devandgensokyo-dev e128a69c2f feat(analysis-view): select inventory occurrences by artifact kind
Finding the native addons in an application archive meant paging every
inventory occurrence (about 1 KB each) or reading the complete inspection,
because occurrences could be selected only by exact path, ID or entry kind.
Add artifact_kinds, which matches the recorded artifact kind exactly and
intersects with the other selectors, so one call returns, for example,
every native-addon occurrence with selected fields.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-24 00:08:10 +08:00
morluto 4bbaf17512 refactor: centralize owned finalization and configuration failures (#14071)
* refactor(config): propagate typed configuration failures

* refactor(lifecycle): centralize completion and cancellation

* fix(config): preserve Hermes YAML edit refusal guidance
2026-11-23 13:40:10 +00:00
morluto 313f2f8372 fix(ci): run type-aware lint on changed files in fast PRs (#14068) 2026-11-23 12:57:36 +00:00
gensokyo-devandgensokyo-dev d3773c910e docs(native): describe export RVAs and name-prefix views
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev 4db10585f0 docs(firmware): describe UEFI extraction summaries and owners
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
morluto fabe0da74b fix(elf): preserve kernel config framing and location provenance (#14021) 2026-11-23 06:38:04 +00:00
gensokyo-devandgensokyo-dev 89fc51ba97 docs(firmware): describe UEFI summaries and views
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
morluto a8ccf8b5b8 fix(macho): preserve legacy bind stream bounds and target scope (#13874)
* fix(macho): preserve legacy bind stream bounds and target scope

* fix(macho): report unresolved legacy bind targets in coverage

* test(macho): consolidate legacy bind target coverage
2026-11-23 03:04:42 +00:00
morluto 11a7a34dfc feat(adb): add optional limit and offset paging to list_adb_features and list_adb_services (#13873)
* feat(adb): add optional limit and offset paging to list_adb_features and list_adb_services

* test(adb): verify feature and service paging guidance
2026-11-22 21:46:36 -05:00
morluto 1d4fadceb2 feat(tools): add optional limit and offset paging to find_xrefs_to_name (#13858)
* feat(tools): add optional limit and offset paging to find_xrefs_to_name

Closes #13857

* fix(tools): preserve xref discovery coverage in paged results
2026-11-23 02:44:42 +00:00
morluto 9ec23ad03b feat(frida): add optional limit and offset paging to list_frida_processes (#13854)
* feat(frida): add optional limit and offset paging to list_frida_processes

Closes #13853

* fix(frida): stabilize paged process discovery

* docs(frida): scope paging claims to shipped discovery
2026-11-23 02:28:45 +00:00
morluto 69e96c3564 docs: codify pagination, schema-flatness, DDIA, and flat-ownership guidance in tool-design docs and skills (#13865)
* docs: codify pagination, schema-flatness, DDIA, and flat-ownership guidance in tool-design docs and skills

Closes #13864

* docs: name the current provider operation runner
2026-11-22 21:27:52 -05:00
morluto f47dbd9351 feat(android): add optional limit and offset paging to search_android_classes (#13846)
* feat(android): add optional limit and offset paging to search_android_classes

Closes #13845

* fix(android): honor larger class search pages

* fix(android): size JADX reads to the requested page

* test(android): separate class paging from Evidence retention
2026-11-22 21:19:46 -05:00
morluto dbd6057454 feat(adb): add optional limit and offset paging to list_adb_packages, list_adb_processes, and list_adb_directory (#13843)
* feat(adb): add optional limit and offset paging to list_adb_packages, list_adb_processes, and list_adb_directory

Closes #13842

* fix(adb): honor larger pages and preserve empty-list coverage

* docs(adb): explain listing pagination and coverage
2026-11-22 21:12:59 -05:00
morluto 46d41e4b79 docs: document per-call pagination, call-graph bounds, and streaming NuGet inspection (#13851)
Closes #13850
2026-11-22 20:50:59 -05:00
morluto 8c16d7d18f fix(javascript): verify Expo context getter ownership (#13803) 2026-11-23 01:21:54 +00:00
wei 6542e81a12 fix(hermes): resolve nested HERMES_HOME selection from the override root (#13792)
The configured override root now owns its sticky selection: setup reads active_profile and resolves the named profile beneath that same root, even when the override sits inside the native Hermes home. The native home's selection no longer determines an override's destinations, so a nested override selecting 'other' plans into its own profiles/other, and an override with no selection plans into the override root itself.

This is a contract change from the native-root rule the docs and tests previously locked in (PR #4145 only documented that rule; it did not change the resolver). The maintainer has not ruled on the change. The override root is still validated with physicalPath before its selection is read, so an unreadable path or dangling alias stays unresolved instead of silently planning into the root.

Refs morluto/rea#3939
2026-11-23 01:18:46 +00:00
morluto 4a62303717 fix(elf): read build IDs without decoding unrelated notes (#13776) 2026-11-23 00:53:05 +00:00
morluto 0f2437cca3 docs(development): document streaming, reader/queue reuse, and O(limit) view hot-path patterns (#13778) 2026-11-22 19:26:00 -05:00
morluto 02d5e6e3f8 fix(native-exports): preserve uncertainty in incomplete ELF version lookups (#13666)
* fix(native-exports): preserve uncertainty in incomplete ELF version lookups

* test(native-exports): prove ELF version cache exhaustion ends the scope
2026-11-22 22:45:42 +00:00
morluto ef3eb1e46e fix(native-exports): verify the declared PE directory size (#13661) 2026-11-22 22:23:52 +00:00
morluto 8018344145 fix(windows-shortcuts): preserve unread target uncertainty (#13653) 2026-11-22 22:10:26 +00:00
morluto 001eac03aa docs(tool-design): document single-pass derivation, hash joins, and owned-payload validation for hot paths (#13556) 2026-11-22 15:07:29 -05:00
Afloat b43084c7fd fix(maven): preserve property value spelling (#13442)
Read property values through the same Java String.trim semantics as other
POM scalar declarations. Preserve non-ASCII boundary characters and
nonempty Unicode-only properties before transport credential removal.

Exercise compiled CLI, stdio MCP and retained Evidence with property
references, ASCII controls, URL redaction and unchanged artifact bytes.
2026-11-22 12:58:07 -05:00
morluto 522452da70 perf(ida): bootstrap Hex-Rays bridge once, push down string_at and list_funcs filter, and cache imports (#13469)
* perf(ida): bootstrap Hex-Rays bridge once, push down string_at and list_funcs filter, and cache imports (#13276, #13353)

* fix(ida): reload the Python bridge only when its entry point is missing
2026-11-22 16:49:26 +00:00
morluto bb81b0a88d fix(elf): establish direct initializer slot mappings (#13452) 2026-11-22 15:57:43 +00:00
morluto 22042af848 fix(go): report only admitted string candidate limits (#13451)
* fix(go): report only admitted string candidate limits

* test(go): distinguish each Mach-O protection mask
2026-11-22 10:43:37 -05:00
morluto 2e1144b0ca fix(elf): bound dynamic version tables to mapped bytes (#13446) 2026-11-22 15:22:08 +00:00
morluto c7f89cd8b5 fix(elf): report proven version and dynamic symbol facts (#13441)
* fix(elf): use proven version and dynamic symbol facts

* perf(elf): avoid flattening versions for other retained views

* test(elf): consolidate dependency transport and budget coverage
2026-11-22 15:05:37 +00:00