From 0f42d86fdbe1d613eac86538d4816720af64f400 Mon Sep 17 00:00:00 2001 From: Maria Carter Date: Mon, 23 Nov 2026 17:39:17 -0500 Subject: [PATCH 1/5] House standards: keep away from page builder files EComposer and PageFly regenerate their theme files on publish, and Macroscope's fleet-wide ignore skips their prefixes, so a file of ours named that way would go unreviewed. --- docs/HANDOFF.md | 4 ++++ templates/github/README.md | 2 +- templates/github/claude-standards.md | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index eb70dde..5bf0f8f 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -12,6 +12,10 @@ open `todo` issues (`gh issue list --label todo`); this file points at them rath `vercel-site`, `agents-pipeline`) and the `driver-ruleset` property, set before any PR had shown `validate / validate` reporting. If its first PR waits on "Expected" for that check, the stub did not start; an org admin can merge past it. +- **Page builder files** are a new house standard in `claude-standards.md`, kit-only, so it reaches + the fleet with the next wave; until then the audit reports content drift on that file. The + standard says Macroscope skips PageFly's `pf-*` and `pagefly-*` files, which needs a driver-agents + `.macroscope/ignore.md` change beside driver-agents#109's EComposer lines. - **Docs elsewhere** still describe `vercel-deploy` and auto-merge on Vercel sites, and are due now that v1.23.0 is out: Team-Laird#89, Driver-Digital-Website#203, studio-sulzer#99 and driver-onboarding#52. diff --git a/templates/github/README.md b/templates/github/README.md index cb45492..8100ad3 100644 --- a/templates/github/README.md +++ b/templates/github/README.md @@ -14,7 +14,7 @@ take it from there. The dispatcher owns every Bonsai status move; no workflow he | `pr-bonsai-link.yml` | `.github/workflows/pr-bonsai-link.yml` — repos on the agents pipeline | Checks the Bonsai link in a PR body. A PR body that never mentions `hellobonsai.com` is skipped (grey, never red). The PR template mentions it, so a templated PR reads red until its `Bonsai task:` line is filled in. One that mentions it must carry an `app.hellobonsai.com/tasks/` URL, a board link ending `task=`, or `Bonsai task: none`. Check-run context is the job id, **`bonsai-link`**. | | `close-linked-issues.yml` | `.github/workflows/close-linked-issues.yml` — every kit repo | On a PR merged into a `main-*` branch (Palmers' country branches), closes the open issues its body names with a closing keyword (`Closes #N`), which GitHub honours only on the default branch. Not a required check. | | `pull_request_template.md` | `.github/pull_request_template.md` — repos on the agents pipeline | Gives human PRs the `Bonsai task: \| none` line `bonsai-link` checks for, and prompts them to **link the Bonsai issue** (`Closes #N`) so the dispatcher can resolve the task. AI PRs write both themselves. | -| `claude-standards.md` | `.github/claude-standards.md` — every kit repo | The house standards: commits, comments, to-dos, `docs/HANDOFF.md`, docs shipping with the change, branches and PRs, comments on a PR, closing issues, theme editor changes on a preview, Figma designs on a PR, client team memory, `ponytail:` comments, subagents, replies. The repo's `CLAUDE.md` imports it with `@.github/claude-standards.md` (replacing any pasted copy). On a PR run the import resolves to the PR head's copy, so it carries style only. | +| `claude-standards.md` | `.github/claude-standards.md` — every kit repo | The house standards: commits, comments, to-dos, `docs/HANDOFF.md`, docs shipping with the change, branches and PRs, comments on a PR, closing issues, theme editor changes on a preview, page builder files, Figma designs on a PR, client team memory, `ponytail:` comments, subagents, replies. The repo's `CLAUDE.md` imports it with `@.github/claude-standards.md` (replacing any pasted copy). On a PR run the import resolves to the PR head's copy, so it carries style only. | | `claude-settings.json` | `.claude/settings.json` — every kit repo | Shared Claude Code project settings: turns off the commit `Co-Authored-By` trailer and the PR "Generated with" footer in interactive sessions (CI sets the same keys). The kit owns only its `attribution` keys: the wave merges them into a repo's existing file and the audit compares only them, so the repo keeps the rest. | | `shopify-tool-smoke.yml` | `.github/workflows/` — Shopify repos with a store, on the agents pipeline | Manual (`workflow_dispatch`) diagnostic for the Shopify admin tool: secrets → `driver-agents` clone of `main` → token mint → Admin API, read-only. Fails **loudly** where `claude.yml` degrades — that's the point. | | `dependabot/.yml` | `.github/dependabot.yml` — every kit repo | The Dependabot config, one whole file per kind of repo: `npm.yml` (a root `package.json`), `actions.yml` (no root `package.json`; every kit repo has workflows once waved), and one per repo with its own exceptions (`driver-agents.yml`, `vite-plugin-shopify-clean.yml`). `tools/kit-platforms.sh` picks the variant; a new exception becomes a variant, not a hand edit. Its `github-actions` block is also the updater for the stub pins, which nothing else bumps between waves. | diff --git a/templates/github/claude-standards.md b/templates/github/claude-standards.md index e5f3052..18c2428 100644 --- a/templates/github/claude-standards.md +++ b/templates/github/claude-standards.md @@ -91,6 +91,14 @@ file from the PR head, so anything load-bearing belongs in `CLAUDE.md` or `.clau file differs from the last pushed commit and the branch has not changed it since, take the preview's version and commit it ("Pull theme editor changes"). Where both changed, stop and ask. Skip this when the CLI has no access to the store, and say so. +- **Page builder files** — Page builder apps write their own files into a Shopify theme, and a live + theme pull brings them into the repo: EComposer's `ecom-*` and `ecom_*` files, `layout/ecom.liquid` + and `templates/*.ecom*`, and PageFly's `pf-*` and `pagefly-*` files and + `layout/theme.pagefly.liquid`. Never edit one by hand: the app rewrites it when the merchant + publishes, so keep the live theme's copy and make changes in the app. Never give a file of ours + one of these prefixes, in any repo: Macroscope skips them fleet-wide, so the file would go + unreviewed. Do not review them, and a theme repo that carries them lists them under `ignore:` in + its `.theme-check.yml`, since they fail theme check with errors only the app can fix. - **Figma designs on a PR** — When a PR implements a Figma design, put the design link in its description and add the `figma` label (`gh pr create --label figma`, or `gh pr edit --add-label figma`): Macroscope runs its design fidelity check only on PRs with that label. If you cannot add From 68b1b4953f200d9a9fa48612b026295df5d369eb Mon Sep 17 00:00:00 2001 From: Maria Carter Date: Mon, 23 Nov 2026 17:43:20 -0500 Subject: [PATCH 2/5] House standards: match PageFly's names to the Macroscope ignore PageFly also writes pagefly.* assets and templates/*.pf-* templates. --- docs/HANDOFF.md | 2 +- templates/github/claude-standards.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 5bf0f8f..36b6502 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -14,7 +14,7 @@ open `todo` issues (`gh issue list --label todo`); this file points at them rath not start; an org admin can merge past it. - **Page builder files** are a new house standard in `claude-standards.md`, kit-only, so it reaches the fleet with the next wave; until then the audit reports content drift on that file. The - standard says Macroscope skips PageFly's `pf-*` and `pagefly-*` files, which needs a driver-agents + standard says Macroscope skips PageFly's files, which needs a driver-agents `.macroscope/ignore.md` change beside driver-agents#109's EComposer lines. - **Docs elsewhere** still describe `vercel-deploy` and auto-merge on Vercel sites, and are due now that v1.23.0 is out: Team-Laird#89, Driver-Digital-Website#203, studio-sulzer#99 and diff --git a/templates/github/claude-standards.md b/templates/github/claude-standards.md index 18c2428..df5101c 100644 --- a/templates/github/claude-standards.md +++ b/templates/github/claude-standards.md @@ -93,8 +93,8 @@ file from the PR head, so anything load-bearing belongs in `CLAUDE.md` or `.clau when the CLI has no access to the store, and say so. - **Page builder files** — Page builder apps write their own files into a Shopify theme, and a live theme pull brings them into the repo: EComposer's `ecom-*` and `ecom_*` files, `layout/ecom.liquid` - and `templates/*.ecom*`, and PageFly's `pf-*` and `pagefly-*` files and - `layout/theme.pagefly.liquid`. Never edit one by hand: the app rewrites it when the merchant + and `templates/*.ecom*`, and PageFly's `pf-*` and `pagefly*` files, `layout/theme.pagefly.liquid` + and `templates/*.pf-*`. Never edit one by hand: the app rewrites it when the merchant publishes, so keep the live theme's copy and make changes in the app. Never give a file of ours one of these prefixes, in any repo: Macroscope skips them fleet-wide, so the file would go unreviewed. Do not review them, and a theme repo that carries them lists them under `ignore:` in From b97de73cad68ec13414e9fd31ffbba0e861bc7dd Mon Sep 17 00:00:00 2001 From: Maria Carter Date: Mon, 23 Nov 2026 17:43:32 -0500 Subject: [PATCH 3/5] House standards: page builder names are patterns, not only prefixes; handoff points at driver-agents#109 --- docs/HANDOFF.md | 5 ++--- templates/github/claude-standards.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 36b6502..76c02f3 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -13,9 +13,8 @@ open `todo` issues (`gh issue list --label todo`); this file points at them rath `validate / validate` reporting. If its first PR waits on "Expected" for that check, the stub did not start; an org admin can merge past it. - **Page builder files** are a new house standard in `claude-standards.md`, kit-only, so it reaches - the fleet with the next wave; until then the audit reports content drift on that file. The - standard says Macroscope skips PageFly's files, which needs a driver-agents - `.macroscope/ignore.md` change beside driver-agents#109's EComposer lines. + the fleet with the next wave; until then the audit reports content drift on that file. It says + Macroscope skips these files, which holds once driver-agents#109 merges. - **Docs elsewhere** still describe `vercel-deploy` and auto-merge on Vercel sites, and are due now that v1.23.0 is out: Team-Laird#89, Driver-Digital-Website#203, studio-sulzer#99 and driver-onboarding#52. diff --git a/templates/github/claude-standards.md b/templates/github/claude-standards.md index df5101c..2ca1dba 100644 --- a/templates/github/claude-standards.md +++ b/templates/github/claude-standards.md @@ -96,7 +96,7 @@ file from the PR head, so anything load-bearing belongs in `CLAUDE.md` or `.clau and `templates/*.ecom*`, and PageFly's `pf-*` and `pagefly*` files, `layout/theme.pagefly.liquid` and `templates/*.pf-*`. Never edit one by hand: the app rewrites it when the merchant publishes, so keep the live theme's copy and make changes in the app. Never give a file of ours - one of these prefixes, in any repo: Macroscope skips them fleet-wide, so the file would go + a name that matches one of these, in any repo: Macroscope skips them fleet-wide, so the file would go unreviewed. Do not review them, and a theme repo that carries them lists them under `ignore:` in its `.theme-check.yml`, since they fail theme check with errors only the app can fix. - **Figma designs on a PR** — When a PR implements a Figma design, put the design link in its From e3b86a3f525f7620454d565eefb12a3f10a02173 Mon Sep 17 00:00:00 2001 From: Maria Carter Date: Mon, 23 Nov 2026 17:43:38 -0500 Subject: [PATCH 4/5] House standards: rewrap the page builder bullet --- templates/github/claude-standards.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/github/claude-standards.md b/templates/github/claude-standards.md index 2ca1dba..dd3ab71 100644 --- a/templates/github/claude-standards.md +++ b/templates/github/claude-standards.md @@ -95,10 +95,10 @@ file from the PR head, so anything load-bearing belongs in `CLAUDE.md` or `.clau theme pull brings them into the repo: EComposer's `ecom-*` and `ecom_*` files, `layout/ecom.liquid` and `templates/*.ecom*`, and PageFly's `pf-*` and `pagefly*` files, `layout/theme.pagefly.liquid` and `templates/*.pf-*`. Never edit one by hand: the app rewrites it when the merchant - publishes, so keep the live theme's copy and make changes in the app. Never give a file of ours - a name that matches one of these, in any repo: Macroscope skips them fleet-wide, so the file would go - unreviewed. Do not review them, and a theme repo that carries them lists them under `ignore:` in - its `.theme-check.yml`, since they fail theme check with errors only the app can fix. + publishes, so keep the live theme's copy and make changes in the app. Never give a file of ours a + name that matches one of these, in any repo: Macroscope skips them fleet-wide, so the file would + go unreviewed. Do not review them, and a theme repo that carries them lists them under `ignore:` + in its `.theme-check.yml`, since they fail theme check with errors only the app can fix. - **Figma designs on a PR** — When a PR implements a Figma design, put the design link in its description and add the `figma` label (`gh pr create --label figma`, or `gh pr edit --add-label figma`): Macroscope runs its design fidelity check only on PRs with that label. If you cannot add From a72b1c9fc80961b42bfda3eb775c9d4c0108c12f Mon Sep 17 00:00:00 2001 From: Maria Carter Date: Mon, 23 Nov 2026 17:44:52 -0500 Subject: [PATCH 5/5] Handoff: driver-agents#109 is merged --- docs/HANDOFF.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 76c02f3..e57669d 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -13,8 +13,7 @@ open `todo` issues (`gh issue list --label todo`); this file points at them rath `validate / validate` reporting. If its first PR waits on "Expected" for that check, the stub did not start; an org admin can merge past it. - **Page builder files** are a new house standard in `claude-standards.md`, kit-only, so it reaches - the fleet with the next wave; until then the audit reports content drift on that file. It says - Macroscope skips these files, which holds once driver-agents#109 merges. + the fleet with the next wave; until then the audit reports content drift on that file. - **Docs elsewhere** still describe `vercel-deploy` and auto-merge on Vercel sites, and are due now that v1.23.0 is out: Team-Laird#89, Driver-Digital-Website#203, studio-sulzer#99 and driver-onboarding#52.