{
  "apiVersion": "v1",
  "passage": {
    "id": "factory-validation-contract-written-before-code-2026",
    "text": "But the tests were sort of shaped by the code, not by what the code was attempting to actually do. Tests written after implementation don't catch bugs. They confirm decisions. So if you rely on validation like that, your system will eventually drift. That's why this validation contract exists. It's written during planning before any code, and it defines correctness independently of implementation.",
    "context": "Explaining why a Factory mission writes a validation contract during planning, after describing agents that write their own tests.",
    "speaker": "Luke Alvoeiro",
    "speakerId": "luke-alvoeiro",
    "speakerUrl": "https://the-ai-record.com/people/luke-alvoeiro",
    "speakerLevel": "leader",
    "role": "Leads Factory's core agent harness",
    "voice": "person",
    "organization": "Factory",
    "organizationId": "factory",
    "organizationUrl": "https://the-ai-record.com/organizations/factory",
    "aiVendor": true,
    "work": {
      "title": "The Multi-Agent Architecture That Actually Ships",
      "type": "talk",
      "date": "2026-05-06",
      "publisher": "AI Engineer (YouTube)",
      "locator": "06:17",
      "url": "https://www.youtube.com/watch?v=ow1we5PzK-o"
    },
    "grade": "B",
    "gradeMeaning": "The organization's own post, paper or talk.",
    "verification": {
      "status": "verified",
      "meaning": "An independent second reader re-fetched the source and confirmed the wording.",
      "reviewedOn": "2026-11-18"
    },
    "topics": [
      "specs-before-agents",
      "testing"
    ],
    "functions": [
      "engineering"
    ],
    "figures": [],
    "url": "https://the-ai-record.com/passages/factory-validation-contract-written-before-code-2026",
    "json": "https://the-ai-record.com/api/v1/passages/factory-validation-contract-written-before-code-2026.json"
  },
  "notice": [
    "Every passage is reproduced word for word from the cited source.",
    "Check the verification status: \"reported\" means not yet confirmed by an independent second reader.",
    "Organizations flagged aiVendor sell AI tools or services and have a reason to publish flattering numbers.",
    "An empty result means the archive holds nothing on it, not that nobody has said anything."
  ]
}