Commit Graph
4547 Commits
Author SHA1 Message Date
morluto 5c390198f7 fix(web): retain CDP scope and request identity during session preparation (#13188) 2026-11-21 19:05:13 +00:00
Brahma Reddy f03cce9c01 fix(native): label XML plists that file calls data as xml (#12910)
`file -b` reports `data` for an XML plist containing a control character
or NUL byte, which CoreFoundation still reads. plistSourceFormat only
probed the source for markup when `file` reported text, so these sources
were labelled `unknown` and skipped REA's XML reader. When that reader
would have refused them, the result also lacked the limitation that says
the value came from plutil's conversion. Two plists shipped with macOS
27.2.1 are affected.

Probe the source prefix for any description that does not name binary,
XML or JSON. Such XML now takes the same route as XML that `file`
recognizes: REA's reader decodes it directly, or #12251's plutil fallback
records REA's refusal reason. OpenStep and other non-markup sources stay
`unknown`.
2026-11-21 20:00:31 +01:00
morluto c0963732a7 fix(web): keep unreadable cookie partitions incomplete (#13187) 2026-11-21 19:00:00 +00:00
morluto 4807b31749 fix(web): require root identity in CDP session and runtime captures (#13186) 2026-11-21 18:55:15 +00:00
gensokyo-devandgensokyo-dev 006581b838 refactor(desktop): read OpenPGP packet lengths through BinaryReader
OpenPGP packet headers read their one-, two- and four-byte lengths with
raw Buffer reads after the header-width checks. Read them through an
openpgp BinaryReader. This was the last counted raw numeric read, so the
raw-buffer-read baseline is removed and the guard now refuses any new
copy outright. The CI change-scope test names another baseline file as
its static-only path.

Refs #11865

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:52:16 +01:00
Lewis WongandClaude Opus 5.5 b2a7cd91cc fix(apple): require a $top dictionary, not a UID, for another archiver name
A binary plist UID projects as `{ UID: n }` and the XML convention as
`{ CF$UID: n }`, so the structural check accepted a UID-valued $top as the
roots dictionary. A plist naming another archiver with such a $top was then
decoded with an invented root named after the UID key. The kind test now
also requires that $top is not a UID. NSKeyedArchiver archives keep their
existing $top handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:51:56 +01:00
Lewis WongandClaude Opus 5.5 2d182f865f fix(apple): report the declared archiver of a keyed archive
Keyed archives may now name another archiver, so the name is source
metadata a caller needs: a SceneKit scene says SCNKeyedArchiver. The
keyed-archive result gains `archiver`, the declared `$archiver` string, and
the inspect_keyed_archive contract describes archives written by
NSKeyedArchiver or a subclass archiver such as SCNKeyedArchiver instead of
NSKeyedArchiver plists only.

The reviewed golden graph adds `"archiver": "NSKeyedArchiver"` for its
capture; only its provenance digest changes, and the captured XML does not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:51:56 +01:00
Lewis WongandClaude Opus 5.5 11896a6eb1 fix(apple): decode keyed archives that name another archiver
Foundation's NSKeyedUnarchiver decodes a keyed archive whatever its
$archiver names. SceneKit writes .scn scenes with SCNKeyedArchiver, so
inspect_keyed_archive refused system and third-party scenes such as Audio
MIDI Setup's SpeakerRoom.scn as "not an NSKeyedArchiver archive" and pointed
the caller at inspect_plist.

An archive named NSKeyedArchiver keeps its current handling, including
format failures for a damaged table. Another string archiver name is a keyed
archive when the plist also has an $objects table and $top roots; without
them it stays an ordinary property list with the inspect_plist workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:51:56 +01:00
morluto 1587b46a9f fix(setup): keep MCP launchers usable after session cleanup (#13185) 2026-11-21 18:50:36 +00:00
Lewis WangandClaude Opus 5.5 f548a62a4f fix(artifacts): keep a ZIP inventory when one member uses an unsupported compression method (#13026)
* fix(artifacts): keep a ZIP inventory when one member uses an unsupported compression method

zip.js refuses a member whose compression method it has no codec for, such
as bzip2 (12) or LZMA (14), before reading its data. typedZipFailure turned
that refusal into an archive-level unavailable failure, so inventory_artifact,
inspect_artifact and compare_artifacts rejected the whole archive and never
listed or hashed its readable members. unzip and bsdtar list them all.

A refusal raised while reading one member is now ArtifactEntryContentUnavailable,
the per-member failure the inventory scan already records, as UnityFS members
with unsupported compression do. The member keeps its occurrence with an
unavailable hash and a limitation naming the method, siblings are hashed, and
coverage is unknown. Extraction of that member is still refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(artifacts): keep ZIP entry coverage complete for an unreadable member codec

The central directory still lists every entry when one member's compression
method is unsupported; only that member's content is unreadable. Recording an
unknown traversal made inventory coverage, whose scope is container entries,
claim that entries might be missing. Drop the traversal override, as the
encrypted-member path already does, and let the occurrence limitation carry
the content gap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:45:46 +01:00
morluto ce61cca68a test(web): consolidate CDP document selection cases (#13183) 2026-11-21 18:44:43 +00:00
morluto 8691cfa96b test(web): acknowledge CDP socket timeout phases before advancing time (#13181) 2026-11-21 18:35:00 +00:00
morluto faab3d98d1 test(web): consolidate warm CDP peer cleanup checks (#13179)
* test(web): consolidate warm CDP peer cleanup checks

* test(web): verify provider close before CDP fixture teardown
2026-11-21 18:34:07 +00:00
morluto 4f9ce44908 test(web): consolidate CDP browser socket identity checks (#13180) 2026-11-21 13:31:08 -05:00
morluto 10e1a5ab25 test(web): consolidate CDP handshake and transport cleanup checks (#13177)
* test(web): consolidate cold CDP handshake cleanup checks

* test(web): wait for physical CDP socket close confirmation
2026-11-21 18:18:02 +00:00
morluto ae2c2142a3 test(web): consolidate CDP wire reply and event checks (#13175) 2026-11-21 18:13:37 +00:00
morluto 48a2ad5e0b test(web): consolidate CDP frame and session identity checks (#13174) 2026-11-21 18:09:48 +00:00
morluto b95bd814a7 test(web): consolidate CDP discovery and HTTP response contracts (#13173) 2026-11-21 13:05:05 -05:00
morluto 96d88a67c3 test(mcp): consolidate browser provider probe ownership checks (#13166) 2026-11-21 17:41:50 +00:00
morluto 03795d55b3 test(web): consolidate wide scenario reference admission (#13163) 2026-11-21 17:33:20 +00:00
morluto 8d17fcb7a2 test(web): consolidate scenario Evidence delivery checks (#13161) 2026-11-21 17:25:33 +00:00
morluto 0fa220c735 test(web): consolidate scenario input diagnostics (#13159) 2026-11-21 12:20:56 -05:00
morluto 80b980e5f4 test(web): consolidate CDP command settlement checks (#13110) 2026-11-21 14:16:03 +00:00
morluto 5521bff467 test(web): make CDP discovery deadline checks deterministic (#13109) 2026-11-21 14:10:15 +00:00
morluto 383709ca7e test(web): consolidate screenshot document and reply checks (#13107) 2026-11-21 14:00:51 +00:00
morluto 4ad0e3ea78 test(web): consolidate DOM snapshot position and SVG proofs (#13104) 2026-11-21 08:53:31 -05:00
morluto ce5258043c test(docs): isolate README drift cases and remove duplicate checks 2026-11-21 08:49:29 -05:00
Anurag SinghandAnurag Singh 23cf85ef24 fix(gpu): decode UTF-8 CUBIN kernel symbol names (#13101)
CUBIN kernel names were always decoded as Latin-1, so a valid UTF-8
symbol such as kérnel_日本 was reported as mojibake while inspection
stayed complete. Reuse the ELF name decoding owned by native exports:
keep valid UTF-8, fall back to lossless Latin-1 otherwise, and disclose
the fallback with the original bytes as a kernel limitation.

Co-authored-by: Anurag Singh <211784907+Anurag-5ingh@users.noreply.github.com>
2026-11-21 08:42:49 -05:00
morluto 3ef94f1f33 test(web): consolidate CDP resource metadata proofs (#13103) 2026-11-21 13:42:02 +00:00
morluto 97f10e8957 test(web): consolidate passive CDP response header proofs (#13099) 2026-11-21 13:33:44 +00:00
morluto e6df39bbba test(web): consolidate Browser worker inventory proofs (#13098) 2026-11-21 08:25:28 -05:00
morluto 15855137b7 test(web): consolidate CDP binary body proofs (#13097)
* test(web): consolidate CDP UTF-8 response proofs

* test(web): consolidate cache byte fingerprint proofs

* test(web): check cache digests by entry identity
2026-11-21 13:22:15 +00:00
morluto 9a16142fad test(web): consolidate CDP request identity and redirect proofs (#13096) 2026-11-21 08:02:26 -05:00
morluto e76b521461 test(web): consolidate CDP response body lifecycle proofs (#13094)
* test(web): consolidate CDP response body lifecycle proofs

* test(web): assert response diagnostic provenance
2026-11-21 07:53:59 -05:00
morluto 68f13d06d2 test(web): consolidate CDP response status proofs (#13095) 2026-11-21 12:51:22 +00:00
morluto 750120a4ce test(web): consolidate passive CDP admission proofs (#13092)
* test(web): consolidate passive CDP frame claim proofs

* test(web): consolidate passive CDP event budget proofs
2026-11-21 12:37:56 +00:00
morluto 6878e24cc7 test(web): consolidate script metadata admission and projection proofs (#13091) 2026-11-21 12:29:47 +00:00
morluto 2d9c208817 test(web): consolidate capture completeness proofs (#13089) 2026-11-21 07:15:46 -05:00
morluto e94475bdcc test(web): consolidate passive script map matching proofs (#13088) 2026-11-21 12:08:12 +00:00
morluto e1442859dc test(web): consolidate passive HTTP metadata proofs (#13087) 2026-11-21 07:05:24 -05:00
morluto ccfdd61572 test(web): consolidate WebSocket payload comparison proofs (#13086) 2026-11-21 06:59:46 -05:00
morluto 3f494e18fa test(web): consolidate accessibility and storage comparison proofs (#13085) 2026-11-21 11:54:40 +00:00
morluto 9a66726389 test(web): consolidate passive capture uncertainty checks (#13083) 2026-11-21 11:47:54 +00:00
morluto 3a60c55a91 test(web): consolidate scenario transaction and context proofs (#13081) 2026-11-21 06:37:45 -05:00
morluto 4304a66974 test(web): isolate captured module artifact checks (#13075) 2026-11-21 06:11:19 -05:00
morluto 8322b55552 test(web): consolidate module syntax and capture identity fixtures (#13073) 2026-11-21 06:02:44 -05:00
morluto eca10e848f test(sourcemap): isolate artifact identity and retain rejected reports (#13069)
* test(sourcemap): isolate artifact identity and retain rejected reports

* test(sourcemap): track the consolidated artifact lifecycle witness
2026-11-21 05:41:12 -05:00
morluto a9463bf1a9 test(sourcemap): consolidate retained views and MCP delivery checks (#13070) 2026-11-21 10:40:12 +00:00
morluto 47d86582c8 test(sourcemap): consolidate indexed section admission checks (#13066) 2026-11-21 10:20:13 +00:00
morluto 5bbd238f2f test(sourcemap): consolidate indexed coordinate and overlap checks (#13065) 2026-11-21 10:14:54 +00:00