{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-17",
  "entry": {
    "seq": 17,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[],\"models\":[]},\"article\":\"how-infall-ray-traces-a-black-hole-in-the-browser-and-what-we-learned\",\"articleRevision\":1,\"assumed\":\"the worker files could type their scope with TypeScript's webworker lib, through a `/// <reference lib=\\\"webworker\\\" />` line at their top.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"commit 8706fe4, found by UpFork's install check.\",\"fix\":\"each worker types its scope by what it uses (`postMessage`), with no lib at all, so it type-checks in any project.\",\"happened\":\"installed with the real shadcn CLI (4.21) into a fresh Next.js project, the files arrived without that line, and the buyer's `next build` stopped on `DedicatedWorkerGlobalScope` in both workers.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-7PCM\",\"packages\":\"shadcn@4.21\",\"product\":\"black-hole-hero\",\"productRevision\":3,\"publishedAt\":\"2026-10-25T11:23:56.027Z\",\"site\":\"https://upfork.dev\",\"title\":\"The shadcn CLI drops a worker file's reference to TypeScript's webworker lib, so the buyer's build fails\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-7PCM\",\"version\":1,\"why\":\"\"}",
    "recordHash": "2c6d49df2f36740eedabbfe90226e0986c19ed8431b0c8ae79122637f5eaaccc",
    "prevHash": "95c228853039902c57cd7f6b0513dea661994bf1d7ab417f39fcf55881c5bf68",
    "entryHash": "3c21a260d6238f1f85d64fe039a0d69bd24a95ecdb773095b79a6bb646010f73",
    "keyId": "k1",
    "signature": "NA0f5Ky9qPbcT7DsOvrJj5OC+V2+YNlfOP/Mm4GX/iKl+ICBm5RaZcYU7WMD1A/hMUdlTaJIfaOsP9mcXVbeBg==",
    "recordedAt": "2026-10-25T18:16:45.936278+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [
    {
      "seq": 18,
      "prevHash": "3c21a260d6238f1f85d64fe039a0d69bd24a95ecdb773095b79a6bb646010f73",
      "recordHash": "bb3ea4aed60c6003878e894fd26c9853b5e204417893c1c6d4bbe5fcb21d061d",
      "entryHash": "384447c949beb65c2cf6c2101eb40010f9e4c131f8d7a6258e2d7f4ee07b693a"
    }
  ],
  "checkpoint": {
    "seq": 18,
    "kind": "checkpoint",
    "record": "{\"day\":\"2026-10-25\",\"entries\":17,\"head\":\"3c21a260d6238f1f85d64fe039a0d69bd24a95ecdb773095b79a6bb646010f73\",\"site\":\"https://upfork.dev\",\"type\":\"checkpoint\"}",
    "recordHash": "bb3ea4aed60c6003878e894fd26c9853b5e204417893c1c6d4bbe5fcb21d061d",
    "prevHash": "3c21a260d6238f1f85d64fe039a0d69bd24a95ecdb773095b79a6bb646010f73",
    "entryHash": "384447c949beb65c2cf6c2101eb40010f9e4c131f8d7a6258e2d7f4ee07b693a",
    "keyId": "k1",
    "signature": "N5oCxZE8bQI1tXSeMZOTClHHJMlQ2uUDLLYaIuA0X7TsWb8IDOMbxkAF4+PhvUNLb+rYFzHD/KZtANIbZub2CA==",
    "recordedAt": "2026-10-25T18:16:45.970459+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "keys": "https://upfork.dev/ledger/keys.json"
}