fix: report malformed application evidence as input errors

This commit is contained in:
morluto
2026-10-10 03:52:35 +08:00
parent 55a46f7c71
commit 218c13160e
15 changed files with 613 additions and 165 deletions
@@ -175,7 +175,7 @@ it("names the side and constraint when Evidence is not a usable capture", async
error: {
code: "evidence_integrity_mismatch",
message: expect.stringContaining(
"The right Evidence failed validation (Evidence semantic identifier does not match its record)",
"The right Evidence failed validation (at evidence_id: Evidence semantic identifier does not match its record)",
),
},
});