Shopify's AI Is Now Editing Your Real Theme Code

Share
Shopify's AI Is Now Editing Your Real Theme Code. Feature image on debugly.dev

The store was the redesigned, and the redesigned was the conversation, and the conversation was the Sidekick, and the Sidekick was the agent, and the agent was the edits, and the edits were the code, and the code was the real, and the real was the not a preview, and the not preview was the live store, and the live store was the checkout, and the checkout was the Black Friday, and the Black Friday was the six weeks away.

Shopify launched Canvas on 1 October 2026 and it has been rolling out to merchants since. It is worth understanding what it actually is, because the launch coverage has mostly described it as an AI site builder and the important detail is buried in Shopify's own announcement.

The line that matters is this: in Canvas, merchants are not editing a static preview, but a render of the real code behind the store. Every change Sidekick makes lands in the actual theme.

What Canvas is

Canvas is a new design surface that lays out every page of a store in one interactive workspace. You pan across the whole store, zoom into a detail, and either click elements to change them directly or work through chat with Sidekick, Shopify's AI agent. Changes appear in Canvas in real time, with full interactivity and animation, across different products, collections and screen sizes.

The pitch is real and it is well demonstrated. Ben Sehl, Shopify's Director of Product and co-founder of Kotn, said that when he built Kotn twelve years ago he knew how to code and it still took two weeks to get a rough store working, and that an entrepreneur on Shopify can now build a fully custom store in twenty minutes. Shopify's stock rose about four per cent on the announcement, and the company has been pairing this with its Meta Muse integration for agentic checkout through Shop Pay.

This is also not a new capability arriving suddenly. Shopify says Sidekick has been generating apps and building custom theme sections for some time and made more than twenty-five million theme edits in the first half of 2026. Canvas is that existing code-writing capability getting a surface. Twenty-five million edits is not a pilot.

What Shopify is telling you, plainly

The most useful sentence in the whole announcement is Shopify's own caveat: we are early here, Canvas is not replacing the existing editor yet, things will change quickly, and there are gaps we still need to close.

That is an unusually direct disclaimer from a launch post, and it should be read as the vendor telling you the honest state of the product. Austin Knight, Shopify's design director, added the technical detail that explains why: getting Sidekick to write code was easy, but guiding it to make good design decisions took a great deal of time and attention, because every theme has a unique design contract, a curated set of patterns to draw from, and a mountain of opinionated evaluation data.

Translated for anyone maintaining a store: the agent is fluent in the theme's conventions and the conventions differ per theme. A store on a heavily customised or older theme is a harder case than the demo.

The risk surface nobody is writing about

The interesting engineering question is not whether the AI produces good design. It is what happens when an agent edits real code on a store with no version control, no staging environment, and a merchant who cannot read the diff.

Editing theme code takes the theme off its auto-upgrade path. This is documented in Shopify's own migration guidance for the script tag deprecation. Once code has been changed, the theme stops receiving automatic updates, which means the store silently diverges from the maintained baseline. Nobody tells the merchant this happened during a Canvas session.

App embeds are per theme and default to off. I covered this yesterday, and it compounds here. If Canvas work involves publishing or duplicating a theme, the tracking app embed does not carry over. Conversion tracking breaks with no error, and the failure looks like an analytics problem rather than a design session.

There is no rollback story. A developer has git. A merchant has whatever the theme editor's version history retains. When an agent makes a change that breaks a collection template three days later, the diagnosis requires someone who can read Liquid, which is precisely the skill Canvas exists to make unnecessary.

The gaps are the long tail. Any AI editing system is strong on the common case and unpredictable on the exception, and a store's revenue lives in the exceptions: the subscription product, the local pickup variant, the market-specific shipping rule.

This is the ownership problem from the code the author cannot explain, arriving at a scale where the author is not even in the organisation.

What to do if you are on Canvas this month

Duplicate the theme before any Canvas session. Work on the copy, publish deliberately, and keep the pre-session theme as the known-good state. This is the only rollback most merchants will get.

Check the app embeds immediately after publishing. Online Store, Themes, Customize, App embeds. Confirm your tracking apps are toggled on for the published theme. Two minutes now beats a week of degraded ad data.

Do not run Canvas inside your BFCM freeze window. Shopify added discount support to Rollouts on 2 October, which gives you native A/B testing on offers, and Experiment mode needs seven to fourteen days for statistical significance. That means testing has to start before roughly 15 October. Structural theme changes and offer experiments competing in the same fortnight is how launches go wrong.

Keep one person who can read the theme. Not to do the design work, but to be able to diagnose it. The gap between "the AI built this" and "someone can fix this" is where the incident lives.

The rule

Canvas edits the real theme code, not a preview, and Shopify says so explicitly. Duplicate before you experiment, verify app embeds after every publish, keep structural changes out of your peak freeze window, and make sure someone on the team can still read Liquid.

Canvas is the most significant thing Shopify has shipped this year and the twenty-minute store is not marketing, but the launch post's own caveat is the part worth acting on. An agent is now writing production code on stores whose owners cannot review it, on themes that stop receiving updates the moment it does, in the six weeks before the highest-traffic period of the year, and the sensible response is not to avoid the tool but to give it a rollback path and someone who can read what it wrote.