Skip to content

PinZheng(release): promote dev to main — v1.2.1 + security remediations - #361

Merged
Ducksss merged 117 commits into
mainfrom
claude/promote-dev-1.2.1
Jul 27, 2026
Merged

Ducksss merged 117 commits into
mainfrom
claude/promote-dev-1.2.1

Conversation

@Ducksss

@Ducksss Ducksss commented Jul 27, 2026 •

Copy link
Copy Markdown
Owner

Promotion summary

Follow-on promotion to #351, which merged earlier today. The effective production delta is 9 files: 278 additions and 179 deletions — three dev PRs that landed after #351 was cut.

The branch tree is byte-identical to dev (git diff HEAD origin/dev is empty). Its head is a synchronize commit whose parents are the current dev tip and the current main tip; it records the squash-promoted main history from #351 so GitHub can merge without hitting squash-divergence conflicts.

This is still required: the merge base of main and dev is ddd8eb0 (v1.2.0), and a plain dev → main PR conflicts on package.json, pnpm-lock.yaml, and both tools/blog files. Verified with git merge-tree --write-tree before opening.

What ships

v1.2.1 release version (#356)

Patch bump, ahead of publication. The only files in the published files set that changed across #351 were the CLI Current components help text (resynced from registry.json) and the README inventory table — no registry entries, no CLI behavior, no API change.

This also unblocks publishing at all: package.json was sitting at 1.2.0 on both branches while npm latest was also 1.2.0, so the publish workflow would have silently exited 0 and shipped nothing.

Stale security overrides cleared (#357)

Closes 5 of the 6 Dependabot advisories open against main. Every override in pnpm.overrides had been outrun by its advisory widening, so the pins were holding vulnerable versions while reading as fixed:

Package Was resolving Why the override missed Now
fast-uri 3.1.2 pinned flat below both patched versions 3.1.4
js-yaml 4.2.0 targeted <=4.1.1; advisory widened to <4.3.0 <4.3.0 → 4.3.0
brace-expansion 1.1.14 override covered only the v5 line; advisory is against v1 adds <1.1.16 → 1.1.16
sharp 0.34.5 no override, and next pins sharp as an exact optionalDependency 0.35.3 + override

sharp lands on 0.35.3 rather than the patched 0.35.0 because 0.35.0 ships an exports map with no types condition, which fails tsc for every importer; upstream fixed it in 0.35.1. 0.35.x also drops the callable type namespace, so the two files referencing sharp.OverlayOptions now import the named type — the only source change in that PR.

@hono/node-server (GHSA-frvp-7c67-39w9, medium) is deliberately left open. It arrives via shadcn → @modelcontextprotocol/[email protected], and the newest MCP SDK still declares ^1.19.9, so the patched 2.0.5 sits outside its dependent's supported range. It is a Windows-only serve-static path traversal in a build-time dev dependency that darwin dev and Linux CI never exercise. Recommend dismissing as tolerable risk rather than forcing a major override; revisit when the SDK moves to 2.x.

PR-audit security remediations (#352)

  • Hardens GitHub Actions input handling in visual-baselines.yml.
  • Adds an analytics URL guard and honors GPC / DNT as an opt-out signal.
  • Adds .coderabbit.yaml review coverage and contributing-doc updates.

Validation

  • dev carries the full integration, e2e, accessibility, visual-regression, and release-gate coverage for all three PRs; release: bump version to 1.2.1 #356 and deps: clear five stale security overrides #357 each passed 12/12 checks before merging.
  • The dependency change was additionally verified locally with exit codes captured individually rather than through a pipe: tsc --noEmit, pnpm lint, production pnpm build (exercises sharp via image optimization), and pnpm test:int (341 passed, 1 skipped, 0 failed).
  • No consumer migration or database action required.

After merge

Confirm the publish workflow ships 1.2.1 to npm, then verify the production deployment and the Dependabot alert list — 5 of the 6 advisories should close once the fix lands on the default branch.

Summary by CodeRabbit

  • Privacy

    • Analytics events are now limited to the production site.
    • Browsers with Global Privacy Control or Do Not Track enabled no longer send analytics events.
    • Invalid links no longer trigger tracking errors.
  • Documentation

    • Expanded analytics documentation to explain third-party analytics, cookie behavior, opt-out handling, and consent limitations.
  • Maintenance

    • Updated the application version and supporting packages for improved compatibility and reliability.

Ducksss and others added 30 commits June 19, 2026 14:46
Adds a `blog` collection (defineCollections + author/date frontmatter) alongside
the existing docs collection, a flat `/blog/[slug]` post route and `/blog` index
card grid styled to the shadcn + emerald brand, RootProvider/SiteHeader layout,
and Blog nav links. Seeds two real posts bylined Ducksss: a friendly "Hello"
welcome and an "Anatomy of an install" deep-dive.

zod is promoted to a direct devDependency (4.4.3, the version fumadocs-core
already resolves) so the blog frontmatter schema can extend pageSchema. The blog
is independent of the docs llms.txt/geo contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Summary:
- Bump TypeScript from 5.7.3 to 5.9.3 and refresh pnpm lock.
- Bump registry verification failure artifact uploads to v7.

Rationale:
- Keep Dependabot maintenance updates on dev with a small scoped diff.
- Next is already at 16.2.6 on dev, so no package diff was needed.

Tests:
- pnpm install --frozen-lockfile
- pnpm build
- E2E_PORT=3100 pnpm test:release (fails locally: e2e route sweep
  timeout and Darwin homepage snapshot delta; lint, source build,
  typecheck, registry check, and integration tests passed before e2e)
- E2E_PORT=3100 pnpm exec cross-env NODE_OPTIONS="--no-deprecation
  --import=tsx/esm" playwright test --config=playwright.config.ts
  tests/e2e/frontend.e2e.spec.ts -g "landing page keeps its desktop
  and mobile visual contract" (fails locally: same Darwin snapshot delta)
Import the tailark "faqs" category as Payload Components, adapted to the
site's light/emerald token system. Ships 6 distinct structural variants —
faq-accordion, faq-split, faq-card, faq-icons, faq-grouped, faq-grid —
each with source config + Component, manifest, registry entry, docs page,
and demo twin. Shared family code: faqFields.ts and faqIcons.ts (icon-name
select → lucide map, mirroring the Content family's contentIcons pattern).

Activates the previously-empty `faq` catalog category, registers the FAQ
docs sidebar family, and bumps the page-block count 38 → 44 (copy + guard).
Adds `accordion` to the public shadcn dependency allowlist so the accordion
variants pass the registry import-derivation test.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Summary:
- Replace public alpha labels with neutral open-source and MIT copy.
- Rename the internal alpha component template to component-template.
- Refresh homepage screenshots for the visible copy changes.

Rationale:
- The site, CLI, docs, and package metadata should not present the
  project as alpha.
- The template rename prevents future component docs from reintroducing
  alpha language.

Tests:
- rg -n -i "\\balpha\\b|alpha-" --glob '!node_modules/**' --glob '!public/r/**' --glob '!.next/**' --glob '!test-results/**'
- git diff --check
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm run test:int
- pnpm run test:e2e
- pnpm test:registry
- pnpm build
Summary:
- Merge the alpha messaging cleanup on top of latest dev.
- Resolve homepage snapshot conflicts against the current FAQ catalog state.
- Remove newly introduced FAQ alpha status fields from component metadata.

Rationale:
- Dev should not expose public alpha labels in copy, CLI output, docs,
  metadata, or internal templates.
- Regenerated snapshots reflect the merged landing page rather than either
  side of the binary conflict.

Tests:
- pnpm test:release
Make the @payload-components registry submission-ready for the official shadcn
registry directory — all 44 items, including the FAQ family merged from dev.

- Replace the <your-domain> placeholder with https://www.payload-components.xyz
  across every item's docs URL; point registry.json homepage at the live site.
- Add a registry:validate gate (ajv + vendored shadcn draft-07 schemas) folded
  into test:registry, since [email protected] has no validate command.
- Document the @payload-components namespace install path in the install/registry
  docs and README.
- Stage the shadcn-ui/ui directory entry + submission steps in AGENTS.md.

Verified locally: registry reproducible + schema-valid (44 items), lint, tsc,
test:int (68 passed). Landed via admin merge (dev's review gate is
unsatisfiable for the sole owner; the Registry Verification workflow
startup-fails repo-wide and Vercel was rate-limited).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Summary:
- Rework the README around open-source SaaS-style positioning.
- Add the existing social card, contributor links, and community framing.
- Split consumer install guidance from local repository setup.

Rationale:
- The README is the front door for contributors and early adopters.
- Keeping the content MIT-first and community-first avoids stale commercial
  framing while making the install contract easier to scan.

Tests:
- pnpm lint
- git diff --check -- README.md
- curl -fsSI https://www.payload-components.xyz/opengraph-image
- rg stale commercial framing scan
Summary:
- Update FAQ registry, manifest, and installed Payload labels to use the
  proper acronym capitalization.
- Add the new FAQ slugs to CLI help and correct the blog component count.
- Clip page-level horizontal overflow and refresh the stale Linux landing
  desktop screenshot baseline.
- Document why TypeScript remains pinned to 5.x until the tsconfck peer
  range supports TypeScript 6.

Rationale:
- The PR was fast-forwardable but blocked by release-gate visual and
  overflow failures plus review metadata drift.
- Keeping TypeScript 5.x avoids shipping an unmet peer dependency from
  vite-tsconfig-paths through tsconfck.

Tests:
- pnpm test:release
Summary:
- Replace the stale Linux mobile landing screenshot baseline with the
  release-gate actual image from PR #152.

Rationale:
- The Linux mobile baseline was still taller than the current rendered
  landing page, matching the same stale-baseline issue fixed for desktop.
- The actual image was stable across CI retries.

Tests:
- pnpm test:release
- verified CI artifact actual image was stable across retries
…ift (#153)

* repo(chore): close CI visual-regression gap and clear review bloat/drift

Repo review follow-ups (no behavior change to the shipped site or CLI):

- CI visual gap: the components-visual suite silently skipped on every CI
  run (only darwin baselines existed; CI is linux). Add a visual-baselines
  workflow_dispatch that mints per-platform baselines in the CI renderer and
  opens a PR, plus a coverage guard that fails loudly once a platform is
  minted but a component lacks a baseline (instead of silently skipping).
- Drop 3 dead pnpm.overrides (dompurify, drizzle-orm, uuid): Payload-runtime
  residue with no package in the lockfile.
- Remove the unreachable layout='stack' branch in ComponentFamilyHeader.
- Derive the not-found 'Known components' list from componentEntries.
- Guard componentFamilies.posts.countLabel (the one unguarded catalog count).
- Hoist the duplicated baseManifest into a dependency-free manifest-factory
  module (the two copies had drifted; import-light so it can't defeat the
  manifest spec's mock).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)

PR #146 bumped upload-artifact v4→v7, but that major doesn't exist. An
unresolvable action reference makes the workflow fail at startup
(startup_failure, 0s), which has blocked every dev push and PR gate since
that merge. Restore the known-good v4.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* Revert "ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)"

This reverts commit d1392ea.

* test(ci): refresh stale linux landing baseline (desktop)

The linux landing baselines went stale during the day the CI gate was down
(broken allowlist): the family-teaser landing change shrank the page, the
darwin baseline was refreshed but linux never was. This restores the desktop
linux baseline from the gate's own actual render; mobile follows.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): refresh stale linux landing baseline (mobile)

Companion to the desktop refresh: restores the mobile linux landing baseline
from the gate's own actual render (390x14444, matching the current darwin
baseline). Both linux landing baselines now reflect the family-teaser landing.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
The renderBlocks/pagesLayout patcher deduped on exact full lines while the
verifier checked loose substrings, so the two could disagree. A consumer whose
anchor region was reformatted (Prettier reflow, hand-edit, double quotes, no
trailing comma) could slip past the writer's exact-line dedup — appending a
duplicate object key / import — while the verifier still reported it present,
so 'add' wrote a broken RenderBlocks.tsx and 'doctor' called it healthy.

Give apply (dedup) and verify one shared structural matcher per fragment
(tolerant of quote style, trailing semicolons, indentation, spacing) so they
can't disagree. Adds a regression test that pre-seeds a reformatted
registration and asserts apply doesn't duplicate it and verify reads it present.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…160)

installedFiles was recorded in .payload-components/state.json but never read
for any decision — add/doctor re-derive install validity from the manifest, so
the stored copy was just a duplicate of manifest.files that could only drift.
Remove it from the state entry type, the three record functions, the v1->v2
migration, normalizeState, and the install assertions/specs.

Backward-compatible: normalizeState no longer reads the field, so existing v2
state files that still carry it load fine (the dead field is ignored on read).
No state version bump.

Co-authored-by: Claude Opus 4.8 <[email protected]>
)

Ports tailark's MIT comparator category as comparator-table, comparator-grid, and comparator-stack — new comparator page-family, page-block count 44 to 47.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…count (#172)

* registry(fix): use canonical www URL for comparator install commands

The Comparator family (#158) shipped its three registry-item docs with the
literal https://<your-domain>/r/comparator-*.json placeholder, and its three
MDX manual-install snippets used the bare apex https://payload-components.xyz
(no www). Every other one of the 44 published items uses the canonical
https://www.payload-components.xyz that #150/#155 standardized on; the
placeholder is a copy-pasteable-but-broken install command and the bare apex
is inconsistent.

Replace both with https://www.payload-components.xyz in the three comparator
entries of payload-components/registry.json and the three comparator docs
pages. Source-only change; public/r/*.json is gitignored and rebuilt from this
source by registry:build.

Found during the dev->main promote review (PR #162).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* a11y(comparator): label state icons + table headers, refresh blog count

- Add role="img" + aria-label ("Included"/"Not included") to the Check/Minus
  state icons in all three Comparator blocks so screen readers announce the
  yes/no meaning of each matrix cell (previously icon-only).
- Add scope="col" to the ComparatorTable plan header cells.
- Bump the (non-test-pinned) blog copy "About 44" -> "About 47" page blocks to
  match the count now installable after the Comparator family.

Attribute-only on the block source (no className change), so the demo-twin
class-mirror guard is unaffected and the visual baselines are unchanged; the
blog count is prose, not a pinned assertion.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
…163)

Code-review remediation (P1 hardening + P2 trims + a11y gate):

- a11y: add tests/e2e/a11y.e2e.spec.ts (axe-core WCAG 2.1 A/AA over
  /, /docs, /components; serious+critical). Fixes it surfaced: darken
  --muted-foreground 50%->46% (was 4.41:1, sub-AA), text-brand-600 on
  light-emerald catalog pills, raise reduced-opacity small labels to full
  opacity, logo placeholders /55->/70, tabIndex on scrollable code blocks.
- cli: atomic state writes (temp+rename) + corrupt-state fallback in
  loadState; fix latent shared-defaultState mutation (createDefaultState
  factory). Add fragment-patching failure-mode tests.
- ci: unify GitHub Action versions across workflows; main-only push gate;
  add fast-fail quick-checks (lint+tsc) job.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…159)

* components(feat): add testimonials family (6 tailark-derived blocks)

Imports the distinct testimonial layouts from tailark/blocks (MIT),
re-implemented as wired Payload blocks in this repo's idiom (Media
avatars, editable fields, light tokens): testimonials-quote, -spotlight,
-grid, -rating, -bento, -wall. Full contract each — source, manifest,
registry entry, demo twin, docs — plus catalog, count (38->44),
family-teaser, and enumeration wiring.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): raise e2e dev-server heap to clear route-loop OOM

The frontend route-loop (frontend.e2e:159) visits every component doc
page against `next dev`; at 50 routes the dev server hit its memory
threshold and restarted mid-test (ERR_CONNECTION_RESET on the last
routes), failing the linux release gate even through retries:2. Bump
--max-old-space-size to 8192 for the dev server so it doesn't restart
while compiling all routes in one pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint darwin landing baseline for testimonials teaser

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): mint linux landing baseline for testimonials teaser

Rendered on the ubuntu gate via the visual-baselines workflow so the
landing visual test compares (not fails) on the linux release gate.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): raise e2e dev-server heap to 12GB for the 53-route loop

8192MB held at 50 routes but the dev server still hit its memory
threshold and restarted at 53 (faq+comparator+testimonials), resetting
mid-route-loop. Give real headroom on the 16GB CI runner.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Serves /google44d8f9f26e2e2367.html for the new GSC property,
alongside the existing googleda94848bf7de62aa.html and BingSiteAuth.xml.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#181)

* catalog(chore): reorder /components to showcase best components first

Lead the catalog with the most-wanted, most visually striking blocks.
Categories now rank landing-page essentials first: Hero, Features,
Comparator (pricing), Call to action, then social proof (Integration,
Logo cloud, Testimonials), then FAQ, then the deep Content set,
trailing Team and Embed. Within each category the showpiece variant
(per familyRepresentatives) leads.

Applied consistently across the wall + sidebar (componentEntries,
componentCategories) and the docs nav (FAMILIES); the landing teaser
inherits componentCategories order automatically. Pure data reorder of
all 53 page blocks — no schema/logic change. Fixes the prior
wall/sidebar disagreement, surfaces Comparator (was last) and
Testimonials, and de-emphasizes the single-purpose Embed (was 3rd).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint Linux visual baselines (frontend)

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Applies the genuinely-new increments from the four Dependabot PRs (#167-#170)
directly on dev, the integration branch, since merging them into main would be
reverted by the next dev->main promote.

- actions/checkout v6 -> v7 across all workflows (lockstep, allowlist admits v7)
- cross-env ^7.0.3 -> ^10.1.0 (minimal lockfile delta: +@epic-web/invariant)

setup-node@v6 and pnpm/action-setup@v6 (#168, #169) were already on dev, so
those PRs are redundant. Also points Dependabot at dev (target-branch) so future
bumps land on the integration branch instead of main.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Resolves all six open Dependabot security alerts (undici < 7.28.0):
- CVE-2026-6734, CVE-2026-9697 (high)
- CVE-2026-9679, CVE-2026-9678 (medium)
- CVE-2026-11525, CVE-2026-6733 (low)

undici is an optional transitive of the jsdom/test chain; the parent range
already admits 7.28.0, so a plain re-resolve picks it up (no override needed).
The sibling bumps are all within that same optional cluster.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Print stage-specific recovery guidance when `payload-components add` fails
mid-install, a "retrying partial install" notice when re-running a partial
entry, and owned/patched file detail in `payload-components doctor`. Docs in
both READMEs cover fix-and-retry without deleting patched host files.

Rebuilds the intent of #94 on the current install-state model: owned files
come from `manifest.files` and patched files from the existing patchedFiles
var / `entry.patchedFiles` (the `installedFiles` field #94 relied on was
removed from the state model).

Co-authored-by: Claude Opus 4.8 <[email protected]>
Clarify that `payload-components init` delegates to `shadcn init` to create the `components.json` baseline, and that `payload-components add` expects that baseline and does not run init automatically as a side effect.

Lands the docs fix from #165 with authorship preserved for @tysoul574-spec.

Closes #104

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…190)

* frontend(feat): redesign logo as terminal prompt + block-cursor mark

Replace the bare > glyph with a geometric prompt chevron + block cursor,
drawn as a real SVG so the header, favicon, and OG image share one mark.
Retires the Payload-CMS-style favicon.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint Linux visual baselines (frontend.e2e) (#189)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fills the previously-empty Pricing catalog family with five field-driven
Payload blocks, retokenized from tailark/blocks (MIT) onto the light
monochrome + emerald system: pricing-cards (showpiece), pricing-cards-muted,
pricing-cards-cta, pricing-split, and pricing-enterprise (editable Media
logo wall). Shared pricingFields/planFields keep the family from drifting.

Wires the full add-a-family contract against current dev (58 page blocks):
5 block sources + shared fields, 5 manifests, 5 registry.json items
(registryDeps matched to imports), 5 class-mirrored demo twins + demo
content, catalog entries inserted at the curated rank (after Comparator),
FAMILIES docs-nav entry, count pins (53->58) across site.ts/about/tests,
cli + smoke lists, and 5 docs pages with tailark MIT attribution.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#193)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…split highlight (#194)

Three polish fixes from the pricing-family code review. All visually neutral,
so the just-minted (#193) Linux baselines stay valid.

- PricingEnterprise: validate the logo `href` so non-http(s) values (e.g. a
  `javascript:` payload) are rejected. Inlined rather than reusing
  shared/safeUrls — the embed/form validators there would wrongly reject
  arbitrary customer URLs.
- Mark the decorative feature-list `<Check>` icons aria-hidden across all five
  variants so screen readers don't announce them.
- PricingSplit: derive the highlighted (right) plan from the `featured` flag
  instead of hard-coding plans[1], so marking either plan featured works.
  Mirrored in the PricingSplitDemo twin.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Add stable edge cache headers for crawl metadata and tighten sitemap coverage.
* docs: refresh ROADMAP.md to match current catalog count and remove stale references (#128)

Updates the stale '38 installable page blocks' count to '53 page blocks
across 11 families, with 8 post components in development'. Removes the
'waitlist funnel' reference from the Not Planned section since the waitlist
was removed. Adds a note about analytics collection.

Closes #128

* docs(roadmap): fix stale counts and broken analytics link

- 53 -> 58 installable page blocks (registry.json ships 58; matches site copy)
- 11 -> 12 families (pricing family already shipped via #191)
- drop link to non-existent content/docs/analytics.mdx
- restore "waitlist funnel" to Not Planned (still a documented non-goal)

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: highoncomputers <[email protected]>
Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
Ducksss and others added 19 commits July 24, 2026 12:09
Next.js 16.2.11 patches 4 HIGH advisories (App Router Server Actions DoS,
Turbopack middleware/proxy bypass, 2× SSRF in rewrites/Server Actions) plus
several moderate cache-confusion / info-disclosure issues.

Clean re-land of dependabot #325 onto dev (that PR was opened against main —
merging a security fix to main alone would be reverted by the next dev→main
promote, since the promote sets main's tree == dev).

Co-authored-by: Claude Opus 4.8 <[email protected]>
* docs(docs): define AI discovery readiness design

Summary:
- distill the Appkitekt guide corpus into repo-specific objectives
- define public discovery, trust, freshness, and verification contracts
- specify a repo-local plugin with a tagged reusable audit skill

Rationale:
- keep human and machine-readable surfaces aligned to canonical sources
- preserve the methodology without importing commercial AIAO product scope

Tests:
- not run (design documentation only)

* fullstack(feat): add AI discovery readiness

Summary:
- add truthful sitemap freshness, RSS, structured blog data, and trust
  headers
- expand machine-readable documentation and publish the discovery guide
- package the distilled methodology as a repo-local Codex plugin and skill
- add integration, browser, and visual regression coverage

Rationale:
- make public project claims easier to discover, interpret, and verify
- keep human and machine-readable surfaces aligned to maintained sources
- preserve the audit methodology for repeatable future repository reviews

Tests:
- pnpm test:release
- official skill and plugin validators

* test(chore): mint Linux visual baselines (frontend) (#319)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* refactor(chore): extract AI discovery audit plugin to its own repo

The audit-ai-discovery Codex plugin was generic tooling living in a product
repo: built for the Codex runtime (this repo's agent tooling is Claude), no
CI-runnable validation, and it carried a hardcoded machine-local validator
path. Move it out so this PR is just the site/SEO discovery surfaces.

- Remove plugins/ai-discovery-readiness and .agents/plugins/marketplace.json
  (extracted to a standalone repo, path leak fixed there).
- Drop the plugin-shape assertion from the fumadocs-site int spec.
- Reword the AI-discovery doc so it no longer points at the in-repo plugin path.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <[email protected]>
Publishes the 32-post community field journal, 67 committed visual assets, image-led editorial layouts, social metadata, structured data, RSS, and comprehensive content, visual, accessibility, and route coverage. The branch is synchronized with dev and all local and GitHub release gates pass.
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
…smoke (#333)

Closes #103, closes #113.

- Regenerate the CLI `Current components` help from registry.json; it had
  drifted (missing hero-aurora, hero-kinetic, comparator-*) and was out of order.
- Add a full, marker-delimited component inventory table to the README.
- Add tests/int/inventory-sync.int.spec.ts to fail when the README table or CLI
  help drift from registry.json (order + completeness).
- Document in CONTRIBUTING.md what `pnpm test:pack` covers and when maintainers
  should run the packed CLI smoke locally.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Re-lands #337's SEO + install-CTA work, MINUS the undisclosed self-promotion.

Kept: seoTitle + install-focused descriptions and primary-emphasis tracked
RunnableCommand CTAs on content-list / content-image-lead / content-feature-media,
the docs seoTitle metadata precedence fix, and the RunnableCommand emphasis prop,
all with their e2e + int coverage.

Dropped: the 'Growth by Tin' backlink to https://tin.computer (+ #66DC9D swatch)
added to SiteFooter, and the inversion of the 'community-owned' guard test that
existed specifically to keep that backlink out. Footer and guard test restored to
their dev state — the covert footer credit was out of scope for the PR's stated
purpose and reversed a deliberate maintainer policy.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…ing (#340)

* feat(templates): freeze 4-concept expansion contract (commerce, event, fintech, portfolio)

Categories + labels, skeleton definitions/recipes over existing twins, scoped
theme + shell + provenance scaffolds, registry + shells registration. Posters
captured in the integration wave.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): category filtering on the gallery (6-concept threshold)

URL-synced client filter over server-rendered cards (progressive
enhancement; all concepts stay in the initial HTML). Chips derive from
registry category order + templateCategoryLabels.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): Fieldnote commerce-brand art direction

Replaces the frozen commerce skeleton with the finished Fieldnote concept — a
fictional specialty-coffee roastery — across all five pages.

Definition (src/lib/templates/commerce-brand.ts, revision 2): bespoke
editor-shaped copy for every section, one canonical set of facts (roast day
Tuesday, twelve-kilo batches, 34 farms, the ribbon mill on Kestrel Street)
carried through Home, Collection, Our Story, Journal, and Contact. No prices
anywhere: standing orders are a cadence plus a weight. Recipes are unchanged
apart from tone banding and clearer section ids.

Theme (theme.css): warm cream paper, deep espresso ink, one burnt-orange ember
accent, --radius 1rem with pill actions, relaxed display tracking, ember
rule-and-label eyebrows in place of the catalog pill, and every backend-free
image placeholder repainted as a token-derived "product plate" so the concept
reads product-forward with no raster assets. One espresso band per page.

Shell: a new Fieldnote counter (espresso notice strip over a sticky cream
counter, inline bean mark, ember active-page dots, keyboard-operable mobile
disclosure) plus a static cream footer closing on an espresso rail.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): Ledgerline fintech-trust art direction

Replaces the fintech foundation skeleton with the full Ledgerline concept: a
dense, institutional money-movement platform built on three tonal registers —
deep cool ink, a raised slate shelf, and an inverted pale "statement" band for
figures and written guarantees. Teal is signal only (primary action, eyebrow
index rules, live rail state, the hero's closing word), held at low chroma and
carried in two AA-safe registers so it clears 4.5:1 on both bases.

- Definition: bespoke Ledgerline copy across all five pages, one pricing truth
  (Core/Scale/Reserve) shared by the home teaser, the tier cards, and a
  15-row comparator matrix. Rates are basis points of settled volume, so no
  surface carries a literal price string. Revision bumped to 2.
- Theme: scoped token remap for all three registers, near-square geometry,
  tabular numerals, denser display scale with level tracking, mono index
  labels with a teal leading rule, hairline section rules, a ruled-column
  plate for inner-page heroes, a tightened tier matrix, and token-derived
  ledger-sheet art for the quote media slot (no assets).
- Shell: LedgerlineHeader (mono status rail + opaque sticky bar, transform-only
  entrance, keyboard-operable disclosure) and LedgerlineFooter (index columns,
  compliance chips, hairline figure strip), plus the drawn LedgerlineMark.
- Hero: --brand-100/--brand-200 retuned inside [data-aurora-root] to a cool,
  dimmer instrument glow; --brand-600 carries the serif-italic "line."

Verified: tsc and lint clean; template-showcases + demo-twins int specs pass
except the four expected "generated poster" assertions; five pages captured at
1280/768/390 plus a reducedMotion pass showing the finished frame; zero console
errors, no horizontal overflow at any width, and axe-core reports zero serious
or critical violations on all five pages with motion on and reduced.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): portfolio-solo art direction

Build out the Portfolio concept as "Ilse Renko", a fictional solo
designer-developer in Tallinn — the most restrained concept in the gallery.

Direction: cool off-white paper, near-black ink, and one low-chroma slate
accent used almost grudgingly (~5 appearances per page). Hairline rules
instead of card chrome — every specimen frame, panel border, pill, and
shadow is dissolved. One narrow 64rem measure shared by header, sections,
and footer, with a monospace section index printed in the left gutter above
1200px. The display type scale steps DOWN against the catalog default so
headings read as set copy; Geist Sans throughout, Geist Mono for labels and
indices, and exactly one italic serif word on the whole site — the closing
word of the home headline.

- Rewrite the definition with bespoke first-person copy: invented maker,
  clients, collaborators, quotes, and numbers. stats-proof and
  testimonials-wall are framed honestly for one person (years worked alone,
  projects logged, clients who came back; quotes about working with an
  individual). revision 1 → 2.
- One section swap: writing/topics content-showcase → content-columns, so
  the writing index stays text-forward instead of repeating the home page's
  showcase composition.
- New Shell with a still, single-deck masthead (RenkoHeader: aria-current,
  keyboard-operable full-width mobile sheet, Escape restores focus) and a
  paper footer carrying a sign-off, a "currently" note, and a last-touched
  date. The chrome never inverts; the only dark surface is the home page's
  record band.
- Token-derived plate art: every bg-muted image well is composed from
  color-mix() layers over the theme's own tokens, including a slate horizon
  at 72% that echoes the kinetic hero's film still, so a reserved plate
  reads as deliberate rather than missing. No raster assets anywhere.
- Hero tokens tuned so the plate and marquee read near-monochrome: --brand
  is the deep slate on paper and lifts to --ir-slate-glow only inside the
  ink plate, where a 45% accent would otherwise be invisible.
- Motion is transform-only and deliberately minimal: the footer sign-off
  rise and its rule draw, both gated by useReducedMotion plus a CSS
  @media net, so the pre-hydration frame posters capture is already final.
  The rise is driven by variants from an unclipped wrapper — whileInView on
  the masked line itself can never fire, since IntersectionObserver clips a
  target against its own overflow-hidden mask.

Verified: tsc and lint clean; template-showcases + demo-twins int specs pass
except the 4 expected poster assertions; five pages captured at 1280/768/390
plus a reducedMotion=reduce pass showing the complete frozen frame; zero
horizontal overflow and zero console errors on all five pages at 390; axe
(wcag2a/2aa/21a/21aa) reports zero violations across all five pages at both
widths and both motion preferences.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): Frameworks event-conference art direction

Frameworks '26 — a fictional two-day design + engineering conference in
Berlin, art-directed as the gallery's one near-black concept.

- Bespoke definition (revision 2): invented lineup, rooms, programme,
  venue logistics, and three release waves. Ticket tiers are expressed as
  waves ("Closed" / "On sale" / "Free") so no currency amount appears
  anywhere, and every CTA label either names a page in this concept's own
  navigation or reads as a state.
- Scoped dark token set: near-black violet-cast surfaces in three tonal
  bands, one electric violet used as a field for the wordmark chip and the
  ticket button and as a mark elsewhere, oversized 600-weight display type
  on zeroed corners, monospace room/date/time labels.
- hero-aurora tuned for near-black: the brand ramp is inverted so
  brand-100/200 read as an electric stage wash rather than pale tints, and
  a second scoped legibility pool guarantees AA for the word cascade and
  its serif-italic closing word.
- Poster shell: sticky two-deck masthead with a dateline strip, a
  keyboard-operable mobile disclosure, and an oversized footer lockup.
  All shell choreography is transform-only so the filled violet CTA never
  alpha-composites below AA.
- Imagery is entirely token-derived duotone plates with a halftone screen,
  so the concept ships no raster assets; PROVENANCE.md records that.

Verified: tsc and lint clean; template-showcases + demo-twins int specs
pass except the 4 known "generated poster" assertions; zero horizontal
overflow and zero console errors across all five pages at 1280/768/390;
axe wcag2a/2aa/21a/21aa reports 0 serious or critical violations on all
five pages; measured against actual painted pixels, every text run clears
AA with a 5.26:1 floor; reduced motion renders every section and every
shell reveal at its final frame.

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(templates): four new concepts (commerce, event, fintech, portfolio) + recaptured posters

Fieldnote (specialty coffee), Frameworks '26 (conference, the gallery's
first dark-first concept), Ledgerline (money-movement infrastructure),
and Ilse Renko (solo maker). Each ships a scoped theme reusing a motion
hero under a new palette, bespoke fictional content, and its own shell.
Gallery intro copy now names all six verticals.

Co-Authored-By: Claude Fable 5 <[email protected]>

* test(templates): mint darwin visual baselines for six-concept gallery

Co-Authored-By: Claude Fable 5 <[email protected]>

* test(chore): mint Linux visual baselines (templates-visual) (#342)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
* seo: make first-block guide installable

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

* chore: retrigger first-block previews

Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>

---------

Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Re-lands #341's blog gateway work without its undisclosed self-promotion.

Kept: the blog index gateway sections, site copy, blog e2e coverage, and the
refreshed blog-index visual baselines.

Dropped: the 'Growth by Tin' backlink to https://tin.computer (+ #66DC9D swatch)
added to SiteFooter, and the inversion of the 'community-owned' guard test that
exists to keep that backlink out. Footer restored to dev state.

Also hardens the guard to match a bare '66DC9D' rather than the Tailwind-specific
'bg-[#66DC9D]', so an equivalent SVG fill= swatch can't slip past it.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Re-lands #346's template recipe work without its undisclosed self-promotion.

Kept: per-recipe block install actions on template detail pages, the registry
additions, and the templates e2e + int coverage.

Dropped: the 'Growth by Tin' backlink to https://tin.computer added to
SiteFooter as an inline SVG swatch, and the rewrite of the 'community-owned'
guard test (which #346 both inverted and renamed to '...the footer credit
quiet'). Footer and guard restored to dev state.

Note the swatch was moved from a Tailwind bg-[#66DC9D] class to an SVG
fill="#66DC9D", which evades the original guard string; the restored guard now
matches a bare '66DC9D' to cover both forms.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…eroes (#358)

* feat(templates): motion on the gallery and detail surfaces

The /templates gallery and detail pages were the only static surfaces left in
the template showcase — all the motion lived inside the previews. This brings
motion.dev to the two pages visitors actually land on first, functionally.

Gallery:
- Category filtering is now layout-animated. TemplateGalleryFilter owns which
  cards are mounted (the page still builds them on the server and hands them
  over as rendered elements, so every concept ships in the initial HTML and the
  showcase registry stays out of the client bundle). AnimatePresence with
  mode="popLayout" pulls exiting cards out of flow, survivors glide to their new
  grid slots via layout="position", and arrivals fade in — the visitor sees what
  changed instead of a snap.
- Staggered first-paint entrance: 45ms apart on a near-critically-damped spring,
  whole set settled in ~500ms.
- Springed poster hover lift, gated on (hover: hover) and (pointer: fine).
- A role="status" result count announces the reflow.

Detail:
- Below-fold section content rises once via the new TemplateReveal. The hero,
  the live preview, and the concept disclosure never animate.
- Recipe rows swap their ordinal for an outbound arrow on hover and keyboard
  focus, reinforcing that every chip resolves to a real installable block.
- Palette swatches deal themselves in.

Contracts held: the gallery still mounts zero iframes and the detail page one;
transform/opacity only; reduced motion zeroes every transition and
template-surface-motion.css pins the finished frame pre-hydration; SSR and
client render the same tree (the transition is branched, never the JSX). The
first-paint gallery entrance is deliberately transform-only — the cards carry a
filled primary CTA and axe scans mid-animation, so an opacity fade there would
alpha-composite that button toward the page background and fail AA transiently.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat(templates): vary inner-page heroes across the six concepts

Three of the six concepts get one motivated inner-page hero each; the
other three keep hero-basic throughout on purpose.

Co-Authored-By: Claude Opus 5 <[email protected]>

* chore(templates): recapture affected posters + re-mint darwin baselines

Co-Authored-By: Claude Opus 5 <[email protected]>

* test(chore): mint Linux visual baselines (templates-visual) (#359)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
The promotion delta changes two published files: the CLI `Current
components` help text (resynced from registry.json in #333, which had
drifted) and the README component inventory table. No registry entries,
CLI behavior, or public API changed, so this is a patch.

npm `latest` is 1.2.0, so 1.2.1 publishes cleanly; the publish workflow
silently exit-0s on an already-published version.

Co-authored-by: Claude Opus 5 <[email protected]>
Every existing override had been outrun by its advisory widening, so the
pins were holding vulnerable versions rather than fixing them.

- fast-uri: the override pinned 3.1.2, below both GHSA-4c8g-83qw-93j6
  (<3.1.3) and GHSA-v2hh-gcrm-f6hx (<=3.1.3). Now 3.1.4.
- js-yaml: override targeted <=4.1.1 -> 4.2.0, but GHSA-52cp-r559-cp3m
  covers <4.3.0, so the resolved 4.2.0 was still vulnerable. Now <4.3.0
  -> 4.3.0.
- brace-expansion: the override only covered the v5 line. GHSA-3jxr-9vmj-r5cp
  is against v1 (<1.1.16), and [email protected] pulled 1.1.14. Adds a v1-line
  override; the v5 one is unchanged.
- sharp: GHSA-f88m-g3jw-g9cj (libvips CVEs, <0.35.0). [email protected] pins it
  as an exact optional dep, so bumping the devDependency alone left a second
  copy behind; an override collapses both to one.

sharp lands on 0.35.3, not 0.35.0: 0.35.0 shipped an exports map with no
types condition, which breaks tsc for every sharp importer. 0.35.1 fixed it.
0.35.x also drops the callable type namespace, so the two files that used
sharp.OverlayOptions now import the named type.

Not fixed: @hono/node-server (GHSA-frvp-7c67-39w9, medium). It arrives via
shadcn -> @modelcontextprotocol/[email protected], whose newest release still
declares ^1.19.9, so the patched 2.0.5 is outside the range its dependent
supports. Forcing it would be a major bump against a declared constraint;
the vulnerability is a Windows-only serve-static path traversal in a
build-time dev dependency. Revisit when the SDK moves to 2.x.

Verified: tsc, lint, next build, and test:int (341 passed) all clean.

Co-authored-by: Claude Opus 5 <[email protected]>
… URL guard, GPC/DNT opt-out, CodeRabbit coverage (#352)

* security(fix): harden baseline workflow input and guard analytics URL parse

Findings from a full-backlog PR lifecycle audit (263 PRs triaged, 33
deep-verified against the live tree).

- visual-baselines.yml interpolated the `spec` workflow_dispatch input
  directly into three `run:` blocks on a job holding contents: write and
  pull-requests: write, so the input was spliced in as shell code before
  parsing. Pass it through `env:` instead, leaving the call site unquoted
  because the filter may legitimately name several specs
  (e.g. "components-visual frontend").

- trackPrimaryLinkClick parsed href with an unguarded `new URL()` inside a
  document-wide click listener. Hrefs such as "//" or "http://" throw, which
  dropped the event and logged an uncaught error on every such click. The
  file already wraps all three transport calls under "analytics must never
  block the user action"; this parse was the one unprotected step.

- The anonymous analytics contract described only the PostHog signals while
  AnalyticsShell also mounts GA4 (own cookies, own auto-pageviews) and Vercel
  Analytics. Document the full stack, and note that the contract spec pins
  PostHog payloads only and cannot catch an undisclosed provider.

Verified on the dev base: lint clean, tsc clean, 341 int tests passing.

Co-Authored-By: Claude Opus 5 <[email protected]>

* privacy(feat): honour GPC/DNT, restrict capture to production, restore CodeRabbit coverage

Follow-ups from the full-backlog PR audit.

Restore review coverage. CodeRabbit only auto-reviews the default branch, and
almost all work here lands on `dev`, so dev-targeted PRs were skipped with a
notice that reads like a finished review. Across 263 PRs only 14 ever received a
substantive AI review. Add .coderabbit.yaml listing `dev` as a base branch.

Honour explicit privacy signals. Every event this repo emits is now skipped when
the browser sends Global Privacy Control (legally binding under the CCPA) or Do
Not Track, and no pc_distinct_id is minted or stored for those visitors. The
PostHog gate is folded in after the __posthogEvents push so the e2e harness still
records intent; Playwright sets neither signal, so existing assertions are
unaffected.

Stop sending from non-production hosts. isAnalyticsHost() accepted localhost and
127.0.0.1, so a maintainer running `pnpm dev` with a real key wrote synthetic
traffic into the production dataset and leaked unreleased route paths to a third
party. Production hostnames only.

This is deliberately not a full consent gate: the GA4 script still loads on first
paint, so its own automatic collection and cookies are unchanged. The docs now
say so explicitly rather than implying the opt-out covers everything.

Verified: lint clean, tsc clean, 341 int tests passing.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Records the previously squash-promoted main history (#351) on the
promotion branch while preserving the current dev tree verbatim, so
GitHub can merge the promotion without squash-divergence conflicts.
Copilot AI review requested due to automatic review settings July 27, 2026 07:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 27, 2026 7:38am
payload-components-97bf Canceled Canceled Jul 27, 2026 7:38am

@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Ignoring CodeRabbit configuration file changes. For security, only the configuration from the base branch is applied for open source repositories.

📝 Walkthrough

Walkthrough

Changes

Analytics privacy handling

Layer / File(s) Summary
Analytics privacy gates
src/lib/analytics.ts
Analytics now requires production hosts, respects browser privacy opt-outs, skips downstream tracking, and ignores malformed link URLs.
Analytics contract documentation
.env.example, content/docs/contributing.mdx
Documentation describes production-only capture, opt-out behavior, and independently mounted analytics providers.

Visual baseline workflow

Layer / File(s) Summary
Baseline spec propagation
.github/workflows/visual-baselines.yml
The selected Playwright spec is exported as SPEC and reused for baseline generation and pull request metadata.

Package and blog tooling updates

Layer / File(s) Summary
Package and type compatibility
package.json, tools/blog/render-contact-sheets.ts, tools/blog/render-covers.ts
Package versions and overrides are updated, and blog renderers use the named OverlayOptions type.

Review configuration

Layer / File(s) Summary
Additional auto-review branch
.coderabbit.yaml
Automatic reviews are enabled for the dev base branch.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is detailed, but it does not follow the required Summary/Verification/Registry Checklist/Notes template. Rewrite the description using the repo template headings and include Summary, Verification, Registry Checklist, and Notes sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is specific and accurately describes the release promotion plus security remediations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/promote-dev-1.2.1

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed: dependency version conflict. Check your lock file or package.json.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@content/docs/contributing.mdx`:
- Around line 115-121: Update the GA4 warning in the Callout to scope its
first-paint and cookie implications to visitors on routes that mount
AnalyticsShell, rather than stating that it applies to every visitor. Preserve
the existing explanation about deferring third-party mounts, privacy work,
visual snapshots, and the axe gate.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8313dca8-4a14-4baa-a99d-70b7c810a670

📥 Commits

Reviewing files that changed from the base of the PR and between 0473965 and 6e5ab24.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (8)
  • .coderabbit.yaml
  • .env.example
  • .github/workflows/visual-baselines.yml
  • content/docs/contributing.mdx
  • package.json
  • src/lib/analytics.ts
  • tools/blog/render-contact-sheets.ts
  • tools/blog/render-covers.ts

Comment on lines +115 to +121
<Callout type="warn">
This is not a full consent gate. The GA4 script tag still loads on first paint
for every visitor, so GA4's own automatic page-view collection and cookies are
unaffected by the opt-out above. Closing that gap means deferring the third-party
mounts until opt-in and adding a privacy page — a deliberate change that
re-baselines the landing visual snapshots and must clear the axe gate.
</Callout>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win

Scope the GA4 warning to routes that mount analytics.

“for every visitor” is broader than the repository behavior: preview routes are tested to render no GA/Vercel/PostHog scripts. Qualify this as applying to visitors on routes that mount AnalyticsShell.

Proposed wording
-  The GA4 script tag still loads on first paint
-  for every visitor, so GA4's own automatic page-view collection and cookies are
+  On routes that mount `AnalyticsShell`, the GA4 script tag still loads on first
+  paint, so GA4's own automatic page-view collection and cookies are
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<Callout type="warn">
This is not a full consent gate. The GA4 script tag still loads on first paint
for every visitor, so GA4's own automatic page-view collection and cookies are
unaffected by the opt-out above. Closing that gap means deferring the third-party
mounts until opt-in and adding a privacy page — a deliberate change that
re-baselines the landing visual snapshots and must clear the axe gate.
</Callout>
<Callout type="warn">
This is not a full consent gate. On routes that mount `AnalyticsShell`, the GA4 script tag still loads on first paint
so GA4's own automatic page-view collection and cookies are
unaffected by the opt-out above. Closing that gap means deferring the third-party
mounts until opt-in and adding a privacy page — a deliberate change that
re-baselines the landing visual snapshots and must clear the axe gate.
</Callout>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/docs/contributing.mdx` around lines 115 - 121, Update the GA4 warning
in the Callout to scope its first-paint and cookie implications to visitors on
routes that mount AnalyticsShell, rather than stating that it applies to every
visitor. Preserve the existing explanation about deferring third-party mounts,
privacy work, visual snapshots, and the axe gate.

This branch was successfully deployed

2 active deployments
Preview – payload-components — 6e5ab24f Deployed Jul 27, 2026 by vercel[bot]
Preview – payload-components-97bf — 6e5ab24f Deployed Jul 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants