/vivreal-knowledge:vivreal-renderer-knowledgefrom vivreal-knowledge
Use when working in vivreal-site-renderer (@hillbombcreations/site-renderer), the engine behind Vivreal_Templates sites and the portal Studio preview. Covers the publish runbook (a publish hits every site), the dev-sync.js dev overlay (a green consumer run can describe unpublished code), the ImageComponent seam, the Tailwind v4 @source rule, identity kits and DESIGN_LANGUAGE.md. Triggers on: vivreal-site-renderer, site-renderer, @hillbombcreations/site-renderer, renderer package, ContentRenderer, PageTemplates, publish renderer, bump renderer, primitives, design language, canHidePoweredBy, checkoutIdentifier, CartAdapter, isPageAllowed, DemoRibbon, motion preset, dev:linked, dev-sync, dev overlay, dev-status, RENDERER-DEV-OVERLAY, compose diff, pre-publish check, nullOnEmpty, hideOnMobile, imageFocus. Source of truth: `vivreal-site-renderer` `CLAUDE.md` and its linked docs at `origin/master`. Not this: the Templates app is vivreal-templates-knowledge, the product model is vivreal-sites.
Trending skills
7-day visitors to each skill page
Ships in vivreal-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cross-repo flows, decisions and maps: the vivreal-hq dev docs under ${VIVREAL_REPOS}/vivreal-hq/docs/dev-docs/, starting at 03-use-cases/U22-what-the-renderer-renders.md, 05-reference/site-chrome-contract.md; npm run docs:route -- "site-renderer" from vivreal-hq names the rest. This skill and the repo's CLAUDE.md own the repo's internals.
Using this skill. It is loaded into the caller's own context; there is no expert agent to dispatch. Cite file:line at the deploy line's SHA for anything you act on, and re-derive any count or roster from source before you rely on it.
Source of truth: vivreal-site-renderer CLAUDE.md (and the docs it links) at origin/master.
This package publishes most weeks, and its deployed line is origin/master: it has no main.
Read the published version from package.json there, confirm it on the registry with
npm view @hillbombcreations/site-renderer version, and read what each consumer actually runs
from the consumer lockfile. The CLAUDE.md version header lags deliberately and is never the
answer. Nothing below states a current version, on purpose: every version this file has ever
carried was wrong within a fortnight, and a stale version reads exactly like a current one.
The rendering engine (@hillbombcreations/site-renderer) that turns Vivreal site config (pages + collections + pageConfigs) into a live website. Consumed by Vivreal_Templates (customer sites) and Vivreal_Portal_Mobile (Studio live-preview), both pull from GitHub Packages at build time, and also by VR_Client_API (the ./agent subpath behind the Site MCP purchase tools, and the React-free ./bindings subpath behind the .ics calendar feed), VR_Secure_API (pinned EXACTLY for the instantiation worker, with a vendored capability manifest) and Vivreal_Site_Migrator (kit capabilities regenerated from the published tarball). React 19 peer, next ^15||^16 peer, TypeScript, framer-motion 12, Tailwind classes in source. ${VIVREAL_REPOS}/vivreal-site-renderer/CLAUDE.md + docs/DESIGN_LANGUAGE.md give depth. CLAUDE.md was refreshed 2026-09-30 and its version line (CLAUDE.md:6) now says to read package.json rather than naming a number, after it once went 23 minors stale and was believed; its feature sections still carry the version each feature SHIPPED in, which is history, not the current version. For the site product/authoring model that drives this renderer (page formats, sections, Studio↔live composePage parity) see vivreal-sites.
Before you conclude anything about renderer capability from a consumer build, test, type-check or
screenshot, confirm that consumer is running the published package. scripts/dev-sync.js in this
repo, reached through npm run dev:linked in Vivreal_Templates and Vivreal_Portal_Mobile, builds
this repo and copies dist/ and styles/ over that consumer's installed
node_modules/@hillbombcreations/site-renderer. It never reverts, and it deliberately never writes
that package's own package.json, so the version string, npm ls and the lockfile integrity all
stay authentic. No ordinary check sees it.
Measured 2026-09-30: an overlay stood in for the published package for five days across both consumers and produced three wrong conclusions, two of which reached commits. Every one came off a green run. It is not a rogue script, it is the intended local-validation path and it keeps working; what was missing was a way to tell afterwards. This is the skill that gets loaded when somebody reasons about what the renderer can do, which is exactly the population that got this wrong, so the warning lives here.
node ${VIVREAL_REPOS}/vivreal-site-renderer/scripts/dev-status.js
(npm run dev-status here). Byte comparison of each consumer's installed package against the tarball
that consumer's own lockfile integrity resolves to in the npm cache. About 0.2s per consumer, and it
never invokes npm, so it cannot touch a lockfile. --require-clean exits 1 on any overlay.node scripts/dev-unlink.js (--consumer <name>, --marker-only). Restores from the
verified cache tarball and proves the result. It never runs npm install or npm ci, and it never
deletes the package directory, which holds a nested lucide-react the tarball does not contain. It
refuses while a next dev --turbopack server is live, because Turbopack caches node_modules: stop
the server first, and restart it after, a browser refresh alone will not pick the change up.RENDERER-DEV-OVERLAY.json at the consumer repo
root, outside the package directory (an extra file inside it would fail the byte proof), and
deliberately not gitignored so it surfaces as untracked in git status. It only exists from
2026-09-30, so its absence proves nothing about an older overlay.Vivreal_Templates pretest and prebuild refuse when the marker is present
(checks/assert-no-renderer-overlay.mjs, applied 2026-09-30). Acknowledge deliberately with
ALLOW_RENDERER_OVERLAY=1 npm test in bash, or $env:ALLOW_RENDERER_OVERLAY='1'; npm test in
PowerShell, where the bash form the guard prints is a CommandNotFoundException. Deliberately NOT on
predev. Vivreal_Portal_Mobile is guarded now too: prebuild, pretest, pretest:e2e, prekit:validate and pretest:smoke all run scripts/assert-no-renderer-overlay.mjs (package.json:14-29 on origin/main). On 2026-09-30 it carried an overlay with no marker, so a portal result from before that date is unverified; run dev-status.js rather than trusting the guard's silence for an older tree.Three checks that look like they would work and do not: the version string, npm ls and the
lockfile, all authentic by design; the marker alone, since the portal was contaminated and carried
none; and an NTFS creation-time gap against package.json, which false-positives on any tree fixed by
the documented repair, because the repair rewrites dist/ today and leaves package.json alone so the
gap widens. And never quote a raw differing-file count as damage: of 94 differing files on the
portal only 13 are genuine content drift, the other 81 differ by line endings alone, because CRLF
inside multi-line template literals is copied through verbatim by tsc. The raw count overstates it
about sixfold.
Full write-up, including the repair procedure: docs/DEV_OVERLAY.md in this repo.
Key src dirs: src/chrome/ (Navbar/Footer/MobileNav/OverlayNav/CardNav/UtilityStrip/SectionShell + SocialIconRail.tsx, DemoRibbon.tsx, poweredBy.ts, deriveNav/resolveChrome), src/components/ (section building blocks: FloatingCta, ConfigurableForm, FooterView, BrandMark.tsx, CapturePanel.tsx, ListenRow.tsx, …), src/HomeSections/, src/PageTemplates/ (products/shows/team/menu/schedule/collection + CatalogStorefront, DiscographyIndex, ComposedPageSkeleton), src/DetailPage/, src/layouts/ (one file per layout dispatchId), src/primitives/ (editorial: SectionMasthead, MonoMeta, EditorialCard, Spotlight, CategoryChipRail, RichText, SaleBadge; filtering: FilterSheet, FacetFilterBar, FilterPillStrip), src/composition/ (blocks.ts, defaultBlocks.ts, panoramaPanels.tsx), src/lib/ (discography.ts, listenLinks.ts, mediaCarousel.ts, spotlightCarousel.ts, agendaList.ts, …), src/registry/ (registry.ts = the canonical dispatchId source), src/tokens/ (motion.ts), src/agent/ (./agent subpath export), src/context/SiteRendererContext, ContentRenderer.tsx (top-level dispatch), index.ts (public barrel). dist/ is generated, never hand-edit (gitignored; CI builds it). Tests: npm test = SSR-render assertions via renderToStaticMarkup under node --test.
git log origin/master)The page gate is package-owned, enforcement is consumer-side. src/chrome/pageGating.ts exports isPageAllowed, normalizePageSlug and PageGate for the pages gate on chrome configs (email popup, announcement strip). The two consumers differ in the current page (Templates from usePathname(), Studio is handed the active slug) and in what an unauthored gate means (the caller supplies fallback), so neither half moves into the other.
Relative palette values are dereferenced first. resolvePagePalette resolves var() / color-mix() preset values before resolveColor, which rejects non-concrete colors (the "page color treatment is inert" bug).
checkoutIdentifier is the provider-agnostic checkout slot. DetailProductData.checkoutIdentifier?: Variantable<string> is what the cart puts in products[].price (Stripe default_price; Square variationId, scalar only). contentItemToProduct fills it as raw.checkoutIdentifier ?? raw.default_price ?? scalar raw.variationId.
The business time zone is the primary site zone (v7.1, owner 2026-10-20). Every renderer date reads its zone through scheduleTimezone(...candidates) (src/lib/scheduleOccurrences.ts): the first candidate this runtime knows wins, page or section first (a schedule toolbar's zone, then page labels.timezone, or a block's sectionConfig.timezone), then siteData.timezone, then UTC. A blank or unknown name is ABSENT and falls through; before 1.88.3 a stored empty string pinned a page to UTC. siteData.timezone is the business zone: VR_Client_API serves groups.timezone as siteDetails.values.timezone (falling back to the site's legacy value) and Templates spreads it into siteData with no code of its own. Opening hours, detail pages and the feature hero use the same chain.
One occurrence function for the page and the calendar feed (v7.1 D8). readStopTiming, stopOccurrences, stopAnchor, scheduleTimezone and MAX_STOP_OCCURRENCES are exported from the React-free @hillbombcreations/site-renderer/bindings subpath (src/bindings/index.ts) as well as the root, and VR_Client_API's .ics feed calls them, so a subscribed calendar and the Schedule page list the same dates by construction. Rules (owner, 2026-10-20): weekly and biweekly repeat on the same weekday at the same wall-clock time on the schedule's clock; on a REPEATING stop the end date means "repeat until that date", never one long event (a timed stop's end under 24 hours is each occurrence's length); an explicit until, recurrence_end or recurrenceEnd is the last day and wins; an unreadable until ends the series. A non-repeating all-day stop keeps its span.
Kit sample zones never reach a customer site. VR_Secure_API's scrubKitZones removes a kit's page, opening-hours and section zones at instantiation (the demo tenant keeps them), because a page zone wins over the business zone. A kit or blueprint that sets a zone only moves demo sites.
Site sign-ups are one step (v7.2, owner 2026-10-20). The renderer's default capture success line (CapturePanel, footer, popup, page call to action, social panel, hero inline) says "You're on the list. Thanks for signing up." (1.88.4, SIGNUP_SUCCESS_TEXT, internal), and its sweep test refuses "inbox" or "confirm" in visitor copy; an authored success line still wins. Templates' subscribe page says the same (src/components/PageTemplates/SubscribeClient.tsx, Templates #199), and the kits dropped "check your inbox to confirm" (migrator master). The server side is VR_Client_API (vivreal-client-stack-knowledge).
A section's body survives an empty collection only when its layout says so. Registry entries declare nullOnEmpty; form, positions and article-toc declare false (the first quality pass dropped every empty-collection section and would have deleted 30 forms on 17 live sites; only the real-data compose diff below caught it). A layout still declaring true is dropped when empty, by design.
Authoring knobs that are no-ops in places: sectionConfig.hideOnMobile: true appends hidden md:block in SectionShell and does nothing on home-section and cta kinds, which pass no sectionConfig through; imageFocus {x, y} (0 to 100) sets the cover crop on heroes, spotlights, cards and split rows. A stored block with no config must render (a crash there broke vivreal.io's Amplify build once).
Not for sale is data the API decides, never the renderer. shapeDetailItem passes purchasable: false only when the item says so and reads notForSaleVariants; the storefront, the product parts and ProductDetailView pick firstSellableVariant from it, and the detail page says "Not for sale right now" per item and per size. The rule itself is VR_CMS_API's catalog state and VR_Client_API's assessSellability (read at origin/master ed2e2db).
renderedHeroFor(input) answers which hero a composed page will render (src/composition/composePage.tsx), for resolveMastheadTone on a Mood dark site. Call it only there (elsewhere the tone ignores it), and only with side-effect-free data accessors: it runs the whole composition pipeline a second time beside composePage, so a fetching, logging or metering accessor double counts.
An unknown layout renders as CardsLayout, with no error. ContentRenderer.tsx falls through layoutMap[displayAs] ?? CardsLayout, and site-loader never calls checkRendererCompat, so a binding naming a layout the PUBLISHED renderer lacks passes every check and ships a card grid. A strict enum fails the other way (hero.variant is a z.enum in site-loader, so a missing literal rejects the whole blueprint with a refusal that reads like a version problem). Check a displayAs against the published capability manifest, and ship a renderer publish and the kits that use its new layouts on the SAME train.
v6 (the minor Templates and the portal adopted 2026-10-14): DetailBody is a new public export, scope entries can pin items by id (a rename never drops a picked item), and a curated font family named by its literal name carries its own stylesheet (googleFontsHref), beside the siteFontsHref() / SITE_FONT_LITERAL_FAMILIES helpers Templates now links from its layout because Turbopack drops a CSS @import url(). Read the pin from each consumer's lockfile.
The registry is the source of truth, grep src/registry/registry.ts, not memory. Layout dispatchIds now run ~50 deep (pricing/faq/steps/comparison/tabs/link-cards/video/channel-diagram/… plus the July wave: jump-links, calendar, agenda, locations, logo-wall, app-band, product-tiles, quote-carousel, story-panel, collage-strip, slideshow, category-directory, craft-split, index-list, social-panel, spotlight-panel, feature-split, longform, manifesto, positions, showcase-gallery, editorial-sections, plus the musician wave: media-carousel, spotlight-carousel, film-strip, postcard-strip, all kind layout). Static blocks include section-header, about, bio-panel, reservation, capture-panel (defaultBlocks.ts appends it when no capture-panel block is present).
Page-template dispatchIds grew: catalog (CatalogStorefront, category-rail sectioned browser for large categorized catalogs), craft (savoir-faire/heritage story) and profile (meet-the-maker), both delegate to standard composed sections; location-hub composes purely via defaultBlocks.ts (the format's value is semantics; no bespoke template); panorama (color-block anchored panels via composition/panoramaPanels.tsx) and discography (DiscographyIndex.tsx).
Identity kits: there are many now (count them from the kit and registry sources, never from here). The founding four, three bakery + the musician "poster-pop" kit, set the pattern. The bakery three: Levain (split-product hero, mega dropdowns, StoryPanelLayout, QuoteCarouselLayout quote band, centerpiece footer, menu itemStyle:'tiles' cards via MenuTileCard + a PDP for menu items), Poilâne (CategoryDirectoryLayout / CraftSplitLayout / IndexListLayout landing comps, tileStyle:'cutout' menu cards, in-grid promo tiles, stamp badges), Ansel (ghost mastheads, gallery catalog, LongformLayout + the profile page format, boutique contact form). Shared kit primitives: UtilityStrip, FilterPillStrip, ManifestoLayout, PositionsBoardLayout, StepsLayout.
Motion-signature presets, src/tokens/motion.ts: MotionPreset, MOTION_PRESETS, resolveMotionPreset, motionPresetVars. Named site-wide motion identities selected via the FLAT siteData.motionPreset field (not nested under theme), stamped on the DOM as data-motion-preset. Read the ids from MOTION_PRESETS (MOTION_PRESET_NAMES derives from it); the list grows with every kit, so never quote a count. An unknown id resolves to DEFAULT_MOTION_PRESET.
DemoRibbon (src/chrome/DemoRibbon.tsx + resolveDemoRibbon.ts), floating pill for demo sites: sibling-theme switcher, hub-URL row, swatch dots, claim CTA; deliberately styled off the Studio palette, not the site palette. ShowcaseGalleryLayout = 3-up theme-comparison gallery (kind layout); EditorialSectionsLayout = magazine-band info pages.
Faceted filtering, FilterSheet + FacetFilterBar driven by sectionConfig.facets (server-side narrowing via sectionConfig.scope), gated by filterUi: when absent, the legacy chips path renders byte-identical.
Config surface (earlier wave, still current): SiteData.floatingCta, SiteData.chrome: 'dark'|'light', per-page PageConfig.palette (rebase via resolvePagePalette with a WCAG guard), per-section background:'dark' band (SectionShell re-scopes palette vars), navigation.headerWidth: 'contained'|'full' + megaMenu, footer socialStyle: 'column'|'icons' + newsletterPlacement: 'brand'|'bar', sectionConfig.featureImage/detailEligible, PageHero.background {gradient|image|video} + emailCapture + variant, labels.animatedHero, labels.heroMotif, CTASection config.gradient. Fleet-safe migration knobs (default-absent, no visual change until set): navigation.navLinkColor, hero.eyebrowStyle, dropdownStyle:'cards'.
Skeletons: ComposedPageSkeleton (structure-derived; products + collection-list arms render real CollectionPage in loading mode).
ResponsiveImage is the srcset chokepoint: raw <img srcSet> for CMS derivatives (next/image ignores manual srcSet), delegates to the injected ImageComponent otherwise. Gallery sizes now tracks column density; logo srcset tracks the rendered box. Route new image surfaces through it.
The renderer is a published npm package; a publish reaches every deployed customer site on their next rebuild. Release runbook:
src/, npm run build (tsc → dist), commit src + package.json only (dist is gitignored).master. Unit tests run fixtures; this runs every page customers actually have.master → .github/workflows/publish.yml runs npm ci + build + npm publish automatically. It no-ops on an unchanged version, so a merged change with no bump publishes nothing (it no-op'd twice on 2026-10-03). Local npm publish is discouraged; CI uses its own write token.package.json and TEXT-PATCH the lockfile entry (version, resolved, integrity) rather than running npm install, which on Windows prunes the Linux-only optional dependencies the Amplify build needs; prove it with npm ci --dry-run. Templates, Secure (exact pin plus a re-vendored worker manifest) and the portal each had a "surgically patched lockfile" commit for every 1.7x/1.8x adoption.main (vivreal-infra:vivreal-lambda references/deploy.md); Templates releases via the promote-stable workflow (main→stable FF, then release builds for the live build tier only; demo sites catch up weekly), merging Templates main alone releases nothing. Expect a rollout wave across live sites after promote-stable.Render EVERY stored page of every live Templates site through the OLD and the NEW dist on identical real data, and diff the outcomes. It is a local, read-only check; nothing is published or deployed by it.
aws amplify list-apps), keep those whose repository is Vivreal_Templates, and for each read its API_KEY and SITE_ID env values. Fetch exactly what a live site fetches from https://client.vivreal.io: GET /tenant/siteDetails?siteId=..., then every collectionId / itemCollectionId the pages bind (/tenant/collectionObjects?collectionId=...) and every integrationProvider / platforms entry (/tenant/integrationObjects?type=..., linkedin canonicalised to linkedIn). Map items with Templates' own src/lib/api/collections/mapItem.ts toContentItem, so the renderer sees what production hands it. This file holds real customer content and API keys: keep it in the session scratchpad, never in a repo. Throttle the fetch and fetch ONCE. On 2026-10-04 this step, run as a burst (about 600 Client API calls in five minutes against the shared-tier Atlas cluster's 500-connection cap), degraded the cluster for hours and took Secure's site list down for every group (vivreal-hq docs/projects/incident-2026-10-04-site-list/diagnosis.md). Run at most 2 to 3 requests concurrently with a pause between sites, save the data file, and reuse it for every re-run of steps 2 to 5 instead of fetching again; if Client API latency is already elevated, wait.
Two cautions. Read the app env with a --query naming only API_KEY and SITE_ID, into variables, and never print the values (they are per-site API keys). And every fetch that misses the API edge cache is an Atlas read against the M0 cluster's weekly data-out cap, which production sites share: run the collection once per candidate and diff from the saved data, never in a loop (limits and the throttle signature: vivreal-infra:vivreal-atlas-topology).dist/index.js.composePage({ page, pages, data, options: { mode: 'live' }, isHome }) under each build and renderToStaticMarkup it, with siteData assembled the way Templates does (siteDetails.values spread under the raw document, the home page split out as homePageConfig). Strip CR before comparing, because CRLF inside multi-line template literals is copied through by tsc and differs between checkouts.<section> or data-section-id count is a dropped section and must be explained one by one; a lost <h2> is a heading change. Also count markers that prove the new feature actually renders (for 1.83.0: duration, hidden md:block, object-position).Measured: 1.80.1 composed all 103 stored pages of both Vivreal sites (both home pages crash without the guard); 1.81.0 composed 442 pages on 20 sites with 0 failures and cut real dead hrefs from 105 to 0; 1.83.0's run over 436 pages dropped only 9 placeholder sections on one demo site, after the first candidate had been caught removing 30 forms on 17 sites (ledger, 2026-10-03 and 2026-10-04).
Rollback: ship a new patch (don't npm unpublish); consumers can pin an older version as an emergency lock. Dependency discipline: this package must stay installable with a single GitHub Packages token, adding a second private @hillbombcreations/* dependency 401s customer Amplify builds (this killed 1.35.0; see the powered-by gate below).
SiteRendererContext, the injection seam: ImageComponent/LinkComponent (typed ElementType), previewMode, CartAdapter, mapsApiKey, onSubscribe. The renderer does NOT import next/image (that would force Next.js on consumers). Default is plain <img>; Next consumers inject next/image via a provider. Studio preview strips it to plain <img> deliberately.src/chrome/poweredBy.ts owns canHidePoweredBy(tier) against a local Set, deliberately NOT a @hillbombcreations/tier-quotas import: that dependency 401s a customer Amplify build, because those tokens cannot read a second private GitHub Packages package, and it broke a publish once. Read the set out of the file; keep it in lock-step with tier-quotas TIER_FLAGS.*.canHidePoweredBy. The trap worth carrying: the match is against the RAW STORED tier, so a group whose stored value is a RETIRED tier id fails the check and keeps the attribution. Folding a tier into another in the package does not rewrite a stored group document.components/BrandMark.tsx, 1.42.0+). shape='inline' = height-constrained object-contain at natural width; shape='avatar' = fixed square object-contain, and when the loaded image measures wide (wordmarkAspect default 1.6) the <img> is replaced by a letter-mark avatar (brandInitials); fallbackSrc (typically siteData.favicon) is preferred over the letter-mark. Aspect detection is client-side at image load, contain-fit until then, so the SSR first paint never crops. fill (1.42.1) lets the avatar box fill its parent so callers own responsive sizing.prefers-reduced-motion, all motion primitives fall back to static (useReducedMotion() / motion-reduce:).@source requirement, renderer utility classes silently no-op in v4 consumers unless the consumer's CSS @source-scans the renderer package/dist. Root cause of "padding missing / past shows not displaying" bugs. Portal globals.css @source-scans the renderer dist for Studio-preview parity..js extension; match that in new code.src/, not dist/. Styling anything? Read docs/DESIGN_LANGUAGE.md FIRST (primitives, palette-proofing via color-mix/CSS vars, the inline-layout "Tailwind-generation-proof" rule, object-contain for showpiece imagery).blockToComposedSection in src/composition/blocks.ts guards block.config?.: a Mongo/Mixed round-trip drops empty config objects, and before the guard block.config.bindings threw and killed the entire Server-Components render. Never assume block.config exists.twitter for X is
mapped once, and every reader (glyphs, labels, accessible names and hrefs) uses the mapped value; a
reader that maps only the label draws two X buttons with one href.DetailSection is a closed union: adding an enum value is a MINOR bump; changing existing semantics is MAJOR. Unknown section values from a future portal version render null (no crash).package.json and the registry. Refresh the CLAUDE.md header only on a release commit, never on a docs-only master push: ANY master push triggers the publish workflow.configKeys EXTRACTOR HAD TWO BLIND SPOTS AND BOTH MADE THE RENDERER DECLARE LESS, which the drift test structurally cannot catch, because declaration and derivation agree on a shortfall. Blind spot one: a JSX-comment rule over-matched and swallowed 556 lines of CapabilityTourLayout.tsx alone plus comparable spans in 45 other files, so tone, railSide, fields, spacing and six CatalogStorefront keys were never declared. Blind spot two, the bigger one: a rule anchored on a bare { opened at any brace followed by a block comment, which is a CSS rule inside a template literal on nearly every layout, and ran to the first comment close followed by a brace: 4,214 lines across 58 files, 697 of CatalogStorefront in one match. Recorded in the extractor's own comment at scripts/gen-config-keys.mjs:29-38. There is a third of the same family: from "../lib/sectionConfig.js" matched the plain read pattern and minted a phantom key called js from every layout importing that helper, and the audit's own 72-key gap list contains it (gen-config-keys.mjs:40-48). True count on origin/master today is 625 declarations over 321 distinct keys across 161 entries, not the 531 over 280 first reported. Count it (configKeys: arrays in src/registry/registry.ts), do not take the test's word for it. (one-release-per-repo.md, "What the sweep found beyond the brief"; preview-parity-audit.md corrections.)notInPalette absent means OFFER IT. src/registry/getEditableComponents.ts:32-36 filters (d) => !d.notInPalette, so a registry entry is offered in the Studio palette by default and a hold has to carry a written reason in the descriptor. The held entries argue their case in prose (registry.ts: editor-demo, feature-demo, pricing-tiers, and the two system pages subscribe/checkout-status), and src/registry/studioPalette.test.ts plus src/layouts/paletteHoldIsReal.test.tsx pin both the holds and their reasons. A layout with no palette entry and no note is a bug, not a decision.feature-showcase 13 uses, step-index 6, section-bar 5 (which the audit implied was unused), post-index 2, chapter-rail 1, friction-ledger 1; catalog and video are required by 6 and 2 published template floors. 28 blocks on the owner's own site sat on layouts with no Studio palette entry. Count fleet usage before proposing to hold or delete a layout. The opposite case held up under the same method: the 12 "dead" home-sections genuinely had zero fleet uses (positive control hero, 58), and were given render paths rather than deleted because ten already had renderer arms. Nineteen newly offered components were confirmed on screen in walk 10 check 4, along with the location-hub Add Page preset the audit called "one live format with no Studio door at all". (preview-parity-audit.md corrections.)src, and the rule is written down. resolveConfigImageSrc (src/lib/sectionConfig.ts:131-165) accepts two shapes: a bare authored string, and a CMS media descriptor with a signed currentFile.source. An unsigned descriptor ({key,name} with no currentFile.source, the shape between promotion and signing) deliberately resolves to undefined, because an S3 object key is not a URL and rendering it would emit a permanently broken <img>. CapabilityTourLayout.tsx:1120 broke that rule from the other side: it declared image: string (:952) and guarded with a truthiness filter (:958) that an object passes happily, so React wrote src="[object Object]", resolved against whatever page was showing. In the Studio that reads as a portal routing bug (/app/sites/studio/[object%20Object], 74 x 404 in walk 7 N3); live it mounts a fresh broken <img> every LIVE_ROTATE_MS = 2600 for as long as a visitor watches the autoplaying tour. One document, one page, one site, and the layout's own comment at :948-951 had predicted it. Fixed in 1.66.1 (#60) by resolving through the descriptor path and rendering no slide rather than a broken one.CapabilityTourLayout.tsx:948). Left alone, the requested fix would have made the timer cycle over cards the stage no longer had and the caption strip name the wrong site, so the fix would have looked broken. Both now derive from one resolveDemoSites. When you narrow a collection that something else iterates, find the other iterator.http://127.0.0.1:8798/showcase/backgrounds/ was a constant at CapabilityTourLayout.tsx:202, not a field, so the Studio could never expose it and the site document contains zero references to that host (the walk mis-filed 257 CSP blocks as "site data"). All 15 references removed in 1.67.0 and replaced by an authorable sectionConfig.showcasePhotos, which is why that release is a minor: it adds a knob and a declared registry key. An unresolved slot paints the placeholder the file already had.npm test was silently rewriting src/registry/registry.ts on every Windows run, because the configKeys test imports the generator and the script had no run-only-when-run guard; the working tree is clean after a full suite now and was not before. And npm run config-keys:check reported registry.ts stale on any checkout with core.autocrlf=true, a line-ending false positive where the rewrite regex's trailing \s*$ ate the CR on all 160 entry lines. Separately, package-lock.json on master claimed 1.62.3 while package.json said 1.66.0.contentItemToProduct (parts.tsx:67), the product LIST path, same return type as shapeDetailProduct but built differently and dropping gallery, both srcsets and all four sale fields. Then contentItemToShow, and resolveOffer, which pairs a srcset with the wrong image in three of four branches. Related and now closed: shapeDetailProduct resolved gallery only from raw.productImage, so when the storefront bridge changed what raw IS (a transformed Product, byte for byte what live hands ProductDetailRenderer, carrying no productImage) a product with three photos previewed with one. 1.67.0 grew the legacy fallback, the portal's two tripwire tests went red on the 1.68.0 bump exactly as designed, and the portal's shapeDetailItem.ts was deleted. A tripwire test that goes red on purpose is how a deferred deletion actually happens.TableLayout writes its placeholder as a backslash-u escape, so a literal grep calls that file clean; U+2212 minus was never in the sweep's scope and renders in two layouts; and cardExcerpt.ts:37-38 decodes the mdash and ndash entities, so a dash can enter copy from DATA regardless of any source sweep. A source-only dash sweep is not a proof.vivreal-workflow:verification-discipline: a zero is only evidence once the same query returns a known hit. In this cluster it takes a particular form: a drift test between a declaration and its own derivation cannot catch a shortfall they share, which is how the configKeys extractor declared less than the renderer reads and reported clean (below). Before you say a key, layout, usage or reference is absent, prove the same extractor, grep or fleet scan finds something you know is there.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hillbombcreations/vivreal-skills --plugin vivreal-knowledge27 skills in this plugin
/sentry-tracerUse when investigating what happened during a Vivreal user action across the stack, tracing an error end-to-end, validating a deploy, or doing tenant-scoped triage with Sentry. Teaches WHEN to trace cross-stack (frontend spans ↔ backend logs ↔ WebSocket events) and HOW (trace-ID propagation, the standard tag set, request_id fallback, service.* breadcrumbs). Triggers on: "what happened when I did X", "why did this error", trace this request, Sentry issue, deploy validation, "everything's broken for this group", crash, error timeline. For the full investigation agent with Sentry MCP tools wired in, dispatch the `sentry` agent / `/sentry-trace` (both in the `vivreal-sentry` plugin); this skill is the passively-loaded knowledge layer. Also covers the step from a Sentry error to the AWS and Atlas metric that confirms an infrastructure cause (502 with no backend event, Lambda timeout, Mongo connect-hang, throttling, OOM, stalled deploy)./vivreal-accounts-and-writesUse before filming, walking or capturing anything in the Vivreal portal or on vivreal.io, and before any write a capture or walk makes. Carries which login to use for which business (the demo account, the QA scratch owner, the owner session), the eight-step owner-approved write protocol (named approval, snapshot, write through the UI, fresh-process read-back, restore, manifest entry), the never-list (Post, Publish, Schedule, Connect and the rest), and the rules for stills that fill vivreal.io marketing slots (pair by what the slot says, no demo site has its own web address, mask comped plan figures). Shared by footage-recorder, tutorial-maker, help-page-producer, qa-walker and marketing-auditor. Triggers on: which login, demo account, QA scratch-2, test account, switch business, owner-approved write, write protocol, snapshot and restore, mutations, marketing still, screenshot swap, vivreal.io slot, walk harness, write guard, POST allow list, PRO badge./vivreal-admin-app-knowledgeUse when working on, walking, deploying or reasoning about the internal admin app (vivreal-hq packages/admin-app), the invite-only, sign-in-only staff hub that holds every staff surface since v7 (outreach CRM, sign-ups, monitoring, errors, tickets, flags, audit, usage, economics, deployed sites, team, staff push), covering where it lives, its own identity pool and session, how it calls the fleet with no active_ctx, the deploy by fast-forwarding deploy/admin-app, its two ops Lambdas, what each page reads, including the dark navy restyle and the Releases, Database, Marketing and Inbound pages. Source of truth: `vivreal-hq` `packages/admin-app/CLAUDE.md` (and the docs it links) at `origin/deploy/admin-app`./vivreal-agent-knowledgeUse when working on, writing about, or debugging Vivreal AI. The AI offering is connecting an AI agent through the Vivreal MCP server (VR-MCP-Server, plan flag mcpAccess, metered in mcpToolCalls), and nothing else: the in-app assistant is RETIRED (owner 2026-10-07, agentActions 0 on every tier; the global FAB, drawer and /agent page were deleted 2026-09-24) and only dead code survives in the portal (Studio AiRail, EditPlan) and VR_Secure_API's agent Lambda. Covers the copy rule ("AI agent", never assistant or a model name), the real gates, and the retired surface's archaeology. Triggers on: AI agent, MCP, connect an AI agent, AI assistant, AI assistant not showing, agentActions, aiActionsEnabled, aiSiteEditing, aiComponentGen, mcpAccess, mcpToolCalls, AiRail, useAgentAccess, EditPlan, proposeSiteEdits, agent/execute, agentProgress. Sources: VR-MCP-Server, Vivreal-Tier-Quotas src/tierQuotas.ts./vivreal-analytics-knowledgeUse when working on Vivreal's first-party analytics, VR_Analytics_API (the collect→store→rollup pipeline), the Templates SiteBeacon, or the per-site traffic dashboard (VR_Secure_API read route + portal AnalyticsPanel). Covers the CloudFront+WAF → Lambda Function URL ingest chain (X-Origin-Verify, bot filter, Joi, per-IP rate limit, daily-salt visitor hash), the analytics_rollup DynamoDB design, the daily rollup cron into mainDb.site_traffic_daily, the LIVE auto-deploy status (GitHub Actions → CloudFormation) plus the W4 CDN egress meter (runs unconditionally), and where increment 2 lives. Triggers on: analytics, site traffic, beacon, SiteBeacon, visitor stats, page views, unique visitors, analytics_rollup, site_traffic_daily, first-party analytics, per-site dashboard, collect.vivreal.io, visitor hash, rollup cron, CDN egress meter, VR_Analytics_API. Source of truth: `VR_Analytics_API` `CLAUDE.md` (and the docs it links) at `origin/main`./vivreal-blender-knowledgeUse when scripting or rendering in Blender for Vivreal, above all the Vivreal duck mascot in vivreal-hq/brand/mascot/model. Covers headless renders (blender -b -P script.py -- args, --factory-startup, --python-exit-code), bpy data versus ops, bmesh, depsgraph evaluated_get and new_from_object, mathutils transform gotchas, flat toon and NPR rendering in EEVEE (Emission plus the Standard view transform, exact sRGB hex, dither, filter size, transparent film, orthographic framing), outline methods compared (Freestyle, Grease Pencil Line Art, inverted hull, ID-pass edge inking), and the 4.2 to 5.2 API changes that break scripts (EEVEE engine id, blend_method, use_nodes, Grease Pencil v3). Triggers on: Blender, bpy, bmesh, headless render, background render, EEVEE, Workbench, Cycles, toon, cel, NPR, outline, inverted hull, Freestyle, Line Art, Grease Pencil, view transform, AgX, Filmic, mascot, the duck, duck.py, render.py, mascot-artist.