fix: harden structured configuration comparisons (#467)

* refactor(process): split ownership observation helpers

* fix: compare structured configuration canonically

* test(conformance): tolerate Markdown line wrapping

* refactor: name caught values explicitly
This commit is contained in:
morluto
2026-08-09 11:58:01 +08:00
committed by GitHub
parent 8f229ede70
commit 6901edc05d
15 changed files with 319 additions and 199 deletions
+2 -2
View File
@@ -260,11 +260,11 @@ export const importReferenceSource = async (
try {
return ok(createHistoricalSourceGraph(input));
} catch (error) {
} catch (cause: unknown) {
return err(
failure(
"parse",
error instanceof Error ? error.message : "Graph failed validation",
cause instanceof Error ? cause.message : "Graph failed validation",
),
);
}