Commit Graph
1720 Commits
Author SHA1 Message Date
morluto 6ab595cfd6 fix(limits)!: make the IL2CPP pointer index adjustable and require owned refusal limits (#14243)
* fix(limits): make the IL2CPP pointer index adjustable and name ELF note budgets in details.limit

inspect_il2cpp_metadata accepts max_native_index_bytes (default 1 GiB,
needs binary_path) for the estimated ELF virtual pointer index. The index
refusal now carries its own limit name (virtual-pointer-index-bytes) and a
details.limit naming the parameter, its effective value, default and range,
instead of a fixed ceiling with no override. The binary file allowance and
the loader's fixed capacities are unchanged.

inspect_elf_notes and inspect_elf_debug_link refusals for max_file_bytes,
the decoded section-name budget and max_entries now set details.limit. One
domain-owned bounds object per operation feeds both the schema and the limit.

Two guards keep new in-code refusal limits owned:
- scripts/verify/fixed-ceilings.mjs (run by npm run lint) requires every
  fixedAllowanceOptions, fixedProducerInputAllowance,
  artifactFixedLimitFailure or inline fixedAllowance declaration to be
  listed in fixed-ceiling-registry.json with its class (format, protocol,
  representation, derived, forwarding, or pending with an issue) and reason,
  and fails on stale entries.
- The untyped-budget-refusal architecture guard counts refusals whose only
  recovery is an authored remediationAction, with a shrink-only baseline.

Fixes #14175
Part of #14234

BREAKING CHANGE: an inspect_il2cpp_metadata refusal at the ELF pointer index
reports reported_limits.boundary "virtual-pointer-index-bytes" and
details.limit for max_native_index_bytes, and no longer carries a
details.refusal fixed_ceiling.

* fix(limits): track IL2CPP's remaining fixed allowances with the native readers

* fix(limits): run the authored-only refusal count from lint, where TypeScript is installed

The architecture guards run before npm ci in CI and must stay
dependency-free, so the AST-based count moves into fixed-ceilings.mjs with
its own shrink-only baseline and --shrink-baselines.

* fix(limits): register producer and native wrapper ceilings by the allowance they name

fixedProducerInputAllowance names its allowance in its second argument, and
fixedNativeAllowance forwards its first, so the guard now reads each helper's
allowance argument and checks the callers of both.

* fix(limits): delete the authored-only baseline when its last count is removed

reconcileBaselineFile returns delete once no count remains, but the
verifier ignored it and the next run read the file unconditionally, so
--shrink-baselines could not finish. An absent baseline now reads as empty
and shrinking removes the file.

* fix(limits): record the advertised IL2CPP input schema with max_native_index_bytes
2026-11-23 23:37:23 -05:00
morluto 5f63d244e9 fix(release-exposure)!: omit checks that cannot apply to the detected formats (#14240)
* fix(release-exposure)!: omit checks that cannot apply to the detected formats

audit-release-exposure always returned all 15 checks. On a single PE it
reported Mach-O hardened runtime and the Android manifest as not_assessed,
and the four Electron fuse checks as not_applicable, each with a next probe
for another format. Agents following those probes would run Mach-O,
Android, or Electron tools on a Windows image.

The report now omits a check that cannot apply and names it in
coverage.inapplicable_checks. Applicability comes from the reader's format
facts: native image formats, the target kind, embedded package formats,
and whether a native image may have gone unread. A check stays whenever a
member it could apply to may be unread. checks and inapplicable_checks
always split the fixed table, in order, and the report schema enforces it.

On a public x64 SDL2.dll the JSON report drops from 10,451 to 6,256 bytes.

BREAKING CHANGE: release-exposure checks no longer use the not_applicable
status, and summary.by_status has no not_applicable count. A check that
cannot apply is absent from checks and listed in
coverage.inapplicable_checks.

Fixes #14163

* fix(release-exposure): keep format checks when a package may hold them

A selected executable that embeds a package, such as a .NET bundle or
PyInstaller archive, may store native images and other members that the
audit does not read. Applicability ignored those for executables, so a PE
bundle with a packaged Mach-O helper lost macho.hardened_runtime and its
inspect_signature probe.

Unread or packaged native images and embedded packages now keep the
Mach-O, native hardening and Android checks for every target kind. Direct
schema cases cover duplicate, overlapping, missing and reordered splits.

* fix(release-exposure): decide native applicability from unread members, not package presence

A fully read ASAR or other package with no native member regained native.hardening, macho.hardened_runtime and android.manifest, because any embedded package format counted as an unread member. Applicability now follows nativeImagesMayBeUnread, which already covers native images stored inside a package that went unread. Android stays limited to directory and file selections.
2026-11-24 03:29:27 +00:00
morluto 0a145c8423 fix(gpu)!: dispatch AMDGPU note metadata on the declared ELF ABI (#14244)
* fix(gpu)!: dispatch AMDGPU note metadata on the declared ELF ABI

inspect_gpu_code_objects read every AMDGPU ELF note under the HSA schema,
so a well-formed PAL-ABI code object was reported malformed ("no valid
kernel array") while the same object without metadata was unsupported.

The AMD ELF metadata owner now reads EI_OSABI once and selects the note
schema from it. HSA (64) keeps the existing kernel path. PAL (65) decodes
amdpal.pipelines into a new amd_pal_metadata object field during kernel
analysis: the version, and per pipeline its name, type, API, API shader
stages with their hardware mapping, and each hardware stage's entry point,
entry point symbol, SGPR/VGPR/AGPR counts, wavefront size, LDS and scratch
sizes. PAL register maps use unsigned integer keys, which the MessagePack
reader now admits for that schema only. Mesa3D (66) and unrecognized ABIs
are unsupported with their e_flags target and unexamined notes. Corrupt PAL
MessagePack or container shapes remain malformed.

BREAKING CHANGE: amd_target_metadata gains required os_abi and abi fields,
GPU objects gain a nullable amd_pal_metadata field, and PAL-ABI objects
report complete, partial or unsupported instead of malformed.

Fixes #14154

* chore(gpu): regenerate the inspect_gpu_code_objects advertised schema summary

The objects view fields selector derives from the GPU object schema, so the new amd_pal_metadata field changes the advertised input compact schema.

* fix(gpu): bound AMDGPU note expansion per code object and refuse binary maps

The decoded-value allowance is now shared across all of a code object's notes, so PAL pipeline facts expanded during discovery stay bounded. MessagePack binary values are no longer accepted as maps for PAL pipelines, stages or HSA kernel and argument rows.
2026-11-23 21:44:20 -05: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
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
fba6b6f9ae chore(deps): update MCP TypeScript SDK to 2.4.0 (#14129)
* chore(deps): update MCP TypeScript SDK to 2.4.0

Bump @modelcontextprotocol/server and @modelcontextprotocol/client (and core transitively) from 2.3.1 to 2.4.0, the current v2 release; the legacy @modelcontextprotocol/sdk package line (1.x) is not used. Regenerate package metadata. Notable upstream changes checked against REA usage: no x-mcp-header annotations are used, output schema ids are urn: URIs accepted by the new Ajv fast-uri, and REA does not unwrap structuredContent.result. The 2025-11-25 structuredContent wrapping change for meta-id output schemas is client-visible and noted for release notes.

Verified: check:fast, DeferredEvidenceMcpServer + toolOutputReferences suites (53 tests), deferredRuntime + serverLifecycleMcp boundary suites (41 tests), and a stdio initialize/tools/list probe on all profiles after a clean build.

* fix(contracts): keep compact output unions when the SDK stamps an object root

MCP SDK 2.4.0 treats a $ref union of objects as an object and stamps
type:object before tools/list. Compact reduction then dropped that union
and advertised an empty property bag. Reduce each alternative's root
shape instead, and advertise widened oneOf branches as anyOf so
overlapping branches still accept canonical results. guided_workflows
already declared that object root and had the same empty advertisement.

Refresh the advertised catalog summaries for guided_workflows,
read_guidance_section, and search_guidance.

* chore(licenses): refresh the MCP SDK 2.4.0 dependency inventory

Regenerate licenses/npm-dependencies.txt with the license inventory
script. Update the three runtime notice identities from the lockfile
after checking each 2.4.0 archive integrity and LICENSE text; those
license bodies are unchanged. The notice fingerprint matches the
generator.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-23 12:47:37 -05:00
morlutoandCursor Agent d72dc9d979 perf(contracts): prune only over-depth schema branches instead of reducing whole schemas (#14107)
* perf(contracts): prune only over-depth schema branches instead of reducing whole schemas

A schema whose inlined form exceeded the depth-10 advertised limit fell back to reduceToShallowProperties for the entire tool, erasing enums and nested validation on all root properties. pruneSchemaBeyondDepth now replaces only sub-schemas past the prune depth with type-preserving placeholders (every replacement widens acceptance, so canonical server-side validation is unchanged), and both input and output compaction keep the pruned form as inline when it fits bytes, depth and dialect checks. Two compactInputSchema tests that pinned depth-forces-reduction now pin the pruned-inline contract with the same Ajv/dialect safety assertions.

Refs #13302. Verified: compactInputSchema, compactOutputSchema, toolSchemaMetadata, advertisedInputExamples (59 tests), check:fast, docs:check.

* docs(contracts): refresh advertised schema summary for pruned-inline compaction

Pruned-inline schemas retain patterns (digest, Evidence id and text patterns) that whole-schema reduction dropped on 13 tools; regenerate the committed catalog summary with npm run verify:advertised-schemas -- --update-summary and re-verify clean.

* fix(contracts): make deep-schema pruning widening-safe

Walk schema positions instead of raw JSON, preserve declared integer types, keep branches that fit, return no pruned schema under not/oneOf where widening can reject valid values, and recheck output byte budgets. Add regression coverage for closed objects, unsafe combinators, fitting enums, and nullable integers; refresh advertised summaries.

* fix(contracts): keep untyped deep schemas unconstrained when pruned

Inferring object from properties or array from items narrows an untyped schema, which accepts every JSON value; the placeholder is now always unconstrained when no type is declared. Add an Ajv regression accepting null and nested values through a pruned untyped branch.

* test(contracts): assert pruned untyped schemas at depth 8

The regression accepted values that never reached the replaced node, so
it stayed green for an object placeholder and did not distinguish
branch pruning from whole-schema reduction. Assert the empty schema at
depth 8 and accept null there.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-23 12:42:55 -05:00
morluto e60777b76f perf(tests): supervise direct vitest scripts through run-exclusive on POSIX (#14104)
* perf(tests): supervise direct vitest scripts through run-exclusive on POSIX

test:run, test:with-build, test:boundary, test:mcp, test:acceptance, test:integration, test:coverage and test:verbose invoked vitest directly, so an interrupted run could orphan detached provider children outside the owned process group. They now go through scripts/run-vitest.mjs, which wraps Vitest in run-exclusive --unlocked on non-Windows platforms (mirroring run-development-tests.mjs) and invokes Vitest directly on Windows, where source tests must not require the built Job Object artifact. Watch and CI shard scripts are unchanged.

Refs #13357. Verified: launcher smoke run (4 tests passed), check:fast, knip.

* fix(tests): forward stop signals from the vitest launcher to its child

The launcher ignored SIGINT/SIGTERM when wrapped, so a signal sent only to its PID left Vitest and its descendants running. It now always forwards to the child (run-exclusive can only forward signals it receives itself) and reports the tracked signal's exit code (143/130) deterministically. Verified with a manual probe: SIGTERM to the launcher PID during a 60s fixture test exits 143 with the tree stopped; launcher smoke run passes. A nested-supervisor in-process test proved environmentally unstable (the inner Vitest main is killed under nested run-exclusive supervisors) and was not landed.
2026-11-23 12:06:28 -05:00
morluto 26d0bc7737 refactor(application): move AnalysisViewRetention to a light module and defer view loading in services (#14102)
* refactor(application): move AnalysisViewRetention to a light module and defer view loading in services

AnalysisViewRetention and requireAnalysisViewRetention moved from AnalysisViewService (which pulls the 1.3 MB analysis-view result graph) into AnalysisViewRetention.ts, which depends only on error and Evidence port types. All type-only consumers now import the light module. ApkSignature, Il2cpp and Reverse services load AnalysisViewService dynamically only on the detail=summary branch, and executeArtifactInspection checks retention readiness through the light module and loads the view service only after a successful inspection. No behavior or wire change.

Refs #13275, #13940. Verified: check:fast (typecheck, lint, architecture guards), 93 source tests (AnalysisViewService, Il2cpp, ApkSignature, Reverse), cliStartupImports 10/10 on pinned Node 24.22.1, knip clean. Remaining static importers (ArtifactComparisonEvidence, environment build/state, Frida sync inspectStatus, server bindings) still block a full chunk split and stay in #13275.

* fix(application): recheck cancellation after lazy view imports and guard static view links

An abort arriving while the dynamic AnalysisViewService import was pending still recorded and returned a successful summary. ArtifactInspectionExecution, ApkSignature, Il2cpp and Reverse now recheck the signal after the import (retaining the complete Evidence as the cancelled partial observation) before projecting. Add a counted architecture guard so static AnalysisViewService imports in application services cannot return silently; the baseline records only the known synchronous helpers and Frida path tracked in #14112.
2026-11-23 12:00:29 -05:00
caf5f4e38a fix(ci): use retry start times in PR health reporting (#14085)
* fix(ci): use retry start times in PR health reporting

* test: cover the reviewed CI boundary cases

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-23 10:00:09 -05:00
30b82493ab fix(ci): retain cache generations per restore version (#14084)
* fix(ci): retain cache generations per restore version

* test(ci): align inherited Mach-O assertion with main

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:59:53 -05:00
ShuaixinHuangandShuaixinHuang 9e24673620 fix(ci): trace test dependencies through static template imports (#14079)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:23:04 -05:00
ShuaixinHuangandShuaixinHuang bc19c8d21f fix(ci): bind timing evidence to its workflow attempt (#14080)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:20:55 -05: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 65ee0e80ab refactor(domain): compose cleanup dependencies through analysisErrorCleanup helpers (#14064)
* refactor(domain): compose cleanup dependencies through analysisErrorCleanup helpers

* fix(kuna): honor completed project cleanup when wrapping failures
2026-11-23 13:10:04 +00:00
morluto b2ae356f64 refactor(config): return Result from resolveKiloRegistrationWorktree (#14055)
* refactor(config): return Result from resolveKiloRegistrationWorktree

* test(config): cover Kilo worktree resolution results
2026-11-23 13:06:06 +00:00
morluto 15790f786f refactor(config): return Result for ConfigurationError in IdaConfiguration and KiloClientLocation (#14053)
* refactor(config): return Result for ConfigurationError in IdaConfiguration and KiloClientLocation

* fix(config): return Kilo file-probe failures through Result

kiloGlobalLocation returned inline-configuration failures as Result but kept
throwing the shared probe's ConfigurationError, and kiloLayeredLocation no
longer caught it: an unreadable Kilo folder rejected resolveSupportedClients
for every client instead of staying a Kilo row failure. Convert probe
failures at the same Result boundary and register the counted catch.

Validation: a new boundary test (regular file at Kilo's config root) fails
without the fix and passes with it; kiloClientLocation, clientLifecycle,
mcpAddClientLifecycle and registration catalog suites pass; check:fast
passes.

* fix(ida): preserve the size rejection when descriptor close fails

The 64 KiB rejection became a completed outcome holding a rejected Result,
so the cleanup-failure handler replaced it with generic close guidance.
Read the rejection from the completed outcome when composing the cleanup
error, covering both the admission and growth size checks. Restore the
close spy leaked by the existing denial test, which the new cases exposed.

Validation: a new it.each denies close after each size check, asserts the
64 KiB message plus retained-cleanup release, and fails without the fix;
the IdaConfiguration suite and check:fast pass.
2026-11-23 13:01:00 +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 ca26f2ac84 fix(analysis-view): read older UEFI extraction Evidence and drop filter-count ceilings
extract_uefi_firmware rows gained a required ffs_file, so extraction Evidence saved before that field failed to parse in retained views. The field is now optional when reading: the extractor still always records it, and an unrecorded owner matches no owner filter. UEFI view filters also capped each list at 64 values without a format, protocol or resource reason; overlapping filters cannot be split into separate requests without miscounting, so the cap is removed. MCP input-element admission still bounds every request.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev e617a55385 perf(uefi)!: summarize firmware extraction by default over MCP
A whole-image extraction of a 4 MiB OVMF image lists 560 files in about 553 KB of structured content, which exceeds client result limits. MCP extract_uefi_firmware now retains the complete manifest and returns its summary unless the caller passes detail complete. Targeted extractions fit in the summary's file preview. An optional view returns the first uefi-extraction page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every published file inline must pass detail: "complete" to extract_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
morluto 5817ebb288 fix(ci): close static-check cache gaps and prune stale settings (#14017)
* fix(ci): close static-check cache gaps and prune stale settings

* chore(ci): remove unused Actionlint runner label
2026-11-23 01:11:58 -05:00
morluto 4fdacbf982 fix(ci): track configuration inputs across cached checks (#14015) 2026-11-23 01:03:08 -05:00
morluto b565f787cb refactor(cli/server): break remaining module-layer cycles (#14013)
* refactor(cli,server): break remaining module-layer cycles

* fix(ci): follow relocated CLI entry points

* refactor: remove retired internal reader exports
2026-11-23 00:58:01 -05:00
morluto 88dfad5bb7 refactor: remove internal re-export shims and guard against new ones (#14009)
* refactor: remove internal re-export shims and guard against new ones

* fix(ci): catch namespace module re-exports
2026-11-23 00:47:47 -05:00
morluto a5d427a2d1 chore(guards): declare desktop build-computer entries and clear the entry baseline (#14011) 2026-11-23 00:43:38 -05:00
gensokyo-devandgensokyo-dev 11ac37a42f perf(uefi)!: summarize firmware inspection by default over MCP
A complete map of a 4 MiB OVMF image is about 514 KB of structured content, which exceeds client result limits. MCP inspect_uefi_firmware now retains the complete map and returns its summary unless the caller passes detail complete. An optional view returns the first uefi-firmware page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every volume, file and section inline must pass detail: "complete" to inspect_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
morluto 209bee0bf3 refactor(server): extract browser, Electron, and JavaScript runtime tool bindings (#13939)
* refactor(server): extract browser, Electron, and JavaScript runtime tool bindings

* test(ci): select browser checks for extracted bindings
2026-11-23 04:35:03 +00:00
morluto 7f939d7508 refactor(server): extract debugger and instrumentation tool bindings (#13909)
* refactor(server): extract debugger and instrumentation tool bindings

* test(server): track extracted debugger bindings in reverse tools coverage

* fix(cli): defer artifact AnalysisView loading until requested

(cherry picked from commit e58fda3f26)
2026-11-23 03:55:43 +00:00
morluto 6ce7f932bd perf(apk-signature): stream APK signature inspection over FileHandle (#13877)
* perf(apk-signature): stream APK signature inspection over FileHandle

* fix(apk-signature): preserve bounded reads and file identity

* fix(apk-signature): handle deflate EOF and repair verifier bounds

* fix(apk-signature): recognize internal pipeline cancellation at EOF
2026-11-23 03:18:38 +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 2cf600fc7f refactor(application): unify 5 pass-through analysis services into ProviderOperationService (#13856)
Closes #13855
2026-11-23 02:33:17 +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 cc5df28644 refactor: prune 5 redundant single-call wrapper modules (#13807)
* refactor: prune 5 redundant single-call wrapper modules

* chore(ci): remove deleted providerEnvironment.ts from Stryker and CI scope configs

* fix(ci): retarget provider environment mutation coverage
2026-11-23 02:25:46 +00: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 d0560b1b88 feat(tools): add optional max_depth and max_nodes bounds to get_call_graph and trace_call_path (#13828)
* feat(tools): add optional max_depth and max_nodes bounds to get_call_graph and trace_call_path

* fix(tools): preserve call graph depth warnings through cleanup
2026-11-22 20:53:25 -05:00
morluto 3843fb2dd0 refactor(composition): prune binaryDiagnostics re-export barrel and migrate callers (#13839)
Closes #13838
2026-11-22 20:41:11 -05:00
morluto f6a83f1fcf fix(contracts/mcp): collapse Evidence wire schemas, project type lists, preserve discover_tools guidance (#13752)
* fix(contracts/mcp): collapse Evidence wire schemas, project type lists, preserve discover_tools guidance

* fix(mcp): preserve borrowed Evidence arrays in advertised schemas

* fix(mcp): retain typed union constraints and clarify tool discovery

* test(mcp): refresh advertised schema summaries

* style(mcp): format compact schema tests
2026-11-22 20:23:50 -05:00
morluto c4be5b7065 refactor(artifacts): extract releaseExposureFailures from ReleaseExposureReader (#13739)
* refactor(artifacts): extract releaseExposureFailures from ReleaseExposureReader

* fix(artifacts): preserve release audit operation in errors

* style: format files with oxfmt
2026-11-22 20:23:07 -05:00
morluto 33061332ef refactor(native): extract NativeMacosErrorProjection from NativeMacOSProvider (#13741)
* refactor(native): extract NativeMacosErrorProjection from NativeMacOSProvider

* refactor(native): remove unused error projection imports
2026-11-22 19:39:55 -05:00
morluto 67388539e0 refactor(server): extract ErrorEvidenceTransport from EvidenceMcpServerCore (#13761)
* refactor(server): extract ErrorEvidenceTransport from EvidenceMcpServerCore

* refactor(mcp): drop unused error encoding import
2026-11-23 00:37:03 +00:00
morluto 8e619be40c refactor(setup): extract SupportedClientLocations from SupportedClients (#13731)
* refactor(setup): extract SupportedClientLocations from SupportedClients

* refactor(setup): remove clientProjectConfigurationPaths re-export

* refactor(setup): remove unused client location imports
2026-11-23 00:22:36 +00:00
morluto 7af28969ed refactor(ghidra): extract GhidraSessionErrorProjection from GhidraProviderClient (#13722)
* refactor(ghidra): extract GhidraSessionErrorProjection from GhidraProviderClient

* refactor(ghidra): remove unused error projection imports

* refactor(ghidra): remove guidance re-exports and import directly
2026-11-23 00:07:20 +00:00
Jaws 60dfeec745 fix(ci): read portable build plan from a file instead of a pipe (#13456)
* fix(ci): read portable build plan from a file instead of a pipe

Write the Turbo dry plan to .cache/ci-build-plan.json, then have key
and snapshot read that complete file by path. This removes the live
stdin pipe from the portable-build-cache plan step.

* fix(ci): clear stale portable build output when the plan file is missing

If readFile fails, still remove the previous key plan or snapshot so a
missing or unreadable input cannot leave stale output for later steps.
2026-11-22 15:51:20 -05:00
morluto 0eaea650c0 fix(evidence): reject unknown fields in comparison record pairs (#13523) 2026-11-22 17:56:50 +00:00
morluto 8688eb0195 perf(cli/mcp): eliminate eager JSON schema work, double projection, and O(N^2) error compaction (#13466)
* perf(cli/mcp): eliminate eager JSON schema work, double projection, and O(N^2) error compaction (#13464)

* test(mcp): cover reuse of the registration input schema projection
2026-11-22 16:42:37 +00:00
morluto 07df0f1c04 fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors (#13447)
* fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors

* style(tests): format POSIX observation polling

* fix(ci): pass REA_OXLINT_THREADS and GITHUB_ACTIONS through Turbo lint and format
2026-11-22 15:48:48 +00:00
morluto c60cf4e3b8 fix(wasm): report observed WABT diagnostic bytes (#13436)
* test(wasm): verify auxiliary paths in real WABT CLI parity

* fix(wasm): report observed WABT diagnostic bytes
2026-11-22 09:35:41 -05:00