Commit Graph
7135 Commits
Author SHA1 Message Date
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
Lewis WangandClaude Opus 5.5 af0d69ee91 fix(har): keep Chromium DevTools captures that report an empty server address (#13027)
Chromium DevTools writes serverIPAddress from NetworkRequest.remoteAddress(),
which starts as "" and stays empty when a request has no remote endpoint,
such as a refused connection, an aborted request or an internal redirect.
har-schema requires an IPv4 or IPv6 value, so inspect_web_network_capture
refused the whole export at the first such entry.

For the declared WebInspector 537.36 profile, an empty serverIPAddress is
omitted from the validation copy only, as bracketed IPv6 already is. Reported
Evidence keeps the empty value, and the record gains a limitation that the
server address is unknown. Other producers' empty addresses still fail
validation.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 19:42:16 +01:00
Heo Hao a44e705ad8 fix(desktop): skip only ASCII whitespace before a desktop entry key (#13126)
The key reader stripped each line with JavaScript's trimStart(), which also
removes Unicode spaces such as U+00A0 and U+3000. GLib skips only
g_ascii_isspace, so it keeps those bytes inside the key and the record never
matches Name= or Hidden=.

The drift had a safety direction: a line indented with U+00A0 and reading
Hidden=true was accepted as a hidden override by REA but never by the desktop
environment, so findHiddenDesktopEntry() claimed a deletion that GLib would not
honour. #12708 closed this for group headers by validating the captured padding
against GLib's ASCII set; the blank-line, comment and key checks still used the
Unicode-aware trim.

I now strip only [ \t\f\r] before deciding whether a line is blank, a comment
or a key, and hand that same string to the record matcher. ASCII indentation
still parses as before. The inventory test covers the refusal when a hidden
override carries the padding, and the domain tests cover the three Unicode
spaces for keys, blank lines and comments.
2026-11-21 19:40:34 +01:00
gensokyo-devandgensokyo-dev 3ba20f0eb8 refactor(hopper): compose bridge image cleanup through the shared owner
The image and publisher cleanup retry built its composite and bound the
parts by hand; providerCleanupErrorFromFailures builds the same composite.
It names close_binary, the ProviderCleanupError default that the parts
and the previous composite used.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:34:01 +01:00
gensokyo-devandgensokyo-dev 2d360253dd refactor(process): compose analysis runtime cleanup through the shared owner
ArtifactAnalysisResources built its multi-failure cleanup composite and
bound the parts by hand; providerCleanupErrorFromFailures builds the same
composite with the existing per-part diagnostics.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:34:01 +01:00
gensokyo-devandgensokyo-dev 3af56cc7d5 refactor(native): compose LLDB resolver cleanup through the shared owner
The resolver retry built a multi-marker ProviderCleanupError and bound
the markers by hand; providerCleanupErrorFromFailures builds the same
composite, including the distinct resource list.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:34:01 +01:00
gensokyo-devandgensokyo-dev a5f3689179 refactor(inspector): compose provider close failures through the shared owner
V8InspectorProvider built its multi-failure cleanup composite by hand and
bound the parts with bindCleanupDependencies. providerCleanupErrorFromFailures
builds the same composite: resources, reason, operation, aggregate cause
and release tracking.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:34:01 +01:00
gensokyo-devandgensokyo-dev 13725d2986 refactor(errors): list distinct resources in providerCleanupErrorFromFailures
Parts of one cleanup composite can share a resource, such as a common
runtime root. Callers deduplicated the list by hand before composing;
normalize it once in the owner so they can use it directly.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:34:01 +01:00
morluto 48a2ad5e0b test(web): consolidate CDP frame and session identity checks (#13174) 2026-11-21 18:09:48 +00:00
gensokyo-devandgensokyo-dev 10597e10f2 fix(desktop): keep every state-reader close failure in the cleanup composite
The desktop state-reader close collects up to three failures (artifact
scope, SQLite service, and the export worker retry), but composed only
the first two with analysisErrorWithCleanupFailure and bound the rest by
hand. The third failure's reason never reached the caller. Fold the
failures through analysisErrorWithCleanupDependencies so each keeps its
reason and owner; two failures produce the same composite as before.

Refs #11859

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:07:31 +01:00
morluto b95bd814a7 test(web): consolidate CDP discovery and HTTP response contracts (#13173) 2026-11-21 13:05:05 -05:00
morluto 6818b01d5a perf(web): normalize each browser redaction marker once (#13172) 2026-11-21 18:02:47 +00:00
gensokyo-devandgensokyo-dev f8192bd39d docs(cli): explain Ghidra annotation lifetime in command help
A fresh CLI Ghidra session discards an annotation edit when the command
exits, which the help did not say. The returned Evidence and the MCP
contract already describe the lifetime; the help now names the
checkpoint setting and the MCP alternative.

Fixes #8242

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 19:00:27 +01:00
morluto 03b99c2bcf fix(web): align scenario schema guidance with admitted inputs (#13170) 2026-11-21 17:56:08 +00:00
morluto 505cac1487 test(web): consolidate scenario capture schema coverage (#13169)
* test(web): consolidate scenario capture schema coverage

* test(web): preserve wide scenario origin coverage
2026-11-21 17:52:42 +00:00
morluto b0043f1fe4 test(web): consolidate scenario Evidence promotion checks (#13160) 2026-11-21 17:22:41 +00:00
morluto 0fa220c735 test(web): consolidate scenario input diagnostics (#13159) 2026-11-21 12:20:56 -05:00
morluto 52437cd431 test(web): consolidate browser opening deadlines and late release checks (#13158) 2026-11-21 17:12:52 +00:00
morluto 6961a8c47c test(web): consolidate Chromium startup contract checks (#13157) 2026-11-21 17:08:12 +00:00
morluto 32549cb3f5 test(web): consolidate attached emulation and CDP admission checks (#13156) 2026-11-21 17:04:53 +00:00
morluto c23aa499f6 test(web): consolidate browser provider observation checks (#13154)
* test(web): consolidate browser provider observation checks

* test(web): update lifecycle operation evidence after consolidation
2026-11-21 11:57:35 -05:00
morluto 3704869199 test(web): exercise provider cancellation through a real session boundary (#13155) 2026-11-21 16:57:14 +00:00
morluto 5dad3b1f29 test(web): consolidate provider shutdown and cleanup recovery checks (#13152)
* test(web): consolidate provider shutdown and cleanup recovery checks

* test(web): point retry evidence at staged provider recovery
2026-11-21 16:56:44 +00:00
df1bd11895 test(process): publish timeout stop signal atomically in ExecFileOutput test (#13151)
The child recorded the received signal with writeFileSync, which creates
an empty file before writing. The test polls for existence and reads the
content while the child is still alive, so it could observe '' instead of
SIGINT (main CI run 44898480483). Write to a sibling file and rename it.

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-21 17:55:13 +01:00
morluto f609aa3393 test(web): consolidate browser artifact privacy checks (#13150) 2026-11-21 16:44:11 +00:00
morluto 560de528a3 test(web): consolidate scenario deadline and diagnostic checks (#13149) 2026-11-21 11:42:37 -05:00
morluto 436977b0e9 test(web): exercise browser setup recovery and cleanup grace (#13148) 2026-11-21 16:36:35 +00:00
morluto ad0bfa5bd0 test(web): consolidate service-worker initialization cancellation checks (#13147) 2026-11-21 16:29:00 +00:00
morluto 65038faf7e test(web): consolidate browser session cleanup receipts (#13146) 2026-11-21 16:25:53 +00:00
morluto cc814643ab test(web): consolidate service-worker policy restoration checks (#13145) 2026-11-21 11:24:10 -05:00
morluto 811e26d339 test(web): consolidate browser session initialization cleanup checks (#13144)
* test(web): consolidate browser session initialization cleanup checks

* test(web): join late browser lease in teardown
2026-11-21 16:21:10 +00:00
morluto ad6e511b60 test(web): consolidate attached navigation stop checks (#13143) 2026-11-21 16:15:43 +00:00
morluto 81b293448e test(web): tighten event receipt and listener budget checks (#13142) 2026-11-21 11:10:19 -05:00
morluto bbadf6ebf4 test(web): consolidate final event privacy checks (#13138)
* test(web): consolidate final event privacy checks

* test(web): remove unused event polling import
2026-11-21 11:06:31 -05:00
morluto ad20b4e1fc test(web): consolidate event admission budget checks (#13137) 2026-11-21 10:59:51 -05:00
morluto 3eff450977 test(web): consolidate browser event ownership checks (#13135) 2026-11-21 10:58:36 -05:00
morluto edff877c48 test(web): consolidate request schema validation checks (#13132)
* test(web): consolidate request schema validation checks

* test(web): keep unbound encoded JSON literal coverage
2026-11-21 10:52:55 -05:00
morluto 4a249dfde6 test(web): consolidate saved response retention checks (#13133) 2026-11-21 15:49:28 +00:00
morluto c53c7018e4 test(web): consolidate marked response redaction checks (#13131) 2026-11-21 10:45:10 -05:00
morluto c3dbbd4ab5 test(web): verify network content source event provenance (#13130) 2026-11-21 10:41:17 -05:00
morluto 270323942b test(web): consolidate request credential evidence checks (#13129) 2026-11-21 15:36:18 +00:00
morluto c20ee87b2b test(web): consolidate network content evidence checks (#13128) 2026-11-21 15:35:30 +00:00
morluto c9a6f5dedc test(web): consolidate transaction admission and omission checks (#13127) 2026-11-21 15:28:45 +00:00
morluto 9a9ee6cf3d test(web): consolidate network capture queue lifecycle checks (#13125) 2026-11-21 15:25:13 +00:00
morluto c09a27770f test(web): exercise encoded query limits across heap sizes (#13123)
* test(web): exercise encoded query limits across heap sizes

* test(web): isolate capacity fixture from browser globals
2026-11-21 15:25:09 +00:00
morluto b5cb5e2f0d test(web): consolidate saved scenario path checks (#13122) 2026-11-21 10:18:21 -05:00
morluto 648d1f8f9d test(web): consolidate UI response observation lifecycle checks (#13121) 2026-11-21 15:14:26 +00:00
morluto 6ae91b2a10 test(web): consolidate scenario response body bounds (#13120) 2026-11-21 15:12:13 +00:00