All stories · Article
Same AI, Different Pages: What a "Harness" Is, and Where It Still Fails
Same model, same task, a different system around it. In a post on its engineering blog (https://www.anthropic.com/engineering/harness-design-long-running-apps), Anthropic describes asking Claude Opus 4.5 to build a 2D retro game maker two ways.
Share: WhatsApp · Telegram · X · Facebook · LinkedIn · Email
Running solo, it took about 20 minutes and $9, and the core gameplay did not work. Inside a full harness, with a planner, a generator and an evaluator that tested the running app, it took about six hours and $200 and produced a playable game.
The comparison spread widely on X, including through this recap by @JafarNajafov:
Jafar Najafov@JafarNajafovHarness engineering is the most important AI skill you can learn right now
And someone just open sourced a full course on it. Free
Anthropic ran an experiment. Same model (Opus 4.5), same prompt: "build a 2D retro game editor"
No harness: $9, 20 minutes, didn't work
Full harness: $200, 6 hours, a game you could actually play
The model didn't change. The environment around it did
That's what this course teaches.…Sep 26, 2026 · View on X
If you run a store and have written careful prompts only to get a generic product page back, that experiment is worth a close look. Polished AI output often depends on more than the prompt alone. This article explains what the surrounding system is in plain terms, what a store-sized version looks like, and three places where even a good one still lets errors through.
What "harness" means for a merchant
An Anthropic engineer put the idea bluntly in a talk summarised by @0xnicc0 (https://x.com/0xnicc0/status/2095609874197413983): "You're not supposed to prompt Claude. You're supposed to build a system that prompts itself." @ghumare64 (https://x.com/ghumare64/status/2104112175425950177) opened a long list of skills for AI engineers with harness engineering and context engineering, placed ahead of prompt writing.
For a merchant, "harness" translates to four ordinary things:
- Context: what the model is told about your business before it starts.
- Rules: the instructions it must follow every time.
- Checks: what runs before anything goes live.
- Memory: a record of what was decided, so the next run does not repeat a mistake.
Anthropic's version adds a fifth habit worth copying: its agents coordinated through files, with one agent writing a file and another reading it, so progress survived across a long session.
How Shopify checks AI-generated work before it ships
Shopify's engineering team has described the harness at full scale. Its post on Helix (https://shopify.engineering/helix), an internal tool for migrating its apps from React Native to native code, contrasts the approach with tools that implement everything at once and hope the first result works. Helix instead cuts each migration into checkpoints, small ordered slices of work that start with screen skeletons.
Each checkpoint has to clear four gates before it counts:
- Behaviour: command-line tests check it against the reference app.
- Visual review: Gemini compares screenshots and lists spacing, alignment and sizing differences.
- Adversarial review: two independent AI agents check that the code follows the documented architecture.
- Engineer approval: a person signs off, and their feedback shapes the next checkpoint.
According to the post, Shopify rebuilt and published its Shop app this way in 12 weeks, with the Shopify app and its more than 300 screens as the next target. @norvex1029 drew the lesson for everyone else: the teams that win may have the best verification system, whatever model they use.
Norvex@norvex1029Shopify doesn't trust the first answer its coding agents give.
When it pointed an LLM at its React Native app and asked for a native rewrite in one shot, it got a huge pile of code that couldn't be shipped.
So it built Helix. Each screen is cut into small checkpoints, and each checkpoint has to prove its behavior with tests, match the running app in a visual review, and survive two adversarial AI code…Sep 28, 2026 · View on X
A smaller example makes the cost visible. @jamiegrove (https://x.com/jamiegrove/status/2102810220648976526) had AI proofread 682 product pages on a Shopify store. The first run burned about $185 of usage and never finished. The second run, same prompt and same model, cost $12.60. Their conclusion: the model was not the big lever, the harness was.
The store-sized version of the same idea
A small store cannot reproduce Helix, but it can borrow the same principles at a much smaller scale. Each of the four parts has a version a two-person team can build without code.
Context. @shannholmberg (https://x.com/shannholmberg/status/2098850243760808268) describes a folder of plain files: what the business does, who the customer is in their own words, the offer, the positioning, the voice, the proof. Pull it from reviews and support emails you already have. Without this, every tool is guessing at your customer.
Rules that accumulate, and get reviewed. A CLAUDE.md template attributed to Claude Code's creator and shared by @Divyyanshishrma (https://x.com/Divyyanshishrma/status/2104169439289651427) keeps past mistakes, conventions and rules in one file the agent reads every session. When an error reveals a reusable pattern, turn it into a rule, then review those rules periodically so one-off mistakes do not become permanent policy.
A check before publish. @Voxyz_ai (https://x.com/Voxyz_ai/status/2103977414711767244) shared a 20-point list to run before shipping a vibe-coded site, covering consistent design tokens, mobile layout, and proper loading, empty and error states. For a product page, a shorter list could start with: prices match the catalog, claims match your facts file, required policy text is present, and the page renders on a phone.
A staging copy and a measurement. @dashboardlim (https://x.com/dashboardlim/status/2101390400292290676) rewrote a Shopify product page with AI using this loop: research competing pages, generate drafts, review them on a hidden store copy, then split live traffic. They report 23.75% higher revenue per visitor for the rewrite, a figure from their own test.
Build those four and you have a basic harness. The rest of this piece is about why that is still not enough.
Where a good harness still lets errors through
The teams making the case for harnesses also document where they fail. Three patterns stand out, and each has a store equivalent.
The context fills up and the model starts inventing state. @dr_cintas (https://x.com/dr_cintas/status/2104274873476337815) reports that letting Opus 5.5 run freely across a 200,000-token context breaks down on complex features: the model forgets earlier tool outputs and produces hallucinated file states or circular edits. Their fix is an external SESSION_STATE.md file the agent must update before touching code, recording the objective, active changes, decided architecture and verification status outside the conversation.
Alvaro Cintas@dr_cintasLetting Claude Opus 5.5 run freely across a 200k context window breaks down on complex features.
Context fills up, the model forgets earlier tool outputs, and you get hallucinated file states or circular diffs.
The fix is an AX (Agent Experience) state protocol: make Opus 5.5 maintain an external SESSION_STATE.md file before touching code.
Paste this into your CLAUDE.md or system instructions:
“Operate under…Sep 27, 2026 · View on X
In a store, the same failure could show up in a long session that rewrites dozens of product descriptions and starts mixing facts between SKUs. Anthropic's harness relied on the same remedy, with agents handing work to each other through files. For an initial workflow, keep tasks narrow and give the agent an external state record when work spans multiple steps.
The rules file grows stale. OpenAI's account of building a product with Codex (https://openai.com/index/harness-engineering/) reports about a million lines of code and roughly 1,500 merged pull requests over five months, driven at first by three engineers. One early lesson concerned a single large instruction file. It crowded the task out of the model's context and filled up with rules nobody could confirm were still true.
OpenAI's response was to shrink that file to a short table of contents pointing to versioned documentation in the repository, with automated checks on whether those docs were fresh. A merchant's rules file can go stale the same way, at a much smaller size.
Memory keeps the wrong decision too. @beamnxw (https://x.com/beamnxw/status/2103890773972308479) described 64 agent sessions sharing one append-only log of decisions and reasons. Over three days there were 178 lookups; 68% confirmed a prior decision and about 4.5% changed the agent's action. In one case an agent decided a database index looked unused and removed it. A human retested under realistic conditions, found the index useful and reversed the change.
The log had preserved a mistake until a person checked. OpenAI reports a related problem: agents copied weak patterns already in the code, so the team ran continuous cleanup to stop them spreading. @DamiDefi (https://x.com/DamiDefi/status/2104496839064178804) summarised Daniel Miessler's version of the same advice: turn agent mistakes into system upgrades, and "garden" the codebase so agents do not amplify existing debt. For a store, gardening means someone rereads the rules file and prunes it.
Why this lands on the customer first
At Shopify, Helix puts AI reviewers and an engineer between the agent and production. At a two-person store, there is often nobody between the AI and the live page. Shopify's CEO named the failure mode for his own staff, as reported by @interesting_aIl (https://x.com/interesting_aIl/status/2102007936809841117): unreviewed AI output passed to colleagues, which he called slop grenades, creates more work for everyone who receives it. On a storefront, the person who receives it is a shopper, and the cost is a lost sale or a return.
We could not find public data on how often AI-written product pages ship with factual errors, so the size of the problem for stores is unknown. The mechanism, however, is documented above by teams with far more resources to prevent it.
What to check on your own workflow this week
- Look for the four parts. Context folder, rules file, pre-publish checklist, staging copy. Missing one of these is a useful place to look when output stays generic or inconsistent.
- Define done in writing. One sentence per job, for example: "A product description is done when every number matches the catalog and the checklist passes." Give that sentence to the tool and to the person reviewing.
- Start narrow. For an initial workflow, keep tasks narrow and give the agent an external state record when work spans multiple steps.
- Review the rules file on a regular cadence, for example monthly. Delete lines that came from a one-off incident. A rule such as "never mention shipping times", added because one page once had a wrong date, would quietly strip useful information from every page after.
- Keep one human step before live. Keep human review granular enough that mistakes can be accepted or rejected independently.
Start with the rules file. Open it, or create it, add the recent mistakes that point to a repeatable pattern, and set a date to review them. That habit is the part of Shopify's approach a store of any size can run.
Sources · 16
- Anthropic, Harness design for long-running application development: https://www.anthropic.com/engineering/harness-design-long-running-apps
- Shopify Engineering, Helix: https://shopify.engineering/helix
- OpenAI, Harness engineering: https://openai.com/index/harness-engineering/
- @JafarNajafov: https://x.com/JafarNajafov/status/2103764227404312730
- @0xnicc0: https://x.com/0xnicc0/status/2095609874197413983
- @ghumare64: https://x.com/ghumare64/status/2104112175425950177
- @norvex1029: https://x.com/norvex1029/status/2104474504609055178
- @jamiegrove: https://x.com/jamiegrove/status/2102810220648976526
- @shannholmberg: https://x.com/shannholmberg/status/2098850243760808268
- @Divyyanshishrma: https://x.com/Divyyanshishrma/status/2104169439289651427
- @Voxyz_ai: https://x.com/Voxyz_ai/status/2103977414711767244
- @dashboardlim: https://x.com/dashboardlim/status/2101390400292290676
- @dr_cintas: https://x.com/dr_cintas/status/2104274873476337815
- @beamnxw: https://x.com/beamnxw/status/2103890773972308479
- @DamiDefi: https://x.com/DamiDefi/status/2104496839064178804
- @interesting_aIl: https://x.com/interesting_aIl/status/2102007936809841117