Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/HANDOFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ 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.
- **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.
Expand Down
2 changes: 1 addition & 1 deletion templates/github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<uuid>` URL, a board link ending `task=<uuid>`, 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: <url> \| 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/<variant>.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. |
Expand Down
8 changes: 8 additions & 0 deletions templates/github/claude-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, `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.
- **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 <n> --add-label
figma`): Macroscope runs its design fidelity check only on PRs with that label. If you cannot add
Expand Down