{
  "asOf": "2026-09-16",
  "implementationCommit": "e77303e",
  "environment": "Local macOS host; isolated PostgreSQL 16 container; synthetic fixtures; fake loopback SMTP only. No real recipients or provider mailbox sessions.",
  "method": "Existing named integration/unit checks run once with go test -count=1. Separate fixture runner invoked the real imports.Service.Preview method for 14 predefined inputs.",
  "tests": [
    {
      "name": "TestDomainValidation",
      "package": "github.com/zinatra/coldreach/internal/deliverability",
      "outcome": "pass",
      "seconds": 0
    },
    {
      "name": "TestUnavailableDNSDoesNotPass",
      "package": "github.com/zinatra/coldreach/internal/deliverability",
      "outcome": "pass",
      "seconds": 0
    },
    {
      "name": "TestDNSPolicyParsing",
      "package": "github.com/zinatra/coldreach/internal/deliverability",
      "outcome": "pass",
      "seconds": 0
    },
    {
      "name": "TestImportOptionsMembershipAndCancellation",
      "package": "github.com/zinatra/coldreach/internal/imports",
      "outcome": "pass",
      "seconds": 0.79
    },
    {
      "name": "TestInboundWorkflowCommittedOnce",
      "package": "github.com/zinatra/coldreach/internal/inbox",
      "outcome": "pass",
      "seconds": 0.99
    },
    {
      "name": "TestAtomicImportAndOwnerSuppression",
      "package": "github.com/zinatra/coldreach/internal/blocklist",
      "outcome": "pass",
      "seconds": 1.36
    },
    {
      "name": "TestSMTPReconnectPreservesIdentityAndCounters",
      "package": "github.com/zinatra/coldreach/internal/emailaccounts",
      "outcome": "pass",
      "seconds": 1.36
    },
    {
      "name": "TestSuppressionAndFailedLookup",
      "package": "github.com/zinatra/coldreach/internal/campaigns",
      "outcome": "pass",
      "seconds": 1.31
    },
    {
      "name": "TestUnsubscribeSurvivesContactDeletion",
      "package": "github.com/zinatra/coldreach/internal/server",
      "outcome": "pass",
      "seconds": 0.95
    }
  ],
  "csvObservations": [
    {
      "error": "",
      "fixture": {
        "id": "plain",
        "input": "Email,Name\na@example.test,Alex",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "expectError": false,
        "rationale": "A two-column row should retain both values."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "quoted-comma",
        "input": "Email,Name\na@example.test,\"Alex, A\"",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex, A"
          ]
        ],
        "expectError": false,
        "rationale": "A quoted comma belongs to the field."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex, A"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "embedded-newline",
        "input": "Email,Name\na@example.test,\"Alex\nA\"",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex\nA"
          ]
        ],
        "expectError": false,
        "rationale": "An embedded newline belongs to one record."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex\nA"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "escaped-quote",
        "input": "Email,Name\na@example.test,\"Alex \"\"A\"\"\"",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex \"A\""
          ]
        ],
        "expectError": false,
        "rationale": "Doubled quotes decode to one quote."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex \"A\""
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "bom",
        "input": "﻿Email,Name\na@example.test,Alex",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "expectError": false,
        "rationale": "Observe the BOM header and mapping separately."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "﻿Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "mapping": {
          "﻿Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "crlf",
        "input": "Email,Name\r\na@example.test,Alex\r\n",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "expectError": false,
        "rationale": "CRLF records should parse without a trailing field artifact."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "malformed-first-row",
        "input": "Email,Name\na@example.test,\"unclosed",
        "maxRows": 5,
        "expectedRows": [],
        "expectError": true,
        "rationale": "A malformed sampled record should be reported rather than silently omitted."
      },
      "matchedExpectation": false,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "malformed-after-valid",
        "input": "Email,Name\na@example.test,Alex\nb@example.test,\"unclosed",
        "maxRows": 5,
        "expectedRows": [],
        "expectError": true,
        "rationale": "A valid prefix should not hide a malformed sampled record."
      },
      "matchedExpectation": false,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "uneven-fields",
        "input": "Email,Name\na@example.test,Alex,extra",
        "maxRows": 5,
        "expectedRows": [],
        "expectError": true,
        "rationale": "Unexpected columns should be visible as a structural error."
      },
      "matchedExpectation": false,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "Alex",
            "extra"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "duplicate-header",
        "input": "Email,Email\na@example.test,b@example.test",
        "maxRows": 5,
        "expectedRows": [],
        "expectError": true,
        "rationale": "Ambiguous duplicate column names should be rejected."
      },
      "matchedExpectation": false,
      "observed": {
        "headers": [
          "Email",
          "Email"
        ],
        "rows": [
          [
            "a@example.test",
            "b@example.test"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "blank-header",
        "input": "Email,\na@example.test,Alex",
        "maxRows": 5,
        "expectedRows": [],
        "expectError": true,
        "rationale": "An unnamed column should be reported before mapping."
      },
      "matchedExpectation": false,
      "observed": {
        "headers": [
          "Email",
          ""
        ],
        "rows": [
          [
            "a@example.test",
            "Alex"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "formula-cell",
        "input": "Email,Name\na@example.test,=1+1",
        "maxRows": 5,
        "expectedRows": [
          [
            "a@example.test",
            "=1+1"
          ]
        ],
        "expectError": false,
        "rationale": "Parsing should preserve text without executing it; export safety is a separate check."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "a@example.test",
            "=1+1"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "invalid-email",
        "input": "Email,Name\nnot-an-address,Alex",
        "maxRows": 5,
        "expectedRows": [
          [
            "not-an-address",
            "Alex"
          ]
        ],
        "expectError": false,
        "rationale": "Preview is not mailbox verification; observe that the string is retained."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email",
          "Name"
        ],
        "rows": [
          [
            "not-an-address",
            "Alex"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    },
    {
      "error": "",
      "fixture": {
        "id": "preview-limit",
        "input": "Email\na@example.test\nb@example.test",
        "maxRows": 1,
        "expectedRows": [
          [
            "a@example.test"
          ]
        ],
        "expectError": false,
        "rationale": "A one-row preview must remain bounded; it does not validate the whole file."
      },
      "matchedExpectation": true,
      "observed": {
        "headers": [
          "Email"
        ],
        "rows": [
          [
            "a@example.test"
          ]
        ],
        "mapping": {
          "Email": "email"
        }
      }
    }
  ],
  "scope": "Selected deterministic behaviors only. Counts are test outcomes, not production failure rates or human study observations. No independent second human reviewer.",
  "sha256": {
    "controlled-tests.jsonl": "bc58592e0b791dfa64e45f3ad3fa57dbaedbe290977d04172cf9da410bb23344",
    "csv-fixtures.json": "115ae71331e28f5c78e6151fa42b930f55b458483b3172e8961352b935df8a02",
    "csv-observations.json": "6895faa547589a42e26e754bd6f3d1f683d3dc595f597a9916d2cf0a20d48f8f"
  }
}
