{
  "file": "F14-files.md",
  "bullet": "Listing errors (`F14.subdirs-errors`).",
  "ids": [
    "F14.subdirs-errors"
  ],
  "line": 376,
  "script": "control-agent-server api GET /api/file/search_subdirs --query path=\"$T/missing\" --expect 404 \\\n  --check detail eq 'Directory not found' --save F14.subdirs-errors/missing\ncontrol-agent-server api GET /api/file/search_subdirs --query path=\"$T/f.txt\" --expect 400 --check detail eq 'Path is not a directory'\ncontrol-agent-server api GET /api/file/search_subdirs --query path=qa-f14 --expect 400 --check detail eq 'Path must be absolute'\ncontrol-agent-server api GET /api/file/search_subdirs --expect 422\n",
  "exit_code": 0,
  "elapsed_ms": 11507,
  "failed_line": null,
  "failed_command": null,
  "stdout": "{\n  \"ok\": true,\n  \"status\": 404,\n  \"request\": {\n    \"method\": \"GET\",\n    \"path\": \"/api/file/search_subdirs\",\n    \"query\": [\n      [\n        \"path\",\n        \"/workspace/verification-artifacts/runs/20261013-022038-d620-map-f14/fixtures/qa-f14/subdirs/missing\"\n      ]\n    ],\n    \"auth\": \"header\",\n    \"body\": null,\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 404,\n    \"headers\": {\n      \"content-length\": \"32\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": \"Directory not found\"\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 319,\n  \"checks\": [\n    {\n      \"check\": \"detail eq Directory not found\",\n      \"ok\": true,\n      \"actual\": \"Directory not found\"\n    }\n  ],\n  \"saved\": \"/workspace/verification-artifacts/runs/20261013-022038-d620-map-f14/evidence/F14.subdirs-errors/missing.json\"\n}\n{\n  \"ok\": true,\n  \"status\": 400,\n  \"request\": {\n    \"method\": \"GET\",\n    \"path\": \"/api/file/search_subdirs\",\n    \"query\": [\n      [\n        \"path\",\n        \"/workspace/verification-artifacts/runs/20261013-022038-d620-map-f14/fixtures/qa-f14/subdirs/f.txt\"\n      ]\n    ],\n    \"auth\": \"header\",\n    \"body\": null,\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 400,\n    \"headers\": {\n      \"content-length\": \"36\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": \"Path is not a directory\"\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 496,\n  \"checks\": [\n    {\n      \"check\": \"detail eq Path is not a directory\",\n      \"ok\": true,\n      \"actual\": \"Path is not a directory\"\n    }\n  ]\n}\n{\n  \"ok\": true,\n  \"status\": 400,\n  \"request\": {\n    \"method\": \"GET\",\n    \"path\": \"/api/file/search_subdirs\",\n    \"query\": [\n      [\n        \"path\",\n        \"qa-f14\"\n      ]\n    ],\n    \"auth\": \"header\",\n    \"body\": null,\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 400,\n    \"headers\": {\n      \"content-length\": \"34\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": \"Path must be absolute\"\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 596,\n  \"checks\": [\n    {\n      \"check\": \"detail eq Path must be absolute\",\n      \"ok\": true,\n      \"actual\": \"Path must be absolute\"\n    }\n  ]\n}\n{\n  \"ok\": true,\n  \"status\": 422,\n  \"request\": {\n    \"method\": \"GET\",\n    \"path\": \"/api/file/search_subdirs\",\n    \"query\": [],\n    \"auth\": \"header\",\n    \"body\": null,\n    \"files\": []\n  },\n  \"response\": {\n    \"status\": 422,\n    \"headers\": {\n      \"content-length\": \"90\",\n      \"content-type\": \"application/json\"\n    },\n    \"body\": {\n      \"detail\": [\n        {\n          \"type\": \"missing\",\n          \"loc\": [\n            \"query\",\n            \"path\"\n          ],\n          \"msg\": \"Field required\",\n          \"input\": null\n        }\n      ]\n    },\n    \"truncated\": false\n  },\n  \"elapsed_ms\": 500\n}\n",
  "stderr": ""
}
