Skip to content

Configuration reference

A repository is configured with one file, yomorai.config.yaml. This page explains how the file is found and validated, and then lists every key. The key tables are generated from the schema the code validates with (packages/schemas/src/config.ts), so they cannot describe a key that does not exist.

Host Where the configuration comes from
Cloudflare deployment yomorai.config.yaml, yomorai.config.yml, yomorai.config.json or .github/yomorai.yaml on the repository’s default branch. If there is no file, the configuration saved in the dashboard applies. The branch of a pull request is never read.
CLI (yomorai review) --config <path>, otherwise the first of the same four names in the working directory. With no file at all, a minimal built-in configuration is used and the output says so.
MCP server yomorai.config.yaml in the working directory, otherwise the same built-in configuration.

The file is data. Nothing in it is executed, and it holds no secrets: API keys and login credentials are referred to by name and stored elsewhere (see Self-hosting and Security).

yomorai init writes a commented starter file. Three complete files are in examples/.

The file is parsed as YAML (JSON is valid YAML) and validated as a whole. An invalid file is rejected with one message per problem, each naming the path of the key, for example authProfiles.staff.readOnly: production authentication profiles must declare readOnly: true. Nothing is guessed or silently dropped: unknown keys at the top level, in trust, in an authentication profile, in a scenario step and in a viewport profile are errors.

Rules that span more than one key:

  • Every name in defaultViewports, and in the viewports list of a route or scenario, must be a built-in profile or a key of viewports.
  • An authentication profile for production must declare readOnly: true.
  • An authentication profile with mode: authenticated needs a login flow.
  • Every origin of an authentication profile must be in the origins of the profile’s environment.
  • Every authProfile named by a route or scenario must exist in authProfiles.
  • Scenario ids are unique.
  • The URL of a static discovery source must have an origin from that environment’s origins.

Check a file without running a review:

Terminal window
node apps/cli/src/bin.ts doctor --config path/to/yomorai.config.yaml

A deployment also validates a configuration through POST /api/repos/:owner/:repo/config/validate, which the dashboard’s configuration editor uses.

version: 1
environments:
production:
origins: [https://app.example.com]
discovery:
- type: static
url: https://app.example.com
preview:
origins: [https://preview.example.com]
discovery:
- type: github-deployments

Everything else has a default, shown in the tables below.

  • Preview origins and globs. origins are exact origins, not patterns. A preview system that gives every pull request its own hostname needs each hostname listed, or a stable preview alias. This is a limitation of this release.
  • safeRequests apply to production only. Preview is never guarded, because a preview is expected to be disposable. If your preview shares a database with production, treat it as production.
  • Models are optional and have no default identifier. A configured model that the provider does not offer is an error reported by yomorai doctor, never replaced by another model.
  • budgets.prices replaces the built-in price table as a whole. The built-in table and the date it was checked are listed in Self-hosting.
  • retention.auditDays is validated but nothing deletes audit records in this release (the audit table rejects deletion).

Generated from packages/schemas/src/config.ts. Do not edit this block by hand; run tsx docs/scripts/generate-config-reference.ts.

Notation: [] is an item of a list, <name> an entry of a map, <env> is production or preview, <role> is visual or reasoning. A key marked required has no default; every other key may be left out. Unknown top-level keys are rejected.

Types: path is a string starting with /; id is 1 to 64 characters from A-Z a-z 0-9 _ . : -; date is YYYY-MM-DD; URL is an absolute URL.

Key Type Default Description
version 1 required Format version of the file. Must be 1.
Key Type Default Description
triggers object Which pull-request events create a review. A created review still waits for approval.
triggers.events ("opened" | "reopened" | "ready_for_review" | "synchronize")[] ["opened", "reopened", "ready_for_review", "synchronize"] Pull-request actions that create a review.
triggers.baseBranches string[] [] Globs over the base branch. Empty: every base branch.
triggers.paths string[] [] Globs over changed file paths; at least one changed file must match. Empty: no path filter. When paths are configured and the changed paths are not known, no review is created.
triggers.labels string[] [] The pull request must carry at least one of these labels. Empty: no label filter.
triggers.includeDrafts boolean false Create reviews for draft pull requests.
Key Type Default Description
trust object Who may approve a review. There is no setting that runs a review without an approval.
trust.minApproverPermission "write" | "maintain" | "admin" Lowest repository permission that may approve. When omitted: maintain on organization repositories, admin on user-owned ones.
trust.allowSelfApproval boolean false Let the author of a pull request approve its review.
trust.forks object Policy for pull requests from forks.
trust.forks.allow boolean true Allow reviews of fork pull requests (they still need approval). false refuses the approval.
trust.forks.allowAuthenticatedProfiles boolean false Let scenarios of a fork pull request use authentication profiles. false marks those scenarios not_authorized.
Key Type Default Description
environments object required The two environments a review compares. Both are required.
environments.<env> object required One environment: production (the baseline, read-only) or preview (the pull request’s deployment).
environments.<env>.origins string[], at least 1 required Origin allowlist: https://host[:port] with no path (http only for localhost and 127.0.0.1). A deployment URL or top-level navigation outside it is refused.
environments.<env>.discovery object[], at least 1 required How the deployment is found. Sources are tried in order.
environments.<env>.discovery[].type "github-deployments" | "comment" | "cloudflare-pages" | "cloudflare-workers" | "static" required The discovery source.
environments.<env>.discovery[].environment string Glob over the GitHub deployment environment name. Omitted: any environment. Only with type: github-deployments.
environments.<env>.discovery[].author string Login of the commenting account. Omitted: only comments from bot accounts are read. Only with type: comment.
environments.<env>.discovery[].pattern string required Regular expression applied to the comment body; its first capture group is the URL. Only with type: comment.
environments.<env>.discovery[].accountId string required Cloudflare account id. The lookup needs the CLOUDFLARE_API_TOKEN secret. Only with type: cloudflare-pages.
environments.<env>.discovery[].project string required Cloudflare Pages project name. Only with type: cloudflare-pages.
environments.<env>.discovery[].accountId string required Cloudflare account id. The lookup needs the CLOUDFLARE_API_TOKEN secret. Only with type: cloudflare-workers.
environments.<env>.discovery[].script string required Cloudflare Workers script name. Only with type: cloudflare-workers.
environments.<env>.discovery[].url URL required A fixed URL. Its origin must be in origins. Only with type: static.
environments.<env>.readiness object How a discovered deployment is checked before it is used.
environments.<env>.readiness.paths path[] ["/"] Paths that must respond before the review starts.
environments.<env>.readiness.timeoutSeconds integer 5–1800 300 How long to wait for the deployment to become ready.
environments.<env>.readiness.buildIdPath path Path returning the deployed commit SHA as text or as JSON {"sha": "..."}. Lets a review confirm that the preview is the pull request’s head commit.
environments.<env>.safeRequests object[] [] State-changing requests that are known to change nothing and may be sent in production. Every other non-GET/HEAD/OPTIONS request to production is blocked. Has no effect in preview.
environments.<env>.safeRequests[].method "POST" | "PUT" | "PATCH" | "DELETE" required HTTP method of the allowed request.
environments.<env>.safeRequests[].url string required Glob over the full URL, for example https://app.example.com/api/search*.
environments.<env>.safeRequests[].reason string required Why the request is safe. Required, so the allowlist documents itself.
environments.<env>.seedSets id[] [] Names of seed data sets and test identities this environment provides. A scenario that requires a name missing here is reported precondition_unavailable for that environment.
Key Type Default Description
routes object Which routes exist and which matter most.
routes.discover ("filesystem" | "sitemap")[] ["filesystem"] Automatic route discovery: from the source tree (filesystem) and/or the deployed sitemap.
routes.framework "auto" | "next" | "react-router" | "astro" | "sveltekit" | "none" "auto" Router convention used to read routes from the source tree.
routes.appDir string "." Directory of the application inside the repository.
routes.include object[] [] Routes named explicitly.
routes.include[].path path required Route path, starting with /.
routes.include[].name string Display name.
routes.include[].authProfile id Authentication profile (a key of authProfiles) needed to open the route.
routes.include[].viewports id[] Viewport profiles for this route. Omitted: defaultViewports.
routes.include[].critical boolean false Always visit this route, whether or not the change is known to affect it.
routes.include[].performance boolean false Measure this route with Lighthouse (subject to budgets.limits.maxPerformanceRoutes).
routes.include[].interactionForInp step[] Steps performed inside a Lighthouse timespan so that INP can be measured. Without it INP is reported as not measured.
routes.include[].requires id[] [] Seed sets the route needs (see environments.<env>.seedSets).
routes.exclude string[] [] Globs over route paths, or over the source files that define routes, that are left out of the route map.
Key Type Default Description
scenarios object[] [] Scripted scenarios, run in both environments.
scenarios[].id id required Unique identifier.
scenarios[].name string Display name.
scenarios[].route path required Route the scenario starts on.
scenarios[].steps step[], at least 1 required What to do. Evidence is captured at every checkpoint step and once more at the end.
scenarios[].viewports id[] Viewport profiles. Omitted: defaultViewports.
scenarios[].authProfile id Authentication profile (a key of authProfiles).
scenarios[].requires id[] [] Seed sets the scenario needs.
scenarios[].critical boolean true Raise the scenario’s priority when the scenario limit forces a selection.
Key Type Default Description
viewports map {} Custom viewport profiles, by name. The built-in profiles are listed below.
viewports.<name> object One viewport profile.
viewports.<name>.width integer 240–3840 required Width in CSS pixels.
viewports.<name>.height integer 240–3840 required Height in CSS pixels.
viewports.<name>.deviceScaleFactor number 1–4 1 Device pixel ratio. A profile named like a built-in one replaces it, for example mobile-390 at 3 (built in: 2). See concepts.
viewports.<name>.isMobile boolean false Emulate a mobile device (meta viewport, mobile layout).
viewports.<name>.hasTouch boolean false Emulate touch input.
viewports.<name>.userAgent string User-agent string. Omitted: the browser’s own.
Key Type Default Description
defaultViewports id[] ["desktop-1440", "mobile-390"] Viewport profiles used when a route or scenario names none. Each must be built in or defined in viewports.
Key Type Default Description
authProfiles map {} Authentication profiles, by name. The credentials themselves are never in this file; they are stored encrypted in the deployment.
authProfiles.<name> object One profile.
authProfiles.<name>.mode "authenticated" | "human_assisted" required authenticated: a scripted login with stored credentials. human_assisted: the review pauses until a person signs in.
authProfiles.<name>.environment "production" | "preview" required The environment the profile belongs to. It is never used in the other one.
authProfiles.<name>.origins string[], at least 1 required Origins the credentials and the resulting browser state may be used on. Each must be in that environment’s origins.
authProfiles.<name>.readOnly boolean false Declares that the identity cannot change data. A production profile must set true.
authProfiles.<name>.login object The scripted login. Required when mode is authenticated.
authProfiles.<name>.login.path path required Path of the sign-in page.
authProfiles.<name>.login.steps step[], at least 1 required Steps that sign in. {{credentials.<key>}} in the text of a type step is replaced by the stored credential of that name.
authProfiles.<name>.login.success string required Selector that exists only when signed in.
authProfiles.<name>.humanTimeoutMinutes integer 1–1440 30 How long a human_assisted login waits for a person before the review fails with human_auth_timeout.
authProfiles.<name>.counterpart id The profile for the other environment that plays the same role. A scenario naming either profile then signs in on both sides and is compared; without one, a signed-in scenario runs in one environment only.
Key Type Default Description
analysis object Thresholds and exclusions of the deterministic analyses.
analysis.visual object Screenshot comparison.
analysis.visual.pixelThreshold number 0–1 0.1 Per-pixel colour distance, 0 to 1, above which a pixel counts as different.
analysis.visual.ignoreRatio number 0–1 0.0005 Share of differing pixels at or below which two screenshots are treated as identical.
analysis.visual.shiftPx number ≥ 0 4 Smallest movement of an element, in CSS pixels, reported as a layout shift.
analysis.visual.masks object[] [] Regions excluded from comparison. Every mask is listed in the report.
analysis.visual.masks[].selector string required CSS selector of the region.
analysis.visual.masks[].reason string required Why it is masked. Required.
analysis.visual.dynamicDetectors boolean true Detect dynamic content (dates and times, <time>, video, canvas, embedded frames, live regions, ad slots, carousels) and mask it automatically.
analysis.visual.maxScreenshotHeight integer 1000–20000 10000 Full-page screenshots are cut at this height in pixels; a cut is recorded with the evidence.
analysis.readiness object When a page counts as ready after a navigation and after each step, before anything is judged or captured. The signal that ended each wait is recorded with the step outcomes.
analysis.readiness.mode "events" | "legacy" "events" events waits for a configured application signal, otherwise for network idle observed from request events. legacy restores the fixed quiet windows of earlier versions (400 ms after a navigation, 250 ms after a step).
analysis.readiness.appSignal boolean false Wait for window.__APP_READY__ === true instead of network idle.
analysis.readiness.selector string Wait for this selector to be visible instead of network idle.
analysis.readiness.quietMs integer 0–2000 150 How long the network must stay idle, with no request in flight and none started, to count as idle.
analysis.readiness.maxWaitMs integer 500–60000 8000 Longest wait after a navigation. A page that never becomes ready is captured afterwards, and the wait is recorded as timeout.
analysis.performance object Lighthouse comparison.
analysis.performance.runs integer 1–15 5 Measurements per environment and form factor. The medians are compared.
analysis.performance.thresholds object Smallest change of each metric that is reported as a regression or an improvement.
analysis.performance.thresholds.lcpMs number ≥ 0 250 Largest Contentful Paint, milliseconds.
analysis.performance.thresholds.fcpMs number ≥ 0 200 First Contentful Paint, milliseconds.
analysis.performance.thresholds.tbtMs number ≥ 0 100 Total Blocking Time, milliseconds.
analysis.performance.thresholds.speedIndexMs number ≥ 0 300 Speed Index, milliseconds.
analysis.performance.thresholds.inpMs number ≥ 0 50 Interaction to Next Paint, milliseconds.
analysis.performance.thresholds.cls number ≥ 0 0.03 Cumulative Layout Shift, unitless.
analysis.performance.thresholds.bytesRatio number ≥ 0 0.05 Transfer size, as a ratio of the production value (0.05 is five percent).
analysis.runtime object Console, page-error and network comparison.
analysis.runtime.ignore object[] [] Runtime events that are not reported as findings. Ignored events are still counted in the report.
analysis.runtime.ignore[].pattern string required Case-insensitive fragment of the event message or URL, in which * matches anything; written as /…/flags it is a regular expression.
analysis.runtime.ignore[].reason string required Why it is ignored. Required.
analysis.destructiveDenylist string[] ["delete", "remove", "destroy", "pay", "purchase", "buy", "checkout", "place order", "send", "submit order", "unsubscribe", "transfer", "withdraw", "cancel subscription", "deactivate", "close account", "publish", "invite"] Fragments of accessible names. A control whose name contains one is never activated in production.
Key Type Default Description
models object Optional models. Without any, findings rest on deterministic analysis only.
models.<role> object One model role: visual describes visual differences from screenshots; reasoning infers intent and proposes classifications.
models.<role>.provider "workers-ai" | "deepseek" | "openai-compatible" required Which adapter talks to the model.
models.<role>.model string required The provider’s model identifier. There is no default: yomorai doctor checks that it exists.
models.<role>.endpoint URL Base URL of the API. Required for openai-compatible; optional for the others.
models.<role>.apiKeySecret string matching ^[A-Z][A-Z0-9_]*$ Name of the secret (or environment variable) that holds the API key. Never the key itself. Defaults by provider: DEEPSEEK_API_KEY, CLOUDFLARE_API_TOKEN, MODEL_API_KEY.
models.<role>.maxOutputTokens integer 64–32000 Upper limit of generated tokens per call of this role; a call profile’s limit (models.profiles) takes precedence.
models.<role>.fallback object A model used only after this role’s model is unavailable through all its attempts. Every finding, intent record and model I/O record it produces names it.
models.<role>.fallback.provider "workers-ai" | "deepseek" | "openai-compatible" required Which adapter talks to the fallback model.
models.<role>.fallback.model string required The fallback model’s identifier. It needs a price (budgets.prices) like any other.
models.<role>.fallback.endpoint URL Base URL of the fallback model’s API.
models.<role>.fallback.apiKeySecret string matching ^[A-Z][A-Z0-9_]*$ Name of the secret holding the fallback model’s API key.
models.judge object The evaluation judge. Its model family must differ from the reasoning model’s; when it shares the visual model’s family its scores on visual descriptions are advisory.
models.judge.provider "workers-ai" | "deepseek" | "openai-compatible" required Which adapter talks to the judge.
models.judge.model string required The judge’s model identifier.
models.judge.endpoint URL Base URL of the judge’s API.
models.judge.apiKeySecret string matching ^[A-Z][A-Z0-9_]*$ Name of the secret holding the judge’s API key.
models.retention "full" | "metadata_only" | "none" "metadata_only" What is kept of each model call: prompts and responses (full), only model, token counts and outcome (metadata_only), or nothing (none).
models.maxRetries integer 0–3 1 How often a model call is repeated after output that fails validation. After that the output is discarded and the review continues without it.
models.maxConcurrentCalls integer 1–8 3 Independent model calls of one role (classification batches) in flight at once. Results are the same as one after another; each call is reserved and recorded on its own.
models.profiles map {} How each call site calls its model: intent, visual, classify, draft, judge, repair (retries after invalid output) and fallback. Anything left out uses the defaults, which favour speed.
models.profiles.<name> object The settings of one call site.
models.profiles.<name>.effort string matching ^[a-z]+$ Reasoning effort as the model documents it, e.g. low for @cf/qwen/qwen3.8-27b or none for @cf/google/gemma-4-26b-a4b-it; none for a model without reasoning control. A value the model does not document is a configuration error. Default: the lowest documented effort.
models.profiles.<name>.maxOutputTokens integer 64–32000 Output limit of the call. Default: about 1.5 times the measured 95th percentile for the call site. A reply cut off by it is repaired once with double the limit.
models.profiles.<name>.temperature number 0–2 Sampling temperature. Default 0.
models.profiles.<name>.timeoutMs integer 1000–600000 Per-call timeout in milliseconds.
models.profiles.<name>.retries integer 0–3 Attempts after the first for invalid output or an unavailable provider. Default: models.maxRetries.
models.profiles.<name>.structuredOutput "json_schema" | "json_object" | "none" json_schema sends the reply schema, json_object asks for JSON, none for neither. Default: json_schema where the model documents it. Replies are always validated.
models.redaction object What is filled in an image before any vision call, besides analysis.visual.masks: an image whose sensitive regions cannot be determined is not sent (image_not_redactable).
models.redaction.selectors string[] ["input[type=password]"] Elements whose pixels are never sent to a model.
models.redaction.patterns string[] [] Further sensitive patterns (regular expressions) for page text; matching elements are filled like secrets.
models.gateway object Route Workers AI requests through this Cloudflare AI Gateway and cache identical requests. Requests under retention none skip the cache; a cached answer is recorded as cached.
models.gateway.id string matching ^[a-z0-9][a-z0-9-]{0,63}$ required The gateway’s id.
models.gateway.cacheTtlSeconds integer 60–2592000 3600 How long an identical request is answered from the cache, in seconds (the gateway’s minimum is 60).
Key Type Default Description
report object How findings become a check conclusion.
report.failOn "critical" | "high" | "medium" | "low" | "info" "high" A confirmed regression or unintended change at or above this severity fails the check.
report.minCompletenessForHigh number 0–1 0.9 Evidence completeness below which a high or critical severity is lowered to medium.
report.minConfidenceForHigh number 0–1 0.7 Confidence below which a high or critical severity is lowered to medium.
report.costFooter boolean false Add one line with the review’s estimated cost (by category, at the dated price table, with the statement that the provider’s billing is authoritative) to the pull-request comment.
Key Type Default Description
retention object How long stored data is kept, in days.
retention.screenshotsDays integer ≥ 1 30 Screenshots and diff images.
retention.domDays integer ≥ 1 30 DOM and accessibility snapshots, focus order, audit results, step outcomes, runtime events and resource timings.
retention.performanceDays integer ≥ 1 90 Performance measurements.
retention.modelIoDays integer ≥ 1 14 Stored model input and output.
retention.auditDays integer ≥ 90 365 Minimum retention of audit records; values below 90 are rejected. This release never deletes audit records, so the value is validated but has no further effect.
Key Type Default Description
budgets object Spending limits. Each metered operation reserves its estimated maximum cost against all three before it starts.
budgets.perReviewUsd number > 0 1 Limit for one review.
budgets.perRepositoryMonthlyUsd number > 0 50 Limit for one repository per calendar month (UTC).
budgets.perInstallationMonthlyUsd number > 0 200 Limit for the whole GitHub App installation per calendar month (UTC).
budgets.limits object Hard limits on the size of one review.
budgets.limits.maxScenarios integer 1–200 25 Scenarios per review. Scenarios beyond it are left out by priority and the review is reported as partial.
budgets.limits.maxViewports integer 1–10 2 Viewport profiles per route or scenario; further profiles in a list are not used.
budgets.limits.maxPerformanceRoutes integer 0–50 3 Routes measured with Lighthouse: the first ones in routes.include with performance: true. 0 turns performance measurement off.
budgets.limits.maxDurationMinutes integer 1–240 30 A review still running after this time is cancelled with duration_limit.
budgets.limits.maxDerivedPerRoute integer 0–10 2 Scenarios derived from controls discovered on a page, per route and viewport, taken in turn from forms, controls, selects and links. The rest is listed as not run with reason per_route_limit.
budgets.limits.deriveOn "all_routes" | "changed_routes" "all_routes" Where interaction scenarios derived from a page (forms, dialogs, filters, links) run. all_routes (default): on every planned route. changed_routes (opt-in, faster): only on routes with a changed file in their import graph, and on every route when a change is global (global CSS, design tokens, configuration, manifests, lockfiles, build configuration, routing, shared state, the application shell) or cannot be placed. The other routes still get their load scenario; the interaction scenarios not run are listed as route_not_changed with the reason, and the report says which routes were limited. See concepts.
budgets.limits.maxConcurrentExecutions integer 1–16 Browser executions of one review in flight at once, each in its own context. Unset, the host decides: 4 locally, 2 on CI runners. 1 runs them one after another.
budgets.prices object Prices that replace the built-in, dated price table’s entries they name (in micro-dollars, rounded up per entry). A model with no price is never called (unpriced_operation). Omitted: the built-in table and its date are used.
budgets.prices.date date required Date the prices were checked (YYYY-MM-DD). Shown with every cost.
budgets.prices.browserHourUsd number ≥ 0 required Price of one browser hour.
budgets.prices.perfRunnerHourUsd number ≥ 0 required Price of one hour of the performance runner.
budgets.prices.storageGbMonthUsd number ≥ 0 required Price of one gigabyte of evidence storage per month.
budgets.prices.models map {} Model prices, by model identifier.
budgets.prices.models.<model> object Prices of one model.
budgets.prices.models.<model>.inputPerMTok number ≥ 0 required US dollars per million input tokens.
budgets.prices.models.<model>.outputPerMTok number ≥ 0 required US dollars per million output tokens.
Key Type Default Description
cache object Reuse of production captures across reviews (the production-baseline cache).
cache.productionTtlMinutes integer 0–240 30 Minutes a production capture may be reused by a later review, on an exact key match while production still reports the same commit through readiness.buildIdPath. 0 turns reuse off.

Used by scenarios[].steps, authProfiles.<name>.login.steps and routes.include[].interactionForInp. Unknown keys in a step are rejected.

action Other keys What it does
navigate path: path Open a path of the environment under review.
waitFor target?: target; state?: "visible" | "hidden" | "ready", default "visible"; timeoutMs?: integer 100–60000 Wait for an element to be visible or hidden, or, without a target, for the page to be ready.
scroll to?: "top" | "bottom"; target?: target Scroll to the top or bottom of the page, or to an element.
click target: target Click an element.
hover target: target Move the pointer over an element.
type target: target; text: string; clear?: boolean, default true Type text into a field. clear empties it first.
select target: target; value: string Choose an option of a select control by value.
check target: target; checked?: boolean, default true Set a checkbox or radio button.
press key: string; target?: target Press a key, optionally with an element focused.
submit target: target Submit the form the element belongs to.
assert expect: { kind: "visible", target: target } or { kind: "hidden", target: target } or { kind: "text", target: target, contains: string } or { kind: "url", matches: string } or { kind: "dialog", open: boolean } Check an expectation; a failed assertion is recorded as a step outcome.
checkpoint name: id Capture evidence here under the given name.

How a step finds its element. Exactly one form per target.

Form Finds the element by
{ role: string, name?: string, exact?: boolean } ARIA role, optionally with its accessible name (exact: true for an exact match)
{ label: string } the text of its label
{ testId: string } its data-testid attribute
{ placeholder: string } its placeholder text
{ text: string } its visible text
{ css: string } a CSS selector; the least stable form, use it last
Name Width Height Scale Mobile Touch
desktop-1440 1440 900 1 no no
laptop-1280 1280 800 1 no no
mobile-390 390 844 2 yes yes

The block between the two marker comments is written by docs/scripts/generate-config-reference.ts, which walks the JSON Schema produced from the RepoConfig zod schema.

Terminal window
node_modules/.bin/tsx docs/scripts/generate-config-reference.ts # rewrite the block
node_modules/.bin/tsx docs/scripts/generate-config-reference.ts --check # exit 1 if the block is stale

Run both from the repository root. The script fails when the schema has a key without a description, or when a description is left over for a key that no longer exists. verification/acceptance/docs.test.ts runs the same check, so a schema change without a regenerated reference fails the test suite.