/vivreal-knowledge:vivreal-eventhandler-knowledgefrom vivreal-knowledge
Use when working in Vivreal_EventHandler, the AWS Step Functions site-deployment pipeline that assigns the shared `stable` channel branch (per-site branches are DEAD as of Phase 2, 2026-07-15), creates an Amplify app, deploys, optionally registers a custom domain, and marks the site live/failed. Covers the ordered state list (with preserved typos you must NOT rename), the seedCollections front state, the hybrid template model, Amplify env-var injection, the Serverless-Framework + esbuild build, the domain purchase + transfer-in sagas (separate state machines), and the GitHub installation-token → Amplify accessToken 255-char fix. Triggers on: Vivreal_EventHandler, site deployment, Step Functions, Amplify deploy, createGithubBranch, seedCollections, templateType, markSiteLive, deploy pipeline, stable branch, channel branch, domain purchase, domain transfer, domainOrders, transferDomain, getInstallationToken. Source of truth: `Vivreal_EventHandler` `CLAUDE.md` (and the docs it links) at `origin/main`.
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.
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_EventHandler CLAUDE.md (and the docs it links) at origin/main.
Last synced: 2026-10-28 against origin/main at 8b27efd (no stable here, a merge to main is the deploy; per-skill baseline in vivreal-skills scripts/skill-sources.json)
Last extended: 2026-09-16 (stored buildSpec vs buildSpec.js, the SITE_RENDER_MODE fleet fix)
Cross-repo flows, decisions and maps: the vivreal-hq dev docs under ${VIVREAL_REPOS}/vivreal-hq/docs/dev-docs/, starting at 03-use-cases/U5-site-creation-to-live.md, 03-use-cases/U31-outbound-webhooks.md; npm run docs:route -- "eventhandler sagas" from vivreal-hq names the rest. This skill and the repo's CLAUDE.md own the repo's internals.
Orchestrates the full customer-site deploy pipeline via AWS Step Functions. Four entry points start the Deploy-Site SFN: createSiteCollectionData (mode hosted_by_us), POST /api/deploySite (blank first deploy), redeploySite (Secure, since 2026-07-29), and updateSiteEnvVars's rebuild (here, since 2026-07-29). Serverless Framework + esbuild (NOT SAM), Node 22 since 2026-10-02 (serverless.yml:43, gated by a test on the deploy workflow), Step Functions + Amplify + Route53 + GitHub API + DynamoDB. Read ${VIVREAL_REPOS}/Vivreal_EventHandler/CLAUDE.md for depth (audited claim by claim 2026-09-21, last edited 2026-09-23; it records that four files it once cited no longer exist, so check a path before trusting it).
SeedCollections → CreateGithubBranch → CreateAmplifyApp → StartAmplifyDeploy
→ WaitBeforeCheck (30s) → CheckAmplifyDeploy (poll) → DeployComplete? (Choice)
→ GetDefaultUrl → AssociateDomain? (Choice) → AssociateDomain (optional)
→ WaitBeforeCheckingDomain (30s) → CheckDomainAssociation → DomainAssociated? (Choice)
→ MarkLive | MarkFailed
ASL state names are PascalCase (SeedCollections, MarkLive, MarkFailed); the Lambda/handler names are camelCase. The checkDomainAssociaion typo survives only in the Lambda name / ASL Resource ARN (vh-site-deployment-checkDomainAssociaion), the ASL state is CheckDomainAssociation. Renaming requires coordinated updates.
Each state is its own Lambda named vh-${stage}-{name} (e.g. vh-prod-seedCollections); the ASL Resource ARNs reference vh-site-deployment-{name}. (The old vh_site_deployment_* underscore form is wrong.) The serverless.yml functions block declares the site-deploy steps, the domainPurchase* and domainTransfer* sagas and the scheduled jobs below; re-derive the roster and every count from serverless.yml at the deploy SHA before quoting one. Functions added since the last count include siteStateAudit, indexNowReconcile, indexNowFlush, domainTransferResendTransferAuthorization, siteTileSweep, parkingPoolReclaim and siteThumbnail (a container image, docker/siteThumbnail.Dockerfile).
seedCollections is the front state, added to fix a 504: it lifted the (then ~17+) sequential CMS-API invokes out of the API Gateway 29s / Lambda 30s budget (POST /api/siteCollectionData now <5s). It now writes collection groups + default objects DIRECTLY to mainDb + the tenant DB via the @hillbombcreations/schemas shapes, no CMS-API invokes (seedCollections/index.js). Reads seed.author + optional seed.token + templateType, seed.author is now asserted BEFORE the blank short-circuit, so the automated env-var rebuild synthesizes a system identity, and calls the seed builders in src/shared/seeding/ (buildCollectionGroups/buildDefaultObjects/buildPages/buildPageBlocks.js/buildFromManifest.js; buildPageBlocks gained musician format arms panorama + discography), then writes pages/collectionGroups/integrationsUsed back to the site doc. Entry quotas come from getTierQuotas(group.tier).entries (@hillbombcreations/tier-quotas). Idempotent: a non-empty collectionGroups array on the site doc makes the step a no-op. Failure → MarkFailed; partial seeds cleaned up by VR_Secure_API/deleteSite.The Deploy-Site state machine pre-dates the serverless setup and is invoked by VR_Secure_API via a static ARN. Source of truth: docs/ops/deploy-site-state-machine.asl.json; pushed by scripts/update-state-machine.sh (idempotent, doesn't disturb running executions), run automatically by CI after serverless deploy on main. Console edits are drift and get clobbered. update-state-machine.sh covers Deploy-Site ONLY, the domain purchase and transfer-in sagas ship via their own scripts/deploy-domain-purchase-saga.sh / scripts/deploy-domain-transfer-saga.sh.
seedCollections): templateType drives which collection schemas + page configs get seeded. A blank/empty templateType short-circuits seeding entirely (June 2026, pairs with the portal's Blank-site flow, where the user deploys explicitly later). VR_Secure_API seeds nothing now, its createSiteCollectionData only creates the site doc + logo + counters and starts the Step Function.createGithubBranch state is now channel assignment only (Phase 2, 2026-07-15), resolves CHANNEL_BRANCH || 'stable', creates no git branch, writes no marker file. createAmplifyApp persists deployment.branchName on the site doc (schemas ≥1.21.0) and sets enableBranchAutoDeletion: false.pageConfigs[].format, NOT templateType.Live template keys (5): ecommerce, showcase, restaurant, services, portfolio (src/shared/templates/index.js; mirrored in VR_Secure_API validators.js). Live Templates branches: only main + stable (+ dev PR branches), no per-customer and no per-template-type branches exist. Releases go out via the promote-stable workflow (main→stable FF), after which scripts/fleet-build.mjs starts release builds for the live build tier only; demo apps catch up weekly. New apps are created with autobuild OFF (v7, below), so a push to stable alone builds nothing on them.
Populates build env so Templates branches build against live data. Injected (createAmplifyApp/index.js): API_KEY, SITE_ID, NODE_AUTH_TOKEN (PAT for npm ci against GitHub Packages), NEXT_PUBLIC_SENTRY_DSN, optional analytics vars (NEXT_PUBLIC_GA_ID/PLAUSIBLE_DOMAIN/FATHOM_ID), and the optional cache-invalidation pair SITE_CACHE_TTL_SECONDS + REVALIDATE_WEBHOOK_SECRET. A build-time var only reaches the app if it is also grepped in the buildSpec allowlist (src/shared/amplify/buildSpec.js). BUCKET_NAME, CDN_BASE_URL, collection-group IDs (SHOWS_ID, …), and STRIPE_SECRET_KEY are NOT injected. Written to .env.production in the Amplify preBuild phase.
The bucket is bucketOf(group) (VR_Secure_API src/shared/groupBucket.js): the stored group.bucket wins, else ${group.type}-${group.key}. Neither half is the tenant database name, and the type is not always vivreal (Sentry shows collection-<key> buckets), so never assume a vivreal- prefix.
buildSpec.js (2026-09-16)src/shared/amplify/buildSpec.js is only the template for it. There is no amplify.yml in Vivreal_Templates, and editing buildSpec.js changes nothing for an app that already exists. Only three paths rewrite a stored spec: createAmplifyApp (CreateApp, and UpdateApp on every redeploy through the Deploy-Site state machine), the updateSiteEnvVars self-heal, and scripts/backfill-revalidate-webhooks.js --execute. An app nobody has redeployed keeps the spec it was created with.next build sees the full Amplify env; the running server sees only .env.production. So a build-time decision and a runtime decision can disagree with no error anywhere. canonicalEnv.js + test/unit/shared-amplify-build-spec.test.js keep buildSpec.js honest, and nothing checks the stored specs.SITE_RENDER_MODE grep froze vivreal.io's home page (and two customer sites had the same gap): next build saw isr and prerendered home as ISR, the runtime saw no value and ran the render-mode gate off, so edits never reached home until a rebuild, and the gated routes (/robots.txt, /sitemap.xml, /icon) logged DYNAMIC_SERVER_USAGE. Symptom and mechanism: vivreal-templates-knowledge, "ISR render mode".aws amplify update-app --app-id <id> --build-spec file://<spec> with ONLY --build-spec; re-read and assert the stored spec equals the intended file and both env hashes are unchanged (an env write REPLACES the whole map); then start-job --job-type RELEASE --commit-id <the commit already deployed> so the spec is the only change. Before setting any key on a site, compare the stored spec's grep list with the app AND branch env.canonicalEnv.js still says SITE_RENDER_MODE is "Not read by Vivreal_Templates yet". Templates reads it in src/lib/renderMode.ts.6bee3fa, 2026-09-24, H2313/H4305): createAmplifyApp reads the key it injects as API_KEY from the group, because an execution input is stored verbatim in Step Functions execution history and echoed into every state. The input is NOT accepted as a fallback; VR_Secure_API's three starters no longer write groupApiKey into the input (only comments recording the removal remain, src/createSites/services/deploySite.js:116 on origin/stable).cf51fdf, 2026-09-27): the Amplify app carries a vivreal:app product tag from creation rather than being swept up later (65922d4 fixed the tag's value to the product source, not the app's name).bookings is in the CMS siteRole allowlist mirror here (9301c55, 2026-09-29), kept in step with VR_CMS_API's widened allowlist; add a new siteRole in both places.SITE_CACHE_TTL_SECONDS is set on the EventHandler, each deploy mints a per-site REVALIDATE_WEBHOOK_SECRET, injects the TTL + secret, and auto-upserts a webhooks subscription so on-publish revalidation works out of the box (createAmplifyApp/index.js). The auto-provisioned webhook is now tagged system (schemas 1.28.0 webhookSchema.system).GITHUB_APP_ID / GITHUB_APP_PRIVATE_KEY / GITHUB_APP_INSTALLATION_ID mint a short-lived installation token for the git clone; a long-lived NODE_AUTH_TOKEN PAT (replacing the old GITHUB_TOKEN) is what npm ci uses for org packages. Amplify accessToken fix: src/shared/github/getInstallationToken.js sends X-GitHub-Stateless-S2S-Token: disabled to force GitHub's classic ~40-char installation-token format, GitHub's 2026 stateless rollout minted ~520-char tokens exceeding Amplify CreateApp/UpdateApp's 255-char accessToken cap, failing EVERY new-site deploy in createAmplifyApp with an opaque ValidationException. A guard throws if a minted token exceeds 255 chars (means GitHub likely sunset the override).docs/ops/domain-purchase-saga.asl.json) with a Stripe invoice.paid task-token wait + reconciliation cron. activateStripeSubscription now attaches a 100%-off coupon (DOMAIN_BUNDLE_COUPON_ID env) for the domain bundle.docs/ops/domain-transfer-saga.asl.json), deployed by its own scripts/deploy-domain-transfer-saga.sh. Charge-before-transfer: CheckTransferability → ActivateStripeSubscription → TransferDomain → WaitForTransfer (3600s, hourly) → PollTransferOperation → MarkTransferred | RefundTransferFee; it drops the Amplify spine entirely, terminal status is transferred, never live. The purchase ASL is byte-for-byte untouched (blast-radius isolation). Six src/handlers/domainTransfer/ Lambdas: checkTransferability, transferDomain (keeps the customer's nameservers verbatim, creates NO hosted zone, email safety), pollTransferOperation, markTransferred, refundTransferFee (also cancels the Stripe sub on a $0 transfer refund), resendTransferAuthorization (out-of-band, invoked by VR_Secure_API). domainPurchaseReconciliation also sweeps stuck transferring orders (Route53 ListOperations). serverless.yml adds 3 route53domains IAM actions (CheckDomainTransferability, TransferDomain, ResendOperationAuthorization) + a Vivreal/DomainTransfer metric namespace. Consumes schemas (read the pin from package.json) (orderType discriminator, 9 transfer statuses appended after the 13 purchase statuses, encrypted authCode; tier-quotas stays ^3.0.0 here).serverless.yml only), env resolves from per-service <secret-prefix>/* Secrets Manager secrets (site-deployment, github-app [shared with Secure], stripe, core) + SSM <ssm-prefix>/* params; env var NAMES are unchanged.scripts/backfill-normalize-quotas.js (normalizes the 6 tier-driven quota fields on mainDb Vivreal.groups to @hillbombcreations/tier-quotas package values; Decimal128 for cdnUsage.quota; optimistic-concurrency guard on {_id, tier}; dry-run default) and scripts/reconcile-media-usage.js (report-only S3 footprint vs mediaUsage.totalSize).subdomainCleanup daily cron + updateSiteEnvVars Lambda. updateSiteEnvVars's rebuild now StartExecutions the Deploy-Site SFN (since 2026-07-29): DEPLOY_STATE_MACHINE_ARN from the same SSM param VR_Secure_API resolves, CHANNEL_BRANCH in the execution input, states:StartExecution IAM. Same completion-orphan shape as Secure's redeploySite, the old direct Amplify StartJob had no terminal-status writer, so rebuilds hung forever. The env-var UPDATE itself (buildSpec self-heal + UpdateBranch) stays local; groupId is required only when a rebuild is requested; doc + socket now say queued. subdomainCleanup's group projection now includes dbKey.markSiteLive push notification, enqueues to VR_Main_API's vivreal-notification-queue (NOTIFICATION_QUEUE_URL via SSM, same mechanism as WEBHOOK_QUEUE_URL) on a template-instantiated site's FIRST live deploy, gated on siteInfo.template + instantiation both present via a .lean() read (both strict-bypassed undeclared schema paths). Runs after the critical DB write, 5s-raced, failures logged and swallowed. Lambda timeout raised 60s → 75s.resolvePlacement(group), see vivreal-tenancy).ANALYTICS_TENANT_DB_KEYS gap (today it only probes the DATABASE names in that env list and silently drops beacons from any other tenant DB, see vivreal-analytics-knowledge).subdomainCleanup Mongo pool-leak fix, the daily cron no longer leaks Mongo connections on each run (part of the cross-repo Atlas half-open-connection teardown fix this window).environment tag (previously defaulted, making local/dev errors indistinguishable from prod).test/fixtures/renderer-oracle/): a vendored snapshot of the renderer's dist/composition/. Its version is stated in exactly ONE place, the README's "Sync anchor" section; read it there, and never write it anywhere else.sync_conflict status is legacy only, VR_Secure_API/templateSyncWebhook.js was deleted in Phase 2 (2026-07-15); nothing writes it anymore.scripts/migrate-to-channel-branch.js, dry-run default, --execute, --app-id, --profile, --region, --db-keys, separate verify-first --delete-old-branches pass; needs CLUSTER_URL. Gotcha: Amplify returns the apex subdomain prefix as null but UpdateDomainAssociation requires "".origin/main 8b27efd)Every schedule is a classic EventBridge rule (rate(...)/cron(...)), each overridable per stage by an env var named in custom: of serverless.yml, and each scheduled function has reservedConcurrency: 1 as a runaway ceiling.
siteStateAudit (daily, SITE_STATE_AUDIT_CRON): read-only audit of every Templates site against its declared expected state (src/shared/siteState/expectedState.js: render mode, env keys, build spec, domain, branch). Publishes ONE metric, the drifting-site count, which SiteStateDriftAlarm pages on; SiteStateAuditMissedRunAlarm catches a run that never happened. Opens no Mongo connection.indexNowReconcile (daily) enqueues one FIFO message per live site; indexNowFlush (SQS, batch 1, reserved and maximum concurrency both 2, and the match is deliberate) diffs the site's sitemap against its stored snapshot and submits what changed. The release lever is SSM <ssm-prefix>/indexnow/mode (off, shadow, on; missing means off), read on every invocation, because a merge to main deploys the stack.subdomainCleanup, revalidateHookCleanup (twice weekly, so a missed-run alarm can look back far enough), siteTileSweep, parkingPoolReclaim, domainPurchaseReconciliation (every 15 minutes).seeding, creating_branch and creating_app now write deployment.status, message and updatedAt onto the site document as they broadcast (src/shared/persistDeployStage.js), as a compare-and-set that never moves a site backwards; a brand-new site created as deploying with no app yet counts as pre-pipeline.createAmplifyApp creates every app with enableAutoBuild: false and a vivreal:buildTier tag (src/shared/amplify/costTags.js, buildTierFor): live by default, demo or qa only on an exact match of a listed group id, so every unknown fails toward live. A redeploy keeps a tier the app already carries (TagResource would otherwise reset a backfilled or overridden tier). The Templates promote starts release builds by this tag, live tier only; demos catch up weekly (vivreal-infra:vivreal-site-deploy-pipeline).collectionObject_<id> (v7.1 S9-D7, #95). seedCollections writes each seeded item's usage row field for field as VR_CMS_API's trackBulkDocs does (itemUsageRow); the legacy collection_<id> key released nothing on delete and was counted twice on the first edit.expiresAt from the group's tier (src/shared/auditLog.js, the same rule as VR_CMS_API and VR_Secure_API), with the group tier lookup raced against a 1 s timeout that covers both the connect and the read (GROUP_TIER_LOOKUP_TIMEOUT_MS).scripts/build-indexes.js --new-placement <pod> builds the next pod's indexes before its first tenant: it must be exactly the next pod by tenant-db's rule and is refused when the pod already holds data; --placements must name a stored tenant dbKey (vivreal-tenancy)..github/workflows/lambda_api.yml, step "Log in to Amazon ECR Public", after anonymous pulls were throttled with 429 on 2026-10-17). It needs ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken on the deploy role, the latter UNCONDITIONED: an sts:AWSServiceName condition simulated allowed and was denied for real, which failed the first v7 deploy.checkDomainAssociaion (typo in state machine + handler).templateType).src/shared/seeding/, src/shared/templates/); the old VR_Secure_API/src/createSites/services/templates + buildCollectionGroups/buildPages files no longer exist. VR_Secure_API keeps only integration helpers under services/HelperFunctions/ and a hardcoded countExpectedSeeds() per template, bump that count if you add seeds here.Load vivreal-workflow:verification-discipline: a zero is only evidence once the same query returns a known hit. Its founding example is this repo: a git grep ... origin/stable printed nothing and was reported as "nothing invokes the thumbnail Lambda", because Vivreal_EventHandler has no origin/stable (the invoke was in markSiteLive). Resolve refs against git branch -r first, and remember that an empty CloudWatch log group can mean "never invoked" rather than "never fails".
event-handler 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.
StartExecution ARN format for triggering; DescribeExecution/StopExecution use a different ARN format (:execution: vs :stateMachine:), common gotcha.markSiteFailed step must be idempotent and clean up partial Amplify/Route53 resources.deploying (createSiteCollectionData.js) → live (markSiteLive/index.js) | failed. sync_conflict is dead (no writer in src/ since the 2026-07-15 channel move), and there is NO PROVISIONING status.site.collectionGroups is non-empty (seedCollections/index.js); CreateBranchCommand is wrapped in try/catch for retry safety.domainOrders collection (src/shared/db/domainOrders.js). Transfer orders use orderType: 'transfer' + 9 transfer statuses (encrypted authCode); domainPurchaseReconciliation also sweeps stuck transferring orders (Lambda-crash recovery via Route53 ListOperations); refundTransferFee cancels the Stripe sub on a $0 transfer refund.env | grep -e VAR >> .env.production lines are an allowlist, and it splits in a way that fails silently: next build sees the whole Amplify env, the running server sees only .env.production. The ISR runbook's operator step "refresh each app's STORED buildSpec with aws amplify update-app --build-spec" (vivreal-hq/docs/projects/isr-migration/phase-3-result.md) was never run on vivreal (<vivreal-io-amplify-app-id>), Example Diner (<diner-amplify-app-id>) or Example Comedy Club (<comedy-club-amplify-app-id>); the real app ids are in vivreal-hq docs/projects/aws-cleanup-inventory.md. All three had SITE_RENDER_MODE=isr on stable, so home was prerendered as ISR while the runtime ran the Templates gate off. On vivreal.io every regeneration failed and re-served the old page, so edits showed on every no-store page and never on home. The two customer sites' compute logs held DYNAMIC_SERVER_USAGE render errors over the ten days before the fix (Example Comedy Club 314, about 32 a day; Example Diner 47; every error on either site that names a route names /robots.txt, /sitemap.xml, /icon or /apple-icon, and each of those routes calls the render-mode gate as its FIRST statement), consistent with the same failure; after the fix a forced-refresh probe regenerated every gated route on both sites with zero errors, and Example Grain Co, whose stored spec always had the grep, logged none of these errors over the same ten days. The day went to data theories before anyone compared the stored spec with the env. Mechanism and probe signature: vivreal-templates-knowledge "ISR render mode".aws amplify update-app --build-spec file://<spec> with ONLY --build-spec (line added right after the REVALIDATE_WEBHOOK_SECRET grep); assert the stored spec equals the intended file and both hashes are unchanged, because an env write REPLACES the whole map; then start-job --job-type RELEASE --commit-id <the commit already deployed>, so the spec is the only change. vivreal a numbered Amplify job, Example Diner a numbered Amplify job, Example Comedy Club a numbered Amplify job. Afterwards a read-only sweep of every app in the account found all five Templates apps grepping SITE_RENDER_MODE (isr on those three, unset and therefore consistent on the other two). Example Grain Co (<grain-co-amplify-app-id>, real id in vivreal-hq docs/projects/amplify-site-cleanup-2026-08-31/plan.md, a separate AWS account, us-east-2, AWS profile examplegrainco) was checked separately: it already had the grep, and it logged zero gate errors over ten days while the two unfixed sites logged 47 and 314, which is the cleanest evidence for the cause. It still held a legacy plain-text NODE_AUTH_TOKEN app env var although its builds read SSM; removed 2026-09-16 (other keys hash-checked), and a numbered Amplify job rebuilt from SSM. Every Templates app now passes a key-by-key audit: every env key grepped, every canonical key grepped, no shadowing, TTL 300, revalidate secret present. canonicalEnv.js still calls the key "Not read by Vivreal_Templates yet"; that comment is stale, Templates reads it in src/lib/renderMode.ts.s3://vivreal-site-previews, every site's deployment.previewImageKey null, and the portal correctly drawing its initials placeholder. A content change never redeploys a site, so this would never have healed on its own. Whenever you add a capability that hangs off a lifecycle transition, ask what fires it for the population that has already made that transition. Closed by #64, a daily siteTileSweep cron that walks every tenant and asks the existing capture for a shot of every live site (vh-site-deployment-siteTileSweep, rule siteTileSweep-daily, daily; no new IAM). Confirmed working in walk 10, where the Vivreal site now carries deployment.previewImageKey: site-previews/<siteId>/tile-<hash>.jpg written by a system write between two versions.webhookDelivery/main.js in VR_Secure_API, because vivreal-webhook-delivery is SQS with one event-source mapping and a second consumer would steal messages rather than observe them. Daily costs about $0.06 a year at today's five live sites and roughly $12 a month at a thousand. Not worth touching a customer-facing delivery hot path for a cosmetic gain. (release-plan.md appendix 2026-09-06.)siteThumbnail/index.js:163-165 states VR_Secure_API is on schemas 1.46.0 when both its branches pin ^1.45.0. Harmless today (an undeclared previewImageKey was tested to survive hydration), but the strict: false override that comment justifies cannot be removed on the schedule it describes.#51 has MERGED: domainInformation.live_url no longer persists a raw *.amplifyapp.com host (that field is the third link in the origin chain, and a wrong value there makes a site advertise the wrong canonical). In this repo a merge deploys immediately, so every merge needs the owner. #46 (ports old renderer products arms into seeding) is still OPEN and needs a read before closing, because it is seeding behaviour rather than a version pin. (one-release-per-repo.md, "Not merged, deliberately".)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
27 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.npx claudepluginhub hillbombcreations/vivreal-skills --plugin vivreal-knowledge