Repository navigation
v0.63.0
Two moderate security fixes — upgrade: the public agent checkout no longer takes a payment without
creating an order (CW-2026-010), and a password-reset link no longer leaves its token in the address
bar, where GA4 sent it to Google (CW-2026-011). A deleted product can no longer be bought, and
sign-up, password reset and the login link are harder to script against. For a move from WordPress
or WooCommerce, the engine adds a migration board whose agent tools freeze the old sitemap and check
that every old URL answers on the new site; it serves a stored permalink at its own address once
urls.permalinks is on, lets a parent category list its subcategories' products and a product show
in each of its categories, and can plan — without writing anything — what importing a live
WooCommerce catalogue would do.
🔒 Security
- The agent checkout no longer takes a payment without an order (CW-2026-010, B84; moderate).
/api/commerce/agent-checkout— public, behind no flag, and named ascheckoutEndpointon every
/api/products/searchrow — opened a Stripe payment page for a product and created no order. The
buyer could pay, the Stripe webhook skipped the payment because no order was attached to it, the
shop recorded nothing, and the buyer landed on "page not found". The route now answers
410 Goneto every request before it reads the product or contacts Stripe, with a problem+json
body (code: "agent_checkout_retired"). On a shop where the ACP checkout can take the payment —
acp.enabledon andACP_PAYMENT_COMPLETION=1set — that body points to it
(POST /api/acp/v1/checkout_sessions, which creates the order with the payment and refunds the
payment if the order fails); on any other shop, to the product page. The search
rows no longer carrycheckoutEndpoint. If your shop has Stripe connected, look in the Stripe
dashboard for Checkout Sessions whose metadata hassource: agentic_commerceand aproductId:
each paid one is a payment with no order in the shop. - A password-reset link no longer leaves its token in the address bar, where GA4 sent it to Google
(CW-2026-011, RESET-TOKEN-URL-LEAK; moderate). The emailed link opened
/account/reset-password?token=…, and the page ran with the token in its URL — in a browser
signed in to the shop, since a signed-out visitor was sent to the login page without it
(PASSWORD-RESET-GATE below opens the page to everyone). Every script on the page can read that,
and withanalyticsGa4on, GA4's page view sends the whole URL to Google — Consent Mode's
cookieless ping carries it even when the visitor refused analytics. The token sets a new password
on any account, an admin's included, for an hour, so anyone who could read the GA property could
have used it. Now the page answers a?token=visit with a server-side redirect before any HTML
exists; a new route,/api/account/reset-password, moves the token into an httpOnly,
SameSite=Laxcookie (Secure in production) that is sent only to the reset page and lives 30
minutes; and the browser lands back on the page with no query. The form no longer carries the
token in a hidden field: the server action reads it from the cookie, answers an expired or used
token exactly as before, and drops the cookie after a successful reset. The emailed link is
unchanged, so links already sent keep working, under eitherurls.localePrefix. Once the cookie
has expired the page asks for a new link, as it does for a link without a token; the emailed link
still works for its hour and can be clicked again. Not closed here: the server's own request log
still sees the token, as it did before — the proxy logs every full URL. - A product the shop deleted can no longer be bought (CART-DELETED-PRODUCT; low). Deleting a
product hid it from the catalogue but did not take it out of sale. The storefront's add-to-cart
action takes a product id from the browser and never asked whether that product was deleted; a line
already in a cart stayed in the cart page's total; and checkout created the order and the Stripe
payment for it. Anyone holding a deleted product's id — a cart from before the deletion, a product
page left open in a tab — could still pay for it at the price it had, also when it was deleted
because that price was wrong. Listed under Security because deleting is how a shop stops a sale, and
a visitor with no account could get past it. Now adding a deleted product, or an id no product has,
is refused with the answer the customer chat tool already gave for one (Product not found: …; the
cart action returnscode: "not_found"), and the add-to-cart button says "No longer available"
instead of "Added to cart". A deleted line already in a cart drops out of the cart page, the
checkout summary, the header count, the agent cart tools and the cart-recovery mail. It stays in the
database, so restoring the product brings it back. Checkout refuses a cart that still holds one
before it creates the order or contacts Stripe (code: "PRODUCT_UNAVAILABLE"), names the product,
takes the line out of the cart, and the next attempt charges the cart the customer sees; when nothing
is left, the empty checkout page says the products were removed instead of only "Your cart is
empty". The stock
decrement inside the order transaction also requires a live product, so a product deleted in the
moment between is refused there, still before Stripe, as sold out. ACP checkout completion
(ACP_PAYMENT_COMPLETION=1) checks the session's products before it charges the shared payment
token and answers409acp_line_item_not_found; a deletion after that check rolls the order back
and refunds the payment. Not changed: an order placed before the product was deleted is paid and
fulfilled as usual, and the Stripe webhook does not check again, because the order was valid when it
was placed. - Customer sign-up is guarded against bots, and its answer no longer says who is a customer
(AUTH-REG1; low)./account/signuphad no rate limit and no bot check, and answered a known
address with "A user with this email already exists" — so anyone could script accounts or ask the
form which addresses shop at you. Now a hidden field that only a bot fills gets the normal success
answer and creates nothing; a form sent less than three seconds after it appeared is refused with a
message, and the person simply sends it again; and a known address gets exactly the answer a new one
gets, after the same password-hashing work — both land on the login page. On top, sign-up allows five
attempts per client IP and then one every five minutes; a typo or a too-quick send does not use one
up. The IP is the onetrustedClientIpresolves: on Vercel, or self-hosted with
CARTWRIGHT_TRUST_PROXY_IP_HEADERSset behind a proxy that overwrites the header. Without either the
client cannot be told apart, and the per-IP limit stays off rather than throttle every customer
through one shared bucket. The limit is held in memory per server instance, like the contact form's.
Not closed here: with no email verification, someone can still sign up with an address and try to log
in with the password they chose — the limit slows that down. The sign-up and login forms also now
post: a click that landed before the page had finished loading used to submit them natively as
GET, which put the password in the address bar, the browser history and the server's access log. - A
CRON_SECRETof nothing but whitespace no longer counts as set (CRON-AUTH-d; low). The cron
gate, the setup guide and the two machine-only admin routes (/api/admin/run-pending-migrations,
/api/admin/reset-demo-data) only checked that the variable was not empty. A secret of spaces or
tabs therefore matched no request — HTTP strips them from the end of a header — so production
answered every call, Vercel Cron's included, with401instead of the503that says the secret is
missing, the jobs never ran, and the admin said "CRON_SECRET is configured". A secret of
non-breaking spaces (or of U+0085, whichString#trimleaves) was worse: that character survives
the wire, soBearerfollowed by one was a bearer anyone could send — to the cron jobs and to the
two admin routes, one of which wipes and reseeds the catalogue. The value is now trimmed wherever it
is read, and a blank one is unset: a production deploy refuses its cron calls with503and logs
why, the two admin routes answer500"not configured", and the setup guide lists the secret as
missing. A real secret with a stray space, tab or newline around it is compared by its trimmed
value, and so is the token a caller sends afterBearer: a job that sends the variable exactly as
it is set keeps working, and so does one that sends it without the pad. For a secret made with
openssl rand -hex 32the one difference is that whitespace around the token is ignored. The
token is the caller's own input, read before any auth, so anAuthorizationheader longer than
1,024 characters is refused with401without being trimmed or hashed. - The forgot-password form no longer says with its response time who is a customer
(AUTH-FORGOT-TIMING; low). Its answer was already the same for every address, but it came back
only after the work: an unknown address straight after the account lookup, a known one after a
reset token was written and the email was handed to the mail provider — a delay anyone could
measure. Now the lookup, the token and the email run after the answer has been sent (after()), so
every address is answered once the form is checked and the request limits are counted. A failed
send is still only logged, as before. The form's per-IP limit keys on the trusted client address,
as sign-up's does (INQ-IP-TRUST below). - The admin chat gives a local or unknown model only the tools its tier allows
(ADMIN-TIER-ENFORCE; low)./admin/integrationsshows each model a capability tier — read-only,
low-risk writes or all — and says "tools run read-only" for a model id the engine does not know,
but the chat handed every model all of its admin tools. A small Ollama model or an unknown id was
offeredproducts.delete, settings and every other write. Those that need the plan card still
waited for your click, butproducts.attach_imageneeds none, so it attached an image straight
away. Now the chat offers a model only its tier's tools. A model that asks for an admin tool
outside its tier anyway is refused before anything runs: no plan card and no handler call, but an
audit-log row, and the error the model gets back names its tier. If you run a read-only model
(gemma4:e2b,gemma3:4b,llama3.2:3b) or one the engine does not know, the chat can now only
look things up: products, categories, pages, orders, discounts, analytics, the audit log and
settings. A low-risk-writes model (gemma4:e4b,gemma3:12b,qwen2.5:7b) can also create and
edit categories and pages, toggle a discount, import a Google Doc, and find and attach product
images; each of those needs your click on the plan card, except finding and attaching an image.
Everything else — deleting, creating or changing products, order status, shipping and branding,
the page builder and looks, importing redirects, the migration board's tools (MIGD-3) — now needs
an all-tier model. The Anthropic models in the dropdown, the Sonnet 4.5 and Opus 4.5 it used to
offer, and Sonnet 4.6 and Opus 4.7 (which have a capability row too) are all in the all tier, so
their chat offers exactly the same tools as before. - The contact form and password reset no longer take a client's own
X-Forwarded-Foras its
address (INQ-IP-TRUST; low). Both read the header's first hop raw. Next.js fills that header with the
connection's address only when a request has none, so on a self-hosted server without an
overwriting proxy a script could send a new value with every request, get a fresh limit each time
and never be stopped. They now use the same trusted client address as sign-up and the request
limits inproxy.ts: Vercel's own forwarded header on Vercel, and self-hosted the proxy's header
only withCARTWRIGHT_TRUST_PROXY_IP_HEADERS=true(or1). For the contact form that is every
route it posts to: the AI answer it asks for before sending (/api/support/triage, a paid model
call), its attachments (/api/contact/upload, when they are on) and the message itself
(/api/inquiries, with and without a database). Password reset now checks the address's limit
only after the visitor's, so a visitor already over its limit can no longer use up the limit of
other people's addresses. On Vercel nothing changes for a visitor.
Self-hosted, this changes the limits for everyone. WithoutCARTWRIGHT_TRUST_PROXY_IP_HEADERS
— with or without a proxy in front — the whole shop now shares one limit for each of these: the
contact form's messages (five, then one a minute), its AI answers (three, then one a minute; past
that a message goes straight to a person, without an AI answer), its attachments (six, then one
every two minutes) and password reset (ten, then one every six minutes). A single client can use
any of them up for everyone. The limits are held in memory per server instance, like sign-up's, so
with several instances each has its own shared limit. That is the price of closing the hole, and a
shared limit beats none: the contact form has no other spam brake, and without a database every
message is a mail to the owner. Behind a reverse proxy that overwritesX-Forwarded-For, set the
variable totrue(or1) when you pull this, and every visitor gets its own limit again. A
server that clients reach directly has no per-visitor limit that cannot be forged — setting the
variable there would trust the client's own header — so put a reverse proxy in front (a TLS setup
normally has one) and then set it. A production server that runs self-hosted without the variable
logs a warning once per server process, the first time a request takes this path (not under
pnpm dev). - A magic link is capped per client as well as per address (MAGICLINK-IP-DEAD; low). "Email me
a link" on the login page allowed three links per address every twenty minutes, but any number of
addresses from one client, so a script could make the shop send login mails to a list of strangers
from the shop's own mail account. Now one client gets ten links and then one every six minutes,
keyed on the addresstrustedClientIpresolves, as on sign-up: on Vercel, or self-hosted with
CARTWRIGHT_TRUST_PROXY_IP_HEADERSset. Without either the client cannot be told apart, and this
limit stays off rather than throttle every customer through one shared bucket. A client over the
limit is sent nothing, but sees the same "check your inbox" as everyone else, so the page does not
say the limit was hit — and its requests do not count against the address they name. Each send the
limit drops is logged as a warning, without the address or the IP, so an operator looking into a
link that never came can see it. The limit is held in memory per server instance, like the others.
Upgrading
Run pnpm install after pulling (the dependency moves under Changed). The three new migration
tables need pnpm db:push before you turn on migrationDashboard; with the flag off nothing reads
them, and no other change in this release needs a database step. If you saved Claude Sonnet 4.5
in /admin/integrations → AI, switch to claude-sonnet-5-5 before 30 Nov 2026 (TREND28-a).
Self-hosted behind a reverse proxy that overwrites X-Forwarded-For, set
CARTWRIGHT_TRUST_PROXY_IP_HEADERS=true (or 1) so every visitor gets its own contact-form and
password-reset limit again; without it the whole shop shares one (INQ-IP-TRUST). Nightly backups
need a private Blob store: if yours have been failing, add a private store's read-write token as a
Production-only BACKUP_BLOB_READ_WRITE_TOKEN and redeploy (docs/backup-restore.md); a shop whose
one store is private keeps backing up unchanged (BACKUP-CRON-500). A shop that syncs its products
from Google Sheets or restored a SitePack lists its products without variants under their sku from
the first feed fetch, and Merchant Center reviews them again as new items (FEED-SKU). If Stripe is
connected, look for paid agent-checkout sessions with no order (CW-2026-010);
/api/commerce/agent-checkout answers 410 now and is removed in the next release. A stored
permalink now answers at its own address once urls.permalinks is on (URL5-b), so the advice to
keep the option off on a live shop no longer holds — though nothing in the engine stores a
permalink yet.
Added
/admin/migrationlists every check a move from WordPress/WooCommerce has to pass before the
DNS switch, and counts how many of the required ones are green (MIGD-1a). Behind the new runtime
flagmigrationDashboard, default off: while it is off the page answers 404 and the nav entry is
gone. The board groups 42 checks — URLs, media, SEO, data, redirects, calculator, payment, mail and
DNS, adapters, automations, cutover — and marks the 14 required ones. "Ready for DNS switch: n/m"
counts a required check only while its latest run passed less than 24 hours ago on the current
URL snapshot and new site (and, for a measured pass, the current deploy — MIGD-3 below); skipped,
inconclusive and never-run checks stay in the denominator. One check runs today,url.parity,
through themigration.run_checkstool, and the checks a machine cannot settle alone are signed
off throughmigration.attest(both MIGD-3 below); the rest read "not run" until later releases
add them. Underneath: three new tables (MigrationProject,MigrationUrlMap,
MigrationCheckRun; hoptify'sMigrationJobis untouched), and a freeze of the old site's URL
list that previews without writing and, confirmed, replaces the list in one transaction under one
audit entry, refusing more than 20,000 URLs. Runpnpm db:pushbefore
turning the flag on; the canaries getprisma/turso-batches/2026-10-24-batch-migd.sqlafter batch A.- The migration dashboard's URL check has its engine: a status-first fetcher, a sitemap reader and
theurl.parityclassifier (MIGD-1b). Themigration.freeze_sitemapandmigration.run_checks
tools (MIGD-3 below) are their only callers, so withmigrationDashboardoff no site requests
anything new.migrationGet(lib/migration/fetch.ts) sends one GET withredirect: "manual",
only to hosts on its allowlist and through the SSRF guard oflib/import/safe-fetch.ts, which now
exportsassertResolvedAddressesPublic: a 3xx or 4xx is an answer with no page body, no response,
a 5xx or a 429 is inconclusive, and an empty 2xx is an error.crawlSitemapreads a sitemap index
and its urlsets with theirimage:locs, follows child sitemaps and redirects only on the root's
own origin — scheme, host and port, with an http root's upgrade to https as the one exception; one
anywhere else is reported and never requested — reads a sitemap whose root or any entry is not
closed as an error rather than a shorter list, and stops at 20,000 URLs.classifyUrlrequests
each frozen path on the new host (a source path that starts with//included), follows at most
three redirects without leaving its origin, and names the result: same, same-modulo-slash (a
warning), redirect (a pass only where a 301 is expected), chain, missing, gone, error or
inconclusive. A host that is down never fails a row, and a WooCommerce variation URL
(?attribute_pa_…) is a row of its own. - Agents can run the migration board: set it up, freeze the old sitemap, run the URL check and
sign checks off (MIGD-3). Five tools behind the runtime flagmigrationDashboard— while it is
off, each refuses with "Migration dashboard is disabled" before it reads anything. They take the
scopes keys already carry.migration.project_set(settings:write, confirm) stores the old and the
new site as origins; a new source drops the frozen URL map.migration.freeze_sitemap
(settings:write) crawls the old site's sitemap — Yoast's/sitemap_index.xmlunless you name
another one — and withdryRun: truereturns the plan without writing; confirmed, it freezes only
a crawl that read every sitemap.migration.run_checks(settings:read) runsurl.parity: each
call checks at most 120 URLs, four at a time, in about 45 seconds, and returns a cursor until the
run is done; until then the run reads inconclusive. A cursor does not carry a run across a new
freeze, a new target or a deploy — run again. A pass counts only for the URL snapshot and the new
site it measured: give the project another target and earlier passes and sign-offs stop counting;
set the first target back and they count again while under 24 hours old. A deploy makes earlier
measured passes stop counting too, but never a sign-off, which was not measured on a build; where no
build is known (local development) builds are not compared. Two sign-offs saved at the same moment
both survive: the later one reads the first back in instead of overwriting it.migration.status(settings:read) reads the
board and its "Ready for DNS switch" counter.migration.attest(settings:write, confirm)
records the owner's sign-off;cutover.switchedsigned off as a pass is the only thing that sets
the switch time. Every write is one transaction under one audit entry. The admin assistant can use
all five on an all-tier model (ADMIN-TIER-ENFORCE), with a confirmation card for the three
writes and none for a freeze's dry run. The shopper chat and voice cannot reach them. - The engine can read a live WooCommerce shop and say what importing its catalogue would do,
without writing anything (W21-live-1).lib/woo/reads the shop's public Store API andwp/v2
into one snapshot — GET only, through the site import's SSRF guard, retrying a 429 or 5xx three
times with backoff (or the wait the shop'sRetry-Afternames, in seconds or as a date) and
stopping at any other 4xx or a redirect — maps its categories and products onto the engine's
fields, and plans the import. Each row comes out as a create, an update, unchanged, a skip (edited
here since the last run; the edit is kept), a conflict (its slug, sku or permalink belongs to
another row, such as a CSV import, or both sides changed), an orphan (its parent is not in the
shop's lists) or blocked (it sits under a new category that conflicts). A shop that prices in
another currency than this one plans no product at all, and nor does one whose prices nobody has
said include VAT or not, or whose basis differs from this shop'spricesIncludeVat(the public
Store API does not reliably tell): each product is blocked as acurrencyMismatch,
taxBasisUnknownortaxBasisMismatch, the plan says so, and prices are never converted. Woo's
own minor unit sets the scale, so a shop priced in whole kroner still lands in øre. A product's
primary category is the deepest of its categories whose address is a prefix of the product's own;
a further category that is missing, an orphan or blocked is left off that product, with a warning.
A plain WordPress address (?product=x,?p=12, under whatever path WordPress is installed at)
is left unset, so the slug pattern applies. Names and descriptions arrive as plain text with every
HTML entity decoded once (æ,–,–). A shop whosewp/v2has no product
route, or closes it to guests, is read without the products' status and Yoast fields, and the plan
says so; with Yoast switched off only the Yoast fields are missing. Either way each missing field
keeps the value already stored here rather than being erased. Empty categories are read too, so a
category is never reported missing for having lost its last product. A row the shop no longer
lists is reported only when every page was fetched and the count matches the shop's total, and it
is never deleted. Nothing calls this yet: the run that writes, the script, images, variants, stock
and the admin tool are the next slices, so no shop behaves differently. It belongs to the webshop
module, so a scaffold without the shop does not carry it. - A parent category lists its subcategories' products, and the breadcrumb shows the whole path
(WP2-r1′). A shop with nested categories — a WooCommerce import puts products only in the
innermost ones — used to show an empty page for every parent. Now a category page lists the
products of the category and of every category below it, with the count and the product list data
(ItemList) to match, and the breadcrumb on category and product pages — the visible trail and
theBreadcrumbListdata — runs Home › All products › each parent › the category (› the product).
A shop whose categories are not nested renders exactly as before, and neither its product pages
nor its category pages read the category tree: a category page reads it only for a category that
has a parent or subcategories (the lookup that finds the category counts them), and only once the
lookup has found it, so a missing category's 404 never reads it either (WP2-TREE-READ-COST). Over
a subtree of more than 500 categories the page matches them through the parent chain instead of
one list of ids, which the database client refuses from about 1,000 values: the same products, in
one query of the same size however wide the tree. A category whose parents loop back on themselves
keeps the short trail instead of an endless one. Designs that draw their own product-page trail
(crema, halo) keep their short visible trail there, while the page'sBreadcrumbListdata carries
the whole chain. Nothing in the engine sets a parent yet (no admin field, tool, CSV or sitepack
column); the planned WooCommerce import will. - The catalogue's category filter, the agent search and the category counts follow the same tree
(WP2-r1′-b)./produkter?kategori=<parent>and thecategorySlugfilter of the public agent
toolproducts.searchnow match the products of the category and of every category below it —
the list the category page shows.products.searchanswers with the same fields as before, and
each product still names its own category.categories.listkeepsproductCountas the products
placed in the category itself and addsproductCountWithDescendantson a category that has
subcategories;includeEmpty: falseno longer drops a parent whose products all sit in its
subcategories./admin/kategoriershows a parent's count as "direct (total)". A shop whose
categories are not nested, and that files no product under an extra category (WP2-r2′ below),
gets the same answers from the same product query as before; what changes are the reads around
it: a filtered catalogue view reads the category list before its product query instead of beside
it, aproducts.searchcall withcategorySlugreads the category tree first, and both read the
linked categories (WP2-r2′). Over a subtree of more than 500 categories the filter follows each
category's parent instead of listing every id, because the database client refuses a query with
more than 999 values (CATEGORY-IN-LIST-BIND-LIMIT): the same products, in one query of the same
size however wide the tree. - A product filed under more than one category shows up in each of them (WP2-r2′). The
ProductCategorytable from schema batch A files a product under extra categories beside its
primary one (Product.categoryId), as WooCommerce does. Until now nothing read it. A product in
an extra category is now listed like a primary member there and in every category above it: on
the category page (with its count andItemList), in/produkter?kategori=, and in the
categorySlugfilter ofproducts.search, once each however many of its categories one page
covers.categories.list'sproductCountandproductCountWithDescendantsand the counts in
/admin/kategoriercount it the same way. The product's URL, its canonical, its breadcrumb and the
categoryproducts.searchreports for it stay its primary category's. This only changes shops
that haveProductCategoryrows: a shop without them sends the same product queries and gets the
same answers as before. What it costs every shop is one indexed read of the linked categories, on
each category page beside its other reads and with each filtered catalogue view or
products.searchcall that names a category. Nothing in the engine writes the rows yet (no admin
field, tool, CSV or sitepack column); the planned WooCommerce import will. DESIGN.mdsays the engine's pickers stay native<select>(TREND23-a). The variant
picker, the catalogue filters and the language and currency switchers are native selects; a
design restyles them withappearance: base-selectinside@supportsand never swaps them for
a div dropdown. Customizable select is not Baseline — Firefox lacks it — so Firefox keeps the OS
select. The playbook also says scroll anchoring is a browser default no design pack turns off, and
names Safari 27'ssafaridriver --mcpas an optional WebKit check in the screenshot step.
Changed
- The header, the mobile menu and the category page's "Explore more" follow a stored category
permalink onceurls.permalinksis on (URL5-a2). Those three still linked/category/<slug>,
so a migrated category kept a second address in the shop's own navigation. With the option on and a
permalink stored, they now link the permalink in the language the page is read in; without either,
nothing changes — not even the props sent to the browser. The catalogue page's WebMCP tool now
sends a stored permalink only when the option is on, so a shop with stored permalinks and the
option off no longer sends them to the browser. /.well-known/ai-catalog.jsonvalidates against the ARD schema (ARD-SCHEMA-1). Lighthouse's
ard-schemaaudit scored it 0 on every canary: the schema accepts onlyspecVersion,hostand
entriesat the top level and only identity fields in atrustManifest, and the file sent more.
The top-levelname,description,trustManifestand the legacyresourceslist are gone (no
consumer in the engine or cartwright.app readresources); the store name stayshost.displayName,
the description moves to thellms.txtentry,hostgainsdocumentationUrl(the developers
page) and its own trust manifest, and the privacy, terms, contact and about links move from each
entry'strustManifestto itsmetadata, under the same names. Every entry now has 2–5
representativeQueries. What the audit still lists is Low only: most entries use ordinary media
types such astext/html, which are not on its short list of discovery types.
The catalog validates for ASCII and internationalised domains alike. Every URL in it is now built
from the parsedbrand.url, so a setup-wizard domain such assmørrebrød.dkis published
punycoded (xn--smrrebrd-64af.dk), which is what the schema's URI format accepts. A domain with no
scheme is read ashttps://, the same as the setup wizard's domain field. With a port, the
did:webidentity percent-encodes the colon, as did:web requires (did:web:shop.example%3A8443),
and the URN publisher is the host name alone. One case cannot be fixed: whenbrand.urlis not
an address at all (empty, a barehttps://, a space in the host), there is nothing to publish.
The catalog still answers, but an empty value or a space fails the schema, and a barehttps://
passes it only with links that lead nowhere. An IPv6 address (local development only) fails too,
because ARD's URN publisher must be a domain name.- A stored permalink answers at its own address once
urls.permalinksis on (URL5-b). The proxy
looks the requested path up among the products and categories that store apermalink(the
locale stripped, with or without the trailing slash, percent-decoded) and rewrites it to the page
that renders the entity, in the request's language and with the query kept — so the address a
migrated shop already ranks on answers 200 instead of 404. This is the step v0.62.0 said to wait
for before turning the option on in a live shop. The lookup runs before every other path rule (a
merchant redirect from the same path loses; asked for without the language prefix it skips the
older redirects and goes to the language redirect), never for/api,/admin,/account,
/oauth,/iconor/og, sets the language cookie exactly as next-intl does for the pattern
address, and reads the database once a minute per server instance, keeping the last list on a
failed read; a deleted or draft product is not served. The links follow what is served: a permalink the
proxy cannot answer is linked at the pattern, not at an address that would answer 404 or open
another page — one under a segment named above, one with a dot in its path (/x.html; the proxy
never runs for a dotted path) or an encoded slash, one that underlocalePrefix: "never"starts
like a path the proxy's matcher skips (/hero…,/favicon-ico…), one with no path of its
own or broken percent-encoding (/,/?p=123, WooCommerce's plain/?product=<slug>), and one
at an addressnext.config.tsredirects before the proxy runs (/om-os/in any letter case,
which goes to the about page; the helper reads the same list,lib/config-redirects.ts). Off —
the default, every shop today — the list is never read and no request changes. WordPress
pagination,?p=<id>and pages/posts are not served yet (docs/urls.md). - Dependencies moved to their newest releases inside the current majors, each public for at least
three days.next16.4.2 witheslint-config-next16.4.2 (Turbopack and docs backports, no
advisory),reactandreact-dom19.3.1,ai7.0.143 with@ai-sdk/anthropic4.0.82,
@ai-sdk/google4.0.99,@ai-sdk/openai-compatible3.0.71 and@ai-sdk/react4.0.147,prisma,
@prisma/clientand both adapters 7.10.1,zod4.6.7,dompurify3.4.17,@google/genai2.30.0,
lucide-react1.58.0,resend6.34.1,@vercel/blob2.8.2,postcss8.5.30,@playwright/test
1.64.1 and@typescript-eslint/parser8.71.2. No schema change and no code change: a shop picks
them up withpnpm installafter pulling.
React's own advisory of 2026-10-14 (GHSA-xqc2-xf4c-x3h3, remote code execution in
react-server-dom-*with typed arrays) does not need this bump: the engine installs no
react-server-dom-*package and runs the copy bundled insidenext, which Next.js fixed the same
day as GHSA-673q-mjm6-r5xr in 16.4.1 (CW-2026-009). - The product feeds list a product without variants under its own sku when that sku can be an id
(FEED-SKU). Since v0.59.1 a product page's Product data carries the product's sku, but
/feed/google.xmland/api/acp/feedstill listed every product without variants under its slug
— so Google Merchant Center, an ACP agent and the page named the same product two ways. A product
without variants is now listed under its own sku, unless that sku cannot serve as an id (below).
Who sees ids change: a product has its own sku when the Google Sheets sync (sheetsSync)
wrote it — every sheet row needs a sku, so every product the sync has pulled carries one — or when
a SitePack restore brought it; the admin edits variant skus only, and theproducts.*tools write
no sku. So in a shop that syncs its products from Google Sheets, or restored a SitePack, every
product without variants whose sku is free is listed under a new id from the first feed fetch
after this update. That is the identity fix itself, not a side effect: Merchant Center sees each
such product as a new item and the item under its old slug id is gone from the feed, so the
product goes through review again, its history there (approvals, performance) starts over, and a
Google Ads product group that picks products by item id has to be pointed at the new id. A shop
whose products have no sku of their own sees no id change. A product keeps its slug as its id when
it has no sku or an empty one; when its sku starts or ends with whitespace, because ACP checkout
trims anitem_idand would look up a different string; when its sku is longer than 50
characters, Google's limit for an id (counted strictly, so an emoji counts as two); and when its
sku is already the slug of another product (a draft included) or a variant's sku — a product's sku
and slug are each unique but not across each other, so such a sku would name two things. A sku id
is not reserved: if another product later gets that slug, or a variant that sku, the product moves
back to its slug id, and an agent still holding the older feed's sku id then orders that other
product (the line echoes that product's slug and name). A product whose sku is its own slug keeps
the id it had. A sku keeps its case, and the check for a free sku is case-sensitive like the
database: a skuCUPbeside a slugcupis listed as two ids, which Merchant Center may read as
one product, since Google does not treat ids that differ only by case as reliably distinct. A
product with variants is still listed per variant sku. ACP checkout sessions try a bare
id/item_idas a slug, then a variant sku, then the own sku of a product without variants — the
order that lands on that product every id the feed lists for a product without variants, as long
as ACP's trim leaves the id unchanged (see the padded slug below) — so the slug an older feed
handed out still works and a product with variants is never ordered by its own sku; the line item
echoes the id it was ordered by. An explicitslugis now only ever looked up as a slug: one that
names no product answersacp_line_item_not_foundinstead of falling through to a variant with
that sku, as it did before. An explicitskuis only ever a variant's. Not changed: where the
feeds say a slug, the page's data still says the product's sku if it has one, else its internal
database id. Also not changed, and older than this entry: a variant's id is its sku, which is
unique only within its product, so two products' variants can share one (the admin's default
variant templatevar-{height}x{width}-{color}makes that likely) and a variant's sku can be
another product's slug. The feed then lists that id twice, and ACP orders one item for both — the
product with that slug, else whichever of the variants the database returns first. Also older than
this entry: a product slug that starts or ends with whitespace, which only a SitePack restore
wrote (it kept a slug as it was exported until SITEPACK-SLUG-VALIDATE below; the admin, the
products.*tools, the CSV import, the Sheets sync, scrape and hoptify write onlya-z0-9-
slugs). The feed lists such a slug as it is and ACP trims it on the way back, so"cup "orders
the product whose slug iscup, or nothing; Merchant Center trims ids as well.
Deprecated
/api/commerce/agent-checkoutis removed in the next release. Until then it answers
410 Gone; after that the path answers404, like any API path the shop does not have. An
agent or integration that still calls it should move to the ACP checkout
(/api/acp/v1/checkout_sessions), on a shop that has turned on ACP and its payment step
(ACP_PAYMENT_COMPLETION=1).
Fixed
- A draft product stays off the storefront everywhere, not only in the sitemap and the feed, and
cannot be put in a cart or paid for (STOREFRONT-DRAFT-FILTER, CART-DRAFT-FILTER). A product has
astatus("active"or"draft"), and the sitemap and the catalogue feed already left drafts
out — but its product page answered 200, and the homepage's featured products,/produkter, the
category page, the related products on a product page,/api/products/search,/pricing.md, the
permalink map and the wishlist all listed it. They now read the same rule as the sitemap: not
deleted andstatus: "active"(LIVE_PRODUCT_WHEREinlib/product-visibility.ts), and a
draft's product page answers 404, as a deleted product's does. A draft filed under a category as
an extra one (WP2-r2′) is left out there too. The agent toolsproducts.search,products.get,
ui.present_productsand the product counts ofcategories.list(extra-category links included)
leave drafts out for the shopper chat and voice and for anonymous agents; the admin, the admin
chat and an API key the owner made still see them, and so does/admin/produkter, where the owner
still edits them. The cart and checkout read the same rule everywhere CART-DELETED-PRODUCT (under
Security) checks for a deletion: adding a draft — from the storefront button or the customer chat
tool — is refused with the sameProduct not found: …answer; a draft line already in a cart
drops out of the cart page, the checkout summary, the header count, the agent cart tools and the
cart-recovery mail; checkout refuses it by name before it creates the order or contacts Stripe
(code: "PRODUCT_UNAVAILABLE"); the stock decrement refuses a product set to draft in the moment
between, still before Stripe; and ACP checkout neither opens a session for a draft — by slug, by
its own sku or by a variant's sku — nor charges for one (acp_line_item_not_found). Nothing in
the engine sets a product to draft yet — not the product form, the tools or the imports — so no
shop sees a difference today; this makes a draft safe the day one can be made: it is neither shown
nor sold. pnpm verify:designuses the browserPLAYWRIGHT_EXECUTABLE_PATHnames (ARG6). The screenshot
gate launched only the exact browser revision the installed Playwright pins, so after a Playwright
update it stopped with "Executable doesn't exist" even on a machine that had a working Chromium — on
ours, Playwright 1.64.1 asked for headless shell 1248 next to an installed 1208. When the variable is
set, the script now launches that browser and says so on the run; unset or blank, it behaves as
before. A failed launch without the variable now also names it as the way out, after Playwright's
own "npx playwright install". The siblingcapture-localesandcapture-galleryscripts still
launch the pinned revision only.- A missing product or category now answers 404, not a 200 "not found" page that Google treats
as a soft 404 (SOFT-404-PDP-PLP)./product/<slug>and/category/<slug>showed their loading
skeleton before looking the slug up, and a page that has started streaming has already sent status
200 — so an unknown or deleted product came back as 200 with "Product not found" andnoindex, to
browsers and to Googlebot alike. A migration's redirect check could not see a broken product
address. The lookup now runs first and the skeleton covers only what loads after it: a missing
product or category is a real404(the shop's normal not-found page, titled like every other
404), and with the shop switched off (website mode) both routes now send a real307to the
homepage instead of a 200 page that refreshes there. Existing products and categories render the
same page as before, with the same JSON-LD. Moving from a product list to a product now shows the
skeleton once the product is found, a moment later than before./produkterkeeps its own loading
skeleton; it never answers 404, so with the shop switched off it still sends a 200 that refreshes
to the homepage. - A SitePack restore stores slugs the way every other write path does (SITEPACK-SLUG-VALIDATE).
The restore kept a pack's slugs exactly as written, as long as they were not empty. A product slug
"cup "was therefore created beside an existingcup, listed as"cup "in the catalog feed, and
sent to the wrong product — with the wrong price — by ACP checkout, which trims the id. The admin
forms, the agent tools, the CSV and Sheets imports and the scrape and hoptify paths only ever write
lowercase a–z, digits and hyphens. Now the restore plan holds products, categories, pages, services
and posts to that rule before it resolves collisions. A slug that only needs trimming or lowercasing
is stored that way. Any other slug is renamed with the engine's shared slugify ("Kaffe & Bønner"
becomeskaffe-boenner). A slug with nothing usable left (" ") is skipped. A category is the
exception, because its products link to it: it takes the slug of its name instead, and only when the
name has nothing usable either is it skipped, together with its products and their variants and
gallery links. Renamed and skipped rows are listed in the plan's warnings before you confirm, and the
plan's counts are what the restore then does. A normalised slug that meets an existing one gets the
usual-2suffix. A slug that already meets the rule is kept exactly as it was, even when the pack
lists a malformed twin ("cup "besidecup) first: the twin takes the suffix. SKUs are still
restored verbatim. - The Google Drive image import walks the whole folder instead of the same newest 50 files
every run (DRIVE-IMPORT-PAGINATION)./admin/driveand thedrive.import_foldertool listed
one page of 50 files and never asked Drive for the next one, so a folder with more than 50 images
kept importing nothing beyond its newest 50 — and every run after the first reported those 50 as
imported again. The import now follows Drive's pages and passes over files an earlier run already
imported, counting them as skipped, so running it again continues where the last run stopped. A
run still downloads at most 50 files (imported or failed); when it stops there with files left,
the result saysmore: true(a new field in the tool's output) and/admin/drivesays to run
the import again. Every run starts again at the newest file and walks at most 20,000 (20 pages
of 1,000, the largest page Drive returns), so only a folder's 20,000 most recently modified files
are ever reached. A larger folder ends the run withmore: falseand adrive-folder-too-large
error, and/admin/drivesays to split the folder instead of to run it again. Not changed: a
file whose bytes match an image already in the media library is still downloaded on every run,
because the existing asset does not get its Drive id. - The nightly database backup says why it cannot run instead of failing in silence
(BACKUP-CRON-500)./api/cron/backupanswered 500 every night on all three canaries, with no
line in the function log: two had no Blob token, so the job dumped the whole database and only
then failed; the third had only its media store'sBLOB_READ_WRITE_TOKEN, and that store is
public — a backup holds PII and is uploaded as a private blob, which a public store refuses. A
backup now has its own variable,BACKUP_BLOB_READ_WRITE_TOKEN, the read-write token of a
private Blob store, tried beforeBLOB_READ_WRITE_TOKEN(so a shop whose one store is private
keeps backing up unchanged). With neither, the job answers503 "backup storage not configured"
before touching the database, and the admin setup guide lists "Database backup storage" as missing
— or as a warning while backups fall back to the media token — and links the runbook on
cartwright.app (https://cartwright.app/docs/deployment/backup-restore#scheduled, the same steps as
docs/backup-restore.md, whose copy in a shop's own repo is still the one that matches its engine
version; BACKUP-RUNBOOK-URL), not Vercel's own procedure, which connects the store. Every real run
that reaches its end writes one[cron/backup] {…}line to the log, never a token:oknames the
variable it uploaded with (storage),not_configuredthe one to set (missing), andfailed
itsstage(dumporupload) andstorage; thenot_configuredline and the hint on a failed
upload end with the runbook link. A failed dry run writes afailedline too ("stage":"dump",
"dryRun":true); a successful dry run and a call theCRON_SECRETgate refuses write none, and
?dryRun=1answers with the variable a backup would use. Both operator CLIs,
scripts/backup-turso.tsand nowscripts/restore-turso.ts, cut the Turso token and any
authToken=value out of the error they print, and the backup CLI cuts the Blob token too. To
turn backups on: create a private Blob store without connecting it to the project, add its
read-write token as a Production-onlyBACKUP_BLOB_READ_WRITE_TOKENand redeploy
(docs/backup-restore.md). If the call that fetches the token fails, the runbook's fallback
connects the store instead — Production only, under the prefixBACKUP_BLOB— and then checks
that it is connected to this one project and no other (BACKUP-RUNBOOK-FALLBACK). Never connect it
under the defaultBLOBnames, which media uploads authenticate with. An EU shop creates it in an
EU region (--region fra1, say): a backup holds customer data, and a store's region defaults to
iad1and cannot be changed later. - A saved Claude Sonnet 4.5 says it retires on 30 Nov 2026, and after that day the error says
what to pick (TREND28-a). Anthropic retiresclaude-sonnet-4-5that day and recommends
claude-sonnet-5-5. The model list in/admin/integrations→ AI stopped offering it, but a shop
that had saved it kept sending it — from the design, copy and SEO generators whatever the
provider, and from the chat and the test button unless those run on a local model — with only
"(saved — not in the current list)" beside it, and on the day every one of them would fail with
Anthropic's bare "not found". Now the form shows a dated warning under a saved Sonnet 4.5 with a
button that selectsclaude-sonnet-5-5— with the Local provider too, where the form now shows
the Anthropic model for that reason; you switch by saving, as before. From 30 Nov, Anthropic's
"not found" for it (the 404 the engine expects; the deprecations page names no status) reads
"claude-sonnet-4-5 was retired on 30 Nov 2026 — choose claude-sonnet-5-5 in /admin/integrations →
AI and save.", in the test button and in the operator chat, where every other error stays masked. Nothing is blocked before the day, the saved model is
never rewritten, and no other model is swapped in on its own; the default (Haiku 4.5) and the shops
that never picked Sonnet 4.5 see no change. If your shop uses Sonnet 4.5, switch before 30 Nov.
The date, the successor, the source page and the day it was checked are data in
lib/ai/model-retirements.ts. - The category page no longer lists deleted products (CAT-DELETED-FILTER). Deleting a product
with theproducts.deletetool (the admin chat or an agent key) marks it deleted, and its product
page already answered "not found" — but the category page kept showing it in the grid, in the
product count and in itsItemListdata. It now leaves deleted products out, as the product page
does. Only a shop that has deleted products sees a difference. - The catalogue no longer lists deleted products either (PLP-DELETED-FILTER).
/produkter—
with or without a filter — kept a deleted product in its grid, its product count and its
ItemListdata, and its brand and colour filters offered values that only deleted products had.
It now reads live products only, like the category page and the product page. Only a shop that has
deleted products sees a difference. - A redirect source written with a
/daor/enprefix is refused, and the CSV import sees one
that is already saved (RED3). The proxy looks a request up without its locale first and then as
written, so a saved/da/oldcaught Danish readers — but neither/admin/redirectsnor the
import knew it:/da/old → /oldwas saved and looped (/da/oldstrips to/old, finds nothing,
falls back to/da/old), and with/da/old → /newsaved, an imported/x,/oldput the chain
/da/x → /da/old → /da/newlive. A source is now written without the prefix, like a destination —
/oldalready answers/da/oldand/en/old— and the import treats a saved prefixed source as
the hop it is, naming it in the error. Redirects saved that way keep working as before; delete one
and add it without the prefix to bring it under the rules. /infoanswers with an index of the shop's information pages instead of a 404
(TELOZ-INFO404). The route only had/info/<page>, so the default "Read the docs" button on the
website-mode homepage — and every other link to the bare/info— led to "page not found". It now
lists the trust pages the footer links (about, contact, privacy, terms, cookies) and every other
published page, under the same addresses the sitemap gives them, with aCollectionPageJSON-LD.
A--profile sitescaffold has no CMS and still prunes the route; that half is tracked
separately.- The test that refuses a second
<main>on a storefront page no longer skips a plugin page it
cannot find (NOMAIN-RATCHET, NOMAIN-RATCHET-GAPS).tests/unit/no-nested-main.test.tsfollows
each route file's@/plugins/…import to the plugin page and checks that page too. Its route
files now includetemplate.tsx, a parallel route'sdefault.tsx, theforbidden.tsx/
unauthorized.tsxpages and alayout.tsxnested underapp/[locale], which render inside the
layout's<main>as well, and each may end in.ts,.jsxor.js, as Next allows — a
page.tsthat only re-exported a plugin page was not walked at all. A plugin page written in
.jsxor.jsis found and checked like a.tsx, where it used to be passed over, with its
extension named or not. An import it could not follow to a.tsxfile — a
barrel, a.tsmodule, a path that does not exist — was dropped without a word, and a
next/dynamicorimport()mount was not looked for at all, so a<main>behind either went
unchecked. It now readsimport(…)andrequire(…)mounts too, with a quoted or a backtick
specifier. A mounted.tsxthat does not define its own default export — anindex.tsxbarrel, a
page that is only a re-export shim — is followed through what it forwards (export … from, or an
imported name it exports again) to the page behind it, hop by hop, and that page is checked. A
.tson the way is followed the same way, since a.tsbarrel can stand in front of a page, but
is never checked itself; a stylesheet, a CSS module or a JSON file a route imports is passed over.
Any mount or forward it cannot follow to a file in the repo — a package, a missing path, an
import(…)of a template with${…}in it, of a variable or of a+with one, unless its
literal start rules out a plugin ("@/data/" + locale + ".json") — fails the test, naming the
route and every hop. The test reads imports with the TypeScript parser, and only what exists at
runtime counts:import type,export type, an entry markedtype(export { type Props } from "./types") and an import type (type Props = import("…").Props) are not followed. A<main>
counts only as a JSX element, so one named in a comment, a string or a regex no longer fails a
page, and a regex with//in it no longer hides a real one. Next renders a route file's default
export alone, so a route'sexport { default, generateMetadata } from …follows the default, and
a shim that forwards its default to a page andgenerateMetadatafrom a.tspasses; through a
named import or animport(), which may take any export, every forward is still followed.export defaultwith the name on the next line, in parentheses or behindas,satisfiesor!is
followed likeexport default Name;, where it was taken for a page and the<main>behind it
went unchecked. So is a shim that exports again a name a module-scopeconst X = require(…)or
await import(…)binds (or a.defaultor.Nameread off one, or{ default: X }), and one
whoseexport defaultis such a call; aconstof the same name inside a function is not taken
for it. framer-motion's<motion.main>and<m.main>count as a<main>too; another component
that is merely named.main, such as<icons.main>, does not. Every route in the engine
resolves, and nothing a shop renders changes; a shop route that imports a plugin's.tshelper,
styles or data passes, and one that reaches a plugin page through a package sees this test fail
until the route imports the page file directly. - The
GET /api/mcpintroduction points an agent at the server card instead of a dead page
(MCP-INTRO-MANIFEST). Itsmanifestfield named/manifest, which answers 307 → 404 on every
deploy — the reason it was already taken out of the sitemap. The field is gone, and a new
serverCardfield names/.well-known/mcp.json, the MCP server card. It sits behind the same
mcpPublicswitch as the introduction, so it answers whenever the introduction does.
liveChangelogis unchanged. - The local-AI cards in
/admin/integrationscount the admin tools instead of saying 37
(ADMIN-COPY-37). The top tier read "All 37 admin tools" while the admin chat had 40 (45 now,
with the five migration tools of MIGD-3), and the two smaller tiers "~10" and "~15" where they
hold 10 and 16. All three labels are now counted from the
allowlist through the same tier lists the admin chat filters its tools with (lib/ai/admin-tools.ts,
applied by ADMIN-TIER-ENFORCE), so a label cannot count a different list than the chat offers, and
docs/local-ai.mdnames the tiers without numbers. - A signed-out customer can open the forgot-password page and the reset link
(PASSWORD-RESET-GATE). Ever since the password-reset flow shipped, the proxy sent a signed-out
visitor from/account/forgot-passwordand from the email's reset link
(/account/reset-password?token=…) to the login page — so nobody who was signed out, the only
people who need it, could reset a password. Both pages now open, with or without a locale prefix
and a trailing slash, the token kept. The pages the gate leaves open (login, signup and these two)
are now matched as a whole path segment, so an address that merely contains one of their names,
such as/account/login-history, is gated like every other account page. Signed in, nothing
changes. - Featured products on the homepage carry their photo in
imageUrl(ARG5). The blank-canvas
guide told a builder that each featured product comes with a computedimageUrl, and the
atelier, northern-coffee, webshop-bold, webshop-editorial and webshop-minimal homepages render
their product photos from it. Nothing set the field, so those cards always showed no photo. The
homepage now sets it to the product's first image, from the same resolver the product cards use,
or to null when the product has none. The database query is unchanged. Only the homepage sets it:
the field's documentation indesigns/types.tssays so, and tells a design that renders product
lists elsewhere to callresolveProductImageUrlsitself. - The Google Drive backup reports its size in bytes (DRIVE-BACKUP-BYTES).
bytesin the
result of the Drive backup — the/api/cron/drive-backupanswer and thedrive.backup_nowtool
output — was the JSON string's length, which counts UTF-16 code units, so every æ, ø, å or other
non-ASCII character in the dump made the number smaller than the file Drive received. It is now
the UTF-8 byte count, the same bytes the upload sends. The file itself was always uploaded
correctly; only the reported number was wrong. - The product CSV import refuses a file over 1 MB up front and says how to split it, instead of
failing with nothing saved (PRODUCT-CSV-BODY-LIMIT)./admin/produkter/importsends the whole CSV
to a Server Action, and Next refuses an action request over 1 MB — the default
serverActions.bodySizeLimit, whichnext.config.tsdoes not raise — before the action runs, so a
larger catalogue ended on the error page and no row was imported. The form now measures what it
would send (a quote or a line break counts twice, as it does on the wire) and refuses an oversized
file or paste with a message: split it into parts that each start with the header row, and import
them one after another — rows are upserted by slug, so the parts add up to the whole file. The
action keeps the same bound, and a call that fails now shows a message instead of the error page.
The limit itself is unchanged: it covers every Server Action in the app, so raising it is an owner
decision, not this form's. - Snapshot & Restore reads the features the site runs with, and stops when it cannot read them
(SITEPACK-RUNTIME-FLAGS). The pack'sfeaturesRequestedlist came from the defaults in
brand.config.ts, so it left out a feature turned on in/admin/features. That list is
informational: nothing reads it on restore, and the pack already carried the stored switches
themselves in its branding (featureOverridesJson). The restore check read the same defaults, so
a pack whosefeaturesRequirednamed a feature switched on in/admin/featuresdrew a false
"Required feature … is not enabled" warning. A pack exported by Cartwright cannot draw it — it
requireswebshopor nothing, andwebshopis set inbrand.config.tsonly — so only a
hand-written or third-party pack could. Both now read the live switches the tools' ownsitePack
gate reads. New: when those switches cannot be read (the database is unreachable), export and
restore stop with a clear message instead of working from thebrand.config.tsdefaults, which
may hold a feature —sitePackamong them — that the admin has switched off. - The agent rules files start the dev server with
pnpm dev:agentinstead of assuming port
3000 (TREND5-a).AGENTS.md,.claude/CLAUDE.md,GEMINI.mdand the Cursor, Copilot and
Windsurf rules saidpnpm devand then sent every tool call tohttp://localhost:3000— but
next devmoves on to 3001 when 3000 is taken, so an agent on a machine that already ran a server
there talked to that other server. All six now carry the same recipe, and it turns on one fact:
is thenext devwhose PIDpnpm dev:agentnow writes to.cartwright/dev-pid(gitignored,
removed on exit, beside the URL in.cartwright/dev-url) alive? Then it reuses that server — Next
allows onenext devper project — even while its URL does not answer yet. If not (a hard kill
leaves both files behind, and another app may take the port), it deletes both and starts
pnpm dev:agentin the background. Either way it polls the URL for a 200 with a bound and takes
$BASEfrom it for every curl example; a server the recipe started iskilled when done.
DESIGN.md's examples and screenshot step follow it. A unit test runs the recipe against a stub
pnpmand fails if it starts a second server or deletes the files while itsnext devlives —
also when that server's URL times out or nothing listens there yet — or reuses a URL whose
next devPID is gone, stops waiting on an answer that is not a 200, or keeps waiting after the
server it started has exited; it runsdev-agent.mjsagainst a fakenextto check that the PID
file is written before the URL and that a file another server has written since survives the exit,
reads the six copies with CRLF line endings too, and fails if they drift apart, a hard-coded
localhost:3000comes back, or the after-a-reboot hint goes back to a bareps -p(procps on Linux
prints onlynodefor it, so a live server's files would be deleted;ps -o args= -pprints the
whole command line). No route changes. next devrun by an AI agent no longer rewritesAGENTS.md(TREND24-a). When it detects an
agent, Next 16.4 compares the managednextjs-agent-rulesblock at the top ofAGENTS.mdwith
the one it generates and rewrites the file when they differ. Ours said#where Next writes
##, so an agent's firstnext devleft an uncommitted change in a fresh project. The block is
now exactly what Next writes, and an engine test asks Next's own check, so a Next upgrade that
changes the block fails in our dependency update instead of in your working tree.- The
cartwright-guidanceskill no longer says a modal closes on a backdrop click by itself
(TREND27-a). It said the browser handles "backdrop dismiss" for<dialog>. A modal<dialog>
closes on Escape, not on a click outside it, so an agent trusting the skill could build a modal
that ignores a backdrop click. The skill now says to close it from anonClickthat checkse.target === dialog,
as the mobile menu and the AI assistant panel do;closedby="any"does it declaratively but is
not supported everywhere yet. Nothing changes in how the site renders. Foo@x.dkandfoo@x.dkare one customer account (REG-EMAIL-CASE). Sign-up saved the
address as typed and login looked it up the same way, so one person could end up with two accounts
just by the capitals they typed. Sign-up now saves the address lowercased — the spelling a magic
link and a password reset look up — and sign-up and login compare the address case-insensitively
with the accounts as they are stored. No schema change, and no data is changed. So an account a
shop already holds asAda@Example.comcounts as taken when someone signs up as
ada@example.com, and signs in with the address typed in any case; on SQLite and Turso a capital
outside ASCII (JÖRG@…) still has to be typed the way it was saved. Where one address already has
more than one account with a password, differing only in case, the spelling typed exactly signs in
to its own account, as before; a spelling that is none of them is refused like a wrong password
rather than guessed, and typed the way one of them was saved, it works. A password login passes
over an account that has no password, so the passwordless lowercased account a magic link may have
made beside a capitalised one does not stand in its way. Not covered yet: a password reset and a
magic link still look the address up lowercased only, so for an account saved with capitals a
reset sends nothing, and a magic link signs in to a separate lowercased account, creating it the
first time.- After signing up, the customer lands on the login page in the language they signed up in
(REG-LOGIN-LOCALE). The sign-up form sent everyone to/account/loginwithout a language, which
took an extra redirect and left the language to the proxy's guess, so a customer signing up on
/en/could be shown the login page in the shop's default language. The address is now built by
lib/urls.ts, so it also followsurls.trailingSlashandlocalePrefix: "never". - A catalogue search or filter with no results answers in the page's language (ARG4). The
empty state of the product grid — "No products match …", the hint below it and "Browse all
products" — was English on every page, so/da/produkter?q=…on a Danish shop answered in English.
It now reads the page's language; English pages show exactly the words they showed before. - The review page a post-purchase email links to, and the customer's wishlist, follow the page's
language (I18N-REVIEW-WISHLIST). Both were Danish on every shop — "← Til forsiden", "Min
ønskeliste", "← Min konto" and the sentences around them — so an English shop's customer met a
Danish page. Danish pages read exactly as before. - "Explore more" on a category page links in the page's language, and its heading is translated
(CAT-RELATED-LOCALE). The related-category tiles linked/category/<slug>with no language, so
with the defaultlocalePrefixevery click went through an extra redirect to a language-prefixed
address. A browser was usually sent back to the language it was reading, by next-intl's language
cookie or itsAccept-Language; a client with neither — a crawler, an AI agent — landed in the
shop's default language instead. The tiles now link the category in the page's language, and the
heading, English on every page until now, reads "Udforsk mere" on a Danish page; English pages
read as before. /admin/auditnames the Stripe webhook, and speaks English (AUDIT-ACTOR-LABEL). Refund,
dispute and payment-not-applied rows showed as "Ukendt" (unknown); they now carry a "Stripe
webhook" badge. In-place copy edits and customer voice sessions get their own badges too, and
uploads are badged "Admin (web)". The page's Danish labels are now English, like the rest of the
admin: the "Kunde-chat" badge, the filter form ("Filtrér", "Nulstil", "Alle", "Kun success"), the
payload viewer ("Vis payload", "Skjul", "Resultat"), the rollback button ("Rul tilbage",
"Ruller…") and its "Gendannet" confirmation. Its dates are written the British English way
(24/10/2026, 12:30), as/admin/plusalready does; most other admin pages still write them the
Danish way. Still open: a signed-in customer's own subscription change is badged "Admin (web)" as
well, because its row's actor (user:<id>) carries no role to tell the two apart.