Commit Graph
11220 Commits
Author SHA1 Message Date
Vincent Koc c19f474453 refactor(config): share the final YAML member edit (#15766) 2026-12-02 03:44:20 +00:00
Vincent Koc 142bc62471 test(protobuf): share HAR record request fixtures (#15767) 2026-12-02 03:41:36 +00:00
Vincent Koc 79855af755 refactor(esp-nvs): track claims by selected chunk (#15765) 2026-12-02 03:34:07 +00:00
Vincent Koc 64fbea6191 refactor(errors): share unavailable binary target classifications (#15764) 2026-12-02 03:30:31 +00:00
Vincent Koc 55d86facac test(javascript): share graph comparison inputs (#15763) 2026-12-02 03:23:28 +00:00
Vincent Koc b5bcc214bd refactor(swift): share Objective-C conformance reads (#15760) 2026-12-02 03:14:08 +00:00
Vincent Koc fcac9c09d7 refactor(nib): share length-prefixed name parsing (#15758) 2026-12-02 03:00:26 +00:00
Vincent Koc f31076d3ca test(xml): share element-depth refusal assertions (#15759) 2026-12-02 02:58:17 +00:00
Vincent Koc 6bb42af594 refactor(apple): share missing bundle layout reporting (#15757) 2026-12-02 02:51:00 +00:00
Vincent Koc 8872e4bb92 test(browser): share complete capture fixture (#15755) 2026-12-02 02:47:56 +00:00
Vincent Koc 8412025724 refactor(doctor): share provider check classification (#15754) 2026-12-02 02:47:27 +00:00
Vincent Koc cd2f4dd985 refactor(setup): reuse unresolved registration status projection (#15742) 2026-12-02 02:38:11 +00:00
Vincent Koc d81ec9193f refactor(debian): retain one tar inventory result (#15743) 2026-12-02 02:32:53 +00:00
Vincent Koc ca0ab102ab test(javascript): share CLI and MCP Evidence checks (#15741) 2026-12-02 02:31:44 +00:00
Vincent Koc 67a4531be2 refactor(bink): share table layout results (#15736) 2026-12-02 02:18:21 +00:00
Vincent Koc a795e1a46a refactor(setup): share MCP stdio connection profiles (#15734) 2026-12-02 02:17:12 +00:00
Vincent Koc 160df1cda3 refactor(elf): share unwind-header result assembly (#15735) 2026-12-02 02:16:45 +00:00
Vincent Koc ed6f32720c test(gpu-assets): share GLB fixture envelopes (#15732) 2026-12-02 02:06:54 +00:00
Vincent Koc 15e539b939 refactor(managed): share ambiguous member projection (#15728) 2026-12-02 02:06:43 +00:00
Vincent Koc 34548945c5 refactor(apple-ips): share lossless JSON container parsing (#15730) 2026-12-02 01:58:17 +00:00
Vincent Koc b0a6081ef2 test(vsix): share the inspection report fixture (#15729) 2026-12-02 01:55:33 +00:00
Vincent Koc cacaefe8f8 refactor(api-contract): share parser heap admission (#15725)
* refactor(api-contract): share parser heap admission

* refactor(errors): centralize measured heap refusals

* test(api-contract): isolate parser heap regression
2026-12-02 01:47:46 +00:00
Vincent Koc 3c79efe719 refactor(dotnet): share partial metadata failure projection (#15723) 2026-12-02 01:33:47 +00:00
Vincent Koc 106dbf8e72 test(application): reuse inspection input refusals (#15724) 2026-12-02 01:31:18 +00:00
morluto df081bf7ac ci(test-selection): run every portable test when error classification changes (#15705)
* ci(test-selection): run every portable test when error classification changes

Boundary and acceptance tests pin the code, category and retry class a
refusal reports, but reach src/domain/analysisError* only through the
built CLI or MCP server, so PR selection never picked them. A
classification change (#15588) passed CI and left stale pins that
failed later on unrelated PRs. Treat a change to that owner as
untraceable so the plan falls back to the complete fast suite.

The rule lives in test selection rather than SHARED_BOUNDARY, because
that list also limits lane planning to a single naming lane and would
drop the four lanes that name these files.

* style(ci): format test selection
2026-12-01 20:28:53 -05:00
Vincent Koc 0cd6f5e0d4 refactor(views): reuse indexed row projection (#15721) 2026-12-02 01:23:09 +00:00
Vincent Koc 5b44553e4b refactor(plist): share extended length decoding (#15719) 2026-12-02 01:22:14 +00:00
Vincent Koc 1d0588f6f3 refactor(views): share byte-bounded item page envelopes (#15718) 2026-12-02 01:22:11 +00:00
Vincent Koc 449fef2c03 test(packages): reuse late cancellation evidence fixture (#15720) 2026-12-02 01:18:45 +00:00
Vincent Koc 1010b14e8e refactor(zip): share local record projection (#15716) 2026-12-02 01:11:22 +00:00
Vincent Koc edd86ceefb refactor(uefi): share exact name matching across views (#15714) 2026-12-02 01:08:21 +00:00
ShuaixinHuangandShuaixinHuang ba7a66b6a2 fix(analysis-view): fit managed member pages to byte budget (#15564)
* fix(analysis-view): fit managed member pages to byte budget

* fix(analysis-view): type the projected managed row shape

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-12-02 09:07:44 +08:00
Vincent Koc 31ccc8ba51 refactor(utmp): share endian profile layouts (#15713) 2026-12-02 01:06:57 +00:00
ShuaixinHuangandShuaixinHuang c06ed13ddf fix(analysis-view): return continuation for oversized batch decompile pages (#15557)
* fix(analysis-view): return continuation for oversized batch decompile pages

* test(analysis-view): check the typed batch continuation response

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-12-02 09:04:57 +08:00
Vincent Koc 35a43708bf test(resources): reuse bundle cleanup promise fixtures (#15715) 2026-12-02 01:04:41 +00:00
gensokyo-devandgensokyo-dev e2fce6bb6c fix(maven): read POMs in their declared XML encoding
The Maven reader decoded every file as strict UTF-8, so an ISO-8859-1 POM
such as Maven's own pom-encoding fixture, or a BOM-marked UTF-16 POM,
failed as "not valid UTF-8". Decode with the shared XML text decoder and
admit ISO-8859-1. A POM that declares an encoding REA does not decode is
now refused as unsupported and names that declaration.

Fixes #15664

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 09:04:06 +08:00
gensokyo-devandgensokyo-dev 70fc6b745b refactor(xml): let a caller admit declared ISO-8859-1 XML text
The shared XML text decoder reads UTF-8 and BOM-marked UTF-16 and refuses
other declared encodings. A caller can now also admit ISO-8859-1, read
byte for byte when the declaration says so and no byte order mark
contradicts it. Callers that pass nothing keep refusing it, and the
refusal lists the encodings the caller admits.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 09:04:06 +08:00
gensokyo-devandgensokyo-dev 3474dd6716 fix(artifacts): report a DDS with no payload bytes as truncated
Every DDS surface holds at least one texel, so a file that ends at its
payload offset is truncated even when the format's exact size is not
derived, such as planar video formats.

Fixes #15674

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 09:03:56 +08:00
gensokyo-devandgensokyo-dev ea8b79b362 fix(artifacts): derive the DDS payload size for every fixed-size DXGI format
The DXGI table listed only RGBA32, RGBA16 and RGBA8/BGRA8 formats, so a
DX10 texture in R8_UINT, R16_FLOAT, R32_FLOAT, RG8 and other single- or
two-channel formats had no expected payload size and passed the extent
check even with no pixel data. List every format with a fixed number of
bytes per texel.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 09:03:56 +08:00
Beqa 81adf5ff74 fix(contracts): refuse empty enhanced selector strings (#15589)
* fix(contracts): refuse empty enhanced selector strings

Empty get_call_graph, find_xrefs_to_name, trace_call_path, and
batch_decompile selectors were admitted by the schema, so agents could
reach the provider or record empty Evidence. Align them with the shared
min(1) selector rule.

* test(mcp): refresh advertised compact digests for empty selectors

The min(1) admission change updated the compact input schemas for
batch_decompile, find_xrefs_to_name, get_call_graph, and trace_call_path.
Commit the advertised-schema summaries CI printed for those tools.
2026-12-02 09:00:22 +08:00
Vincent Koc 84414182c9 refactor(browser): share scenario artifact difference formatting (#15710) 2026-12-02 00:55:55 +00:00
Vincent Koc 98c7ee53a0 refactor(mcp): share client configuration presence checks (#15708) 2026-12-02 00:54:42 +00:00
Vincent Koc c40e85a9cf test(pcap): share empty capture fixture fields (#15707) 2026-12-02 00:53:00 +00:00
Vincent Koc 330dd598d2 test(filesystem): reuse artifact file selection assertions (#15709) 2026-12-02 00:51:44 +00:00
Islam Gagiev 78243cb17d fix(artifacts): preserve pre-epoch ar member timestamps (#15502) 2026-12-02 08:48:43 +08:00
gensokyo-devandgensokyo-dev 0ff3cad247 fix(deb): read saved reports that list the triggers file
Evidence files written before triggers stopped counting as a maintainer
script still list it. Accept that name when reading so the summary view
and other readers of saved reports keep working.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 08:47:47 +08:00
2SinceJuly 57956be4c4 fix(deb): stop counting the triggers file as a maintainer script
DEB_MAINTAINER_SCRIPTS listed "triggers" alongside preinst/postinst/
prerm/postrm/config, so inspect-deb-package reported a maintainer script
for packages whose control archive ships a triggers file. Debian defines
triggers as a list of directives dpkg reads (deb-triggers(5)); it is not
an executable maintainer script. Packages like libxv1 therefore showed
one bogus entry named "triggers" with an interpreter line that does not
exist.

Drop "triggers" from the script list and stop treating it as one. Update
the fixture to ship a realistic control-archive triggers file (mode 0644,
activate-noawait directive) so the regression exercises the real shape,
and correct the parser test's script list and summary count. The docs
note that triggers is a directive list, not a maintainer script.
2026-12-02 08:47:47 +08:00
Vincent Koc 9006d17aef test(javascript): reuse package fixture file writer (#15701)
* test(javascript): reuse package fixture file writer

* test(javascript): remove unused fixture path imports
2026-12-02 00:42:49 +00:00
morluto 75474075c4 test(settings): fail analysis settings setup steps with the refusal (#15704)
* test(settings): fail analysis settings setup steps with the refusal

Setup MCP calls asserted only `isError` was not true, so a refused
setup step failed as "expected true not to be true" without the
refusal, and several setup calls were not checked at all. They now use
callOk, which fails at that step with the tool's content. Inventory
lookups no longer hide a missing substep or occurrence behind optional
chaining.

* test(settings): keep the fixture's reply checks on setup steps

callOk now also accepts a fixture's call function, so setup steps keep
the output-schema checks connectLocalToolsMcp applies to replies.
2026-12-02 00:40:31 +00:00
morluto 61f1dede46 fix(resources)!: refuse Windows names ending in a dot or space (#15653)
* fix(resources)!: refuse Windows names ending in a dot or space

Node writes files through `\\?\` paths on Windows, so a member named
`dir/name.` or `dir/space ` is created literally. Win32 path
normalization drops a trailing dot or space when other programs open
the path, so `dir\name.` reads the bytes of a sibling `dir\name`, and
`dir\space ` cannot be opened. The extraction manifest then records a
digest for a path that ordinary tools resolve to different bytes.

A Windows output tree now refuses any path segment that ends in a dot
or space with DestinationPathUnrepresentableFailure, before creating
the path, using the trailing rule isPortablePathSegment already
applies. The refusal names the cause and the next step. Reserved device
names stay accepted, since Node creates them as ordinary files.

Every writer that materializes target-derived names goes through
SafeOutputTree (extract_artifact, firmware and UEFI publication,
desktop export, environment bundles, recovered JavaScript sources, web
script export), so all of them apply the rule. Web script export
already moves an unrepresentable URL path to its isolated layout.

Fixes #15613

BREAKING CHANGE: On Windows, extract_artifact and other output-tree
writers now refuse a path with a segment ending in a dot or space,
where they used to write it. To extract the rest of such an archive on
Windows, select occurrence_ids that leave those members out, or extract
on a non-Windows host. Web script export on Windows writes such URL
paths under its isolated layout instead.

* ci: run Windows extraction name tests in the curated Windows lane
2026-12-01 19:33:46 -05:00