From 001b74f7a97ef8d1f8f1386408019bf066e92ac6 Mon Sep 17 00:00:00 2001 From: August Cayzer Date: Tue, 1 Dec 2026 13:51:00 +0000 Subject: [PATCH 1/3] ci: hold the runs Dependabot starts --- .github/workflows/ci.yml | 11 +++++++++-- .github/workflows/codeql.yml | 5 +++-- AGENTS.md | 1 + 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09614a4..9afeb2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,12 @@ # here and not in a consumer's build. # # `Full CI` is the one required check, a roll-up of the jobs below. +# +# A run that Dependabot starts is held: every job a pull request can start is +# skipped, so it uses no runner, and the roll-up is named `Held CI`, so the +# required `Full CI` stays expected and blocks a merge. To opt a pull request +# in, start a run yourself with `gh pr ready --undo && gh pr ready `, or +# push to its branch. Rerunning a held run keeps Dependabot as the actor. name: CI on: @@ -31,6 +37,7 @@ permissions: jobs: build: name: Build and test + if: ${{ !(github.event_name == 'pull_request' && github.actor == 'dependabot[bot]') }} timeout-minutes: 8 runs-on: ubuntu-latest steps: @@ -59,9 +66,9 @@ jobs: # runs after a failed job and fails then; a cancelled run skips it, and a # skipped job never reports as `Full CI`, so a cancel cannot leave it green. gate: - name: ${{ github.event.pull_request.draft && 'Draft CI' || 'Full CI' }} + name: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' && 'Held CI' || (github.event.pull_request.draft && 'Draft CI' || 'Full CI') }} needs: [build] - if: ${{ !cancelled() }} + if: ${{ !(github.event_name == 'pull_request' && github.actor == 'dependabot[bot]') && !cancelled() }} runs-on: ubuntu-latest timeout-minutes: 2 steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 781b059..dffcef7 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,8 +46,9 @@ permissions: jobs: analyze: name: Analyze (${{ matrix.language }}) - # Public repositories can scan without a paid Code Security license. - if: ${{ github.event.repository.private == false && !github.event.pull_request.draft }} + # Public repositories can scan without a paid Code Security license. A run + # that Dependabot starts on a pull request is held, as `ci.yml` says. + if: ${{ !(github.event_name == 'pull_request' && github.actor == 'dependabot[bot]') && github.event.repository.private == false && !github.event.pull_request.draft }} runs-on: ubuntu-latest timeout-minutes: 10 permissions: diff --git a/AGENTS.md b/AGENTS.md index 80beee1..818e6ee 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,6 +14,7 @@ - Conventional Commits with a scope, such as `feat(search):` or `fix(styles):`. Work reaches `main` only through a pull request, one logical change each. - Make worktrees in `.claude/worktrees/` (`git worktree add .claude/worktrees/ -b origin/main`). Remove the worktree and its branch once the work is merged. - This repository is public. Commit no internal hostname, private IP address, personal path, key or token. +- CI holds a run that Dependabot starts on a pull request: its jobs are skipped, and the roll-up is named `Held CI`, so the required `Full CI` blocks the merge. To run it, use `gh pr ready --undo && gh pr ready `, or push to the branch. A new job that a pull request can start needs the same condition. - A comment says only what the code cannot: the reason, the constraint or the trade-off. - The kit sends nothing about itself. `Analytics` loads PostHog only when a site passes it a key, and the SDK stays in its own chunk, never in a site's entry chunk. - Classes and custom properties are prefixed `docs-kit-` and `--docs-kit-`, so they never meet a site's own. From bca40b3ebda7b749af8f87d0791cdc8d4c844ce0 Mon Sep 17 00:00:00 2001 From: August Cayzer Date: Tue, 1 Dec 2026 14:00:29 +0000 Subject: [PATCH 2/3] build(deps): bump jsdom to 31.0.1 --- package.json | 2 +- pnpm-lock.yaml | 161 ++++++++++--------------------------------------- 2 files changed, 32 insertions(+), 131 deletions(-) diff --git a/package.json b/package.json index 12a8c7b..a898b85 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "fumadocs-core": "16.15.15", "fumadocs-mdx": "15.4.5", "fumadocs-ui": "16.15.15", - "jsdom": "^30.1.3", + "jsdom": "^31.0.1", "lucide-react": "^1.48.0", "posthog-js": "^1.434.16", "react": "^19.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56a5b29..2c7d09d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,8 +46,8 @@ importers: specifier: 16.15.15 version: 16.15.15(@types/mdx@2.0.14)(@types/react-dom@19.3.0(@types/react@19.3.3))(@types/react@19.3.3)(fumadocs-core@16.15.15(@mdx-js/mdx@3.1.1)(@tanstack/react-router@1.170.46(@types/react@19.3.3)(react-dom@19.3.1(react@19.3.1))(react@19.3.1))(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.3.3)(lucide-react@1.84.0(@types/react@19.3.3)(react@19.3.1))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(zod@4.6.7))(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(tailwindcss@4.3.5) jsdom: - specifier: ^30.1.3 - version: 30.1.3 + specifier: ^31.0.1 + version: 31.0.1 lucide-react: specifier: ^1.48.0 version: 1.84.0(@types/react@19.3.3)(react@19.3.1) @@ -86,58 +86,10 @@ importers: version: 8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1) vitest: specifier: ^5.0.5 - version: 5.1.2(@types/node@26.6.11)(jsdom@30.1.3)(vite@8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) + version: 5.1.2(@types/node@26.6.11)(jsdom@31.0.1)(vite@8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) packages: - '@asamuzakjp/css-color@7.2.0': - resolution: {integrity: sha512-+JNLVlzePs1XiBT5s9aVkEjOePRoB//tk3bc69BGdzQCz7EICVSQuVPZu6tjc7vAJxBx5fama67LbOltwnXzPQ==} - engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - - '@asamuzakjp/dom-selector@10.0.8': - resolution: {integrity: sha512-5WIvJ1ZMsrJxoMzn2yw+5KS+5MlD3tSF5cCAfoM9950GGZaIBOXo8dPNKC8vD6CFlKrJ8OuBE1yQK5FWyRTOXg==} - engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - - '@bramus/specificity@2.4.5': - resolution: {integrity: sha512-TWjoxMCb5z1j19ZAVlGIkRkoq22F9F1+s+sTcJcw3GN+sEj/ZhWD+PPyol0feaRGZyajOA22FTCv95Ow26i6iA==} - hasBin: true - - '@csstools/color-helpers@6.1.3': - resolution: {integrity: sha512-c6CpX5G1pvuOKTXiRFJ54Lzc8zQrZ3qUjp44QC5DJNt1OmA1vmfUxOMCcKdDqsvffVDG0/MHnY63J+Mn0nmdUg==} - engines: {node: '>=20.19.0'} - - '@csstools/css-calc@3.4.4': - resolution: {integrity: sha512-Jwo1Z8DUsZ8xVOLBdLMfhjJFvWD6pqaUTlBNQZ+qIB2i9g7yG8kd/UBJj2c9J9Twr+u87cjy9BjkmfvMbyOk3Q==} - engines: {node: '>=20.19.0'} - peerDependencies: - '@csstools/css-parser-algorithms': ^4.0.3 - '@csstools/css-tokenizer': ^4.0.3 - - '@csstools/css-color-parser@4.2.8': - resolution: {integrity: sha512-JLsKBee9dmnA3L+H+vYK4lQ6n5CoY3yEnh33zdlMutRfrTxtqt+hFeoZ1maHRt5vLw67huDLpOkDb3rl9A51MQ==} - engines: {node: '>=20.19.0'} - peerDependencies: - '@csstools/css-parser-algorithms': ^4.0.3 - '@csstools/css-tokenizer': ^4.0.3 - - '@csstools/css-parser-algorithms@4.0.3': - resolution: {integrity: sha512-EpCfUDaJtwohPHC7egoXxPGT/R1/WyyAhw87MKB/7BPPZvZU+IcEqo4er5FpLnby2Gvwt9Lpxy+WNEDyFjoXtA==} - engines: {node: '>=20.19.0'} - peerDependencies: - '@csstools/css-tokenizer': ^4.0.3 - - '@csstools/css-syntax-patches-for-csstree@1.1.17': - resolution: {integrity: sha512-IPx9W33+t0Yt5TVb+Y7oICrThOIry0TY6GuXfSHOatxA0uiHqbzi98Gai905lpBAX1m/LH7iI96e9jcI7Dkvxw==} - peerDependencies: - css-tree: ^3.2.1 - peerDependenciesMeta: - css-tree: - optional: true - - '@csstools/css-tokenizer@4.0.3': - resolution: {integrity: sha512-gdkFe/Z4KU1q8Y5S3GYScXGcOnO56dgWwIs5+97Ij1VIKISItOIUlCXUq4VLbdnRclF+SSQ49sLsn3KeV111AA==} - engines: {node: '>=20.19.0'} - '@esbuild/aix-ppc64@0.28.2': resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} engines: {node: '>=18'} @@ -1308,8 +1260,11 @@ packages: bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} - bidi-js@1.1.0: - resolution: {integrity: sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==} + bcp-47-match@2.0.3: + resolution: {integrity: sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==} + + bcp-47@2.1.2: + resolution: {integrity: sha512-wsv86UuNFuPnVieKLyECTT+CP1WSAHeoIg5P3xu2kA9Z+7fVPoKt7dxzSeEhtJel0AI+NW3fIW3KtTKQKUCngg==} cac@7.1.1: resolution: {integrity: sha512-8zc+h51HxpodKsA7L4PpBNd+9qlrfuUcyUDE5a793BJfN4NZgwk7v9NmrY3ptZ+Sk0+ToigxSzkb47AsEgyizw==} @@ -1365,10 +1320,6 @@ packages: core-js@3.51.0: resolution: {integrity: sha512-7bDKx/5jm5MxzsXxc93g6Z2+4ZsuT/MddrfRmTDJNAkWsYWHU8EVNEsBiIEWnMAMCHMmRfUEjkuo3jeNBOIHRw==} - css-tree@3.2.1: - resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - csstype@3.2.4: resolution: {integrity: sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==} @@ -1716,13 +1667,13 @@ packages: resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} hasBin: true - jsdom@30.1.3: - resolution: {integrity: sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==} + jsdom@31.0.1: + resolution: {integrity: sha512-CbhJL8ZQg3eKswxSZth4QO9tW0jPIhmR0vtSXQSbKSfWbwIT6hoRc17wdHIVTQ43KI0mdV5iTJr3281IDgVZ5g==} engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} peerDependencies: - canvas: ^3.2.3 + '@napi-rs/canvas': ^1.0.13 peerDependenciesMeta: - canvas: + '@napi-rs/canvas': optional: true lightningcss-android-arm64@1.33.0: @@ -1873,9 +1824,6 @@ packages: mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} - mdn-data@2.27.1: - resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==} - micromark-core-commonmark@2.0.4: resolution: {integrity: sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==} @@ -2038,6 +1986,9 @@ packages: parse-entities@4.0.2: resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==} + parse5-parser-stream@8.1.1: + resolution: {integrity: sha512-hMcVbbUJcQmP8rURWUdYrT1flRiBiBVjq/RYGguJpDUgIXSqdYKlE0CxthmdMWoSlBAuL5bUBa73g0pttSy7Hw==} + parse5@8.1.1: resolution: {integrity: sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==} @@ -2174,10 +2125,6 @@ packages: remark@15.0.1: resolution: {integrity: sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==} - require-from-string@2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} - resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} @@ -2573,49 +2520,6 @@ packages: snapshots: - '@asamuzakjp/css-color@7.2.0': - dependencies: - '@csstools/css-calc': 3.4.4(@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3))(@csstools/css-tokenizer@4.0.3) - '@csstools/css-color-parser': 4.2.8(@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3))(@csstools/css-tokenizer@4.0.3) - '@csstools/css-parser-algorithms': 4.0.3(@csstools/css-tokenizer@4.0.3) - '@csstools/css-tokenizer': 4.0.3 - lru-cache: 11.5.4 - - '@asamuzakjp/dom-selector@10.0.8': - dependencies: - bidi-js: 1.1.0 - css-tree: 3.2.1 - is-potential-custom-element-name: 1.0.1 - lru-cache: 11.5.4 - - '@bramus/specificity@2.4.5': - dependencies: - css-tree: 3.2.1 - - '@csstools/color-helpers@6.1.3': {} - - '@csstools/css-calc@3.4.4(@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3))(@csstools/css-tokenizer@4.0.3)': - dependencies: - '@csstools/css-parser-algorithms': 4.0.3(@csstools/css-tokenizer@4.0.3) - '@csstools/css-tokenizer': 4.0.3 - - '@csstools/css-color-parser@4.2.8(@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3))(@csstools/css-tokenizer@4.0.3)': - dependencies: - '@csstools/color-helpers': 6.1.3 - '@csstools/css-calc': 3.4.4(@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3))(@csstools/css-tokenizer@4.0.3) - '@csstools/css-parser-algorithms': 4.0.3(@csstools/css-tokenizer@4.0.3) - '@csstools/css-tokenizer': 4.0.3 - - '@csstools/css-parser-algorithms@4.0.3(@csstools/css-tokenizer@4.0.3)': - dependencies: - '@csstools/css-tokenizer': 4.0.3 - - '@csstools/css-syntax-patches-for-csstree@1.1.17(css-tree@3.2.1)': - optionalDependencies: - css-tree: 3.2.1 - - '@csstools/css-tokenizer@4.0.3': {} - '@esbuild/aix-ppc64@0.28.2': optional: true @@ -3538,9 +3442,13 @@ snapshots: bail@2.0.2: {} - bidi-js@1.1.0: + bcp-47-match@2.0.3: {} + + bcp-47@2.1.2: dependencies: - require-from-string: 2.0.2 + is-alphabetical: 2.0.1 + is-alphanumerical: 2.0.1 + is-decimal: 2.0.1 cac@7.1.1: {} @@ -3578,11 +3486,6 @@ snapshots: core-js@3.51.0: {} - css-tree@3.2.1: - dependencies: - mdn-data: 2.27.1 - source-map-js: 1.2.4 - csstype@3.2.4: {} data-urls@8.0.0: @@ -3989,20 +3892,18 @@ snapshots: jiti@2.7.0: {} - jsdom@30.1.3: + jsdom@31.0.1: dependencies: - '@asamuzakjp/css-color': 7.2.0 - '@asamuzakjp/dom-selector': 10.0.8 - '@bramus/specificity': 2.4.5 - '@csstools/css-syntax-patches-for-csstree': 1.1.17(css-tree@3.2.1) '@exodus/bytes': 1.16.0 - css-tree: 3.2.1 + bcp-47: 2.1.2 + bcp-47-match: 2.0.3 data-urls: 8.0.0 decimal.js: 10.6.0 html-encoding-sniffer: 7.0.0 is-potential-custom-element-name: 1.0.1 lru-cache: 11.5.4 parse5: 8.1.1 + parse5-parser-stream: 8.1.1 saxes: 6.0.0 tough-cookie: 6.1.0 undici: 8.14.0 @@ -4248,8 +4149,6 @@ snapshots: dependencies: '@types/mdast': 4.0.4 - mdn-data@2.27.1: {} - micromark-core-commonmark@2.0.4: dependencies: decode-named-character-reference: 1.3.0 @@ -4568,6 +4467,10 @@ snapshots: is-decimal: 2.0.1 is-hexadecimal: 2.0.1 + parse5-parser-stream@8.1.1: + dependencies: + parse5: 8.1.1 + parse5@8.1.1: dependencies: entities: 9.0.0 @@ -4749,8 +4652,6 @@ snapshots: transitivePeerDependencies: - supports-color - require-from-string@2.0.2: {} - resolve-pkg-maps@1.0.0: {} rolldown-plugin-dts@0.30.2(rolldown@1.3.4)(typescript@7.0.2): @@ -5028,7 +4929,7 @@ snapshots: napi-windows-process-start-time: 0.1.0 yaml: 2.9.1 - vitest@5.1.2(@types/node@26.6.11)(jsdom@30.1.3)(vite@8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): + vitest@5.1.2(@types/node@26.6.11)(jsdom@31.0.1)(vite@8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)): dependencies: '@types/chai': 5.2.3 '@vitest/mocker': 5.1.2(vite@8.4.0(@types/node@26.6.11)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.1)) @@ -5046,7 +4947,7 @@ snapshots: why-is-node-running: 3.2.1 optionalDependencies: '@types/node': 26.6.11 - jsdom: 30.1.3 + jsdom: 31.0.1 transitivePeerDependencies: - msw From 987b06182658955af781b8dd8bc9999007cb63ed Mon Sep 17 00:00:00 2001 From: August Cayzer Date: Tue, 1 Dec 2026 14:23:05 +0000 Subject: [PATCH 3/3] docs(ci): say what a held run reports --- .github/workflows/ci.yml | 5 ++--- AGENTS.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9afeb2b..88dc90f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,8 @@ # `Full CI` is the one required check, a roll-up of the jobs below. # # A run that Dependabot starts is held: every job a pull request can start is -# skipped, so it uses no runner, and the roll-up is named `Held CI`, so the -# required `Full CI` stays expected and blocks a merge. To opt a pull request -# in, start a run yourself with `gh pr ready --undo && gh pr ready `, or +# skipped, so it uses no runner, and no `Full CI` is reported, so the required +# check stays expected and blocks a merge. To opt a pull request in, start a run yourself with `gh pr ready --undo && gh pr ready `, or # push to its branch. Rerunning a held run keeps Dependabot as the actor. name: CI diff --git a/AGENTS.md b/AGENTS.md index 818e6ee..22b2f41 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,7 +14,7 @@ - Conventional Commits with a scope, such as `feat(search):` or `fix(styles):`. Work reaches `main` only through a pull request, one logical change each. - Make worktrees in `.claude/worktrees/` (`git worktree add .claude/worktrees/ -b origin/main`). Remove the worktree and its branch once the work is merged. - This repository is public. Commit no internal hostname, private IP address, personal path, key or token. -- CI holds a run that Dependabot starts on a pull request: its jobs are skipped, and the roll-up is named `Held CI`, so the required `Full CI` blocks the merge. To run it, use `gh pr ready --undo && gh pr ready `, or push to the branch. A new job that a pull request can start needs the same condition. +- CI holds a run that Dependabot starts on a pull request: its jobs are skipped, so no `Full CI` is reported and the required check blocks the merge. To run it, use `gh pr ready --undo && gh pr ready `, or push to the branch. A new job that a pull request can start needs the same condition. - A comment says only what the code cannot: the reason, the constraint or the trade-off. - The kit sends nothing about itself. `Analytics` loads PostHog only when a site passes it a key, and the SDK stays in its own chunk, never in a site's entry chunk. - Classes and custom properties are prefixed `docs-kit-` and `--docs-kit-`, so they never meet a site's own.