Files
reverse-engineering-anything/docs/reference
morluto b7f662bd19 fix(errors)!: keep only changed reader integrity checks retryable
readerIntegrityFailure turned every reader integrity failure into
AnalysisArtifactChangedError, so a session target that no longer matched
its admitted digest (admitted-identity) and other non-change checks were
reported as artifact_changed with retryable true, though an unchanged
retry fails the same comparison every time.

It now consults integrityCheckMeansChanged, the owner of that meaning:
a changed check stays AnalysisArtifactChangedError, and any other check
is an ArtifactOperationError with reason integrity, the reader's
integrity_check and its userMessage as message and recovery.
ArtifactOperationError's operation is widened to the public operation
name so every reader can raise it, with the one classification owner.
Sigrok's recording dialect used its own unconditional changed mapping;
it now uses readerIntegrityFailure too, and also keeps the named check.

Every artifact_changed projection now carries the changed kind's retry
hint, not only the ArtifactOperationError producer.

BREAKING CHANGE: inspect_plist, inspect_apk_signature,
inspect_ntfs_journal, inspect_api_contract, audit_release_exposure,
inspect_web_network_capture, inspect_playwright_trace,
inspect_packet_capture, inspect_packet_fields, inspect_gpu_code_objects,
inspect_model_artifact, inspect_native_dispatch_metadata, inspect_macho,
list_architectures, inspect_sqlite_database, sigrok recording operations,
Android mapping reads and the shared provider classifier report a
non-change integrity check (for example admitted-identity) as
artifact_operation_failed, category integrity_mismatch, retryable false,
with details.reason "integrity" and details.integrity_check, instead of
artifact_changed. artifact_changed errors from AnalysisArtifactChangedError
now include retry "backoff".
2026-11-25 11:18:40 -05:00
..