mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
`inspect_pe_resources` turned every acquisition failure other than limits and access denial into `artifact_operation_failed` with "Artifact could not be read or written. Check file access and try again." A missing path, a directory, a symlink or a path under a regular file got that advice, although the caller selected a target that cannot be a PE image. Map the stable reader's non-regular-file refusal and ENOENT/ENOTDIR to `AnalysisInputError` issues on `path`, and a file that changed during the read to `AnalysisArtifactChangedError`, as the sibling EVM carrier read does. Other I/O failures stay artifact faults. Co-Authored-By: Claude Opus 5.5 <[email protected]>