Commit Graph
8633 Commits
Author SHA1 Message Date
ebd709cef5 fix(esp): disclose partition entries outside the table checksum (#12384)
* fix(esp): disclose partition entries outside the table checksum

* fix(esp): label the partition checksum offset origin

* fix(esp): count partition entries outside the table MD5

The coverage warning was only prose, and it presented the MD5 entry's
table-relative offset without a structured fact. Record
entriesAfterChecksum on the MD5 result, project it as
entries_after_checksum, and keep the warning as presentation.

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

* fix(esp): accept saved flash inventories without the checksum count

A required entries_after_checksum rejected ESP flash Evidence written
before the field existed. Keep the count exactOptional so omission
stays unknown, and still emit it for new inventories.

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

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:59:02 -05:00
8c3dbd99e1 fix(desktop): bind dconf profiles to selected database sources (#11161)
* fix(desktop): bind dconf profiles to selected database sources

* fix(desktop): resolve dconf before changing working directory

* fix(desktop): retain refused dconf lookup diagnostics

* fix(desktop): preserve execution-time dconf search fallback

* fix(desktop): keep host spawn failures outside dconf fallback

* fix(desktop): retain staged reader cleanup through command close

* test(kuna): await eviction boundary events explicitly

* test(kuna): bound lifecycle acknowledgements through shared owner

Cherry-picked shared follow-up from a5761c7545.

* fix(desktop): keep dconf sources independent of wrapper stdin

* test(desktop): restrict procfs command checks to Linux

* fix(desktop): own dconf wrapper cleanup before source retirement

* fix(desktop): retain dconf preparation inspection owners

* fix(desktop): classify dconf read failures by kind and errno

Record the failure kind, host errno, exit status, selected command, and
child stderr on DconfDump, and carry those facts to view_failure. Tests
assert the typed fields instead of error prose, including a PATH refusal
whose executable is not the last candidate.

* test(desktop): gate real dconf diagnostics on Linux

The real reader checks /proc file descriptors before launch, so macOS
reports descriptor-unavailable/ENOENT instead of launch-failed/EACCES.
Keep that launch refusal on Linux and cover the Evidence contract with
a mocked reader on every platform.

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

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:40:08 -05:00
4491c84c82 fix(node-sea): bound duplicate blob verification work (#11736)
* fix(node-sea): bound duplicate blob verification work

* test(mcp): observe cleanup failures at their current delivery boundary

* fix(mcp): preserve workflow completion progress through delivery

* test(setup): keep the Windows Kimi profile fixture on a supported profile

The Windows-only case at `clientConfigurationEnvironment.test.ts:226` wrote
`rea_mcp_input_schema_profile: "full"`. That profile was retired: the reader
now refuses it ("REA_MCP_INPUT_SCHEMA_PROFILE accepts only \"compact\" …"),
so `configureClientConfiguration` returned `failed/readback` before writing
and the case failed on every Windows run, including main's own
`Windows capability and package lane`.

The case has no Windows dependency — it passes an explicit `configPath` and
the Kimi write dialect is the same everywhere — so it now runs on every
platform, which is what let the stale value rot unnoticed. The fixture keeps
the lowercase explicit key the case is about, with the supported value.

Verified on `main` `d6bcfc10`: the same fixture driven through
`configureClientConfiguration(..., "win32")` on this host reproduced
`{"status":"failed","reason":"readback"}` with the retired value and now
returns `{"status":"configured"}` with `compact`. The file's 75 cases pass
here (66 run, 9 platform-conditioned skips) and `check:fast` passes.

* test(ci): restore verifier and MCP contract regressions

* test(captures): assert adapter-owned input issue field names

* fix(ghidra): avoid Java probes for missing installations

* test(ghidra): drop duplicate absent-installation coverage

Merging main reapplied the #11732 case beside the copy already on main.

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

* test(node-sea): assert duplicate-blob refusal without stdout prose

The CLI coverage already checks the truncated code and limit details.

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

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: g0at <50488370+g1at@users.noreply.github.com>
Co-authored-by: IvenKooLab <276572622@qq.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:25:23 -05:00
morluto 1ba93c8a1b refactor(elf): share fixed header declaration widths (#12391) 2026-11-19 15:59:06 +00:00
morluto ad996352c3 refactor(macho): own complete fixed segment and section fields (#12405) 2026-11-19 15:44:31 +00:00
morluto ed05170424 fix(mips): recognize unsupported Android relocation declarations (#12397)
fix(elf): retain Android relocation declarations in MIPS coverage
2026-11-19 15:37:21 +00:00
6a5d77bf21 fix(windows): floor LinkInfo string offsets at the mandatory header (#12403)
A LinkInfoHeaderSize below 0x1C no longer lowers the string-offset floor.
Reserved 0x1D..0x23 headers still end at their declared size, so ANSI
fields after that header stay readable.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 10:35:40 -05:00
ShuaixinHuangandmorluto 422b5dff1a ci: retry bounded Ubuntu archive fetches (#12343)
* ci: retry bounded Ubuntu archive updates

* ci: retry MinGW package downloads

* fix(ci): bound Ubuntu toolchain acquisition end to end

* fix(ci): fall back to the Ubuntu Azure archive for Noble layout

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 10:33:33 -05:00
ShuaixinHuangandShuaixinHuang 80e8bbc871 fix(release): retry commit history gateway timeouts (#12377)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:33:19 -05:00
morluto e9af636128 fix(macho): share marker-bearing dylib field decoding (#12400)
* fix(macho): share marker-bearing dylib field decoding

* fix(macho): retain legacy lazy dylib timestamps
2026-11-19 15:33:09 +00:00
ShuaixinHuangandShuaixinHuang a90278daf7 fix(ci): exclude skipped steps from job timing samples (#12385)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:33:05 -05:00
ShuaixinHuangandShuaixinHuang 947ff63602 fix(ci): retain Turbo cache generations per Git ref (#12381)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:32:51 -05:00
ShuaixinHuangandShuaixinHuang 29a3f3c8dd fix(artifacts): preserve ASAR unpacked companion path identity (#11749)
* fix(artifacts): preserve ASAR unpacked path identity

* test(artifacts): use the current ASAR resource entry

* test(artifacts): assert ASAR unavailable content facts

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:32:03 -05:00
morluto de9da86333 fix(windows): validate opaque shortcut block framing (#12401)
* fix(windows): check shortcut PropertyStore block size

* fix(windows): validate shortcut Shim block framing
2026-11-19 15:31:11 +00:00
morluto 205ab4a587 refactor(elf): share fixed symbol record widths (#12379) 2026-11-19 15:28:37 +00:00
morluto 0eac37277d fix(pe): distinguish positional resource framing from capacity (#12402) 2026-11-19 15:26:52 +00:00
ShuaixinHuang 11bfc727d3 fix(ci): retain the website manifest reader in Knip (#12392) 2026-11-19 15:24:43 +00:00
morluto bd4339ade9 fix(model): project the enforced parser limit and cause (#12399) 2026-11-19 15:24:26 +00:00
morluto 2773327843 fix(android): validate boot header size before capacity (#12396)
fix(android): distinguish header layout and capacity limits
2026-11-19 15:23:27 +00:00
morluto e59b4f6faa fix(android): validate vendor ramdisk table before capacity (#12395)
fix(android): validate vendor ramdisk table framing before capacity
2026-11-19 15:22:42 +00:00
morluto a22cbcfd7d fix(rust): validate WebAssembly section framing before capacity (#12394)
* fix(rust): validate WebAssembly section framing before capacity

* docs(rust): describe the WebAssembly payload limit
2026-11-19 15:22:34 +00:00
morluto dd4be52a83 fix(windows): flag reserved shortcut LinkInfo header sizes (#12388)
fix(windows): report reserved LinkInfo header sizes
2026-11-19 15:22:03 +00:00
morluto cb9fce082d fix(elf): preserve compressed note storage through program aliases (#12390) 2026-11-19 15:20:25 +00:00
morluto 88983ebac7 fix(macho): prove command table framing before capacity (#12376)
* fix(macho): prove command table framing before capacity

* test(macho): match shared table admission precedence

* test(macho): separate encryption capacity from invalid framing
2026-11-19 15:19:50 +00:00
morluto a4c4366db2 fix(windows): report missing shortcut Darwin and Shim blocks (#12378)
* fix(windows): report missing shortcut Darwin and Shim blocks

* test(windows): accept declared Darwin and Shim blocks
2026-11-19 15:17:49 +00:00
Nianze WuandCursor Agent a4a633bae7 fix(windows): bound shortcut string offsets to structure data (#10416)
* fix(windows): reject shortcut paths into LinkInfo headers

* test(windows): cover shortcut suffix header offsets

* fix(windows): bound nested shortcut string offsets

* fix(windows): compare only complete shortcut targets

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-19 10:15:38 -05:00
Muhammad Hamzaandmorluto 6a782c3573 fix(environment): map id-list elements when a scalar set also changed (#7161)
* fix(environment): map id-list elements when a scalar set also changed

When comparing an answer's scalar id list, the id mapping ran only on the
sameItems fast path. Once one element genuinely changed, or the lengths
differed, array fell to pairwise comparison that compared each element
without its id-list field, so scalar skipped the mapping: comparing live
[101,102] with env [1,9] under 101->1, 102->2 reported /ids/0 (101 vs 1) as
a change as well as the real /ids/1 (102 vs 9).

Thread an idList flag from array to scalar, set by the same per-element rule
sameItems uses, so a mapped element matches and is counted as a normalised
id while a genuine change is reported with its original value. Non-id arrays
are unchanged.

* fix(environment): pair id-list survivors by translated identity

The first fix mapped each id-list element but still paired scalar arrays by
position, so a survivor that shifted position paired with the wrong item:
[101,102] versus [2] under 101->1, 102->2 still emitted a false /ids/0 value
difference even though 102->2 is the survivor and only the removal changed.

Pair id-list survivors by the environment identity they map to, then any
remaining live and environment items by position. The translation is one owner
shared with sameItems, and the paired comparison still maps the original live
id and reports its original value on a genuine change. Non-id arrays keep
positional pairing.

* fix(environment): keep id-list order checks to matched survivors

#idListPairs appended a positional fallback pair for a replaced id, and the
order check read every pair, so a single surviving identity that shifted
emitted a spurious order difference: [101,102] versus [2,9] under 101->1,
102->2 reported order as well as the real /ids/0 value change.

Return the identity-matched survivor pairs separately and compute order from
them alone; the positional fallbacks are value replacements, not the same
item in a new position. Two or more reordered survivors still report order.

* perf(environment): limit ID recovery to conflicting components

* fix(environment): prove response list order across maximum matches

* fix(environment): detect complete duplicate ID list reorders

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 15:14:49 +00:00
morluto 5bcf33f6ac fix(elf): validate note framing before entry limits (#12380)
* fix(elf): validate note framing before entry limits

* test(elf): assert structured note framing failures
2026-11-19 15:14:03 +00:00
morluto aa87d427c0 fix(ci): verify dependency inventory on lockfile changes (#12389) 2026-11-19 10:08:25 -05:00
morluto cf9b474292 refactor(nativeaot): share checked MethodTable framing (#12375) 2026-11-19 15:00:02 +00:00
ShuaixinHuangandmorluto ff1d06ecb0 fix(release): keep credit examples inside Markdown fences (#12239)
* fix(release): keep credit examples inside Markdown fences

* fix(release): share fenced Markdown boundaries

* fix(release): parse nested Markdown fences and headings

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 14:46:31 +00:00
morluto 1b172f1e02 refactor(dotnet): share checked CIL operand and exception reads (#12372) 2026-11-19 14:43:25 +00:00
ShuaixinHuangandShuaixinHuang 3fdda4e1a1 test(hopper): synchronize silent reconnect expiry assertions (#12374)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 14:37:18 +00:00
morluto 7eac002d5e fix(pcap): retain admitted DNS truncation facts (#12373) 2026-11-19 14:35:56 +00:00
ShuaixinHuangandShuaixinHuang dc108133b0 ci: recover older successful test timing history (#12370)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 14:29:09 +00:00
f06c51a82a ci: reject merged test reports that do not confirm success (#12367)
* ci: reject merged test reports that do not confirm success

* test(ci): assert merged report rejection by outcome

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 14:26:58 +00:00
morluto 091b8b0339 refactor(dotnet): read metadata constant scalars through BinaryReader (#12371) 2026-11-19 14:26:54 +00:00
59c7eed91d ci(recorded-crash): bound package acquisition before install (#12365)
* ci(recorded-crash): bound package acquisition before install

* test(ci): verify recorded-crash APT deadlines

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 14:25:35 +00:00
morluto 17ad9c14ff fix(pe): validate resource name extents before capacity (#12368) 2026-11-19 14:22:26 +00:00
morluto 5f258086b0 refactor(macho): share checked segment and section framing (#12366) 2026-11-19 09:08:25 -05:00
ShuaixinHuangandmorluto 0a55ccba71 fix(environment): apply collection mappings to identifier lists (#12354)
* fix(environment): apply collection mappings to identifier lists

* test(environment): cover scoped identifier lists

* fix(environment): scope ID lists to owned response fields

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 09:08:11 -05:00
morluto 0fead85457 fix(desktop): preserve exact dpkg ownership from partial queries (#12360)
* fix(desktop): preserve exact dpkg ownership from partial queries

* test(desktop): cover dpkg executable ownership transcripts

* test(desktop): keep executable ownership regression outside describe
2026-11-19 09:07:59 -05:00
morluto 156303f6ed refactor(python): read marshal scalars and bytecode magic through BinaryReader (#12362)
refactor(python): read marshal numbers through BinaryReader
2026-11-19 09:07:48 -05:00
morluto 7758d03c5d fix(artifacts): require DOS magic before applying Windows path semantics (#12340) 2026-11-19 13:52:31 +00:00
ShuaixinHuangandShuaixinHuang f6c04b74f3 ci(sigrok): use the shared Ubuntu archive setup (#12359)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 13:52:27 +00:00
morluto 7e7516fbe9 refactor(il2cpp): share metadata section table framing (#12364) 2026-11-19 13:50:12 +00:00
morlutoandNianze Wu 370602cfbb fix(devicetree): report nonzero structure padding (#12361)
Keep DTB and FIT observations when an admitted alignment gap contains
nonzero bytes. Retain one parser-owned diagnostic with the count and
first file offset.

Refs #10179.

Co-authored-by: Nianze Wu <wunianze666@gmail.com>
2026-11-19 13:47:46 +00:00
a44ff73676 fix(apple): bound bundle Info.plist reads before decoding (#12279)
* fix(apple): bound bundle Info.plist reads before decoding

* refactor(apple): report plist input limits through shared failures

* fix(apple): retain bundle plist descriptors through target cleanup

* test(apple): verify Hopper retries bundle plist cleanup

* fix(apple): preserve typed cancellation through bundle plist cleanup

* fix(apple): preserve plist read failure through late cancellation

* fix(apple): preserve cancellation during plist close retry

* docs(apple): document bundle plist admission policy

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 13:41:40 +00:00
morluto 0a9f22847d fix(browser): recover literal Fetch Request inputs (#12356) 2026-11-19 13:40:59 +00:00
morluto 1530507a7e refactor(rust): project dependency limits from parser facts (#12358) 2026-11-19 13:40:30 +00:00