{
  "apiVersion": "v1",
  "passage": {
    "id": "cursor-bugbot-rule-never-use-foreign-keys-2026",
    "text": "the best example of a rule that I can think of internally is for Bugbot. So when we're doing database migrations, we're not really using foreign keys on a database for performance reasons. And the models like the right way to do this is use foreign keys, right? So they will always add a foreign key. But when it … hits … and there's a PR created, we have Bugbot … it's like, oh, I have this rule saying like we should never use foreign keys. So then it flags this.",
    "context": "Zakariasson is giving an example of a rule Cursor keeps for its Bugbot code-review tool, in an answer about writing rules for agents.",
    "speaker": "Eric Zakariasson",
    "speakerId": "eric-zakariasson",
    "speakerUrl": "https://the-ai-record.com/people/eric-zakariasson",
    "speakerLevel": "practitioner",
    "role": "Engineer, Developer Experience and Product, Cursor",
    "voice": "person",
    "organization": "Cursor (Anysphere)",
    "organizationId": "cursor",
    "organizationUrl": "https://the-ai-record.com/organizations/cursor",
    "aiVendor": true,
    "work": {
      "title": "Building your own software factory",
      "type": "talk",
      "date": "2026-04-28",
      "publisher": "AI Engineer (YouTube)",
      "locator": "45:06",
      "url": "https://www.youtube.com/watch?v=rnDm57Py54A"
    },
    "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-04"
    },
    "topics": [
      "code-review",
      "ai-review-quality"
    ],
    "functions": [
      "engineering"
    ],
    "figures": [],
    "url": "https://the-ai-record.com/passages/cursor-bugbot-rule-never-use-foreign-keys-2026",
    "json": "https://the-ai-record.com/api/v1/passages/cursor-bugbot-rule-never-use-foreign-keys-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."
  ]
}