{
  "file": "F08-confirmation-security-secrets.md",
  "bullet": "Confirmation errors (`F08.confirm-errors`).",
  "ids": [
    "F08.confirm-errors"
  ],
  "line": 261,
  "script": "control-agent-server api POST \"<redacted:session-cookie>/$RJ/events/respond_to_confirmation\" --json '{}' \\\n  --expect 422 --check detail.0.loc contains accept --save F08.confirm-errors/missing-accept\ncontrol-agent-server api POST \"<redacted:session-cookie>/$RJ/events/respond_to_confirmation\" --json '{\"accept\": \"maybe\"}' --expect 422\ncontrol-agent-server api POST <redacted:session-cookie>/not-a-uuid/events/respond_to_confirmation --json '{\"accept\": false}' --expect 422\ncontrol-agent-server api POST \"<redacted:session-cookie>/$NOPE/events/respond_to_confirmation\" --json '{\"accept\": false}' \\\n  --expect 404 --check detail contains 'Conversation not found'\ncontrol-agent-server api POST \"<redacted:session-cookie>/$RJ/events/respond_to_confirmation\" --json '{\"accept\": false}' --auth none --expect 401\n",
  "exit_code": 0,
  "elapsed_ms": 1576,
  "failed_line": null,
  "failed_command": null,
  "stdout": "{\n  \"ok\": true,\n  \"status\": 422,\n  \"request\": {\n    \"method\": \"POST\",\n    \"path\": \"<redacted:session-cookie>/1af5cd7b-68fb-48fd-b2c9-f3f91e06b709/events/respond_to_confirmation\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": {},\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 422,\n    \"headers\": {\n      \"content-length\": \"89\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": [\n        {\n          \"type\": \"missing\",\n          \"loc\": [\n            \"body\",\n            \"accept\"\n          ],\n          \"msg\": \"Field required\",\n          \"input\": {}\n        }\n      ]\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 43,\n  \"checks\": [\n    {\n      \"check\": \"detail.0.loc contains accept\",\n      \"ok\": true,\n      \"actual\": \"[\\\"body\\\", \\\"accept\\\"]\"\n    }\n  ],\n  \"saved\": \"/workspace/verification-artifacts/runs/20261013-021713-afec-map-f08/evidence/F08.confirm-errors/missing-accept.json\"\n}\n{\n  \"ok\": true,\n  \"status\": 422,\n  \"request\": {\n    \"method\": \"POST\",\n    \"path\": \"<redacted:session-cookie>/1af5cd7b-68fb-48fd-b2c9-f3f91e06b709/events/respond_to_confirmation\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": {\n      \"accept\": \"maybe\"\n    },\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 422,\n    \"headers\": {\n      \"content-length\": \"143\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": [\n        {\n          \"type\": \"bool_parsing\",\n          \"loc\": [\n            \"body\",\n            \"accept\"\n          ],\n          \"msg\": \"Input should be a valid boolean, unable to interpret input\",\n          \"input\": \"maybe\"\n        }\n      ]\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 62\n}\n{\n  \"ok\": true,\n  \"status\": 422,\n  \"request\": {\n    \"method\": \"POST\",\n    \"path\": \"<redacted:session-cookie>/not-a-uuid/events/respond_to_confirmation\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": {\n      \"accept\": false\n    },\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 422,\n    \"headers\": {\n      \"content-length\": \"214\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": [\n        {\n          \"type\": \"uuid_parsing\",\n          \"loc\": [\n            \"path\",\n            \"conversation_id\"\n          ],\n          \"msg\": \"Input should be a valid UUID, invalid character: found `n` at 1\",\n          \"input\": \"not-a-uuid\",\n          \"ctx\": {\n            \"error\": \"invalid character: found `n` at 1\"\n          }\n        }\n      ]\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 46\n}\n{\n  \"ok\": true,\n  \"status\": 404,\n  \"request\": {\n    \"method\": \"POST\",\n    \"path\": \"<redacted:session-cookie>/17cac980-f98c-4c68-bbdf-0ff2c17a8207/events/respond_to_confirmation\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": {\n      \"accept\": false\n    },\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 404,\n    \"headers\": {\n      \"content-length\": \"73\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": \"Conversation not found: 17cac980-f98c-4c68-bbdf-0ff2c17a8207\"\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 50,\n  \"checks\": [\n    {\n      \"check\": \"detail contains Conversation not found\",\n      \"ok\": true,\n      \"actual\": \"Conversation not found: 17cac980-f98c-4c68-bbdf-0ff2c17a8207\"\n    }\n  ]\n}\n{\n  \"ok\": true,\n  \"status\": 401,\n  \"request\": {\n    \"method\": \"POST\",\n    \"path\": \"<redacted:session-cookie>/1af5cd7b-68fb-48fd-b2c9-f3f91e06b709/events/respond_to_confirmation\",\n    \"query\": [],\n    \"auth\": \"none\",\n    \"body\": {\n      \"accept\": false\n    },\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 401,\n    \"headers\": {\n      \"content-length\": \"25\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": \"Unauthorized\"\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 48\n}\n",
  "stderr": ""
}
