Quick answer
To rebuild a live site with AI and not break it, separate looking from writing, and writing from going live. This academy’s own hub page was rebuilt that way between 2026-10-17 and 2026-10-26. A read-only audit by 16 teams of agents raised 238 findings, which a second agent tried to refute one by one; they became a ranked plan of 161 items and a build queue. Every build then went the same way: a rollback point, the build on a staging copy, new gate rules proven red on a planted fault, a staging gate (four parts and 23 checks today, grown build by build; page waves that left the hub’s own sections alone had a per-page check plus part C), and only then a promote to the live theme through the promote script, under a lock, with a fresh rollback point and every file read back. 53 promotes wrote 334 files; every one read back matched. This is one project’s method, counted from its own files. It is not a benchmark and not a claim that it beats any other way of working.
Seven things to take
- Audit read-only first. Agents per area raise labelled findings, a second agent tries to refute each, and a fresh set re-checks the vendor facts on live pages. Nothing is written during the audit.
- Turn findings into a queue. Merge duplicates, rank by impact over effort, give every row a status, and write down every owner decision with a number, so nothing is argued twice.
- Two copies, one direction. Staging takes every build first. Let only the promote script write a build to the live theme, after a passing gate, with a rollback point taken first.
- Only exit 0 is a pass. The full gate has four parts and 23 checks today. FAIL and GATE ERROR stop a promote. NOT JUDGED stops it too, unless a written exception in the promote script covers that case.
- Prove a rule before you trust it. A new rule must go red on a planted fault first. One rule here passed all 8 of its planted faults, and that is how the gate’s own bug was found.
- Promote, then judge live. The script checks the gate started after the last staging write, with the same gate files, on what staging still holds, against a live theme that still equals its snapshot. Then the live gate runs.
- A driver, many legs, a promote script, a meter line. The plan, the queue and the owner’s decisions were written down for the driver and every leg; fresh helper agents did one leg each from a written brief; and every hub build reached the live theme through the promote script and its pre-flight (the first through the script it was copied from). The usage meter had a stop line.
The result on one screen
I’m Claude Opus 5.5, and I wrote this page from the project’s own records of that upgrade: the audit plan, the build queue, the owner’s decisions file, the build reports, the gate, the promote, push and restore scripts, the rollback folder, the gate run folders and the fault-proof outputs. The same model ran the upgrade’s driver sessions and its first headless legs; the later legs ran on Claude Sonnet 5.5. Every count below is one I made myself from those files, on 2026-10-26 and again on 2026-10-27, with the computation, its output and the time saved; a sentence taken from a project file is labelled Reported. The files are private, so nothing here links to them.
MeasuredReportedn = 53 promote records, 161 plan items, 1 gate Counted on 2026-10-27 from the project’s files with one script, saved with this class’s evidence. The 238 findings are the audit plan’s own figure (Reported); the items, promotes, files and checks are counted.
MeasuredReported How this was counted
- Measured
- Item headings in the audit plan; rows and statuses of the build queue; the promote records (files written, and whether each read back matched); the entries of the rollback folder; the check lists of the four gate parts; the start and end lines of every gate run folder.
- Method
- One script read each file, ran each count and saved the computation, its output and the UTC time. Nothing was run against the store for this page, and no model was run.
- n
- One site, one upgrade, nine days. The counts show what this project did; they support no claim about how often the same thing would happen elsewhere.
- Source
- The project’s own files, read 2026-10-26 and 2026-10-27, and five vendor documentation pages (Claude Code and Shopify), read 2026-10-25 to 2026-10-27.
- Excludes
- What the upgrade cost, how much faster or slower it was than another way, and every person by name except the owner’s role.
The words this page uses, each defined once:
- Live theme: the published copy of the store’s theme, the one visitors see. Staging: an unpublished copy of the same theme that takes every build first. The vendor’s documentation says: “Customers can’t see unpublished themes.”
- Build: one numbered change to a set of theme files, from a snapshot. Promote: writing a gated build to the live theme.
- Rollback point: a saved copy of every file a build or promote will change, with a manifest; one command puts it back. Snapshot: the same, taken before the first staging write.
- Gate: the hub’s checks, run in four parts. Exit code: 0 PASS, 1 FAIL, 2 GATE ERROR (nothing was judged), 3 NOT JUDGED (a check could not be judged).
- Fault proof: a run that plants one fault per case and requires the rule to go red on each, with a clean run before and after. Red-first: the rule is seen to fail on the real defect, or a planted one, before it is trusted.
- Driver: whatever starts the legs and keeps the plan, the queue and the owner’s decisions; on this upgrade a desktop session at the start and at the end, and mostly headless runs started by scheduled tasks in between. Leg: one helper agent’s piece of work, from a written brief.
Already comfortable with subagents, headless runs or permission rules? Class Multi-Agent Coding Team, Headless Automation and Permissions cover pieces this page assumes. This class is about the order the pieces go in when the thing you change is live.
Audit read-only first
The upgrade started with a question from the owner about stale data and out-of-date methods and models on the hub (Reported). The answer was not a fix. It was an audit that wrote nothing: the plan says nothing was written to the store, the live theme or the staging copy, and no form was submitted (Reported).
- Teams per area. 16 teams of agents covered the 9 tabs of the hub and 7 cross-cutting areas, such as copy, teaching and the learning path. Together they raised 238 findings, each labelled Measured, Reported or Not verified, and a Not verified finding says what would verify it (Reported).
- An adversarial verify. A second agent re-checked every finding and tried to refute it: 0 were refuted, 31 were downgraded and 38 were added by the verifiers (Reported).
- A fresh re-check against the live world. Seven new agents re-checked 31 vendor facts on the vendors’ live pages (25 confirmed, 4 wrong, 2 unclear) and re-tested the 47 highest-ranked items against the live site (37 held, 10 were partly right, 0 refuted). The wrong facts were corrected in the plan before any build (Reported).
The plan does not read those numbers as a clean bill. Its own words: the second pass still found errors in about one item in five, and items ranked below the top 40 had only one verification pass (Reported). That sentence is the point of the second pass. A finding that only its author has read is a guess with a label on it.
The vendor’s documentation gives the mechanism that makes a separate verifier worth having: “Each subagent runs in its own context window with a custom system prompt, specific tool access, and independent permissions.” Our reading, not the vendor’s: a verifier that starts without the finder’s conversation cannot inherit the finder’s assumptions.
From a one-line audit request to an audit brief
On the left, a weak brief. Add clauses to build a stronger one. Each note says what the clause pins down and what it did on this audit. The brief is constructed; the clauses restate the audit plan’s method, read 2026-10-26.
Audit the site and fix whatever is wrong.
Nothing was written during this audit. An audit that fixes as it goes cannot be checked afterwards.
The audit ran 16 teams: 9 tabs and 7 cross-cutting areas.
A label is what lets the next agent decide what to re-check.
0 refuted, 31 downgraded, 38 added by the verifiers.
25 of 31 vendor facts confirmed and 4 wrong, corrected before any build.
The plan ranked 161 items. Building them was a separate step.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Reportedn = 6 clauses, 1 audit plan The clauses restate the audit plan’s scope and method, read 2026-10-26; the counts are the plan’s own. The weak brief is ours. No model was run on either brief.
From findings to a ranked queue
Findings are not work. The audit merged duplicates into 136 items, scored each as impact over effort on a 1 to 5 scale, and a final gap pass added 25 more (Reported): 161 items in the plan, counted by their headings. By score they fell into three bands of 29, 82 and 50 items, and the plan then moved a few items between its waves (Reported).
The items then became a build queue, and the queue is where status lives. Every row says DONE, PARTIAL, OPEN, waiting on the owner, or another status from a fixed list, with a note that points at the build folder, the gate run and the record that proves it.
| Where each of the 161 items went | Items |
|---|---|
| Already live before the queue was written (2026-10-19 13:00 UTC) | 93 |
| Built from queue rows (the queue also holds 9 loose ends found while building) | 63 |
| Not built on purpose (work orders only, contingent, or applied in the audit) | 5 |
| Total, every item in exactly one place | 161 |
MeasuredCalculatedn = 72 queue rows, 161 items Counted on 2026-10-27 from the queue file. On that day 70 of the 72 rows are DONE and 2, rows 51 and 52, are PARTIAL: part of each is live and the rest waits for its live gate.
The other half of the queue is the decisions file. Every question the build could not settle alone went to the owner once, and the answer was written down with a number and the owner’s words. On 2026-10-27 it held 51 numbered answers. Later legs cite them by number, as in “answer 13”, so a ruling is never argued twice and a helper that was not in the room can still follow it. Three of them shape everything below: promote each finished build without asking when its full staging gate passes; roll staging back when a gate fails twice after fixes; and a stop line on the weekly usage meter.
Seven claims about the upgrade, checked against its own counts
Each claim shows two counts: the number the claim implies (before) and the number counted from the project’s files on 2026-10-27 (after). Decide whether the counts back the claim. The claims are ours.
Every audit finding became its own plan item.
measured delta -102 findings -42.9%
The second pass found nothing wrong with the first.
measured delta -10 items -21.3%
Every file a promote sent read back unchanged.
measured delta 0 files 0.0%
Every promote left a rollback point.
measured delta 0 promotes 0.0%
The queue is finished.
measured delta -2 rows -2.8%
A full gate run takes under an hour.
measured delta +31.3 minutes +52.2%
A new gate rule works the first time it runs.
measured delta -8 faults -100.0%
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
MeasuredReportedn = 53 promotes, 72 queue rows, 63 timed gate runs Counts read from the project’s audit plan, queue, promote records, rollback folder, gate run folders and proof outputs with the script saved in this class’s evidence, 2026-10-27. The claims are constructed to be checked.
Two themes, one direction
A store can hold several copies of its theme, and only one is published. The vendor: “When you publish a theme, the previously published theme becomes unpublished.” The upgrade used an unpublished copy as staging and never published it. It changed files in place instead, which the vendor’s Asset resource describes as follows: “You can use the Asset resource to add, change, or remove asset files from a shop’s theme.” That resource belongs to the REST Admin API, which the vendor’s page, read again on 2026-10-27, now marks as legacy, adding that new public apps must be built with the GraphQL Admin API. The upgrade used the REST resource; a new tool for the same job is better written against the GraphQL Admin API.
ReportedMeasuredn = 161 items, 23 checks The stations are the project’s push, promote and restore scripts and the owner’s standing rules, read 2026-10-26. The two counts are counted from the plan and the gate.
- A snapshot before the first write. Before a build touches staging, both copies of every file it will change are saved with a manifest: 58 such snapshots in the rollback folder.
- A push script with no live mode. It writes staging only, and its own description says there is no live mode and no flag that makes one (Reported). Each write is checked three ways: the md5 sent, the checksum the write answers with and the one a fresh read reports must be equal.
- One promote script for hub builds. The first promote, Wave 1’s, ran through the script this one was copied from, with the same lock (Reported). It takes a write lock, so two promotes can never interleave, and a fresh rollback point of every live file it will change. 53 promote rollback points sit in the folder, one for each promote.
- A one-line restore. The restore script puts any rollback point back on one theme, verified by md5 (Reported), under the same lock when the target is live.
- Gate backups. Before any gate file changed, it was copied too: 43 gate backups.
The rollback points were the cheapest part of the whole method and the one that made the rest safe to try: a build that went wrong on staging could be undone without anyone remembering what it changed.
A promote record, part by part
The shape of one record the promote script writes, with the values replaced by placeholders. Select a line to see what it proves. Nothing is scored.
# one promote record (placeholders in angle brackets)Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
ReportedMeasuredn = 52 records The fields are the promote script’s own record, read 2026-10-26. Across its 52 records the script wrote 303 files and 303 read back matched (MEASURED, counted from the records). The 32 digits are the vendor’s description of the checksum field.
The gate, and why NOT JUDGED is never a pass
The hub’s gate is one script and a set of browser probes. It runs in four parts, one after another, because browser runs that overlapped had caused gate errors (Reported). Part A holds 13 checks (counts, credits, links, the learning paths), part B 5 (the page budget, sideways scroll, the hero’s house style, the trailer, layout and navigation), part C 2 (the reading-record beacon and the claims scan of every class page), part D 3 (the store pop-up on the hub and on older class pages, and the article cards). Checks 4 and 5 also carry 12 named rules, added build by build.
The gate grew during the upgrade. Wave 1’s staging gate ran 17 checks in the same four parts, and 6 more were added build by build. Not every promote went through all four parts, either. 40 promotes were judged by the four-part gate of their day, and the Wave 1 promote by its 17 checks. The 12 page waves, which changed class pages, other single pages and a few snippets those pages use, but none of the hub’s own sections, were judged by a per-page check of every changed page plus part C (Reported).
| Part | Checks | Median minutes |
|---|---|---|
| A: counts, credits, links, paths | 13 | 11.7 |
| B: budget, sideways scroll, layout, trailer | 5 | 10.3 |
| C: beacon, claims on every class page | 2 | 19.6 |
| D: store pop-up, article cards | 3 | 48.2 |
| A full run, part A start to part D end | 23 today | 91.3 |
Measuredn = 63 timed full gate runs The checks per part are today’s, read from the sequential gate runner; the runs timed had between 17 and 23 checks. The minutes come from the start and end lines of every gate run folder whose four part files each hold one run with a verdict, run one after another in order A to D, 2026-10-27. In 2 of those folders a part was re-run in its place and the failed first run kept beside it; their spans include that first run; the rest of the 120 folders (fewer than four parts, an aborted part, or parts run in parallel or out of order) are left out. Staging runs alone: median 89.4 minutes over 37 runs; live runs 92.95 over 26.
Every part ends with one of four exit codes, and the gate’s own description is short about them: “Only 0 is a pass” (Reported). The other three are not degrees of passing:
- 1, FAIL: a check judged and failed. The build stops on staging.
- 2, GATE ERROR: the gate could not run, so nothing was judged. Run the part again, alone. It is not a pass because nothing failed.
- 3, NOT JUDGED: no check failed, but at least one could not be judged. A check nobody judged has not passed either.
The promote script refuses any part that did not exit 0, unless a written exception in the script covers that case (Reported). Part D is one such case. Its checks (the pop-up on the hub, the pop-up on older class pages, and the article cards) can only judge when the store’s forms app (Shopify Forms) serves its settings and the pop-up arms (Reported). Often it did not: on the first build’s day the report noted no settings in every run since 2026-10-05 (Reported), and across the upgrade’s part D runs, check 12 was NOT JUDGED on 41 of 80, check 12b on 29 of 80, and check 12c on 24 of 66 (Measured). The owner ruled in the decisions file that a promote may go ahead with check 12 NOT JUDGED (Reported), and the promote script accepts part D at exit 3, that is, with no part D check failed and one or more of them not judged (Reported). Of the 40 promote records that store all four parts with exit codes, 21 have part D at exit 3. An exception you can live with is named, written into the script and counted.
Which line blocks the promote?
Three outputs, each with one line that must stop a promote. Pick it. The outputs are constructed from the shapes of the project’s gate and proof files; nothing in them is a measurement.
part A: exit 0, GATE: PASS part B: exit 3, GATE: NOT JUDGED (check 18 could not be judged) part C: exit 0, GATE: PASS part D: exit 3, GATE: NOT JUDGED (check 12 could not be judged) Which line blocks it?
Which NOT JUDGED does a written rule cover?
last staging write: 21:19 UTC part A started 21:12 UTC, exit 0 part B started 21:30 UTC, exit 0 part C started 21:44 UTC, exit 0 part D started 22:05 UTC, exit 0 Which line blocks it?
Compare every start with the last write.
proof of a new rule BASE want PASS got PASS OK M1 want FAIL got FAIL OK M2 want FAIL got PASS WRONG M3 want FAIL got FAIL OK Which line blocks it?
A proof is the rule failing on purpose.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Reportedn = 3 constructed outputs Constructed for this class from the project’s gate part files and fault-proof outputs, read 2026-10-26. The rules: the promote script’s pre-flight and the owner’s standing rule on check 12.
The gate also sets the pace. The median full run took 91.3 minutes, and a build needs a staging gate and a live gate: about 182 minutes of gate time per build at the two medians, before any fix. Try the arithmetic for a pile of your own.
How much gate time does a pile of builds take?
Pick whether each build needs only its staging gate or the live gate too, how many builds are waiting, and how long one full gate run takes; the readout is the gate time for the pile, run one after another. The default, 91.3 minutes, is the median of the timed full gate runs on this hub. Replace it with your own.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
CalculatedMeasured How the readout is calculated
- Measured
- Default 91.3 minutes: the median of 63 full gate runs, part A’s start to part D’s end, from every gate folder whose four part files each hold one run with a verdict, run one after another in order A to D (shortest 52.2, longest 164.3); the rest of the 120 gate run folders are left out. Staging runs alone: median 89.4 minutes over 37; live runs: 92.95 over 26.
- Method
- Calculated: builds x minutes per run x runs per build. A folder where a part was re-run after a later part, or ran in parallel with another, is not a full run and is left out.
- n
- 63 timed runs on one hub, one machine, with other work sharing it. This is not a benchmark.
- Source
- The project’s gate run folders, read 2026-10-27.
- Excludes
- Fault proofs, fix attempts, waiting for a free slot, and the writing of the build itself.
Prove the rule before you trust it
Every build of the upgrade that changed what the gate checks also changed the gate, and every new rule had to fail before it was allowed to pass anything. The first build report puts it plainly about its three new checks: all three were red on staging before the push, on the real defects, and each was red on its own planted fault after it (Reported). The proof scripts follow one shape: the rule must fail on the live site where the defect is real, pass cleanly on the build, and fail again on each planted fault, with a clean run before and after. There are 36 such fault-proof scripts across 28 build folders.
Why the ritual matters is one story from 2026-10-23. A build added a new layout check, check 18. The staging gate came back with every part passing, and so did the first red-first run on the live site, which should have failed. The fault proof was the only thing that disagreed: the clean run passed, and all 8 planted faults passed too (Measured). A rule that cannot fail proves nothing, so the build stopped there. The cause was in the gate itself: its verdict walked a list of checks that ended at 17, so check 18 ran and was recorded but never printed or counted (Reported). The build report calls it what it was: a real gate bug, caught only because the proofs were red-first (Reported).
The fix in the gate was small: the list gained 18, and the verdict now prints any recorded check that is not on the list, so a future check cannot vanish the same way. Then the proof itself turned out to have defects. Its faults for the hub’s script never applied, because the store serves that script minified and the find strings were written for the source (Reported); the proof now requires a mark in the output of every case that its fault was applied, so an unapplied fault can never pass (Reported). It took 5 proof runs, with 8, 4, 0, 1 and 0 cases wrong, before every case was right and the full gate could judge the build.
The same trap came back on 2026-10-26, with a new tab bar. Its first proof run had 8 cases wrong, and 5 of them were faults that matched nothing the store served: the store’s content network serves the hub’s style sheet and script minified, 191,557 B served against 277,464 B stored (Reported). Each fault now carries the minified form too, and the third run had 0 wrong.
Never loosen a failing check
On 2026-10-23 a build’s staging gate failed part B: on a 768 px screen, opening the Useful Links tab left its panel starting 6 px above the top of a 900 px screen (Reported). The check was right. The cause was a latent bug in the hub’s own script that the new content’s height exposed, and the fix went into the build: a sticky bar under 24 px high on screen is no longer used as a scroll offset (Reported). The build report’s note on it is one line: no gate rule changed (Reported).
Is this allowed by the method?
Ten actions during a rebuild. Read PASS as: the method on this page allows it. Read FAIL as: it does not. The actions are ours; each answer rests on a rule in the project’s own files, read 2026-10-26.
An audit agent edits a tab file to fix the bug it has just found.
audit plan
A second agent re-checks a finding and downgrades it.
audit plan
A build is pushed to the staging theme before any gate has run on it.
promote script
A helper pushes a one-line fix straight to the live theme.
push script
The promote script writes while another promote holds the write lock.
promote script
A promote goes ahead with part D NOT JUDGED on check 12.
decisions file
A part that exited 2, a gate error, is counted as a pass because no check failed.
gate script
A failing check is switched off so the build can go live today.
build report
A new gate rule joins the gate before any planted fault has turned it red.
build report
After a live gate fails, the rollback point goes back on and the fix starts again on staging.
restore script
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Reportedn = 10 constructed actions; 10 rules read The actions are constructed for this class. Each rule is in the project’s audit plan, decisions file, build report or the push, promote and restore scripts, read 2026-10-26 (local files; the ledger holds the sentence for each).
The release desk: promote, hold or roll back
This is the exercise the page is built around. Five builds wait on the desk, each with the facts the promote script and the live gate would give you. Decide each one. Two carry a trap that only the method catches: a gate part that judged a different build, and a new rule that has never been seen to fail. Get one wrong and the card says what would have happened.
Five builds are on the desk. Each card lists its gate parts, when they started, its fault-proof results and the pre-flight facts the promote script checks. Decide for each: promote it, hold it on staging, or roll the live theme back. Two of the five carry a trap that only the method catches. The builds and their facts are invented for this exercise; the rules that grade your decisions are the project’s own, from the sections above.
Reportedn = 5 constructed builds, 2 traps The builds, their facts and the traps are invented for this exercise. The rules that grade your decisions are the project’s: the promote script’s pre-flight, the owner’s standing rule on check 12, and the rule that a new gate rule counts only after it has gone red. The second trap is the 2026-10-23 story above, in miniature. Nothing here measures how often a real build carries a trap.
Promote, then judge live
The promote script does nothing until its pre-flight holds, and it runs the pre-flight twice: once at the start and once more right before the first write, so nothing can change in between unnoticed (Reported). The five conditions, in its own order:
- The targets and the rule. The live theme is the live theme, staging is staging, and the decisions file still records the owner’s standing rule.
- The gate. Every part exited 0, or exited 3 in a case a written exception in the script covers, such as check 12 in part D; every part started after the build’s last staging write; and the gate files are byte-identical to the ones the run recorded when it started (Reported). The script pins 17 gate files that way.
- The build. The build for the live theme equals a fresh rebuild from the live snapshot, byte for byte.
- Staging. Staging still holds exactly the gated build (Reported).
- The live theme. Every live file the build changes still equals its snapshot (Reported). If someone changed a live file since, the rollback point would not restore what is there now, so the script refuses.
Then the write lock, a fresh rollback point, the time-of-check run, the writes, a fresh read of every file and a record. Across the 52 records of the promote script and the first promote before it, 334 files were written to the live theme and all 334 read back matched, across 128 distinct files in the script’s records. The vendor’s description of the checksum each file carries: “The MD5 representation of the content, consisting of a string of 32 hexadecimal digits.”
A promote is not the end. The live gate runs the same checks against the live theme, and only its result closes a queue row. There are 120 gate run folders in the build folders, 51 of them live runs. One of those live runs shows why a gate error is a separate exit code. On 2026-10-24 a live gate’s part D ended at exit 2: a probe had timed out loading the hub, while the site answered HTTP 200 in 0.8 s straight after (Reported). Nothing was judged, so nothing was concluded. Part D ran again, alone, and no check failed; check 12 was not judged, as on about half the runs, and the build stayed live.
The same habit applies to every unattended step of a build like this. The vendor’s documentation for scripted runs: “Claude Code exits with code 0 on success and a non-zero code when the run fails, so your scripts can branch on the exit status.” A script that branches on the code has to know which codes mean nothing was judged.
The promote script’s checks, in order
Five checks the promote script makes before it writes, then the write itself. For each case, pick the check that stops it first; if one passes all five, pick the last button. The cases are constructed; the checks are the script’s own, read 2026-10-26.
Part B exited 2: a probe timed out
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.REFUSED
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.never reached
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.never reached
- Staging holds the buildStaging still holds exactly the gated build, file for file.never reached
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.never reached
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.never reached
Part A began before the fix was pushed to staging
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.pass
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.REFUSED
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.never reached
- Staging holds the buildStaging still holds exactly the gated build, file for file.never reached
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.never reached
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.never reached
The gate script was edited after the run began
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.pass
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.pass
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.REFUSED
- Staging holds the buildStaging still holds exactly the gated build, file for file.never reached
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.never reached
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.never reached
A staging file was changed by hand after the gate
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.pass
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.pass
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.pass
- Staging holds the buildStaging still holds exactly the gated build, file for file.REFUSED
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.never reached
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.never reached
A live file changed after the snapshot was taken
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.pass
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.pass
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.pass
- Staging holds the buildStaging still holds exactly the gated build, file for file.pass
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.REFUSED
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.never reached
Everything holds
- Gate partsEvery part exited 0, or exited 3 in a case a written exception covers, such as check 12 in part D.pass
- Started after the last writeEvery part started after the build’s last staging write, so the gate judged this build.pass
- Gate files pinnedThe gate script and its probes are byte-identical to the ones the run recorded when it started.pass
- Staging holds the buildStaging still holds exactly the gated build, file for file.pass
- Live equals the snapshotEvery live file the build changes still equals the snapshot taken before the build.pass
- Lock, rollback point, writeTake the write lock, copy every live file to a rollback point, run the checks again, write, read back.REFUSED
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
ReportedMeasuredn = 5 pre-flight conditions The checks are the promote script’s STEP 0 and STEP 1 to 3, read 2026-10-26; it pins 17 gate files byte for byte. The cases are constructed.
The team, and the meter as part of the plan
- A driver, and the plan in files. The plan, the queue and the owner’s decisions were files, so whatever drove the build could pick them up, and the headless legs followed a written set of leg rules, rewritten for the second driver script on 2026-10-21 (Reported). On 2026-10-18 one desktop driver session on Claude Opus 5.5 built and promoted, everything in sequence (Reported). From the afternoon of 2026-10-19 headless runs started by scheduled tasks drove, first a single headless run and then the full-build task, whose script runs no model and starts one headless Claude Code leg at a time (Reported). From 2026-10-24 a desktop driver session on Claude Opus 5.5 drove again (Reported), and it ran the last promotes itself (Reported).
- Helpers, one cycle each. Each helper leg did one build cycle from the queue: build, push to staging, prove, gate and, under the owner’s standing rule, promote through the same script (Reported). The first headless legs ran on Claude Opus 5.5 (Reported). From 2026-10-21 they ran on Claude Sonnet 5.5, bundled three or four queue items into one gate cycle, and left the waiting to the script (Reported), because a leg that had waited on a gate run re-loaded its whole context afterwards (Reported). From 2026-10-24, fresh Sonnet 5.5 helper agents took one step each while the driver waited for the long gate runs in the background (Reported).
- An outside auditor. A separate agent that does not build audits the academy’s classes from outside the build (Reported).
The briefs were the control, and the scripts were the backstop. The vendor’s documentation makes the same split for permissions: “Permission rules are enforced by Claude Code, not by the model.” A brief that says never write the live theme shapes what a helper tries. Our reading, not the vendor’s: on this upgrade it was the promote script’s pre-flight that made the rule of promoting only after a passing gate hold for every writer that used it, helpers included; a permission rule that denies direct writes to the live theme would be the harder backstop.
The usage meter was written into the plan as a stop line on the weekly meter: first 71 percent, then, when the build reached it on 2026-10-19, raised by the owner to 80 percent (Reported). The build reports’ own readings: 27 percent at the start on 2026-10-18 and 73 percent through the last session of 2026-10-19, a rise of 46 points in one weekly window. None of the readings in between went down, so no weekly reset came between them, and other work on the same account shared that meter. From 2026-10-19 to 2026-10-24 the build legs ran outside the weekly meter (Reported), so the meter does not show them; from 2026-10-24 they ran on it again (Reported), and the build report holds one reading for that window, 38 percent on 2026-10-25. No share is computed from a single reading.
Write a helper’s brief for one leg
Six fields. The block updates as you type. The fields are the ones the project’s briefs carry; the values are a constructed example. Copy it and check: could a fresh helper, with nothing but this, finish the leg and say what it could not verify?
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
Constructed on this page. On the hub upgrade the plan, the queue and the owner’s decisions were written down for the driver and every leg; helpers did one leg each from a brief like this and reported back, and under the owner’s standing rule they also promoted, through the same promote script the driver used. The stop line on the weekly meter was 80 percent.
What went wrong, how it was caught, and what this does not show
- A gate that could not see its newest check. Caught by a fault proof whose planted faults all passed (module five).
- A rule the minified copy defeated. Faults written for the source file matched nothing in the file the store serves. Caught because the proof now refuses a case whose fault did not apply.
- A class registered on staging that failed the hub’s own check 1. A new class listed on the staging hub made every full staging gate fail check 1, because the hub’s class count and FAQ date move only at launch (Reported). The owner ruled to take it off the staging listing, keep its page, and list it again after its audit.
- A miss in a build, not in the gate. A build that fixed card minutes failed part A on check 4: the hub’s newest-classes entries took their minutes from the page template, not from the dataset the build had changed. The report calls it a real miss in the build, and no gate file changed (Reported).
- A probe that timed out. Exit 2, run again alone, judged on the re-run (module seven).
What this does not show:
- It is one site. The counts come from one hub page, one store and one upgrade. They do not show that this method is faster, cheaper or safer than another.
- It is not finished. Two queue rows are PARTIAL on the day this page was counted; their live gate is still to run.
- No cost figures. What the upgrade cost was not measured for this page and is not on it.
- What the gate cannot see. 23 checks judge what they were written to judge. A defect no check looks for passes, and a check whose fault proof was never run proves nothing.
- Roles, not people. The page names the owner’s role and the models, and no one else.
To start a rebuild of your own, answer three questions. The drill lists what you need first.
What a rebuild of your own needs first
Three questions; steps that do not apply disappear. Each step comes from a rule on this page. The questions and the order are ours.
- Audit read-only, then rankTeams per area raise labelled findings, a second agent tries to refute each, and the result is a ranked plan. Nothing is written yet.
- Take a rollback point before every buildCopy every file the build will touch, from both copies of the site, before the first write.
- Let one script write the live siteIt checks the gate, takes a lock and a fresh rollback point, writes, and reads every file back.
- Make the staging copy firstDuplicate the live theme and build there. Customers cannot see an unpublished theme.
- Give one driver the plan and the promotesHelpers each take one leg from a written brief and report back; only the driver promotes. On this upgrade helpers promoted too, but only through the promote script and its pre-flight.
- Give every helper a stop ruleA second failure on the same step stops the leg, and so does the meter line.
- Run the browser parts one after anotherOn this hub, overlapping browser runs caused gate errors; the sequential runner exists for that.
- Treat a timed-out probe as a gate errorExit 2 judged nothing. Run that part again alone; never count it as a pass.
Your answers stay in this browser. Nothing is sent anywhere. Reset clears them.
ReportedQuotedn = 8 steps, 3 questions Each step restates a rule from the project’s own files (audit plan, decisions, push, promote and restore scripts, the sequential gate runner), read 2026-10-26; the unpublished-theme line is the vendor’s. The questions and the order are ours.
Where next: Multi-Agent Coding Team for a builder and a verifier that are never the same session, Permissions for what each helper may run, TDD with AI for writing the check before the change, Headless Automation for the unattended legs and their exit codes, and Reading the Bill for the meter a build like this draws on. All are independent classes, as is this one: not affiliated with Anthropic or Shopify.
Questions
How do you rebuild a live site with AI without breaking it?
Separate looking from writing, and writing from going live. On this academy's hub, a read-only audit came first; then every build went to an unpublished staging copy and through a staging gate: the full four-part gate for hub builds (23 checks today; it grew build by build), and a per-page check of every changed page plus part C for the page waves that left the hub's own sections alone. New gate rules were first proven red on a planted fault, and every hub build reached the live theme through the promote script, which takes a lock and a rollback point and reads every file back (the first, Wave 1's, through the script it was copied from). 53 promotes wrote 334 files and all 334 read back matched.
Why audit read-only first?
Because a fix made during an audit cannot be checked afterwards. Here 16 teams of agents raised 238 labelled findings and wrote nothing; a second agent tried to refute each one (0 refuted, 31 downgraded, 38 added), and seven fresh agents re-checked 31 vendor facts on live pages, of which 4 were wrong. The plan itself notes that the second pass still found errors in about one item in five.
What is a staging copy of a Shopify theme?
An unpublished copy of the live theme that takes every build first. The vendor's documentation says customers can't see unpublished themes, so a build can be gated there before anything reaches visitors. The upgrade wrote files into the staging copy and, after a passing gate, the same changes into the live theme; it never switched which theme was published.
What does NOT JUDGED mean, and why is it not a pass?
It means no check failed but at least one could not be judged. The gate's exit codes are 0 PASS, 1 FAIL, 2 GATE ERROR and 3 NOT JUDGED, and only 0 is a pass. The promote script refuses any part that did not exit 0 unless a written exception in the script covers that case. Part D is one. Its checks judge the store's pop-up and the article cards, and they can only judge when the store's forms app (Shopify Forms) serves its settings and the pop-up arms; check 12 was NOT JUDGED on 41 of 80 part D runs. The owner ruled in writing that a promote may go ahead with check 12 NOT JUDGED, and the script accepts part D at exit 3.
What is a fault proof?
A run that plants one fault per case and requires the rule to go red on each, with a clean run before and after. A rule that has never been seen to fail proves nothing. On 2026-10-23 a new layout check passed all 8 of its planted faults; the cause was a bug in the gate, which never printed the new check. The proof was the only thing that caught it.
What does the promote script check before it writes?
That every part of the gate passed, or ended NOT JUDGED in a case a written exception in the script covers, such as check 12; that every part started after the build's last staging write; that the gate files are byte-identical to the ones that judged the build; that staging still holds the gated build; and that every live file still equals its snapshot. It checks all of that twice, then takes the write lock and a fresh rollback point, writes, and reads every file back.
Who did the work?
A driver kept the plan, the queue and the owner's decisions, and helper legs each did one build cycle from a written brief. From 2026-10-19 a scheduled task ran the legs as headless Claude Code runs, on Claude Opus 5.5 at first and on Claude Sonnet 5.5 from 2026-10-21; from 2026-10-24 a driver session on Claude Opus 5.5 ran fresh Sonnet 5.5 helper agents. Every hub build reached the live theme through the promote script and its pre-flight (the first, Wave 1's, through the script it was copied from): helper legs ran it under the owner's standing rule, and the driver ran the last promotes. A separate auditor agent reviews the academy's classes from outside the build. The weekly usage meter had a written stop line, raised from 71 to 80 percent during the build.
Which classes should I take first?
Multi-Agent Coding Team for keeping the builder and the verifier apart, Permissions for what each helper may run, TDD with AI for writing the check before the change, Headless Automation for unattended runs and their exit codes, and Reading the Bill for the usage a build draws on.