fix(errors): improve recovery guidance

This commit is contained in:
morluto
2026-07-13 19:09:27 +00:00
parent af8c4efb4a
commit 77454dc8f4
42 changed files with 1492 additions and 304 deletions
+1 -3
View File
@@ -73,7 +73,6 @@ describe("target-free MCP lifecycle", () => {
expect(deniedCapture.isError).toBe(true);
expect(structured(deniedCapture)).toMatchObject({
error: {
tag: "ProcessCaptureError",
category: "permission_required",
},
});
@@ -229,8 +228,7 @@ describe("target-free MCP lifecycle", () => {
),
).result;
expect(listed).toContainEqual({
question:
"network: External network isolation is not enforced by this adapter.",
question: "Was network behavior fully observed during capture?",
domain: "process-network",
});
});