diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fde44a0..727f57f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -269,6 +269,7 @@ jobs: frontend/src --from vitest --prefix components/ app/tests/golden/api --prefix json/api/ --format json app/tests/golden/mcp --prefix json/mcp/ --format json + app/tests/golden/mcp_admin --prefix json/mcp_admin/ --format json tmp/email-snapshots --prefix emails/ --keep-extension # The journeys (scripts/journeys/run.sh): VisualCI as production runs it, on four .test hosts behind Caddy with diff --git a/AGENTS.md b/AGENTS.md index c5e50a79..7f2e2a6f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,11 +22,13 @@ design is in `docs/design.md`; read it before changing the architecture, and upd id=$(fleetlayer lease acquire main-merge --payload '{"repo":"DocSpring/visualci"}' --reason "merge PR #N" \ --pid $$ --wait --json | jq -r .id | tail -1) trap 'fleetlayer lease release "$id"' EXIT - # rebase onto origin/main, push, wait for the checks (with a timeout), gh pr merge N --squash --delete-branch + # rebase onto origin/main, push, wait for the checks (with a timeout), then until + # `gh pr view N --json mergeStateStatus -q .mergeStateStatus` is CLEAN, then gh pr merge N --squash --delete-branch ``` `--pid $$` ties the lock to the script, so it outlives an idle session and is freed when the script ends. (3 Dec - 2026: two agents' merges kept making each other's green PRs out of date.) + 2026: two agents' merges kept making each other's green PRs out of date.) Wait for CLEAN, not for the CI jobs: the + VisualCI check posts a few seconds after the `visual` job ends, and a merge in that gap is refused (4 Dec 2026). - No backwards compatibility before launch. There are no old setups to keep working: rename, change formats and drop old behaviour outright, with no redirects, aliases, fallbacks or shims for the old way (Nathan, 1 Dec 2026). - `skills/` is generated from the docs pages with `skill:` front matter. After editing such a page, run