Commit Graph
9 Commits
Author SHA1 Message Date
Codex 346275525e fix(artifacts): bind session inventories to target identity 2026-10-14 02:01:13 +08:00
morluto dc8a3e6078 fix(artifacts): bind extraction to opened target 2026-10-14 00:46:08 +08:00
64579525 f6748a511e fix(artifacts): reuse current classification and region reads 2026-10-13 15:38:40 +08:00
64579525 faa6f89566 Merge origin/main and retain inventory-owned extraction routing 2026-10-13 14:50:13 +08:00
7017c4d68c fix(artifacts): read every ZIP package family extraction is asked to open (#2493)
extract_artifact carried its own copy of the ZIP package format list with five
of the eight members the domain owner declares, and used it both as the guard
that refuses a format without an extraction reader and as the selector for the
reader itself. A .hap, .hsp or App Pack target was therefore refused with
"Artifact format has no extraction reader" even though the next branch builds a
ZipArtifactReader for exactly those formats, while inventory_artifact classifies
the same path through the owner and reads it.

Import isZipPackageFormat from the domain owner and delete the duplicate list
and its predicate, removing the second representation instead of reconciling it.
The reader branch now narrows to ZipPackageFormat, which is what the
ZipArtifactReader constructor already requires.

Verified with 41 boundary extraction, ZIP integrity and detection tests,
check:fast and verify:test-discovery on macOS arm64. Reverting only the source
change fails exactly the three added families and leaves the zip control green.

Co-authored-by: 吴佳浩 <wujiahao@supremind.com>
2026-10-13 14:39:29 +08:00
64579525 c17cb017fa fix(artifacts): complete prefix reads and share ZIP format admission 2026-10-12 23:27:26 +08:00
64579525 2b29105bf9 fix(artifacts): select extraction readers from scanned format 2026-10-12 23:03:51 +08:00
morluto ad59531a96 refactor: remove forwarding exports and redundant aliases 2026-10-09 22:46:09 +08:00
morluto 0696bde266 fix(providers): preserve observations and primary cleanup failures 2026-10-09 21:01:52 +08:00