fix(artifacts): admit bounded reads and preserve source identity
Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
This commit is contained in:
@@ -42,7 +42,7 @@ export const readJsonFile = async (
|
||||
if (!decoded.ok) {
|
||||
return err(
|
||||
new EvidenceFileError("read", "invalid-json", {
|
||||
cause: decoded.cause,
|
||||
cause: decoded.cause ?? new SyntaxError(decoded.error),
|
||||
path: requestedPath,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user