Commit Graph
10847 Commits
Author SHA1 Message Date
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
Vincent Koc c12177ce0d perf(ci): confirm test-only macOS selection on Linux (#15203)
* perf(ci): confirm test-only macOS selection on Linux

* fix(ci): keep explicit Apple scope in job admission

* perf(ci): publish the build cache only for confirmed consumers
2026-11-30 18:51:07 +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
Dery FerdikaandVincent Koc 81384ecfdc fix(conformance): validate paired fixture count expectations (#14125)
* fix(conformance): refuse a fixture that declares half of a count pair

A counted expectation is a pair: the prefix selects the records and the count is
what the verifier binds to the source. Admission accepted either half, and
verifyCount returned silently when one was missing, so a fixture could declare
the invariant and never have it checked while verify:fixtures still reported
the fixture as verified.

Require both members in parseConformanceFixtureManifest and treat a half pair
at verification time as a producer defect instead of skipping the count.

* fix(fixtures): validate counted expectation types

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 18:01:46 +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
Vincent Koc 0460fb757a test(mcp): share server result readers (#15174) 2026-11-30 17:40:15 +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
ba90eb2255 perf(evidence): bound link inspection frontier by records (#15189)
* perf(evidence): bound link inspection frontier by records

* test(evidence): cover reconvergent closure pagination

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:22:19 +08:00
ea9dad0039 perf(evidence): retain snapshots across duplicate imports (#15186)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:20:54 +08:00
c91c504089 fix(nro): exclude ASET header bytes from asset ranges (#15185)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:11:44 +08:00
6ea03cd5c3 fix(bflt): reject relocation tables overlapping image segments (#15188)
* fix(bflt): reject relocation ranges before data

* docs(bflt): clarify unavailable relocation counts

* fix(bflt): reject relocation tables overlapping initialized data

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:04:19 +08:00
Vincent Koc 11c8de1bc1 docs(artifacts): document Kubernetes audit log inventory (#15187)
docs(artifacts): explain Kubernetes audit log inventory
2026-11-30 16:51:06 +08:00
5c3c1edd72 fix(dtbo): keep coverage unknown beyond the declared image (#15182)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:47:52 +08:00
2b1f078f4d perf(n64): stream ROM byte-order normalization (#15179)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:46:22 +08:00
e98a1e66ef fix(oci)!: keep unobserved directory identity unknown (#15164)
* fix(oci)!: keep unobserved directory identity unknown

BREAKING CHANGE: OCI layout Evidence now reports an unknown subject. The selected path and layout-document snapshot digest are available in normalized_result.artifact.

* fix(evidence): keep desktop directory content identity unknown

* fix(evidence): admit legacy desktop directory subjects

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:42:34 +08:00
6053481d47 fix(nds): bind file names to disjoint FNT subtables (#15178)
* fix(nds): bind file names to disjoint FNT subtables

* test(nds): cover FNT subtable boundaries and recovery

* fix(nds): retain reached directories with unusable names

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:29:51 +08:00
e9d024af77 fix(glb): preserve JSON chunk read failures (#15181)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:28:35 +08:00
91380cff6a fix(ci): run npm lifecycle hooks in selected host lanes (#15169)
* fix(ci): run npm lifecycle hooks in selected host lanes

* fix(ci): avoid nested lifecycle hooks in host lanes

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:19:02 +08:00
c86e86d697 fix(artifacts): retain stored files in Godot PCK patches (#15180)
* fix(artifacts): retain stored files in Godot PCK patches

* docs(godot): distinguish stored member flags from removals

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:12:48 +08:00
92c61a7c61 fix(setup): do not persist versioned launcher paths (#15123)
* fix(setup): do not persist versioned launcher paths

A command saved from nvm, Volta, Homebrew Cellar, mise, or a package cache stops launching after an upgrade or prune, and doctor then treats that registration as foreign.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): recognize default nvm installation layouts

The usual POSIX install is ~/.nvm/versions/node, and nvm-windows stores each release in nvm\v<version>. Both were still saved, and the launcher guide still told setup to keep a cache path.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep durable Windows and mise launcher paths

Default Windows Volta and pnpm dlx stores were still persisted, and mise's stable latest alias was dropped before the Aube launcher could use it.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep a mise shim when Node itself is versioned

A versioned running runtime was rejected before a durable Node alias could be selected, and fnm's installed tree was still saved. Doctor now tells version-manager and package-cache paths apart from a session directory.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): reject versioned aube store targets and align install routes

Reject version-tagged node_modules/.mise store targets beneath mise latest aliases (while keeping verified outer Aube shims), reject asdf/nodenv/nvs/nix/snap versioned paths, fix the nvm-sensitive Windows runtime assertion in setupLauncherAlias tests, and align installation docs, install.sh, and getting-started guidance with durable-path registration.

* fix(setup): recognize custom manager env roots and align onboarding docs

Pass environment through versionedLauncherPath and transientLauncherRemediation so custom version-manager env roots are classified accurately while preserving fnm_multishells as a session path; fix Windows PowerShell rea.cmd and Linux PATH persistence in get-started; align remaining setup quick starts and affected setup acceptance/boundary tests.

* fix(setup): reject session paths and configured package caches

Windows fnm session directories and custom npm or Bun cache roots were still eligible for client registration. Quick starts now require a durable Node install, and the website setup copy no longer uses a PowerShell-invalid command chain.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): resolve configured launcher roots

* docs(setup): align persistent launcher prerequisites

* docs(setup): persist paths in Bash login profiles

* fix(setup): name the missing saved launcher path

* fix(setup): reject Bunx execution-cache launchers

* docs(setup): add writable npm prefix prerequisite

* style(website): format prefix prerequisites

* chore(website): format setup introduction

---------

Co-authored-by: Ambuj Agrawal <aseachambuj@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:10:33 +08:00
Vinícius AndradeandVincent Koc eb5cd34258 fix(devicetree): read later FDT versions backwards compatible with v17 (#14136)
* fix(devicetree): read later FDT versions backwards compatible with v17

The header reader admitted only versions 16 and 17 and consulted
last_comp_version only to reject a value above the version. DTSpec 5.1
requires a client to accept any version backwards compatible with
version 17, and libfdt reads such a blob with the version 17 header.

Admit a later version whose last_comp_version is 17 or lower and read it
with the version 17 layout, reporting the declared version. A later
version that needs a newer reader and any version below 16 stay
unsupported, and v16 and v17 outcomes are unchanged. FIT recognition
shares the reader, so it now claims a FIT in such a version as well.

* test(devicetree): cover a later FDT version backwards compatible with v17

Parse the shared fixture with version 18 and last_comp_version 16: the
header is read with the version 17 layout and the tree decodes as it
does for v17. Raising last_comp_version to 18 keeps the blob
unsupported. FIT recognition, which shares the header reader, covers
the same version.

On the previous reader the version 18 parse and the version 18 FIT
recognition fail, because version 18 was refused before
last_comp_version was read.

* docs(devicetree): describe later FDT versions backwards compatible with v17

* test(devicetree): keep the unsupported-version cases on an incompatible header

The CLI and MCP error cases used version 18 as an arbitrary unsupported
version, but their fixture declares last_comp_version 16, which is now
read as a version 17 blob. Declare last_comp_version 18 there so both
cases still reach unsupported_target through the public paths.

The shared fixture takes the declared compatibility version for this,
and the parser case uses it instead of patching the header word.

* test(devicetree): cover compatible versions through CLI and MCP

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:02:58 +08:00
CyberSproutandVincent Koc 6c7dffc59b fix(json): classify JSON input heap headroom and string-ceiling refusals (#14949)
* fix(json): classify JSON input heap headroom and string-ceiling refusals

Mark live V8 heap-headroom refusals in JsonInputFile as measuredExhaustion, bind single-string runtime and serialization ceilings in JsonInputFile and JsonAuthenticationHeadroom to registered representation allowances, and remove all 4 entries from untyped-budget-refusal-baseline.json (Refs #14234).

* test(json): inject runtime probes instead of mocking node:v8

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 15:55:37 +08:00
Saim ShafiqueandVincent Koc 76cb6645be fix(macos-pkg): retain cpio hard-link contents (#15157)
* fix(macos-pkg): retain cpio hard-link contents

* fix(macos-pkg): withhold ambiguous aliases and bound link resolution

* fix(macos-pkg): bound cpio hard-link resolution

* fix(macos-pkg): keep intermediate cpio sidecar boundaries

* fix(macos-pkg): bound trailing cpio sidecar work

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 15:46:09 +08:00
e18ed55bac fix(artifacts): report macOS package bundle release versions (#14860)
Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 15:29:10 +08:00
ShuaixinHuangandShuaixinHuang 4ccc685dd5 test(asar): verify cleanup on the original file handle (#15155)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:15:35 +08:00
ShuaixinHuangandShuaixinHuang 9ab90fd7f0 fix(ubi): bound smaller-grid probe memoization (#15168)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:12:41 +08:00
ShuaixinHuangandShuaixinHuang 784c3df925 fix(artifacts): distinguish content from containment changes (#15165)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:08:01 +08:00
ShuaixinHuangandShuaixinHuang 309712cd0f fix(bflt): retain complete text when data is truncated (#15160)
* fix(bflt): retain complete text when data is truncated

* docs(bflt): describe text recovery from short images

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:03:28 +08:00
Vincent Koc 5a213e43ca refactor(domain): reuse graph projection and validation helpers (#15173)
* refactor(mobile): share inventory root format errors

* refactor(graphs): share strict code-point ordering checks

* refactor(javascript): reuse the unique observation property reader
2026-11-30 06:39:51 +00:00
Vinícius AndradeandVincent Koc 244147a2a0 fix(iso9660): read a directory record's data length from its little-endian half (#14801)
* refactor(iso9660): read both-endian halves through one helper

Split the half reading out of readBothEndian, and name the failure it
raises, so a caller can keep a disagreeing big-endian copy or raise the
same failure itself. The agreement check and its failure are unchanged.

* fix(iso9660): read a directory record's data length from its little-endian half

One directory record whose big-endian data_length copy differed from its
little-endian half refused the whole image as malformed, wherever the
record sat in the tree, so no member was inventoried. Linux isofs,
libarchive and pycdlib read only the little-endian half of a record's
data length, because mastering programs have written images whose
big-endian copy is wrong.

Records inside directory extents now use the little-endian half and keep
a disagreeing copy, which the entry reports as a limitation with both
values. A descriptor's own root record still requires both halves to
agree, as libarchive does, and every other both-endian field keeps its
agreement check.

The boundary case that pinned the refusal now lists the file or the
directory by its little-endian length and reads the rest of the tree.

* test(iso9660): keep descriptor root records strict about data length halves

A primary or Joliet descriptor whose root record stores a big-endian
data length copy that differs from its little-endian half stays
malformed at that field, so the little-endian reading of records inside
directory extents does not reach the descriptors.

* docs(iso9660): describe the little-endian data length of directory records

* test(iso9660): name each disagreeing section of a multi-extent file

Damage the big-endian data length copy of both sections of a contiguous
multi-extent file followed by a clean file. The file keeps its summed
little-endian size and verified hash, and its entry names both records
with their own values, in section order. The next file carries no
disagreement, so the per-member list is neither lost between sections
nor carried into the following member.

* test(iso9660): print the section limitation filter as an expanded chain

The formatter prints the three-group chain in the multi-extent case,
rows.get(path)?.limitations.filter(...), one member per line when it
does not fit on one line. The previous commit kept it on one line, which
failed format:check.

* fix(iso): retain directory-link length disagreements

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 14:37:39 +08:00
Vincent Koc 112aac745b test(ghidra): wait for each fixture spawn before expiring startup (#15172) 2026-11-30 14:33:04 +08:00
Vincent Koc 97322254dd test(beam): reuse the CLI Evidence reader (#15171) 2026-11-30 06:20:51 +00:00
Vincent Koc 39fa51184d test(oci): share descriptor budget refusal assertions (#15159) 2026-11-30 06:13:02 +00:00
Vincent Koc 40014da6e8 refactor(audit): share byte framing for offline audit logs (#15162) 2026-11-30 06:10:29 +00:00