{
  "checker": {
    "claims": [
      {
        "claim": "CLI inspect reads a source drawing and reports its inspection",
        "command": "<guest-path> --transport stdio tools/call {\"tool\": \"inspect_source\", \"arguments\": {\"source\": \"<guest-path>\"}}",
        "evidence": "cad2gis-source-inspection-v1\\\",\\n  \\\"source\\\": {\\n    \\\"path\\\": \\\"<guest-path>\\\",\\n    \\\"name\\\": \\\"simple.dxf\\\",\\n    \\\"sha256\\\": \\\"f8101fdc765afafcbd2de211f8e3d50d70ae9bdcd475ca528b9d4f11fc26ee81\\\",\\n    \\\"size_bytes\\\": 15638\\n  },\\n  \\\"inspection_status\\\": \\\"PASS\\\",\\n  \\\"reader\\\": {\\n    \\\"backend\\\": \\\"native_dxf\\\",\\n    \\\"completion_rows\\\": 4,\\n    \\\"inventory_complete\\\": true,\\n    \\\"parsed_rows\\\": 4,\\n    \\\"returned_records\\\": 4,\\n    \\\"skipped_rows\\\": 0,\\n    \\\"total_rows\\\": 4\\n  },\\n  \\\"inventory\\\": {\\n    \\\"entity_count\\\": 4,\\n    \\\"layer_count\\\": 3,\\n    \\\"bloc",
        "expected": "PASS",
        "input": "{\"tool\": \"inspect_source\", \"arguments\": {\"source\": \"<guest-path>\"}}",
        "kind": "claim",
        "outcome": "Real input produced the expected result: cad2gis-source-inspection-v1",
        "source": "cad2gis inspect \"<SOURCE.dwg>\" --json",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "evidence": "README documents no scheduler or loop; cad2gis commands are one-shot CLI and MCP invocations.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "outcome": "README documents no scheduler or loop; cad2gis commands are one-shot CLI and MCP invocations.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "<guest-path>",
        "--transport",
        "stdio"
      ],
      "kind": "mcp",
      "scope": "product operation",
      "serverInfo": {
        "name": "cad2gis-agent",
        "version": "1.30.0"
      },
      "tool_result": {
        "content": [
          {
            "text": "{\n  \"schema_version\": \"cad2gis-source-inspection-v1\",\n  \"source\": {\n    \"path\": \"<guest-path>\",\n    \"name\": \"simple.dxf\",\n    \"sha256\": \"f8101fdc765afafcbd2de211f8e3d50d70ae9bdcd475ca528b9d4f11fc26ee81\",\n    \"size_bytes\": 15638\n  },\n  \"inspection_status\": \"PASS\",\n  \"reader\": {\n    \"backend\": \"native_dxf\",\n    \"completion_rows\": 4,\n    \"inventory_complete\": true,\n    \"parsed_rows\": 4,\n    \"returned_records\": 4,\n    \"skipped_rows\": 0,\n    \"total_rows\": 4\n  },\n  \"inventory\": {\n    \"entity_count\": 4,\n    \"layer_count\": 3,\n    \"block_instances\": 0,\n    \"annotation_entities\": 1,\n    \"annotation_entities_with_text\": 1,\n    \"native_length_entities\": 2,\n    \"curve_facts_entities\": 2,\n    \"style_variants\": 2\n  },\n  \"plan_domain\": {\n    \"schema_version\": \"cad2gis-plan-domain-v1\",\n    \"selection_mode\": \"cad-role-partition\",\n    \"raw_entity_count\": 4,\n    \"selected_root_count\": 3,\n    \"definition_count\": 0,\n    \"derived_entity_count\": 0,\n    \"expanded_insert_count\": 0,\n    \"expanded_nested_insert_count\": 0,\n    \"root_layouts\": [\n      \"Model\"\n    ],\n    \"plan_domain_authority\": null,\n    \"status\": \"PASS\",\n    \"orphan_blocks\": [],\n    \"orphan_member_entity_keys\": [],\n    \"plan_layouts\": {\n      \"requested\": [],\n      \"declared\": [],\n      \"admitted\": [],\n      \"undeclared\": {}\n    },\n    \"scene_partition\": {\n      \"schema_version\": \"cad2gis-scene-partition-v1\",\n      \"status\": \"NO_CATALOG_DETECTED\",\n      \"coordinate_tolerance\": 1.0000000000000001e-7,\n      \"excluded_entity_count\": 0,\n      \"groups\": []\n    },\n    \"semantic_entity_count\": 3,\n    \"issue_count\": 0,\n    \"issue_codes\": {},\n    \"issue_sample\": []\n  },\n  \"onboarding\": {\n    \"reviewed_project_pack_present\": false,\n    \"conversion_allowed\": false,\n    \"semantic_accuracy\": \"not_evaluated_without_reviewed_mapping\",\n    \"coordinate_accuracy\": \"not_evaluated_without_reviewed_crs_and_independent_gcp\",\n    \"next_action\": \"bootstrap_source_bound_project_pack\"\n  },\n  \"inventory_sha256\": \"eac046b9aeea13b7d8bcde4b9cc8afc79480585432b1018813dee00495570271\"\n}",
            "type": "text"
          }
        ],
        "isError": false,
        "structuredContent": {
          "inspection_status": "PASS",
          "inventory": {
            "annotation_entities": 1,
            "annotation_entities_with_text": 1,
            "block_instances": 0,
            "curve_facts_entities": 2,
            "entity_count": 4,
            "layer_count": 3,
            "native_length_entities": 2,
            "style_variants": 2
          },
          "inventory_sha256": "eac046b9aeea13b7d8bcde4b9cc8afc79480585432b1018813dee00495570271",
          "onboarding": {
            "conversion_allowed": false,
            "coordinate_accuracy": "not_evaluated_without_reviewed_crs_and_independent_gcp",
            "next_action": "bootstrap_source_bound_project_pack",
            "reviewed_project_pack_present": false,
            "semantic_accuracy": "not_evaluated_without_reviewed_mapping"
          },
          "plan_domain": {
            "definition_count": 0,
            "derived_entity_count": 0,
            "expanded_insert_count": 0,
            "expanded_nested_insert_count": 0,
            "issue_codes": {},
            "issue_count": 0,
            "issue_sample": [],
            "orphan_blocks": [],
            "orphan_member_entity_keys": [],
            "plan_domain_authority": null,
            "plan_layouts": {
              "admitted": [],
              "declared": [],
              "requested": [],
              "undeclared": {}
            },
            "raw_entity_count": 4,
            "root_layouts": [
              "Model"
            ],
            "scene_partition": {
              "coordinate_tolerance": 1.0000000000000001e-07,
              "excluded_entity_count": 0,
              "groups": [],
              "schema_version": "cad2gis-scene-partition-v1",
              "status": "NO_CATALOG_DETECTED"
            },
            "schema_version": "cad2gis-plan-domain-v1",
            "selected_root_count": 3,
            "selection_mode": "cad-role-partition",
            "semantic_entity_count": 3,
            "status": "PASS"
          },
          "reader": {
            "backend": "native_dxf",
            "completion_rows": 4,
            "inventory_complete": true,
            "parsed_rows": 4,
            "returned_records": 4,
            "skipped_rows": 0,
            "total_rows": 4
          },
          "schema_version": "cad2gis-source-inspection-v1",
          "source": {
            "name": "simple.dxf",
            "path": "<guest-path>",
            "sha256": "f8101fdc765afafcbd2de211f8e3d50d70ae9bdcd475ca528b9d4f11fc26ee81",
            "size_bytes": 15638
          }
        }
      },
      "tool_result_checked": true,
      "tool_schema_bytes": 36787,
      "tools": [
        "get_cad_bundle_status",
        "prepare_cad_bundle_workspace",
        "list_cad_bundle_tools",
        "call_cad_bundle_tool",
        "audit_visual_conversion",
        "build_qgis_review",
        "build_source_svg_delivery",
        "publish_matched_delivery",
        "verify_qgis_review",
        "start_review_server",
        "get_review_server_status",
        "stop_review_server",
        "get_capabilities",
        "debug_mcp",
        "export_source",
        "query_source_entities",
        "get_entity_context_batch",
        "prepare_semantic_batches",
        "query_relationship_candidates",
        "initialize_semantic_store",
        "inspect_semantic_store",
        "preview_semantic_patch",
        "commit_semantic_patch",
        "compile_semantic_revision",
        "cancel_compile_job",
        "reconcile_compile_jobs",
        "get_runtime_status",
        "install_runtime",
        "inspect_source",
        "bootstrap_project",
        "validate_project",
        "prepare_ai_onboarding",
        "apply_ai_onboarding",
        "auto_onboard_and_convert",
        "inspect_run",
        "audit_run",
        "package_qgis_delivery",
        "list_evidence_nodes",
        "get_evidence_node",
        "list_visual_regions",
        "resolve_visual_hit",
        "list_registered_operations",
        "list_endpoint_join_candidates",
        "list_network_repair_candidates",
        "validate_decision_pack",
        "create_decision_pack",
        "decide_iteration_candidate",
        "evaluate_iteration_candidate",
        "export_iteration_learning",
        "get_cad_scene_node",
        "inspect_iteration",
        "list_scene_visual_regions",
        "get_scene_visual_region_context",
        "create_scene_interpretation_plan",
        "validate_scene_interpretation_plan",
        "list_cad_scene_nodes",
        "list_label_candidates",
        "list_legend_catalog_candidates",
        "prepare_iteration_context",
        "record_iteration_feedback",
        "run_conversion",
        "start_feedback_iteration",
        "prepare_review_workspace"
      ],
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": null,
        "command": "<guest-path> inspect <guest-path> --json",
        "deferred": false,
        "evidence": "   \"completion_rows\": 4,\n    \"inventory_complete\": true,\n    \"parsed_rows\": 4,\n    \"returned_records\": 4,\n    \"skipped_rows\": 0,\n    \"total_rows\": 4\n  },\n  \"schema_version\": \"cad2gis-source-inventory-v1\",\n  \"source\": {\n    \"name\": \"simple.dxf\",\n    \"sha256\": \"f8101fdc765afafcbd2de211f8e3d50d70ae9bdcd475ca528b9d4f11fc26ee81\",\n    \"size_bytes\": 15638\n  },\n  \"style_facts\": {\n    \"ACI:256|TRUECOLOR:|LINETYPE:ByLayer|LINEWEIGHT:-1\": 1,\n    \"ACI:7|TRUECOLOR:|LINETYPE:BYLAYER|LINEWEIGHT:-1\": 3\n  },\n  \"unsupported\": {\n    \"by_entity_type\": {},\n    \"by_reason\": {},\n    \"entity_keys_by_reason\": {}\n  }\n}",
        "expected": "inspection_status PASS",
        "input": "<guest-path> inspect <guest-path> --json",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": null,
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "deviations": [
    "README uv tool install uses an unpinned remote main.zip; used the documented developer editable install from the pinned workspace source instead.",
    "Initial probe/claim cwd /workspace does not exist in this guest; changed to <guest-path>",
    "MCP expected_text POLE-1 did not appear in the inspect_source result; used the schema marker cad2gis-source-inspection-v1 that the observed result contains.",
    "Bootstrap example was not replayable against a persisted project dir; replaced with the read-only cad2gis inspect example.",
    "/inputs/coldpass-preflight.py does not exist here; used <guest-path> as instructed.",
    "Doctor reports libredwg_cli_text_fidelity as not_evaluated (executable digest not checked); recorded as caveat, not a blocker."
  ],
  "fault_owner": "none",
  "main_blocker": null,
  "operation": "Install CAD2GIS 0.8.0 from the pinned workspace source, install the LibreDWG runtime, and run source inspection and project bootstrap on a DXF sample, exercised through both the CLI and the cad2gis-agent-mcp stdio server.",
  "operation_scope": "Local VM only. Sample input <guest-path> (generated with ezdxf). Outputs under <guest-path> No DWG conversion, no review UI, no CDP/browser use.",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "Checked Python 3.12.3 against README/pyproject requires-python >=3.11,<3.13 and created <guest-path>",
    "Ran editable install pip install -e \".[agent,test]\" from the workspace source (log: <guest-path>).",
    "Ran cad2gis runtime install in the background after a foreground run hit the exec time limit; polled until complete (log: <guest-path>).",
    "Ran cad2gis doctor --deep --profile full --json: before install not ready, after install selected_profile_ready and conversion_ready true.",
    "Ran cad2gis inspect on simple.dxf: inspection_status PASS, 4 records, LINE x2 and TEXT POLE-1.",
    "Ran cad2gis bootstrap on simple.dxf into a fresh project dir: status draft, conversion_allowed false (expected without reviewed mapping and units/CRS).",
    "Ran cad2gis-agent-mcp --transport stdio with tool inspect_source on the sample, CAD2GIS_PROJECT_ROOTS=<guest-path> isError false, schema cad2gis-source-inspection-v1, inspection_status PASS.",
    "Wrote probe.json, claims.json, cycles.json, examples.json; ran checker --validate --replay: valid true."
  ],
  "stuck_step": null,
  "suggested_fix": "None required for the verified path. Optionally pin the README uv install command to a tagged release or commit instead of main.zip."
}
