{
  "run_id": "mixelpixx--KiCAD-MCP-Server-claude-haiku-5-5-1792815554383394488",
  "date": "2026-10-24T04:43:11.318969+00:00",
  "repo": "mixelpixx/KiCAD-MCP-Server",
  "kind": "mcp",
  "source": "https://github.com/mixelpixx/KiCAD-MCP-Server",
  "commit": "cbb59a6203997f5e916be7e0480d63fe5519134a",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9",
  "pass": false,
  "outcome": "blocked",
  "time_to_working_s": null,
  "total_s": 1436.9355509281158,
  "steps": [
    "cd <guest-path> && ls -la && id -u && cat /etc/os-release | head -3 && python3 --version && git --version 2>&1; ls /inputs 2>&1; ls <guest-path> 2>&1",
    "cd <guest-path> && cat README.md | head -300",
    "cd <guest-path> && grep -n '^#' README.md | head -120",
    "cd <guest-path> && grep -n -i 'install\\|quick\\|python\\|node\\|kicad' README.md | sed -n '1,200p' | cut -c1-220 | head -150",
    "cd <guest-path> && sed -n '930,1010p' README.md",
    "cd <guest-path> && (node --version; npm --version; which kicad-cli; python3 -c \"import pcbnew\" 2>&1 | tail -1; pip3 --version; sudo -n true && echo SUDO_OK; cat /etc/apt/sources.list.d/* 2>/dev/null | head -5; echo \"proxy=$HTTPS_PROXY $https_proxy\") 2>&1",
    "cd <guest-path> && git init -q 2>&1; git remote add origin https://github.com/mixelpixx/KiCAD-MCP-Server 2>&1; timeout 120 git fetch --depth 1 origin cbb59a6203997f5e916be7e0480d63fe5519134a 2>&1 | tail -5; echo \"rc=$?\"; git log --oneline -1 FETCH_HEAD 2>&1",
    "cd <guest-path> && git reset --mixed FETCH_HEAD 2>&1 | tail -2; git status --short | head -20; echo \"---\"; git status --short | wc -l",
    "export DEBIAN_FRONTEND=noninteractive; sudo apt-get update -qq 2>&1 | tail -3; sudo apt-get install -y -qq software-properties-common python3-pip python3-venv curl ca-certificates 2>&1 | tail -3; sudo add-apt-repository --yes ppa:kicad/kicad-9.0-releases 2>&1 | tail -5; echo \"rc=$?\"",
    "export DEBIAN_FRONTEND=noninteractive; sudo apt-get update -qq 2>&1 | tail -3; timeout 1500 sudo apt-get install -y -qq kicad kicad-libraries > /tmp/kicad-install.log 2>&1; echo \"rc=$?\"; tail -5 /tmp/kicad-install.log; which kicad-cli; kicad-cli --version 2>&1 | head -2",
    "export DEBIAN_FRONTEND=noninteractive; curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh 2>&1; echo \"dl_rc=$?\"; sudo -E bash /tmp/nodesource_setup.sh > /tmp/nodesource.log 2>&1; echo \"setup_rc=$?\"; tail -3 /tmp/nodesource.log; sudo apt-get install -y -qq nodejs 2>&1 | tail -2; node --version; npm --version",
    "python3 -c \"import pcbnew; print(pcbnew.GetBuildVersion())\" 2>&1 | tail -1; ls /usr/lib/python3/dist-packages | grep -i pcb; /usr/bin/python3 --version; cat <guest-path>",
    "cd <guest-path> && python3 -m venv --system-site-packages <guest-path> 2>&1 | tail -2; <guest-path> --version; timeout 900 <guest-path> install -q -r <guest-path> > <guest-path> 2>&1; echo \"pip_rc=$?\"; tail -5 <guest-path>; <guest-path> -c \"import pcbnew, kipy, skip; print('ok', pcbnew.GetBuildVersion())\" 2>&1 | tail -1",
    "cd <guest-path> && export NODE_USE_ENV_PROXY=1 && timeout 1200 npm install > <guest-path> 2>&1; echo \"npm_install_rc=$?\"; tail -5 <guest-path>; timeout 600 npm run build > <guest-path> 2>&1; echo \"build_rc=$?\"; tail -8 <guest-path>",
    "cd <guest-path> && cat package.json | head -50; echo ---; grep -n 'dist/index\\|npm start\\|npm test\\|pytest\\|stdio\\|mcpServers' README.md | cut -c1-200 | head -40",
    "cd <guest-path> && sed -n '1199,1262p' README.md; echo ----; cat .env.example; echo ----; grep -rn \"PYTHON\\|KICAD_PYTHON\\|python3\\|'python'\" src/*.ts src/**/*.ts 2>/dev/null | grep -i 'env\\|spawn\\|python' | head -20",
    "cd <guest-path> && sed -n '705,722p' README.md; grep -n 'create_project' README.md | head; echo ---; wc -l <guest-path>; grep -n 'def \\|expected_file\\|stays_running' <guest-path> | head -60",
    "cd <guest-path> && grep -rn '\"create_project\"' src python | head -5; grep -rn -A25 \"name: \\\"create_project\\\"\" src | head -50",
    "mkdir -p <guest-path> && cd <guest-path> && export KICAD_PYTHON=<guest-path> && { printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"t\",\"version\":\"1\"}}}' '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}' '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\"params\":{\"name\":\"create_project\",\"arguments\":{\"projectName\":\"claimdemo\",\"path\":\"<guest-path>\"}}}'; sleep 25; } | timeout 60 node dist/index.js 2><guest-path> | cut -c1-900; echo \"rc=${PIPESTATUS[1]}\"; tail -5 <guest-path> | cut -c1-300; ls -la <guest-path> <guest-path> 2>&1",
    "cd <guest-path> && grep -rn -B2 -A12 '\"create_project\"' python/schemas/tool_schemas.py | head -40; grep -rln 'def create_project\\|create_project' python | head; sed -n 1,30p src/tools/project.ts",
    "cd <guest-path> && export KICAD_PYTHON=<guest-path> && { printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"t\",\"version\":\"1\"}}}' '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}' '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\"params\":{\"name\":\"create_project\",\"arguments\":{\"name\":\"claimdemo\",\"path\":\"<guest-path>\"}}}'; sleep 30; } | timeout 60 node dist/index.js 2><guest-path> | cut -c1-1200; echo; ls -la <guest-path> <guest-path> 2>&1 | head -20",
    "cd <guest-path> && cat <guest-path> | cut -c1-400 | head -60",
    "cd <guest-path> && export KICAD_PYTHON=<guest-path> && { printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"t\",\"version\":\"1\"}}}' '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'; sleep 8; printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\"params\":{\"name\":\"create_project\",\"arguments\":{\"name\":\"claimdemo\",\"path\":\"<guest-path>\"}}}'; sleep 5; } | timeout 60 node dist/index.js 2><guest-path> | cut -c1-1200; echo; ls -la <guest-path> <guest-path> 2>&1 | head -20",
    "sed -n 41,47p <guest-path>; sed -n 384,444p <guest-path>",
    "cd <guest-path> && rm -f <guest-path> && grep -c 'Initialize new KiCAD projects' README.md && grep -n '`create_project` - Initialize new KiCAD projects' README.md && ls -la .coldpass && cat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"mcp\",\"argv\":[\"node\",\"dist/index.js\"],\"cwd\":\"<guest-path>\",\"env\":{\"KICAD_PYTHON\":\"<guest-path>\"},\"tool\":\"create_project\",\"arguments\":{\"name\":\"probedemo\",\"path\":\"<guest-path>\"},\"expected_text\":\"Created project: probedemo\"}\nEOF\ncat > .coldpass/claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"create_project initializes a new KiCAD project\",\"source\":\"`create_project` - Initialize new KiCAD projects\",\"input\":\"name=claimcheck path=<guest-path>\",\"expected\":\"project files created and tool reports success\",\"probe_kind\":\"mcp\",\"argv\":[\"node\",\"dist/index.js\"],\"tool\":\"create_project\",\"arguments\":{\"name\":\"claimcheck\",\"path\":\"<guest-path>\"},\"expected_text\":\"Created project: claimcheck\",\"cwd\":\"<guest-path>\",\"env\":{\"KICAD_PYTHON\":\"<guest-path>\"}}]\nEOF\npython3 -m json.tool .coldpass/probe.json >/dev/null && python3 -m json.tool .coldpass/claims.json > /dev/null && echo JSON_OK",
    "cd <guest-path> && grep -rn -i 'cron\\|schedul\\|--once\\|--now\\|webhook\\|setInterval\\|while True' README.md python/kicad_interface.py src/*.ts 2>/dev/null | cut -c1-180 | head -20; echo ---; cat requirements-dev.txt; echo ---; sed -n 1,20p pytest.ini",
    "cd <guest-path> && timeout 900 <guest-path> install -q -r requirements-dev.txt > <guest-path> 2>&1; echo \"devpip_rc=$?\"; tail -3 <guest-path>; export NODE_USE_ENV_PROXY=1 KICAD_PYTHON=<guest-path>; PATH=<guest-path> timeout 1500 npm test > <guest-path> 2>&1; echo \"test_rc=$?\"; grep -E 'Test Files|Tests |passed|failed' <guest-path> | tail -8",
    "cd <guest-path> && grep -E '^FAILED|^ERROR| Test Files| Tests ' <guest-path> | cut -c1-300 | head -20; grep -n 'vitest\\|Test Files' <guest-path> | head -5",
    "cd <guest-path> && grep -n -A12 '_ test_minimal_fixture_exports_pdf _\\|_ test_kicad_keeps_the_block_as_written _' <guest-path> | cut -c1-260 | head -60",
    "cd <guest-path> && cat > .coldpass/examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"TypeScript unit tests of the MCP server pass offline\",\"source\":\"package.json scripts test:ts\",\"input\":\"npm run test:ts\",\"expected\":\"112 tests pass under vitest\",\"argv\":[\"npm\",\"run\",\"test:ts\"],\"cwd\":\"<guest-path>\",\"env\":{\"NODE_USE_ENV_PROXY\":\"1\"},\"expected_text\":\"112 passed\"},{\"kind\":\"example\",\"claim\":\"Python test suite runs offline with the documented pytest command\",\"source\":\"package.json scripts test:py\",\"input\":\"pytest tests/test_schematic_batch.py\",\"expected\":\"tests pass under pytest\",\"argv\":[\"<guest-path>\",\"tests/test_schematic_batch.py\",\"-q\"],\"cwd\":\"<guest-path>\",\"env\":{\"KICAD_PYTHON\":\"<guest-path>\"},\"expected_text\":\"passed\"}]\nEOF\ncat > .coldpass/cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Entry points inspected: README.md (no cron, schedule, --once, --now, or webhook text), python/kicad_interface.py and src/*.ts (no scheduler or polling loop). The server is a request-driven stdio MCP server that runs only when a client calls a tool, so there is no product cycle to trigger by hand.\",\"checks\":[]}\nEOF\npython3 -m json.tool .coldpass/examples.json >/dev/null && python3 -m json.tool .coldpass/cycles.json >/dev/null && echo OK; PATH=<guest-path> <env-var>=<guest-path> timeout 1500 python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo \"check_rc=$?\"; tail -c 3000 <guest-path>",
    "cd <guest-path> && python3 - <<'EOF'\nimport json,re\nt=open('<guest-path>').read()\nprint(len(t))\nfor m in re.finditer(r'\"(problems|errors|problem|error)\"\\s*:\\s*(\\[.*?\\]|\"[^\"]*\")', t):\n    print(m.group(0)[:800]); print('--')\nprint(t[:1500])\nEOF",
    "cd <guest-path> && python3 - <<'EOF'\nimport re\nt=open('<guest-path>').read()\nfor m in re.finditer(r'not running|isError|\"working\\\\\\\\\": (true|false)', t):\n    print(t[max(0,m.start()-200):m.end()+60].replace('\\\\\\\\','\\\\')); print('=====')\n    break\ni=t.find('tool_result'); print(t[i:i+400])\nEOF\ngrep -n 'problems' <guest-path> | head -2 | cut -c1-100; grep -o 'claim[^,]*replay[^\"]*' <guest-path> | head -3 | cut -c1-300",
    "cd <guest-path> && grep -rn 'is not running' src | head; grep -rn -B12 'Python process for KiCAD scripting is not running' src/kicad-server.ts src/*.ts 2>/dev/null | head -40 | cut -c1-200",
    "cd <guest-path> && grep -rn 'process.env\\.[A-Z_]*' -o src | sort | uniq -c | sort -rn | head -30; sed -n 700,730p src/server.ts | cut -c1-200",
    "cd <guest-path> && export KICAD_PYTHON=<guest-path>; for d in 0 1 3; do n=timing$d; out=$( { printf '%s\\n' '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"t\",\"version\":\"1\"}}}' '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}' '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'; sleep $d; printf '%s\\n' \"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"id\\\":3,\\\"method\\\":\\\"tools/call\\\",\\\"params\\\":{\\\"name\\\":\\\"create_project\\\",\\\"arguments\\\":{\\\"name\\\":\\\"$n\\\",\\\"path\\\":\\\"<guest-path>\\\"}}}\"; sleep 4; } | timeout 60 node dist/index.js 2>/dev/null | grep '\"id\":3' | cut -c1-260 ); echo \"delay=$d -> $out\"; done; ls <guest-path>",
    "cd <guest-path> && rm -f <guest-path> && pgrep -fa 'dist/index.js|kicad_interface' | head -3; PATH=<guest-path> <env-var>=<guest-path> timeout 1500 python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo \"check_rc=$?\"; python3 -c \"\nimport json,re\nt=open('<guest-path>').read()\ni=t.find('\\\"valid\\\"'); print(t[i:i+200] if i>=0 else t[:300])\nprint('problems mentions:', len(re.findall(r'problem', t)))\nfor k in ['probe replay failed','claims:','examples','cycle']:\n    print(k, t.count(k))\n\"; ls <guest-path>",
    "cd <guest-path> && python3 -c \"\nimport json\nt=open('<guest-path>').read()\ni=t.find('{'); \nd=json.loads(t[i:t.rfind('}')+1])\nfor p in d['problems']: print(p[:3000]); print('---')\n\" ; echo; cat .coldpass/probe.json; echo; cat .coldpass/claims.json",
    "cd <guest-path> && mkdir -p .coldpass && cat > .coldpass/report.json <<'EOF'\n{\n  \"outcome\": \"blocked\",\n  \"fault_owner\": \"repo\",\n  \"operation\": \"create_project MCP tool via node dist/index.js (README Installation + MCP stdio usage)\",\n  \"operation_scope\": \"Node MCP server at pinned commit cbb59a6 started with KICAD_PYTHON=<guest-path>; probe and claim call create_project(name, path=<guest-path>).\",\n  \"steps\": [\n    \"Installed Node 20 (NodeSource setup_20.x from README) and python3-pip/python3-venv via apt.\",\n    \"Installed KiCad 9.0.9 from the kicad 9.0 PPA per README; README asks for 9.0+.\",\n    \"Created venv <guest-path> with --system-site-packages and installed requirements.txt and requirements-dev.txt (PEP 668 blocked plain pip3).\",\n    \"npm install and npm run build succeeded (dist/index.js produced).\",\n    \"Started server with node dist/index.js; initialize and tools/list succeeded (serverInfo kicad-mcp-server 2.8.2).\",\n    \"Manual create_project calls succeeded once the Python worker was ready: Created project: timing3 with .kicad_pro/.kicad_pcb/.kicad_sch/.kicad_prl written.\",\n    \"Timing test: tools/call sent after 0 s and 1 s delay failed with 'Python process for KiCAD scripting is not running'; 3 s delay succeeded.\",\n    \"Checker replay: probe and claim both returned 'Python process for KiCAD scripting is not running' (isError true), because the checker calls tools/call immediately after initialize.\"\n  ],\n  \"deviations\": [\n    \"Used a venv with --system-site-packages instead of the README's bare pip3 install, because Ubuntu PEP 668 blocks system pip.\",\n    \"Probe and claim arguments use name+path, matching the registered create_project schema, not projectName.\",\n    \"npm test:ts/pytest suite: 5 pytest failures tied to kicad-cli behavior on KiCad 9.0.9 vs. the KiCad 10 behavior the tests expect (not fixed; prerequisite mismatch).\"\n  ],\n  \"stuck_step\": \"Checker MCP replay of create_project (probe.json and claims.json): tools/call issued immediately after initialize returns 'Python process for KiCAD scripting is not running'.\",\n  \"main_blocker\": \"src/server.ts and src/kicad-server.ts callKicadScript reject calls while the Python worker is still starting (about 1.6 to 3 s after launch) instead of waiting or queueing. A call issued with no delay therefore fails.\",\n  \"plain_failure\": \"The checker's replay of the saved MCP probe and README claim fails. The product works when a call arrives after the worker is READY (manual test with a 3 s delay created files), but the checker validation still reports problems.\",\n  \"suggested_fix\": \"Make callKicadScript wait for the Python worker READY signal (or queue calls) instead of rejecting during startup, or have the server not answer tools/list until the worker is ready. No checker or probe change has been made to hide this.\"\n}\nEOF\npython3 -m json.tool .coldpass/report.json >/dev/null && echo report_ok; <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -c 600; echo; ls <guest-path>",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo rc=$?; grep -o '\"valid\": [a-z]*' <guest-path>; grep -o 'probe replay failed[^\"]\\{0,80\\}' <guest-path> | head -2; grep -o 'claims: [^\\\\]\\{0,120\\}' <guest-path> | head -1; ls <guest-path>; pgrep -fa 'dist/index.js' | grep -v pgrep | head -3"
  ],
  "stuck_step": "Checker MCP replay of create_project (probe.json and claims.json): tools/call issued immediately after initialize returns 'Python process for KiCAD scripting is not running'.",
  "error_excerpt": "src/server.ts and src/kicad-server.ts callKicadScript reject calls while the Python worker is still starting (about 1.6 to 3 s after launch) instead of waiting or queueing. A call issued with no delay therefore fails.",
  "what_it_did": "create_project MCP tool via node dist/index.js (README Installation + MCP stdio usage)",
  "suggested_fix": "Make callKicadScript wait for the Python worker READY signal (or queue calls) instead of rejecting during startup, or have the server not answer tools/list until the worker is ready. No checker or probe change has been made to hide this.",
  "tokens_in": 1277559,
  "tokens_out": 24272,
  "cost_usd": 0.043046155,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "FAIL",
      "details": {
        "working": false,
        "argv": [
          "node",
          "dist/index.js"
        ],
        "kind": "mcp",
        "serverInfo": {
          "name": "kicad-mcp-server",
          "version": "2.8.2",
          "description": "MCP server for KiCAD PCB design operations"
        },
        "tools": [
          "list_tool_categories",
          "get_category_tools",
          "search_tools",
          "create_project",
          "open_project",
          "open_board",
          "reload_board",
          "close_project",
          "save_project",
          "save_board",
          "save_as",
          "is_dirty",
          "discard_or_reload",
          "get_project_info",
          "snapshot_project",
          "set_board_size",
          "set_board_origin",
          "get_board_origin",
          "add_layer",
          "set_active_layer",
          "get_board_info",
          "get_layer_list",
          "add_board_outline",
          "clear_board_outline",
          "replace_board_outline",
          "list_graphics",
          "delete_graphic",
          "update_graphic",
          "add_mounting_hole",
          "add_board_text",
          "add_zone",
          "get_board_extents",
          "get_board_2d_view",
          "import_svg_logo",
          "place_component",
          "move_component",
          "batch_move_components",
          "rotate_component",
          "delete_component",
          "edit_component",
          "set_footprint_type",
          "find_component",
          "get_component_properties",
          "add_component_annotation",
          "group_components",
          "replace_component",
          "get_component_pads",
          "get_pads",
          "get_net_pads",
          "get_component_geometry",
          "get_component_list",
          "get_pad_position",
          "get_ratsnest",
          "estimate_airwire_lengths",
          "check_placement_clearance",
          "move_footprint_text",
          "place_component_array",
          "align_components",
          "check_courtyard_overlaps",
          "suggest_placement",
          "duplicate_component",
          "hierarchical_place",
          "add_net",
          "route_trace",
          "route_arc_trace",
          "add_via",
          "add_copper_pour",
          "delete_trace",
          "query_traces",
          "query_zones",
          "add_gnd_stitching_vias",
          "get_nets_list",
          "modify_trace",
          "create_netclass",
          "set_net_color",
          "route_differential_pair",
          "refill_zones",
          "route_pad_to_pad",
          "copy_routing_pattern",
          "set_design_rules",
          "get_design_rules",
          "run_drc",
          "assign_net_to_class",
          "set_layer_constraints",
          "check_clearance",
          "get_drc_violations",
          "export_gerber",
          "export_pdf",
          "export_svg",
          "export_3d",
          "export_bom",
          "export_netlist",
          "export_position_file",
          "export_vrml",
          "export_gerbers",
          "export_drill",
          "export_ipc2581",
          "export_odb",
          "export_ipcd356",
          "export_gencad",
          "export_pos",
          "export_pcb_pdf",
          "export_pcb_svg",
          "export_pcb_dxf",
          "export_gerber_single",
          "export_3d_cli",
          "export_sch_bom",
          "export_sch_pdf",
          "export_sch_svg",
          "export_sch_dxf",
          "export_sch_hpgl",
          "export_sch_ps",
          "export_sch_python_bom",
          "create_schematic",
          "add_schematic_component",
          "delete_schematic_component",
          "edit_schematic_component",
          "set_schematic_component_property",
          "remove_schematic_component_property",
          "get_schematic_component",
          "add_schematic_wire",
          "add_schematic_net_label",
          "add_no_connect",
          "connect_to_net",
          "get_net_connections",
          "get_wire_connections",
          "get_schematic_pin_locations",
          "connect_passthrough",
          "list_schematic_components",
          "list_schematic_nets",
          "list_schematic_wires",
          "list_schematic_labels",
          "move_schematic_component",
          "rotate_schematic_component",
          "annotate_schematic",
          "delete_schematic_wire",
          "delete_schematic_net_label",
          "move_schematic_net_label",
          "export_schematic_svg",
          "export_schematic_pdf",
          "get_schematic_view",
          "run_erc",
          "generate_netlist",
          "sync_schematic_to_board",
          "backannotate_footprints",
          "create_board_from_schematic",
          "get_schematic_view_region",
          "find_overlapping_elements",
          "get_elements_in_region",
          "find_wires_crossing_symbols",
          "list_floating_labels",
          "find_orphaned_wires",
          "snap_to_grid",
          "lint_offgrid",
          "get_net_at_point",
          "add_schematic_hierarchical_label",
          "list_schematic_texts",
          "add_schematic_text",
          "add_sheet_pin",
          "list_libraries",
          "search_footprints",
          "list_library_footprints",
          "get_footprint_info",
          "list_library_table",
          "remove_library_table_entry",
          "set_library_table_uri",
          "list_symbol_libraries",
          "repair_flat_symbols",
          "search_symbols",
          "list_library_symbols",
          "get_symbol_info",
          "list_symbol_pins",
          "batch_list_symbol_pins",
          "set_symbol_pin_type",
          "find_duplicate_symbols",
          "add_hierarchical_sheet",
          "remove_hierarchical_sheet",
          "set_sheet_property",
          "get_sheet_properties",
          "create_hierarchical_subsheet",
          "set_schematic_property_position",
          "batch_set_schematic_property_positions",
          "autoplace_schematic_fields",
          "lint_schematic_cosmetic",
          "suggest_schematic_declutter",
          "batch_add_components",
          "batch_edit_schematic_components",
          "update_symbol_from_library",
          "add_library_symbol_property",
          "replace_instance_lib_ids",
          "replace_schematic_component",
          "batch_add_no_connects",
          "batch_connect",
          "batch_add_and_connect",
          "download_jlcpcb_database",
          "search_jlcpcb_parts",
          "get_jlcpcb_part",
          "get_jlcpcb_database_stats",
          "suggest_jlcpcb_alternatives",
          "digikey_test_connection",
          "digikey_search_parts",
          "digikey_check_library_availability",
          "search_parts_registry",
          "get_registry_part",
          "download_registry_part",
          "enrich_datasheets",
          "get_datasheet_url",
          "create_footprint",
          "add_footprint_3d_model",
          "import_3d_model",
          "add_component_3d_model",
          "edit_footprint_pad",
          "register_footprint_library",
          "list_footprint_libraries",
          "create_symbol",
          "delete_symbol",
          "list_symbols_in_library",
          "register_symbol_library",
          "add_symbol_property",
          "import_symbol",
          "export_symbol",
          "rename_symbol",
          "get_backend_state",
          "check_kicad_ui",
          "launch_kicad_ui",
          "kicad_gui_tree",
          "kicad_gui_click",
          "kicad_run_action_plugin",
          "kicad_gui_wait_for",
          "kicad_gui_screenshot",
          "kicad_pcb_snapshot",
          "kicad_reload_and_open_plugin",
          "kicad_run_drc",
          "kicad_gui_tree_atspi",
          "kicad_gui_click_atspi",
          "install_gui_driver",
          "autoroute",
          "export_dsn",
          "import_ses",
          "check_freerouting",
          "import_eagle_project",
          "import_pcb",
          "validate_schematic",
          "validate_symbol_library"
        ],
        "tool_schema_bytes": 242810,
        "tool_result": {
          "content": [
            {
              "type": "text",
              "text": "Python process for KiCAD scripting is not running"
            }
          ],
          "isError": true
        },
        "blocker": "MCP tool result did not confirm the expected product output"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 1 connection review, 271 known vulnerability.",
    "expected": "Reviewed as expected for a test run: resolver address lookups that send no data.",
    "findings": [
      {
        "kind": "connection-review",
        "count": 1,
        "note": "Repository processes attempted these non-loopback connections; proxies can hide the final hostname.",
        "location_count": 1,
        "path": "52.168.112.67:443",
        "process_count": 1,
        "processes": [
          {
            "address": "52.168.112.67:443",
            "executable": "<guest-path>",
            "owner": "repo",
            "pid": "13585",
            "source": "tests"
          }
        ]
      },
      {
        "kind": "known-vulnerability",
        "count": 115,
        "note": "OSV reports a known vulnerability in this dependency version.",
        "location_count": 18
      }
    ],
    "context": [],
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=mixelpixx--KiCAD-MCP-Server-claude-haiku-5-5-1792815554383394488",
    "evidence_file": "/data/safety/mixelpixx--KiCAD-MCP-Server-claude-haiku-5-5-1792815554383394488.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.300 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 39,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "cbb59a6203997f5e916be7e0480d63fe5519134a",
    "url": "https://github.com/mixelpixx/KiCAD-MCP-Server"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": "repo",
    "status": "diagnosed",
    "reason": "src/server.ts and src/kicad-server.ts callKicadScript reject calls while the Python worker is still starting (about 1.6 to 3 s after launch) instead of waiting or queueing. A call issued with no delay therefore fails."
  },
  "fix_id": "fix-c8558d4ce1ba0882a0ed",
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "Node MCP server at pinned commit cbb59a6 started with KICAD_PYTHON=<guest-path>; probe and claim call create_project(name, path=<guest-path>).",
  "tool_calls": 39,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": "task",
  "evidence_strength": "partly_checked",
  "works": "no",
  "install_s": null,
  "first_use_s": null,
  "mcp": "local",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "mcp"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/mixelpixx/KiCAD-MCP-Server",
  "cost_to_try": null,
  "hardware": null,
  "what_failed": "src/server.ts and src/kicad-server.ts callKicadScript reject calls while the Python worker is still starting (about 1.6 to 3 s after launch) instead of waiting or queueing.",
  "local_or_hosted": "local",
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Entry points inspected: README.md (no cron, schedule, --once, --now, or webhook text), python/kicad_interface.py and src/*.ts (no scheduler or polling loop). The server is a request-driven stdio MCP server that runs only when a client calls a tool, so there is no product cycle to trigger by hand.",
      "evidence": "Entry points inspected: README.md (no cron, schedule, --once, --now, or webhook text), python/kicad_interface.py and src/*.ts (no scheduler or polling loop). The server is a request-driven stdio MCP server that runs only when a client calls a tool, so there is no product cycle to trigger by hand.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "create_project initializes a new KiCAD project",
      "source": "`create_project` - Initialize new KiCAD projects",
      "input": "{\"tool\": \"create_project\", \"arguments\": {\"name\": \"claimcheck\", \"path\": \"<guest-path>\"}}",
      "expected": "project files created and tool reports success",
      "command": "node dist/index.js tools/call {\"tool\": \"create_project\", \"arguments\": {\"name\": \"claimcheck\", \"path\": \"<guest-path>\"}}",
      "verdict": "no",
      "outcome": "Real input did not produce the expected result: Created project: claimcheck",
      "evidence": "{\"content\": [{\"type\": \"text\", \"text\": \"Python process for KiCAD scripting is not running\"}], \"isError\": true}",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "TypeScript unit tests of the MCP server pass offline",
      "source": "package.json scripts test:ts",
      "input": "npm run test:ts",
      "command": "npm run test:ts",
      "evidence": "2026-10-24 04:42:14,665] [INFO] Router tools registered successfully\n\nstderr | tests-ts/no-stale-tool-references.test.ts > discovery responses do not reference deleted tools > every tool named in a discovery response is actually registered\n[2026-10-24 04:42:14,666] [INFO] Registering router tools\n[2026-10-24 04:42:14,667] [INFO] Router tools registered successfully\n\nstderr | tests-ts/request-correlation.test.ts > Python bridge response correlation > discards a late response and resolves only the matching request\n[2026-10-24 04:42:16,116] [WARN] Discarding stale Python response 1; waiting for 2",
      "deferred": false,
      "expected": "112 tests pass under vitest",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Python test suite runs offline with the documented pytest command",
      "source": "package.json scripts test:py",
      "input": "pytest tests/test_schematic_batch.py",
      "command": "<guest-path> tests/test_schematic_batch.py -q",
      "evidence": "1-172, 180-181, 204-218, 244-246, 250, 253, 255, 264-267, 277-300, 313-315\npython/utils/symbol_instances.py                   300    232    130      2    17%   53-55, 59-61, 71-75, 83-88, 98-113, 128-138, 147-187, 192-199, 213-223, 227-230, 240-247, 260-261, 273-277, 286-292, 312-345, 363-376, 394-403, 417, 421-422, 444-511\n--------------------------------------------------------------------------------------------\nTOTAL                                            25144  23983   9708     60     4%\nCoverage HTML written to dir htmlcov\nCoverage XML written to file coverage.xml\n18 passed in 11.51s",
      "deferred": false,
      "expected": "tests pass under pytest",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "no",
  "maintenance": {
    "archived": false,
    "commits_90d": 237,
    "last_commit_at": "2026-10-01T13:44:21Z",
    "last_release_at": "2026-09-25T19:48:41Z",
    "median_reply_hours": 54.5,
    "merged_prs_90d": 78,
    "note": "actively maintained: last commit 22 days ago; 237 commits and 78 merged PRs in 90 days; 13 open issues, 7 open PRs; 15 of 25 recent threads got a maintainer reply, median first reply 54.5h; latest release 2026-09-25",
    "open_issues": 13,
    "open_prs": 7,
    "reply_share": 0.6,
    "reply_threads": 25,
    "verdict": "maintained"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 22 days ago; 237 commits and 78 merged PRs in 90 days; 13 open issues, 7 open PRs; 15 of 25 recent threads got a maintainer reply, median first reply 54.5h; latest release 2026-09-25",
  "maintained": "active",
  "maintained_note": "last commit 22 days ago; 4 open issues, 4 answered or closed",
  "last_commit_at": "2026-10-01T13:44:29Z",
  "last_release_at": "2026-09-25T19:48:41Z",
  "open_issues": 4,
  "answered_issues": 4,
  "platforms_claimed": [
    "linux",
    "mac",
    "windows"
  ],
  "topic": "mcp-server",
  "agent_interfaces": [
    {
      "interface": "mcp",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": false
    }
  ],
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "mcp_context": {
    "tool_count": 244,
    "schema_bytes": 242810,
    "tokens_approx": 60703,
    "estimate_method": "ceil(compact UTF-8 tools/list JSON bytes / 4)",
    "scope": "returned tools/list page only; excludes client framing and tool results"
  },
  "tested_at": "2026-10-24T04:43:11.318969+00:00",
  "tested_commit": "cbb59a6203997f5e916be7e0480d63fe5519134a",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.300 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "mixelpixx/KiCAD-MCP-Server",
    "source": "https://github.com/mixelpixx/KiCAD-MCP-Server",
    "commit": "cbb59a6203997f5e916be7e0480d63fe5519134a",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.300 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "cbb59a6203997f5e916be7e0480d63fe5519134a",
      "url": "https://github.com/mixelpixx/KiCAD-MCP-Server"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "create_project MCP tool via node dist/index.js (README Installation + MCP stdio usage)",
    "operation_scope": "Node MCP server at pinned commit cbb59a6 started with KICAD_PYTHON=<guest-path>; probe and claim call create_project(name, path=<guest-path>).",
    "hosting": null,
    "kind": "mcp",
    "test_version": "readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": null,
  "report_url": "/reports/mixelpixx--KiCAD-MCP-Server-claude-haiku-5-5-1792815554383394488.json"
}
