{
  "schema": "header7f.cli-synthetic-run.v1",
  "source": "Constructed test bytes and a fictional user-reviewed map. NOT physical hardware, a manufacturer map or a customer result.",
  "method": "Executed the Node CLI process with the four exact modules included in the ZIP. No device, network, account or AI service was used.",
  "command": [
    "node",
    "header7f-investigate.mjs",
    "map",
    "--definition",
    "examples/map.json",
    "--incident",
    "examples/incident.json",
    "--baseline",
    "examples/baseline.json"
  ],
  "exitCode": 1,
  "expected": {
    "changed": 1,
    "unknown": 1,
    "meaning": "A changed field takes priority over incomplete evidence. The unknown status byte remains unknown."
  },
  "inputs": [
    {
      "file": "examples/map.json",
      "sha256": "85f82dbfcb2a2eb915d97ee0c51e46dcad8829cf07229aed4f9d753a01de56e6",
      "bytes": 2024
    },
    {
      "file": "examples/incident.json",
      "sha256": "d57e4b3ed843bfc823c232fb3f7fb3dea13810f534aaea9c3eadb0a594ab0ec6",
      "bytes": 944
    },
    {
      "file": "examples/baseline.json",
      "sha256": "e8709fa15be7457305482fa7e08713ad54136ba5fd143dd68b308c117e5e0bdc",
      "bytes": 941
    }
  ],
  "report": {
    "format": "header7f-cli-report-v1",
    "cliVersion": "0.1.0",
    "mode": "map",
    "decision": {
      "exitCode": 1,
      "status": "modeled-issue-or-change",
      "modeledIssueOrChange": true,
      "incompleteEvidence": true,
      "priority": "Invalid input/output (3) takes priority over issue/change (1), then incomplete (2), then selected checks clear (0). Issue/change can coexist with missing evidence."
    },
    "analysis": {
      "mapId": "constructed-example",
      "mapRevision": "1",
      "capture": {
        "format": "header7f-mapped-capture-v1",
        "mapId": "constructed-example",
        "mapRevision": "1",
        "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
        "scope": {
          "device": "Fictional example board",
          "ip": "Fictional register block",
          "ipRevision": "example-1",
          "documentRevision": "example-1",
          "contextId": "Constructed BAR0 snapshot example",
          "locationType": "bar-mmio",
          "widthBits": 256,
          "endianness": "little",
          "wordOrder": "byte-addressed",
          "barIndex": 0,
          "apertureBytes": 32
        },
        "identity": {
          "deviceId": "synthetic-board-A",
          "instance": "BAR0"
        },
        "capturedAt": "2026-10-19T10:02:00Z",
        "synthetic": true,
        "provenance": {
          "method": "constructed-example",
          "origin": "Hand-authored test bytes, not a hardware dump"
        },
        "data": {
          "bytes": [
            121,
            86,
            52,
            18,
            null
          ],
          "byteOffset": 16
        }
      },
      "fields": [
        {
          "id": "ctrl",
          "name": "CTRL",
          "description": "Fictional queue control word.",
          "access": "RW",
          "location": {
            "byteOffset": 16,
            "registerWidthBits": 32,
            "lowBit": 0,
            "highBit": 31
          },
          "source": {
            "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
            "page": 1,
            "region": {
              "x": 40,
              "y": 716,
              "width": 209.424,
              "height": 12
            },
            "excerpt": "0x0010 CTRL [31:0] RW Queue control"
          },
          "width": 32,
          "known": true,
          "status": "captured",
          "value": "305419897",
          "decimal": "305419897",
          "hex": "0x12345679",
          "missingBytes": [],
          "missingWords": []
        },
        {
          "id": "status",
          "name": "STATUS",
          "description": "Fictional status byte.",
          "access": "RO",
          "location": {
            "byteOffset": 20,
            "registerWidthBits": 8,
            "lowBit": 0,
            "highBit": 7
          },
          "source": {
            "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
            "page": 1,
            "region": {
              "x": 40,
              "y": 692,
              "width": 216.756,
              "height": 12
            },
            "excerpt": "0x0014 STATUS [7:0] RO Current status"
          },
          "width": 8,
          "known": false,
          "status": "unknown",
          "value": null,
          "decimal": null,
          "hex": null,
          "missingBytes": [
            20
          ],
          "missingWords": []
        }
      ],
      "coverage": {
        "knownFields": 1,
        "totalFields": 2,
        "knownBytes": 4,
        "totalBytes": 32
      },
      "limitations": [
        "User-reviewed map and capture metadata are not independently verified or vendor-certified.",
        "Decodes supplied snapshots only; no hardware register read, write, host physical address or DMA mapping is inferred.",
        "Missing bytes/words remain unknown. A captured value or comparison is not a root-cause verdict."
      ]
    },
    "comparison": {
      "before": {
        "mapId": "constructed-example",
        "mapRevision": "1",
        "capture": {
          "format": "header7f-mapped-capture-v1",
          "mapId": "constructed-example",
          "mapRevision": "1",
          "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
          "scope": {
            "device": "Fictional example board",
            "ip": "Fictional register block",
            "ipRevision": "example-1",
            "documentRevision": "example-1",
            "contextId": "Constructed BAR0 snapshot example",
            "locationType": "bar-mmio",
            "widthBits": 256,
            "endianness": "little",
            "wordOrder": "byte-addressed",
            "barIndex": 0,
            "apertureBytes": 32
          },
          "identity": {
            "deviceId": "synthetic-board-A",
            "instance": "BAR0"
          },
          "capturedAt": "2026-10-19T10:01:00Z",
          "synthetic": true,
          "provenance": {
            "method": "constructed-example",
            "origin": "Hand-authored test bytes, not a hardware dump"
          },
          "data": {
            "bytes": [
              120,
              86,
              52,
              18,
              1
            ],
            "byteOffset": 16
          }
        },
        "fields": [
          {
            "id": "ctrl",
            "name": "CTRL",
            "description": "Fictional queue control word.",
            "access": "RW",
            "location": {
              "byteOffset": 16,
              "registerWidthBits": 32,
              "lowBit": 0,
              "highBit": 31
            },
            "source": {
              "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
              "page": 1,
              "region": {
                "x": 40,
                "y": 716,
                "width": 209.424,
                "height": 12
              },
              "excerpt": "0x0010 CTRL [31:0] RW Queue control"
            },
            "width": 32,
            "known": true,
            "status": "captured",
            "value": "305419896",
            "decimal": "305419896",
            "hex": "0x12345678",
            "missingBytes": [],
            "missingWords": []
          },
          {
            "id": "status",
            "name": "STATUS",
            "description": "Fictional status byte.",
            "access": "RO",
            "location": {
              "byteOffset": 20,
              "registerWidthBits": 8,
              "lowBit": 0,
              "highBit": 7
            },
            "source": {
              "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
              "page": 1,
              "region": {
                "x": 40,
                "y": 692,
                "width": 216.756,
                "height": 12
              },
              "excerpt": "0x0014 STATUS [7:0] RO Current status"
            },
            "width": 8,
            "known": true,
            "status": "captured",
            "value": "1",
            "decimal": "1",
            "hex": "0x01",
            "missingBytes": [],
            "missingWords": []
          }
        ],
        "coverage": {
          "knownFields": 2,
          "totalFields": 2,
          "knownBytes": 5,
          "totalBytes": 32
        },
        "limitations": [
          "User-reviewed map and capture metadata are not independently verified or vendor-certified.",
          "Decodes supplied snapshots only; no hardware register read, write, host physical address or DMA mapping is inferred.",
          "Missing bytes/words remain unknown. A captured value or comparison is not a root-cause verdict."
        ]
      },
      "after": {
        "mapId": "constructed-example",
        "mapRevision": "1",
        "capture": {
          "format": "header7f-mapped-capture-v1",
          "mapId": "constructed-example",
          "mapRevision": "1",
          "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
          "scope": {
            "device": "Fictional example board",
            "ip": "Fictional register block",
            "ipRevision": "example-1",
            "documentRevision": "example-1",
            "contextId": "Constructed BAR0 snapshot example",
            "locationType": "bar-mmio",
            "widthBits": 256,
            "endianness": "little",
            "wordOrder": "byte-addressed",
            "barIndex": 0,
            "apertureBytes": 32
          },
          "identity": {
            "deviceId": "synthetic-board-A",
            "instance": "BAR0"
          },
          "capturedAt": "2026-10-19T10:02:00Z",
          "synthetic": true,
          "provenance": {
            "method": "constructed-example",
            "origin": "Hand-authored test bytes, not a hardware dump"
          },
          "data": {
            "bytes": [
              121,
              86,
              52,
              18,
              null
            ],
            "byteOffset": 16
          }
        },
        "fields": [
          {
            "id": "ctrl",
            "name": "CTRL",
            "description": "Fictional queue control word.",
            "access": "RW",
            "location": {
              "byteOffset": 16,
              "registerWidthBits": 32,
              "lowBit": 0,
              "highBit": 31
            },
            "source": {
              "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
              "page": 1,
              "region": {
                "x": 40,
                "y": 716,
                "width": 209.424,
                "height": 12
              },
              "excerpt": "0x0010 CTRL [31:0] RW Queue control"
            },
            "width": 32,
            "known": true,
            "status": "captured",
            "value": "305419897",
            "decimal": "305419897",
            "hex": "0x12345679",
            "missingBytes": [],
            "missingWords": []
          },
          {
            "id": "status",
            "name": "STATUS",
            "description": "Fictional status byte.",
            "access": "RO",
            "location": {
              "byteOffset": 20,
              "registerWidthBits": 8,
              "lowBit": 0,
              "highBit": 7
            },
            "source": {
              "documentSha256": "5d33f6bcf44e0e579d3a3908c28e84d400dc6bb2c63a4883e56fe2c464f9f7a7",
              "page": 1,
              "region": {
                "x": 40,
                "y": 692,
                "width": 216.756,
                "height": 12
              },
              "excerpt": "0x0014 STATUS [7:0] RO Current status"
            },
            "width": 8,
            "known": false,
            "status": "unknown",
            "value": null,
            "decimal": null,
            "hex": null,
            "missingBytes": [
              20
            ],
            "missingWords": []
          }
        ],
        "coverage": {
          "knownFields": 1,
          "totalFields": 2,
          "knownBytes": 4,
          "totalBytes": 32
        },
        "limitations": [
          "User-reviewed map and capture metadata are not independently verified or vendor-certified.",
          "Decodes supplied snapshots only; no hardware register read, write, host physical address or DMA mapping is inferred.",
          "Missing bytes/words remain unknown. A captured value or comparison is not a root-cause verdict."
        ]
      },
      "fields": [
        {
          "fieldId": "ctrl",
          "name": "CTRL",
          "beforeHex": "0x12345678",
          "afterHex": "0x12345679",
          "beforeDecimal": "305419896",
          "afterDecimal": "305419897",
          "status": "changed",
          "missingBefore": [],
          "missingAfter": []
        },
        {
          "fieldId": "status",
          "name": "STATUS",
          "beforeHex": "0x01",
          "afterHex": null,
          "beforeDecimal": "1",
          "afterDecimal": null,
          "status": "unknown",
          "missingBefore": [],
          "missingAfter": [
            20
          ]
        }
      ],
      "counts": {
        "changed": 1,
        "unchanged": 0,
        "unknown": 1
      }
    },
    "limitations": [
      "Only supplied snapshot values are decoded through a user-reviewed map. Scope/provenance are not independently verified.",
      "A changed field is a comparison clue, not a fault or root-cause verdict. A zero exit means the selected fields were captured and no modeled change was found."
    ]
  }
}
