{
  "design": "Cobalt F405 flight controller",
  "upstream": "https://github.com/msaribekyan/cobalt-f405/tree/a9bd25bef040d648fa96930a144dbb7b34532626",
  "final_pcb_sha256": "f8d700fb2d1de061a5db0ae22ff5bc8954aef9bbf10d6f5f36c3112038f1727a",
  "footprints": 75,
  "layers": 2,
  "dimensions_mm": [
    38.5,
    38.5
  ],
  "final_track_segments": 781,
  "final_vias": 54,
  "labwired_native_route": {
    "job_id": "2729abc2-59bc-4f5d-b3bb-af11db632f18",
    "seconds": 33,
    "added_tracks": 768,
    "added_vias": 61,
    "unrouted": 0,
    "violations": 0,
    "backend": "kicad9-native"
  },
  "original_copper_removed": {
    "tracks": 528,
    "vias": 77
  },
  "initial_native_kicad_gate": {
    "result": "failed",
    "findings": {
      "hole_clearance": 2,
      "track_width": 79,
      "solder_mask_bridge": 12,
      "unconnected_items": 1
    }
  },
  "final_kicad": {
    "version": "9.0.9",
    "errors": 0,
    "unconnected": 0,
    "schematic_parity_findings": 0,
    "warnings": {
      "lib_footprint_mismatch": 57,
      "lib_footprint_issues": 4
    },
    "project_drc_exclusions": 0
  },
  "digital_twin_tests": [
    {
      "case": "25 C intact",
      "outcome": "model_verified",
      "expected_pass": true,
      "firmware_serial": [
        "J6_TMP117_ID_OK",
        "TEMP_RAW=0C80",
        "C25_BLUE"
      ],
      "observations": [
        {
          "kind": "serial",
          "passed": true,
          "detail": "serial contains \"J6_TMP117_ID_OK\""
        },
        {
          "kind": "serial",
          "passed": true,
          "detail": "serial contains \"C25_BLUE\""
        },
        {
          "kind": "gpio",
          "passed": true,
          "detail": "PB8 is high (gpio_pins pad)"
        },
        {
          "kind": "gpio",
          "passed": true,
          "detail": "PB9 is low (gpio_pins pad)"
        }
      ],
      "applied_stimuli": [
        {
          "channel": "temperature",
          "value": 25,
          "outcome": "applied",
          "at_cycle": 0,
          "component": "fixture"
        }
      ]
    },
    {
      "case": "50 C intact",
      "outcome": "model_verified",
      "expected_pass": true,
      "firmware_serial": [
        "J6_TMP117_ID_OK",
        "TEMP_RAW=1900",
        "C50_GREEN"
      ],
      "observations": [
        {
          "kind": "serial",
          "passed": true,
          "detail": "serial contains \"J6_TMP117_ID_OK\""
        },
        {
          "kind": "serial",
          "passed": true,
          "detail": "serial contains \"C50_GREEN\""
        },
        {
          "kind": "gpio",
          "passed": true,
          "detail": "PB8 is low (gpio_pins pad)"
        },
        {
          "kind": "gpio",
          "passed": true,
          "detail": "PB9 is high (gpio_pins pad)"
        }
      ],
      "applied_stimuli": [
        {
          "channel": "temperature",
          "value": 50,
          "outcome": "applied",
          "at_cycle": 0,
          "component": "fixture"
        }
      ]
    },
    {
      "case": "BME280 identity intact",
      "outcome": "model_verified",
      "expected_pass": true,
      "firmware_serial": [
        "J6_BME280_ID_60"
      ],
      "observations": [
        {
          "kind": "serial",
          "passed": true,
          "detail": "serial contains \"J6_BME280_ID_60\""
        }
      ],
      "applied_stimuli": []
    },
    {
      "case": "25 C SDA open",
      "outcome": "failed",
      "expected_pass": false,
      "firmware_serial": [
        "J6_TMP117_ABSENT=FFFF"
      ],
      "observations": [
        {
          "kind": "serial",
          "passed": false,
          "detail": "serial does NOT contain \"J6_TMP117_ID_OK\""
        },
        {
          "kind": "serial",
          "passed": false,
          "detail": "serial does NOT contain \"C25_BLUE\""
        },
        {
          "kind": "gpio",
          "passed": false,
          "detail": "PB8 is low, expected high (gpio_pins pad)"
        },
        {
          "kind": "gpio",
          "passed": true,
          "detail": "PB9 is low (gpio_pins pad)"
        }
      ],
      "applied_stimuli": []
    },
    {
      "case": "BME280 identity SDA open",
      "outcome": "failed",
      "expected_pass": false,
      "firmware_serial": [
        "J6_NO_WRITE_ACK"
      ],
      "observations": [
        {
          "kind": "serial",
          "passed": false,
          "detail": "serial does NOT contain \"J6_BME280_ID_60\""
        }
      ],
      "applied_stimuli": []
    }
  ],
  "analog_dc_test": {
    "board_sha256": "f8d700fb2d1de061a5db0ae22ff5bc8954aef9bbf10d6f5f36c3112038f1727a",
    "model": "Copper-continuity-gated ngspice DC subset, ideal conductors, schematic R10/R11 values, 1 Gohm test load. No ADC conversion or power-switching behavior is modeled.",
    "R10_ohm": 20000.0,
    "R11_ohm": 1000.0,
    "pass": true,
    "results": [
      {
        "case": "intact",
        "copper": {
          "J2.7/R10.1": true,
          "R10.2/U1.26": true,
          "R11.1/U1.26": true,
          "R11.2/J2.8": true
        },
        "samples": [
          {
            "battery_v": 12.0,
            "pb0_v": 0.571428
          },
          {
            "battery_v": 16.8,
            "pb0_v": 0.7999992
          },
          {
            "battery_v": 25.2,
            "pb0_v": 1.199999
          }
        ]
      },
      {
        "case": "cut",
        "copper": {
          "J2.7/R10.1": false,
          "R10.2/U1.26": true,
          "R11.1/U1.26": true,
          "R11.2/J2.8": true
        },
        "samples": [
          {
            "battery_v": 12.0,
            "pb0_v": 0.0
          },
          {
            "battery_v": 16.8,
            "pb0_v": 0.0
          },
          {
            "battery_v": 25.2,
            "pb0_v": 0.0
          }
        ]
      }
    ]
  },
  "assembly_limits": {
    "pcb_thickness_mm": 1.6,
    "usb_vendor_recommended_pcb_thickness_mm": 0.8,
    "usb_fit_verified": false,
    "minimum_nominal_sensor_mask_web_mm": 0.08,
    "fabricator_mask_registration_qualified": false
  },
  "scope": "STM32F405 executes diagnostic firmware against two external I2C fixture models on paths extracted from the final copper. The captured GPIO states are the blue/green LED drive outputs. The DC check covers the on-board 20 kΩ/1 kΩ divider with an ideal conductor and high-impedance load. No full flight firmware, RF/EMC, regulator dynamics, oscillator margin, ADC conversion, or physical board qualification is claimed.",
  "warnings_compared_to_upstream": {
    "installed_footprint_mismatches": 57,
    "unavailable_custom_library_footprints": 4,
    "same_refs_and_diagnostics_as_upstream": true
  },
  "fault_controls": {
    "i2c_sda_segment_uuid": "d0f7b896-a87b-47b5-a086-9376a33fc093",
    "battery_feed_segment_uuid": "39acf57a-a494-4252-9749-d603d402f992"
  }
}
