Commit Graph
8372 Commits
Author SHA1 Message Date
highmachsandVincent Koc 16a1fc17c6 fix(artifacts): normalize Godot PCK member paths for extraction (#8810)
* fix(artifacts): normalize Godot PCK member paths for extraction

* fix(artifacts): consume combined prefix segments in Godot PCK paths

* fix(artifacts): narrow root path check to complete slash-separated segments

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 22:56:03 +08:00
ThejeshandVincent Koc aeca62b117 fix(javascript): recover webpack chunks with array module tables (#13829)
* fix(javascript): recover webpack chunks with array module tables

Webpack writes a chunk's module table as a sparse array when numeric
module ids are dense (webpack 5 moduleIds natural/size, webpack 4
production builds), and webpack 4 registers chunks on webpackJsonp.
Chunk registration accepted only object tables and *Chunk* globals, so
these chunks recovered no modules while coverage stayed complete.

Read object, sparse-array and Array(n).concat([...]) tables through one
moduleTableEntries helper (index plus offset is the module id) and
recognize webpackJsonp as a chunk runtime.

* fix(javascript): mark webpackJsonp chunks as webpack vendor

A minified webpack 4 chunk whose factories never spell
__webpack_require__ now yields a webpackJsonp registration with
bundler "webpack", but detectVendors matched only __webpack_require__
and webpackChunk, so the same file reported no webpack vendor and the
artifact graph's vendor_markers stayed empty.

Add webpackJsonp to the webpack vendor markers, next to webpackChunk,
so the marker and the chunk-runtime classification agree. This also
covers the not-examined path, which reports vendors without
registrations.

* fix(javascript): validate intrinsic array module table offsets

* fix(javascript): guard inherited array slots in table recovery

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 22:52:55 +08:00
ShuaixinHuangandVincent Koc bd6ff678c4 feat(artifacts): inventory standalone Unix ar archives offline (#15224)
* feat(artifacts): inventory standalone Unix ar archives offline

* test(artifacts): align standalone ar assertions and comparison docs

* fix(artifacts): preserve ar names, admission and permission uncertainty

* chore(contracts): refresh ar admission schema summaries

* fix(artifacts): handle GNU thin references and exact name budgets

* perf(artifacts): cache ar name-table observations

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 22:46:35 +08:00
clyde 490461938b fix(update): drain output after progress destination closes (#4894)
* fix(update): bound package-manager output collection

* fix(update): drain output after progress destination closes

* test(update): use shared progress test deadlines
2026-11-30 22:35:24 +08:00
Adolanium 9d5c5f687d fix(process): accept legal characters in Windows batch paths (#15128)
* fix(process): quote Windows batch operators cmd.exe keeps literal

cmd.exe with delayed expansion off keeps & | < > ( ) ^ ! literal inside quotes. Empty tokens and %name% spans are still refused, including when that name is unset, because the child environment can define it.

* fix(process): report a refused batch path as invalid configuration

A percent expansion or an unusable COMSPEC is configuration_invalid. Packet capture does not append the Wireshark install remediation, and an apktool decode does not report a capability gap.

* fix(process): refuse percent spans joined across batch tokens

cmd.exe expands a percent span on the joined command line. Tokens that
are legal alone are refused when joining them forms a span. The spawn
regression kills its child if that child is still running after 10 seconds.

* test(process): include the Windows batch regression in CI

The curated Windows lane now runs WindowsBatchCommand.test.ts.

* fix(domain): preserve a configuration error's caller message

ConfigurationError accepted userMessage and dropped it, so the public
projection replaced the caller text with the generic doctor sentence.
The constructor now stores that message.

* fix(pcap): keep a batch refusal in the public configuration message

A Windows batch refusal stays in the configuration error the caller
sees, including the refused path and the percent-expansion reason.

* fix(apktool): report a decode batch refusal as invalid configuration

Inspection still reports not_configured. Decoding reports
configuration_invalid and names the launcher that cmd.exe cannot receive.
A percent span that appears only after the quoted tokens are joined is
refused the same way.

* test(process): own the Windows batch regression in the package lane

The curated Windows job already runs WindowsBatchCommand.test.ts. The package scope did not name that file, so the lane ownership check reported it as unowned.
2026-11-30 22:28:54 +08:00
Lucien b0a910b8f4 fix(update): report Frida native module readiness (#7216)
fix(update): report Frida readiness after verified updates
2026-11-30 22:26:52 +08:00
ShuaixinHuang d99b51051c perf(evidence): use ledger lookups for exact record selection (#15221)
* perf(evidence): use ledger lookups for exact record selection

* fix(evidence): document the exact-page request default
2026-11-30 22:00:50 +08:00
ShuaixinHuang 710ce86d23 fix(analysis-view): fit qlog fact pages to byte budget (#15228) 2026-11-30 21:56:48 +08:00
ShuaixinHuang 2253954eee fix(analysis-view): fit pcap fact pages to byte budget (#15226) 2026-11-30 21:56:42 +08:00
54a700e18c fix(ghidra): use host transport defaults for direct clients (#6410)
* fix(tests): make three Windows-failing tests pass and give the Ghidra transport one owner

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* test(ghidra): cover the per-platform default bridge transport

defaultGhidraTransport had no direct test. Pins authenticated loopback TCP on win32 and a Unix socket on linux and darwin.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(ghidra): retain Windows transport boundary coverage

* test(ghidra): align Java fixtures with their host platform

* ci(ghidra): verify transport and byte search on Windows

* test(ghidra): keep Windows probes in the existing test process

* fix(ghidra): await complete Windows endpoint publication

* test(ghidra): use owned child identities for Windows fixtures

* ci(ghidra): own the Windows transport regression inputs

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 21:51:57 +08:00
Vincent Koc 220374038b fix(ghidra): explain Windows P0 database edit limits (#15225)
* fix(ghidra): explain Windows P0 database edit limits

Fixes #15153.

* test(ghidra): narrow unavailable capability before checking recovery

* test(ghidra): distinguish mutation guidance from readiness repair
2026-11-30 20:59:49 +08:00
e9a6324a1c test(javascript): prove receiver ownership by source location (#15227)
* fix(javascript): scope candidate this event receivers

Preserve lexical receiver scopes and possible local inheritance links without asserting runtime this identity. Keep decorator evaluation outside method receiver and callable boundaries.

Fixes #3360

AI-assisted implementation and verification with OpenAI Codex; human PR ownership and readiness remain unfilled.

* fix(javascript): retain receivers through type wrappers

Reuse the canonical expression normalizer to preserve object function receiver identity through transparent wrappers. Keep arrows, computed keys and non-transparent expressions separate. AI-assisted implementation and verification with OpenAI Codex.

* fix(javascript): retain enclosing receivers for computed keys

Apply the existing computed-method-key evaluation boundary before non-arrow receiver selection. Cover object method keys and bodies through semantic IR and CLI/MCP regressions.

* test(javascript): verify class receiver links by source location

* test(javascript): prove computed receiver boundaries by source

---------

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: 星闌 <Xinglan233@163.com>
Co-authored-by: 星闌 <130824939+Xinglan233@users.noreply.github.com>
2026-11-30 20:42:41 +08:00
星闌andCodex 17940852ed fix(javascript): scope candidate this event receivers (#4656)
* fix(javascript): scope candidate this event receivers

Preserve lexical receiver scopes and possible local inheritance links without asserting runtime this identity. Keep decorator evaluation outside method receiver and callable boundaries.

Fixes #3360

AI-assisted implementation and verification with OpenAI Codex; human PR ownership and readiness remain unfilled.

* fix(javascript): retain receivers through type wrappers

Reuse the canonical expression normalizer to preserve object function receiver identity through transparent wrappers. Keep arrows, computed keys and non-transparent expressions separate. AI-assisted implementation and verification with OpenAI Codex.

* fix(javascript): retain enclosing receivers for computed keys

Apply the existing computed-method-key evaluation boundary before non-arrow receiver selection. Cover object method keys and bodies through semantic IR and CLI/MCP regressions.

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-30 20:36:33 +08:00
AfloatandVincent Koc 7dc0356531 fix(native): honor cancellation during PE alias expansion (#9063)
* fix(native): honor cancellation while parsing exports

Advance export parsing at its cooperative checkpoints so queued cancellation is observed before publishing a complete inventory. Preserve the exact caller abort reason and the existing resource owner.

Add matching checkpoints to PE name, address and alias traversal, with real-byte regression coverage for ELF symbols, GNU version records and PE tables.

* test(setup): retain a valid lowercase Kimi schema profile

Use the supported compact profile in the Windows environment-spelling regression. Keep the exact environment assertion so a duplicate uppercase key still fails, and retain separate coverage rejecting the removed full profile.

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 20:35:37 +08:00
AfloatandVincent Koc 748537728f fix(audit): preserve env shebang argument ownership (#14075)
* fix(audit): preserve env shebang argument ownership

* fix(config): consume env argv0 operands in shebangs

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 20:25:42 +08:00
2SinceJuly aea385cda1 feat(evtx): inventory Windows event log records offline
Inventory EVTX file, chunk and record headers with source-scoped identities, full timestamp precision and explicit partial coverage. Discover the reader from first-contact inspection.

Refs #9174.
2026-11-30 20:25:14 +08:00
ABHISHEK KR. SHARMA aeea7c25ed fix(hopper): clarify publisher verification failures
Clarify publisher hash mismatch and preserve other verification failure causes. Include the selected release and launcher override recovery.

Refs #5245.
2026-11-30 20:12:29 +08:00
ShuaixinHuang 913406fcf8 fix(analysis-view): keep PTX text pages on Unicode boundaries (#15222) 2026-11-30 20:03:26 +08:00
ChiragandVincent Koc d840860bd7 feat(mcp): advertise each tool's family in tools/list _meta (#7154)
* feat(mcp): advertise each tool's family in tools/list _meta

Clients that index a large catalog lazily had to guess each REA tool's
group from its name. Every tools/list entry now carries the contract's
adapter family under the vendor-prefixed _meta key
"io.github.morluto/rea", attached once at the contract-to-registration
boundary. The recorded catalog replays it unchanged on the deferred path.

No tool is hidden or renamed and input schemas are unchanged.

Closes #6870

* refactor(mcp): advertise the selectable family id in tools/list _meta

Since #7228 the contract-owned family inventory gives every tool one
selectable id, the vocabulary REA_MCP_TOOL_FAMILIES accepts. Advertise
that id instead of the adapter kind so clients can map an advertised tool
back to the scope that enables it.

* fix(mcp): omit family metadata for contracts outside the inventory

Renamed test fixtures have no published family; advertise nothing for
them instead of throwing. Drop the docs claim that a family move changes
the catalog digest, since the digest hashes the adapter kind.

* docs(mcp): scope family _meta promise to domain tools; pin catalog env in test

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:58:25 +08:00
ShuaixinHuangandVincent Koc 5f15fdf457 perf(evidence): inspect retained records without building a bundle (#15219)
* perf(evidence): inspect retained records without building a bundle

* perf(evidence): reuse ordered inspection records across pages

* docs(evidence): clarify sealed inspection records

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:43:40 +08:00
SandivandVincent Koc f5055cd2ed fix(process): report denied inspection as typed cleanup failures (#9261)
* fix(process): report denied inspection as typed cleanup failures

Preserve the native ps diagnostic through owned-worker cleanup and finalize one-shot JavaScript analysis before Evidence delivery. Retain mandatory inspection and existing cleanup authority.

Preserve the inspector diagnostic when the initial process-table read succeeds but pre-signal revalidation fails, and remove the unreachable typed-error branch so retained artifact retry failures project through the existing cleanup contract.

* fix(resources): preserve independent close failure ownership

* fix(cli): retain cleanup recovery and nested close evidence

* refactor(providers): classify rejected closes at the shared boundary

* test(cli): preserve bundle metadata and physical inspection failures

* fix(cli): preserve the JavaScript failure envelope after finalization

* test(cli): validate the JavaScript error envelope at its boundary

* fix(providers): preserve unnamed close failure resources

* fix(cli): retain invocation owners through outer cleanup

* test(cli): distinguish reported cleanup failures from uncaught errors

* fix(cli): compose each runtime’s declared cleanup owners

* test(cli): preserve the original cleanup rejection

* test(cli): allow cleanup retry recovery after a reported failure

* fix(cli): report final cleanup after returned results

* fix(cli): preserve launcher executable mode

* test(cli): retain invocation cleanup in file sessions

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:38:45 +08:00
ShuaixinHuangandVincent Koc 891a999a12 perf(mcp): complete retained Evidence without rebuilding bundles (#15210)
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:33:39 +08:00
d0694fb5b7 fix(agentenv): stop dry-run tarball reads on cancellation (#15205)
* fix(agentenv): stop dry-run tarball reads on cancellation

* fix(agentenv): retain tarball cancellation when close fails

* fix(filesystem): retain cancellation during cleanup retry

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:31:47 +08:00
6af7a04dd9 perf(png): reuse scanline storage in screenshot comparisons (#15215)
perf(png): reuse inflated scanline storage in screenshot comparisons

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:25:10 +08:00
acce96912d fix(javascript): respect Node HTTP path validation (#9684)
* fix(javascript): reject an http path Node refuses at the call site

`http.request` and `https.request` validate `options.path` before they build the request, so
a literal carrying an unescaped character throws `ERR_UNESCAPED_CHARACTERS` from the call
itself and no request exists. The analysis reported one anyway.

The accepted set was measured rather than guessed: every ASCII code point was placed inside
a literal path on Node 24.22.1 and exactly `0x00`-`0x20` are refused while `0x21`-`0x7f` are
accepted. That makes it a closed range, not a list of known-bad characters, and three
consequences follow that a hand-written list would get wrong:

| `options.path` | outcome |
| --- | --- |
| `"/a b"`, `" "`, `"\t"`, `"\n"`, `"\u0000"` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `"/a%20b"` | request constructed — the escape is what the literal above should have been |
| `"/aéb"` | request constructed — non-ASCII is inside the accepted range |
| `""` | request constructed — Node reads it as "not given" and falls back to `/` |

`fetch` reads a different member and validates no path. A spread argument or a binding leaves
the answer to the runtime, the same rule the sibling overload-slot readers use.

14 cases, 7 failing before this commit. `src/domain/javascript`: 5372 to 5386 passing.
`tsc` reports only the pre-existing `adbCommands.ts` duplicate `packageName`, which `main`
already has and `#9677`/`#9678` fix.

* fix(javascript): bound the accepted http path range at Latin-1

A reviewer caught that my "non-ASCII is accepted" claim was not established: I had probed
ASCII plus `U+00E9` and generalised from two data points. Probing the upper bound on Node
24.22.1 shows the accepted range is exactly `U+0021`-`U+00FF`:

| `options.path` | outcome |
| --- | --- |
| `U+007F`, `U+00A0`, `U+00E9`, `U+00FF` | request constructed |
| `U+0100`, `U+1000`, `U+4E00`, `U+2028`, `U+1F600`, `U+10FFFF` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `0x00`-`0x20` | THREW `ERR_UNESCAPED_CHARACTERS` |

So the rule is a closed **Latin-1** range, not ASCII and not a list of known-bad characters.
`path: "/aĀb"` throws, and the previous regex emitted a request for it.

`/[^\u0021-\u00ff]/u` is the range, and four above-Latin-1 cases plus three inside-Latin-1
controls now pin both ends. 21 cases; reverting the pattern fails the new upper-bound cases.
`src/domain/javascript`: 5400 passing.

* fix(javascript): restrict the spread bailout to the options slot

A reviewer caught that the spread bailout was too wide. Expanding a later argument cannot
change an object Node already picked, so the call still throws:

| call | Node 24.22.1 |
| --- | --- |
| `http.request({path: "/a b"}, ...callbacks)` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `http.request("http://h/", {path: "/a b"}, ...callbacks)` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `http.request(...[{host}], {path: "/a b"})` | THREW `ERR_INVALID_ARG_TYPE` — the spread decides slot 0 |

Only a spread at or before the options slot can move it, so the loop now checks just those
indices. The previous version kept a request for either of the first two calls.

24 cases; reverting the loop to the blanket bailout fails 2 of them.
`src/domain/javascript`: 5407 to 5410 passing.

* fix(javascript): read slot 1 only for a proven url overload

A non-object first argument is the options slot only for Node's `(url, options)` overload.
Measured on Node 24.22.1, `http.request(() => {}, {path: "/a b"})` builds a request to `/`,
because `ClientRequest` reads the function as the callback and replaces options with
defaults — the second object is never read. The previous version read that object and dropped
a real request.

`optionsIndex` now requires a string, a no-substitution template or `new URL` before it looks
at slot 1; anything else is unresolved and keeps the request. Both directions are covered:
`http.request("/x", {path: "/a b"})` and `http.request(new URL("http://h/"), {path: "/a b"})`
still throw, so the URL overload is not weakened.

3 cases added; `src/domain/javascript`: 5410 passing.

* fix(javascript): verify the URL constructor before reading the options slot

A review finding, measured on Node 24.22.1. The `new URL` arm tested the callee by name:

| call | outcome |
| --- | --- |
| `const URL = Function; http.request(new URL(), {path: "/a b"})` | default `/` request — slot 0 is a function, so it is the callback |
| `http.request(new URL("http://h/"), {path: "/a b"})` | THREW `ERR_UNESCAPED_CHARACTERS` |

`isUnmodifiedGlobalReference(callee, state, "URL")` replaces the name test, so a replaced
`URL` no longer proves the `(url, options)` overload. `rejectsHttpPathLiteral` takes the
analysis state for that, which is the same guard the file already uses for `JSON.parse`.

`src/domain/javascript`: 5413 passing.

* fix(javascript): let an earlier getter decide the path

A review finding, measured on Node 24.22.1. `ClientRequest` copies the options with
`Object.assign`, so a getter enumerated before `path` runs first and can rewrite the value that
is then validated:

| call | outcome |
| --- | --- |
| `{get agent() { this.path = "/ok"; return undefined; }, path: "/a b"}` | request constructed |
| `{path: "/a b", get agent() { this.path = "/ok"; }}` | THREW `ERR_UNESCAPED_CHARACTERS` |

`optionGetterPrecedesMember` compares enumeration order rather than source order, because
`Object.assign` does not follow the source: an ECMAScript array index comes first and a redefined
key keeps its first insertion position while its descriptor comes from the last write.

Note for merge order: #9683 carries the same ordering rule for `options.method` on this file. If
that lands first, `methodGetterPrecedesMember` and this helper are the same function and should be
collapsed into one.

`src/domain/javascript`: 5422 passing. Reverting the reader fails 2 of the new cases.

* fix(javascript): walk a statically inert options spread

A review finding, measured on Node 24.22.1. An object-literal spread materializes its own keys as
data properties at its position, so it neither hides the member nor adds a getter:

| call | outcome |
| --- | --- |
| `http.request({...{host: "h"}, path: "/a b"})` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `http.request({...{path: "/a b"}, host: "h"})` | THREW |
| `http.request({...{}, path: "/a b"})` | THREW |
| `http.request({...{get x() {}}, path: "/a b"})` | request constructed — the getter runs |

The order model skipped every spread and bailed out, so the first three kept a request Node never
creates. It now walks an object-literal spread: each entry takes the spread's position, a getter
inside the spread still bails, and a spread this reader cannot expand keeps the request.

The other finding on this PR — an own `__proto__` data key before `path` — does not reproduce.
`Object.assign({}, options)` does run the setter, but `http.request` validates the literal before
that copy:

| call | Node 24.22.1 |
| --- | --- |
| `http.request({["__proto__"]: {set path(_) {}}, path: "/a b"})` | THREW `ERR_UNESCAPED_CHARACTERS`, setter never called |
| `const c = Object.assign({}, {...}); http.request(c)` | OK — the setter consumed the path |

So the existing rejection is correct for the call shape this reader sees, and only a
pre-copied object changes the answer. I have replied on that thread with the reproduction
rather than changing the reader.

`src/domain/javascript`: 5660 passing.

* fix(javascript): give a spread member its own insertion position

A review finding, measured on Node 24.22.1. Every key a spread contributed was recorded at the
spread's outer index, so a key redefined later lost the position it kept at runtime:

`http.request({...{agent: null, path: "/a b"}, get agent() { this.path = "/ok"; return false; }})`
constructs a request, because `agent` takes the spread's position, the redefinition keeps it, and
the getter therefore runs before `path` is copied.

Positions are a running counter now, advanced for each contributed key, so a spread's members keep
their order relative to each other and to the members written after the spread.

`src/domain/javascript`: 5673 passing.

* fix(javascript): keep a getter a later setter does not remove

A review finding, measured on Node 24.22.1. An object literal merges `get x` and `set x` into one
accessor descriptor, so a later `set` entry does not take the getter away:

`http.request({get agent() { this.path = "/ok"; }, path: "/a b", set agent(_) {}})`
constructs a request, because the getter still runs before `path` is copied.

The order model kept only the last node per key, so the `set` entry replaced the `get` and the
getter disappeared from the scan. Getter keys are accumulated separately now, so a paired setter
cannot erase one.

`src/domain/javascript`: 5666 passing.

* fix(javascript): clear a getter fact a data property replaces

A review finding, measured on Node 24.22.1. A key's descriptor is whatever the literal leaves
there, so a later data entry removes the getter that an earlier one installed:

| call | outcome |
| --- | --- |
| `http.request({get agent() { this.path = "/ok"; }, path: "/a b"})` | request constructed |
| `http.request({get agent() { this.path = "/ok"; }, path: "/a b", agent: null})` | THREW `ERR_UNESCAPED_CHARACTERS` |
| `http.request({get agent() { this.path = "/ok"; }, path: "/a b", set agent(_) {}})` | request constructed |

The getter set only grew, so a redefinition left a fact that no longer held and emitted a phantom
request. A data entry clears the key now; a setter does not, because `get x` and `set x` merge into
one accessor descriptor instead of replacing each other.

`src/domain/javascript`: 5667 passing.

* fix(javascript): keep a request when a computed key could hold a getter's position

* fix(javascript): skip a spread's prototype setter so an outer getter's fact survives

* fix(javascript): retain effective option descriptors

* fix(javascript): follow Node request option evaluation

* test(javascript): expect known invalid copied methods

* test(javascript): distinguish global effect activations

---------

Co-authored-by: 吴佳浩 <wujiahao@supremind.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:19:02 +08:00
608378c311 fix(windows): reject native addons with unusable delay-import tables (#15216)
* fix: deepen verified coverage for PR #14258

* fix(windows): recognize GNU delay-import terminator placement

* fix(windows): validate complete delay-import address tables

* fix(windows): validate delay-load descriptor targets

* fix(windows): validate delay-import function names

* fix(windows): bound delay imports to the dedicated IAT section

* test(windows): cover delay-import verifier refusals

* test(windows): cover nonzero delay-import padding

* fix(windows): require readable delay-import descriptors

* test(windows): accept read-only delay import names

* fix(windows): validate initial delay loader state

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:18:16 +08:00
a5aee4f9e9 feat(artifacts): inventory Android super image metadata (#14928)
* feat(artifacts): inventory Android super image metadata

Refs #14391

* fix(artifacts): preserve partial Android super metadata evidence

* fix(artifacts): recognize Android super PE overlays

Refs #14928

* fix(artifacts): reject an Android super device with no usable sector

A first usable sector at the device size was accepted, so extent checks
reported a different field. Keep stored copy failures to malformed,
truncated, and unsupported now that format failures include unrecognized.

* fix(artifacts): preserve Android super partial evidence on budget exhaustion

* fix(mcp): preserve existing provider partial observation contracts

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-30 06:15:43 -05:00
Vincent Koc 8f3878cc11 fix(paths): reject dotted console device names for portability (#15220)
fix(paths): keep console device extensions nonportable
2026-11-30 19:11:22 +08:00
ShuaixinHuang 81657ccede fix(analysis-view): return continuation for GPU pages at the byte limit (#15206)
* fix(analysis-view): return continuation for GPU pages at the byte limit

* test(analysis-view): admit GPU pagination requests through the schema

* fix(analysis-view): reuse shared byte-bounded GPU pagination
2026-11-30 19:09:46 +08:00
HolyDEEW 6ec105be6d fix(screenshots): report the PNG comparison memory allowance (#15217)
* fix(screenshots): report the PNG comparison memory allowance

* style(screenshots): format memory allowance assertion
2026-11-30 19:08:39 +08:00
Saim ShafiqueandVincent Koc 60de294646 fix(process): compare Windows server paths by native realpath (#15044)
* fix(process): compare Windows server paths by native realpath

compareServerPaths returned mismatch for every non-equal Windows path,
so case, separator, 8.3, and junction spellings of the running server
were reported as registration_path_mismatch. Compare native realpaths
on Windows, matching registration identity: a different existing file
still mismatches and an unresolvable path stays unknown.

* test(process): run the server path identity regression on Windows

The injected win32 platform only selects the comparison branch; on
the Linux source-test host realpathSync.native still uses POSIX
rules, so Windows letter case, separators, and junction behavior
were unverified. Add Windows-only spelling cases beside the portable
regression and include the file in the curated Windows lane, with
the lane guard asserting it stays there.

* ci(windows): own the server identity regression in the package lane

The Windows lane now runs serverIdentity.test.ts, so the package scope
must own that path for the native-host lane ownership check.

* docs(process): clarify server path comparison authority

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:05:38 +08:00
ShuaixinHuangandShuaixinHuang 78c6d4c5a8 fix(firmware): recheck decoded member source on completion (#15211)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 19:01:02 +08:00
hhangandhhang d6c767b3f8 fix(artifacts): check signed BC4 and BC5 DDS payload extents (#15208)
fix(artifacts): verify legacy signed BC4 and BC5 DDS payload extents

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 18:54:30 +08:00
hhangandhhang 177e26effb fix(artifacts): bound embedded GLB images by the declared buffer length (#15207)
fix(artifacts): bound GLB embedded images by their declared buffer

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 18:54:08 +08:00
HolyDEEWandVincent Koc 4ca43e2cb2 fix(paths): reject Windows console device names (#14972)
* fix(paths): reject Windows console device names

* fix(paths): restrict console-device names to exact matches

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 18:22:12 +08:00
ShuaixinHuang 7f7d34ad7c fix(artifacts): classify member presence from the absent side coverage (#15200) 2026-11-30 18:08:39 +08:00
2f01f653ce fix(tar): account for retained pax owner names (#15195)
* fix(tar): account for retained pax owner names

* test(tar): cover retained names across global replacements

* test(tar): narrow owner metadata to its format

* test(tar): use the measured retained metadata boundary

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 18:06:03 +08:00
ShuaixinHuangandShuaixinHuang c73940aa72 fix(nds): report unreachable file name directories (#15192)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 17:58:29 +08:00
Vincent Koc 22511ed8c4 refactor(firmware): share admitted-file decoder buffering (#15198) 2026-11-30 09:56:04 +00:00
Dery FerdikaandVincent Koc a4f584f4a8 fix(binary): carry the runtime refusal's repair instruction in remediation (#14123)
* fix(binary): carry the runtime refusal's repair instruction in remediation

CapabilityAvailability documents reason as the refusal and remediation as the
recovery instruction from the owner that made the operation unavailable. The
runtime overlay folded the recovery sentence into reason and stripped any
declared remediation, so a capability refused at runtime reported no repair path
while a statically refused one did.

Keep the observed reason and the owner's remediation as separate facts through
the runtime availability projection and the status overlay.

* fix(runtime): retain complete refusal ownership in sibling reports

* fix(runtime): retain provider-owned refusal remediation

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:55:39 +08:00
HolyDEEW b5ff2dece2 fix(agentenv): reject COM0 and LPT0 bundle names (#14971)
* fix(agentenv): reject COM0 and LPT0 bundle names

* fix(agentenv): share Windows device-name rules and clarify refusals

* test(agentenv): cover both device-name recovery ranges

* fix(agentenv): describe reserved task names and format validator
2026-11-30 17:50:52 +08:00
Vincent Koc 6aa231d20f test(environment): share the loopback capture fixture (#15196) 2026-11-30 09:50:21 +00:00
Afloat 901d9a188e perf(png): reconstruct scanlines with one filter dispatch (#11818)
perf(png): dispatch reconstruction filters once per scanline
2026-11-30 17:50:17 +08:00
ShuaixinHuangandShuaixinHuang 358e4e52ad feat(iso9660): stream files across separated extents (#15190)
* feat(iso9660): stream files across separated extents

* test(iso9660): compare extracted buffers directly

* fix(iso9660): keep separated read plans private

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 17:50:09 +08:00
hhangandhhang 525b766213 perf(apple): build only the requested asset catalog page (#14032)
Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 17:49:27 +08:00
ShuaixinHuang aa01be1d0d perf(artifacts): isolate offline session composition from deep providers (#15194)
* perf(artifacts): isolate offline session composition from deep providers

* test(mcp): use the artifact session factory in bundle resource tests
2026-11-30 17:48:15 +08:00
ShuaixinHuangandShuaixinHuang 62a4ac4a1c perf(evidence): bound investigation closure worklist by depth (#15193)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 17:44:12 +08:00
ShuaixinHuangandShuaixinHuang 291081729c perf(audit): avoid copying complete log lines (#15184)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 17:42:25 +08:00
Saim ShafiqueandVincent Koc 31cec30f51 fix(android): declare Android mapping and JNI fixed allowances (#15183)
* fix(android): declare Android mapping and JNI fixed allowances

* fix(android): avoid ineffective JNI allowance recovery advice

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:38:39 +08:00
ad7d590ecd fix(artifacts): retain deep comparison source chains (#15191)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:35:00 +08:00