/vivreal-knowledge:vivreal-portal-knowledgefrom vivreal-knowledge
Use when working in the Vivreal Portal (Vivreal_Portal_Mobile), a Next.js 16 App Router web app despite the "Mobile" name. Covers the proxy-route layer (createProxyHandler factory vs hand-written), the three-tier API client rule (createAuthAxios / publicAxios / fetch), the four backend upstreams, auth cookies (token + active_ctx), the retired in-app agent (AI is MCP only), feature flags, PWA shell traps, offline honesty, the Socials and Channels screens, SSR-safe patterns, and e2e/unit test gates. Triggers on: portal, Vivreal_Portal_Mobile, proxy route, createAuthAxios, createProxyHandler, active_ctx, AuthContext, edge runtime, basePath /app, site analytics dashboard, social hub, AI FAB, agent drawer, EditPlan, feature flags, Instagram inbox, reach-out console (formerly cold-call), demo-account claim flow, site template picker, Studio editor, dashboard insights, account deletion, e2e testing, coverage map. Source of truth: `Vivreal_Portal_Mobile` `CLAUDE.md` (and the docs it links) at `origin/stable`.
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 02-architecture/the-portal.md; npm run docs:route -- "portal proxy and context" 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_Portal_Mobile CLAUDE.md (and the docs it links) at origin/stable.
Last synced: 2026-10-28 against origin/stable at 1017bcc (tag v0.37.9; read package.json there or the served release JSON; per-skill baseline in vivreal-skills scripts/skill-sources.json)
A Next.js 16 web app (App Router, React 19, TS strict, Tailwind 4 + Radix), NOT React Native despite the folder name. Enterprise CMS management portal. Read its version from package.json on origin/stable, or from the served release JSON endpoint read more than once, because one read can come back stale from an edge POP. basePath: '/app'. For full depth (proxy-route snapshot, all gotchas), read ${VIVREAL_REPOS}/Vivreal_Portal_Mobile/CLAUDE.md (refreshed 2026-10-01; route counts drift, filesystem is the reference). Removed since the last sync: the global AI assistant (FAB, drawer shell and /agent page deleted 2026-09-24 in 939c27ed; only the Studio LeftRail/AiRail.tsx and the AgentContext it needs remain, see vivreal-agent-knowledge), the admin feature-flag console and the five admin analytics surfaces (deleted 2026-09-28, 5ac18a32 and e9262ba7; operator tooling is now vivreal-hq/packages/admin-app; the owner also decided 2026-09-28 to move the outreach CRM there, so check whether (app)/outreach still exists before working in it). Added since: /bookings (the owner's diary, paged from "now"), /channels (a per-connection approvals switch, a disconnect confirmation that says what it takes off the website, an admin can disconnect from the account card), the Socials screen's feed health (live / paused / frozen, read from the CMS fetch-health model; see vivreal-social-sync), held member posts shown as waiting for approval (v0.33.0, #422), "download my photos and files" (the CMS media export), and a domain registrant name, renewal switch and sign-up CSVs (v0.33.0, #421). 2026 surfaces still current: the /social hub (src/app/(app)/social/, account-health strip, cross-platform feed, upcoming-schedule timeline, batch-create composer), the sites hub/manage split (/sites list-only; Sites/SiteManage/, SiteManageHeader/SiteManageTabs/SiteStatStrip/useLiveSite/panels/, replaced the SiteDetail view machine; SiteAvatar adopts renderer BrandMark, never crop a site logo; BuildProgress/ + DeploymentStatusBadge watch-progress checklist with monotonic stage ratchet), billing lifecycle (billing/{cancel,pause,reactivate,release-scheduled-change,retention-discount} routes), per-site analytics dashboard (AnalyticsPanel, now hosted by SiteManage tabs), Instagram comments-moderation + live DM inbox, dedicated IG/FB publish dialogs, Studio LeftRail editors (chrome/SEO/Reservation + AiRail, SocialPanelEditor, DesignEditor, LooksSection, SetupChecklist, PageSettingsDrawer), outreach reach-out console (/outreach/cold-call → /outreach/reach-out; channel SegmentedControl Calls/LinkedIn/Email), the template-kit picker (GA; read the renderer pin from package.json on origin/stable, ^1.81.0 at :44 on 2026-10-04; the portal no longer declares @hillbombcreations/schemas at all, only site-renderer and tier-quotas), managed-domain transfer-in (TransferDomainTab/TransferDomainDialog + sites/domain/bundle-status), public demo-account claim flow ((public)/claim/[token]), 10-screen CompanyProfileWizard, unified NotificationsPanel, overage billing (OverageBillingSection/SpendingCapSection), commerce-category predicate (COMMERCE_CATEGORIES = payments | ecommerce, inert until Shopify registers; facebook.json manifest deleted, its Analytics tab is declared in meta.json).
| Context | Tool | Why |
|---|---|---|
Authenticated proxy calls (/app/api/proxy/*) | createAuthAxios() from @/lib/api/axiosInstance | Auto CSRF header, 401/419 → logout redirect, unwraps {success,data} envelope to res.data |
| Public calls to Main API | publicAxios | URL normalization + X-App-Source, no 401 redirect |
| S3 presigned uploads, service worker, AuthContext login | native fetch() | different domain / can't import axios / raw cookie control |
Never use native fetch() for proxy routes, only createAuthAxios() triggers the login redirect on 401/419. Multiple calls in one component → useMemo(() => createAuthAxios(), []). Extract backend errors with getApiError(err, fallback) from @/lib/api/auth/helpers. Server components fetch via serverFetchDirect().
route.ts files under src/app/api/proxy/ when it matters. This line has carried two different stale splits already. All routes run runtime: 'edge' + dynamic: 'force-dynamic', which IS still true of every one of them.createProxyHandler() (_helpers/createProxyHandler.ts) handles auth (active_ctx JWT verify), CSRF, body parse, upstream fetch, {success,data,error} envelope. A factory route is ~10-15 lines. Classify factory-vs-manual by stripping comments FIRST and then looking for a createProxyHandler( CALL. Both obvious shortcuts overcount: a naive name grep counts manual routes that name the factory in a doc comment explaining why they cannot use it, and the module-path import counts manual routes that import a single helper like extractUpstreamError from that module without calling the factory. tests/unit/app/api/proxy/_helpers/manualRoutesForwardQuotaDetail.test.ts pins it; run that spec rather than writing another classifier.sites/instantiateTemplate, TWO reasons: idempotency-key forwarding AND 402 structured-payload passthrough; the factory's apiError() coerces error to a string), non-envelope responses (media/share-image, streams tenant media bytes through the portal origin so the composer can build a File; get-media can't solve it because a signed CloudFront URL is still cross-origin; the factory always terminates in apiSuccess()), complex validation (calendar), third-party upstreams (tiktok-oembed), account self-serve deletion (user/delete-account, a 409's body carries the blocker list the UI renders, and the factory collapses any non-2xx into a bare apiError(message, status), same reason user/update-email is manual), and the public no-active_ctx exceptions (outreach/book/[slug] ×3, outreach/studio-demo/visit, outreach/demo-link/[code], the studio-demo link resolver, GET-only so no CSRF either, marketing/sandbox-lead, claim/verify, claim/complete). Don't force these through the factory.extractUpstreamError()/extractUpstreamDetail() from _helpers/createProxyHandler rather than a hand-rolled data?.error read, VR_Main_API sends bare-JSON-string error bodies, and a hand-rolled read against a string silently returns undefined (this was the exact bug that killed the login error branches in prod).outreach/demo-link/[code] and user/delete-account; the dash/insights-era surface added a factory dashboard-insights proxy route feeding the dashboard's "Your week" sentences.CloudFront-Viewer-Address (strip the :port), fall back to X-Forwarded-For, never trust x-real-ip, see visitorIp() in outreach/studio-demo/visit; the claim/verify proxy injects the visitor IP as XFF so Main's per-IP limit isn't collapsed to the Amplify egress IP.injectCtxParams() sets key + groupID (CMS-shaped). For Secure-API endpoints whose Joi validator names the tenant key dbKey and rejects unknown params, use p.set('dbKey', ctx.dbKey); p.set('groupID', ctx.groupID) instead of injectCtxParams(), sending key alongside gets the request rejected as an unknown param (see analytics/site-traffic and webhooks routes, which do it manually and document why). The same rule decides any NEW param: Secure's Joi.object().keys({...}) rejects unknown keys by default, so before a proxy sends a param "ahead of" a backend release, read that route's validator on the DEPLOYED release line (MCP #42 broke production this way); the backend ships the key optional first.NEXT_PUBLIC_CMS_URL (/tenant/*), NEXT_PUBLIC_SECURE_URL (/api/*), NEXT_PUBLIC_MAIN_API (/api/*), NEXT_PUBLIC_OUTREACH_URL (/proxy/outreach/* routes, only the public and Studio-facing ones since v0.37; the CRM moved to vivreal-hq packages/admin-app).Each is a tag on release/v0.37 promoted to stable; git log --first-parent v0.37.1..v0.37.9 is the list.
ad_storage and ad_user_data so a Google Ads click attributes to a later sign-up.src/app/api/proxy/outreach/ is public or Studio-facing: book/[slug] (and its slots, create and shared _forward.ts), demo-link/[code], studio-demo/visit, studio-draft, studio-draft/[id] and studio-funnel, plus src/lib/studio/outreachDemo.ts. The CRM lives in vivreal-hq packages/admin-app (src/app/outreach/{pipeline,sequences,import,review}, API routes src/app/api/outreach/*; vivreal-knowledge:vivreal-admin-app-knowledge). It is fixed forward there and never reverted into the portal.src/app/(public)/preview/review/[code]/page.tsx redeems an admin-minted review code with no sign-in, sets robots to keep it out of search, and runs no beacon, funnel or draft store. The framed preview shells live under src/app/(studio-frame)/.src/components/CollectionObjects/ClearExamples/index.tsx): find the seeded examples, confirm with a count and the names, then delete each with onlyIfExample: true and the updatedAt that was read; the collectionObjects/delete proxy refuses one without the other. A 409 means the owner changed it and it is kept, a 404 means it was already gone, and any edit makes an item the owner's.detailEligible on the bindings that draw the named list and hides itemKeyField wherever it is declared (src/lib/sites/sectionConfigControls.ts). The model is vivreal-knowledge:vivreal-sites references/detail-pages.md.sites/update requires only mode. The name fields are sent only when the owner changed them, so a Studio save without a Business-info edit cannot rewrite the name.next/font/local (src/app/layout.tsx, src/app/(studio-frame)/layout.tsx, the studio-demo layout). The const name IS the declared family, so it must not collide, case-insensitively, with a literal family loaded elsewhere.src/components/Group/BusinessDetailsSection/BusinessTimeZoneRow.tsx, who may change it in src/lib/permissions/businessTimeZone.ts), saved through the factory proxy group/timezone (PUT, timezone plus expectedTimezone, the zone last seen or null) to VR_Secure_API's compare-and-set. use-auto-set-business-time-zone.ts sets the browser's zone once per business per device when none is stored; a lost race keeps the stored zone. The Studio preview reads the site clock through src/lib/sites/siteClockZone.ts in the live site's order: the business zone, then the site's own legacy value, then the renderer's fallback, so preview and live agree.src/components/Subscribers/importPeople.ts words the result lines (what Main did about the confirmation email). Site sign-ups are one step and never reach this path.token cookie (Cognito JWT) + active_ctx cookie (signed context JWT, HMAC-SHA256 via verifyCtxEdge()). active_ctx holds groupID, dbKey, bucketname, NOT groupName.src/proxy.ts (Next 16 renamed middleware) checks token presence → /login, rate-limits auth endpoints, including the public claim routes: claim/verify 30/15m, claim/complete 10/15m.AuthContext holds user, groups, activeProfile, collections + collectionsByProfile, isHydrated, loading, persisted to localStorage (auth_*), cross-tab synced. There is NO sitesByProfile, integrationsByProfile, or collectionPreviews, collections are the only per-profile entity cached; sites and integrations are fetched per page (a component needing the site list calls GET /api/proxy/sites/get itself, as AgentDrawer's SiteHandoffCard does). Exposes completeClaimAndLogin() for the public demo-account claim flow ((public)/claim/[token]); the claim token is kept out of Sentry/Clarity/GA4.'use client' only for interactivity. Feature pattern: Client.tsx / Loader.tsx / Dialog.tsx.window/document. Respect prefers-reduced-motion.@/lib/privacy): everything masked by default in Sentry Replay + Clarity. {...privacyUnmask} ONLY on static app chrome (nav labels, button text). Never unmask user/API data (collection names, group names, author info)./api/proxy/get-media. Factory routes via createProxyHandler(). get-media is ALSO the read-time signer for inline RTE images, the rich-text editor stores S3 keys (data-media-key), never a signed src, and signs them here at render time (see Rich text editor below).src/components/Universal/LongTextEditor/, index.tsx (useEditor), capabilities.ts (parity registry + PALETTE), SlashMenu.tsx, extensions/slashCommand.ts, extensions/mediaImage.tsx. Caps: bold/italic/underline/strike/code/highlight, text color (vetted 9-hex PALETTE), H1 to H3 (restrictable via headingLevels prop), lists, blockquote, hr, text-align, links, inline images, undo/redo, clear formatting. Paste hygiene strips style/class/on*; renders through the shared .vr-rich class (Tailwind prose deliberately removed) for 1:1 editor↔site rendering.capabilities.ts): the editor and @hillbombcreations/site-renderer's sanitizeHtml.ts live in separate repos and can't share a module. capabilities.ts + parity.test.ts (tests/unit/longtext-editor-parity.test.ts) round-trip every exposed affordance through the real renderer sanitizer, never expose an affordance whose paritySafe is false. Flip it true only in the same change that widens the renderer allowlist + extends the parity test.extensions/mediaImage.tsx): persists <img data-media-key="…" alt="…"> (+ optional data-width/data-align); a React NodeView signs the key via /api/proxy/get-media at render time (~300s TTL, kept in component state only, never baked into stored HTML, which would 403 once the TTL lapses).index.tsx): desktop = wrapping toolbar + BubbleMenu; mobile (<640px) = slim bar + BottomSheet Format sheet + SegmentedControl for align; plus a slash-command palette.src/components/Sites/Studio/LeftRail/StaticContentEditor.tsx (≈L14, L302 to 309) mounts LongTextEditor for the body (rich HTML) of seeded static-page objects; also SchemaForm/SchemaComponents/longText.tsx and the editor-lab parity page.agentActions is 0 on every tier, so VR_Secure_API's executeAgent refuses. The FAB, drawer shell and /agent page are deleted (939c27ed); the Studio AiRail, AgentContext and useAgentAccess() (consumers render null unless ready && hasAccess: hide, never disable) survive in code but are not an owner surface. Do not read agentActions: 0 as a gap to fix. In owner copy it is "an AI agent", never "assistant" and never a model name.agentProgress socket event → StatusTicker (phrase-per-phase; no token streaming, the Lambda sits behind REST API Gateway, which buffers).baseDigest is the request's draftDigest.hash echoed back verbatim; recomputing it JS-side permanently lights the staleness banner.ALLOWED_FLAGS array in VR_Secure_API src/updateGroup/services/updateFeatureFlags.js (and the Joi body in src/updateGroup/scripts/validators.js, which must stay in step) FIRST, at origin/stable. On 2026-10-28 (0d955d8) it holds four: aiActionsEnabled, dashboardInsightsEnabled, navRedesignEnabled and studioPreviews (an OFF switch for Studio previews, V7.215). Facebook comments GRADUATED on 2026-10-22: facebookPageCommentsEnabled is retired, every connect asks for the permissions, and a body still carrying the key is an unknown key and 400s. The nav flag itself was deleted from the portal 2026-09-23, keeping only a cookie escape hatch. Flags are operator-written from vivreal-hq/packages/admin-app, not from the portal. A feature behind an unset flag is the expected default, not a bug.src/app/(connect)/connect/authorize/client.tsx says who is signed in ("You are signed in as") and lets the owner pick the business the AI agent starts in, from the MCP server's businesses list (only businesses whose plan includes AI are pickable). Google One Tap never auto-selects on the connect sign-in (isConnectSignIn, src/lib/auth/freshSignIn.ts), because whoever signs in is who the agent is connected as.active_ctx/user_ctx/csrf_token cookies minted by e2e/fixtures/ctx.ts, the same primitives as src/lib/signCtx/src/lib/csrf, so verifyCtxEdge() and the CSRF check pass with zero source bypasses. Runs against a dedicated test dev server on :3100 (isolated .next-test dist dir) with all backend URLs pointed at a mock upstream on :4600 (e2e/mock-upstream/) that returns RAW upstream-shaped fixtures, the proxy still applies the {success,data,error} envelope.tests/unit/**, pure-logic-only (signCtx/csrf derivation, validators, editPlan/catalog helpers). Run via npm test.e2e/coverage-map.json + scripts/check-coverage-map.mjs --strict is a mechanical route→spec evidence gate, a new or changed proxy route needs a coverage-map entry or the gate fails.e2e/BASELINE.md is the authoritative test/pass/annotation count, re-measure before quoting a number, never trust a remembered one. Full guide: e2e/TESTING.md.react-hooks/* is scoped off e2e/** only (Playwright's use(page) false-positive). There is no CI, husky pre-commit (lint-staged + vitest + coverage-map) and pre-push (eslint 0/0 + tsc + vitest + coverage-map --strict + e2e smoke) are the only automated gates. How the owner runs them: no full e2e gate for a release (2026-10-10): the release-head check is eslint, both tsc passes and every unit file the release added or changed, and the local QA walks replace the confidence the full run gave. After one green full gate, fix-ups run only the specs that touch the diff with --no-verify (2026-10-06; portal-coder FOLLOWUP mode). PARALLEL portal coders push --no-verify and leave the one gate to INTEGRATE. Outside those modes, do not bypass the hooks. The smoke binds machine-wide ports 3100 and 4600, so two full gates at once fail each other's unrelated specs.void activeCtx in Resolved server components is intentional, <Suspense key={activeCtx}> remounts on profile switch to force re-fetch.force-dynamic, don't add caching.Providers useEffect → brief flash on first load.dark: utility is a bug (Tailwind v4 with no @custom-variant dark resolves it against the OS prefers-color-scheme, rendering dark styles on a permanently-light surface).position: fixed (APP_SHELL_ENABLED, src/components/AppChrome/index.tsx), and a fixed element starts its own stacking context, so a position: fixed overlay rendered INSIDE the page sits under the header and tab bar whatever its z-index. Every overlay, drawer, sheet or wizard renders through createPortal(..., document.body) (Radix dialogs already do).queuedWriteMessage in src/lib/offlineQueuedCopy.ts, the one message source) and goes up when the owner is back online. Writes that would lose or duplicate data on replay (a first contact, starting the bookings list, setting filters up, a Studio section's backing list) REFUSE instead, before the request when the browser knows it is offline and after it when the queue kept it anyway, withdrawing the kept write (src/lib/offline/refuseOfflineWrite.ts).cn() knows the portal type scale (v6). tailwind-merge filed an unknown text-* class as a text COLOUR, so cn("text-label", "text-primary-foreground") dropped the size. src/lib/utils.ts adds a portal-font-size class group that conflicts only with itself; add a name to PORTAL_FONT_SIZES when globals.css adds one.src/proxy.ts short-circuits ALL /api/proxy/ matcher paths right after rate limiting, the proactive active_ctx refresh must never run on a proxy request, since rewriting active_ctx mid-flight desyncs the CSRF token (HMAC(CTX_SECRET, 'csrf:' + active_ctx)). Don't add a proxy POST path to the matcher expecting refresh behavior.extractUpstreamError()/extractUpstreamDetail() from _helpers/createProxyHandler rather than a hand-rolled data?.error read, VR_Main_API sends bare-JSON-string error bodies, and that hand-rolled read is what silently killed the login error branches in prod.Portal push rule (owners, 2026-10-28). A portal branch is pushed and opened as a PR as soon as its gates pass. The QA walk happens on the pushed PR head, before MERGE. Merge needs a passing review at the current head and an owner's QA-walk sign-off for that head; push needs neither.
main is an Amplify build canary with NO production traffic; prod is CloudFront <vivreal-io-distribution-id> (real id in vivreal-hq docs/dev-docs/05-reference/aws-estate.md) in front of the Amplify stable branch (the distribution is NOT CFN-managed), and in the promote order (CMS first, Secure second, portal last, each a dispatched promote; nothing ships without a dispatch) the portal is LAST. The shared model (cut, promote, backport as a patch) is in vivreal-infra:vivreal-lambda references/deploy.md; this repo's runbook is docs/RELEASE.md. Portal specifics: the cut writes a served public/release.json (curl https://vivreal.io/app/release.json, more than once, an edge POP can serve the previous release), and Amplify autobuild fires only for never-built commits, so a rollback or re-promote to an already-built commit repoints stable with NO build; also run aws amplify start-job --app-id <portal-amplify-app-id> --branch-name stable --job-type RELEASE.
Load vivreal-workflow:verification-discipline: a zero is only evidence once the same query returns a known hit. On this repo the same shape hides behind a green test: rendererVersionParity skips with a warning when its sibling checkout is missing, so the gate is silently vacuous, and a fixture written from the client's assumption agrees with the client and not with production (the campaigns client once read an envelope the interceptor had already stripped).
portal expert agent, 2026-10-20)The expert agents are retired (2026-10-28), so the review checklist they used to carry lives
here. Query rules (tenant scoping, the mainDb _id
lookup, the publishDate and archived filters) live in vivreal-knowledge:vivreal-db, and
packaging and limits in vivreal-infra:vivreal-lambda; they are not repeated here.
runtime = 'edge' still get the edge API surface (no Node-only APIs), whatever the host.vivreal-knowledge:vivreal-main-api-knowledge, vivreal-knowledge:vivreal-secure-api-knowledge, vivreal-knowledge:vivreal-cms-api-knowledge, vivreal-knowledge:vivreal-outreach-api-knowledge); this digest covers the portal-side proxy contract.getManifest as well as isSocialPlatformKey, or a retired provider's stored row reappears.group.users[] row can say member; currentUserRole resolves the owner by email first, which is what made account-card Disconnect and the approvals switch work for owners (v0.32.0). Any new role check must read currentUserRole, never re-derive it from users[].active_ctx/user_ctx are minted for audience portal with a per-service key DERIVED from CTX_SECRET (src/lib/ctxKeys, HMAC(CTX_SECRET, 'vivreal/ctx/v2/<audience>')), and verifyCtxEdge requires aud: 'portal'. createProxyHandler resolves the upstream's audience from baseUrl (src/lib/ctxAudience, resolveCtxAudience) and mints a FRESH short-lived token for that one service (FORWARDED_CTX_TTL_SECONDS, never past the cookie's own exp); an upstream that maps to no audience is a loud 503 upstream_audience_unmapped. A manual route that forwards ctx must do the same through signCtxEdge(payload, audience); forwarding the raw cookie is now an auth failure at every backend. Admin sessions are short.fs, no child_process, no Node Buffer assumptions). Web Crypto IS available, crypto.randomUUID() and crypto.subtle work fine.useAuth() in app layout MUST use useHydrated() guard.docs/projects/portal-frontend-testing-strategy/prod-bugs-found.md.VIVREAL_REPOS must be exported into the git hook's own shell. tests/unit/lib/sites/rendererVersionParity.test.ts compares the portal lockfile against a SIBLING checkout on disk and skips with a warning when it is absent; without the variable it falls through to ${VIVREAL_REPOS}/Vivreal_Templates, which is parked on an old branch, and reports a mismatch that is not real. Branch a parity worktree from the deployed line and confirm which branch it carries before trusting a green run.npm install on Windows. It prunes the optional wasm packages Linux needs (@emnapi/core, @emnapi/runtime) and leaves npm ci failing EUSAGE, which cascades into false test, type-check and build failures. The recipe (patch only the entry's version, resolved and integrity, compare the optional-dependency count before and after, then npm ci) is vivreal-workflow:package-publisher's.main only when its base branch is deleted, so merging a stack quickly can report every PR MERGED with only one reaching main. Retarget each child to main explicitly before merging it, or integrate the stack onto one branch.aria-disabled is deliberate on the locked nav-tab switches, and Playwright will not click it. The floor and ceiling switches carry aria-disabled="true" rather than disabled so a tap can still answer with the reason ("Keep at least 2. Turn another one on first."). Playwright's actionability check treats aria-disabled as "element is not enabled" and refuses, timing out after 5 s. A test written the obvious way never presses a locked row, never sees the refusal, and passes while covering nothing; drive those with a real dispatched click. (Walk 10 section 3.3.)package.json on origin/stable or from the served release JSON (read more than once, an edge POP can serve the previous release), and the Amplify job from the Amplify console or CLI. Two durable facts that are not versioned: nav favourites are server backed, one Vivreal.userpreferences document keyed by the Cognito login email with no groupID, so the choice follows the person and not the group, and deleting the nav_favorites cookie plus the nav_favorites_seeded localStorage flag rebuilds both from the account. There is no landing-page setting anywhere in the product: the launch route hardcodes its destination, and the row that looks like a control is a description.What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job