rea-ci-tests-audit
MOmorluto/rea485k7,690 new stars in the last 7 days
Before 'push it', 'ship it', a deploy, release or go-live, or calling a stage done: the gate, the owner's preview, go/no-go, promote, prove it serves, roll back.
A release is a decision: the owner says go; the agent supplies the evidence. This skill defines the evidence needed at each shipping step, the promotion procedure and how to prove the reviewed build serves.
The product's own instructions come first. Use its named branches, gate, backlog and record files, taking these rules as defaults where its instructions or release doc say nothing.
On another stack, keep the principle and swap the mechanism. Each rule states its principle first and the stack's mechanism second. The web-app rules were learned on Next.js (App Router), Supabase, Clerk and Netlify, with Vitest and Playwright. The client-and-backend rules were learned on a relay service with a web client and an editor extension with desktop installers (references/runbook.md).
Name the product and production branches in the release doc. Write their real names there at the first push, and nowhere else.
<product>.<product>-prod as its default name. Require the local gate, independent review and owner's go first.Treat product-branch pushes as deploys until the production branch exists. Before then, the host deploys the product branch itself; apply the environments skill for branch-to-environment mapping.
When uploading a working tree with a host CLI or releasing code used by a local scheduled job, open references/deployments.md.
Keep the release's evidence in the product's existing records.
When setting up the release records or matching their names and scripts to your product, open references/records-and-audits.md.
Phase ends and deploying pushes require the full applicable gate. Apply test-harness to compare the script with its suite contract. The owner decides any narrower set; record the choice in the plan with its reason and revisit trigger.
Close stages with coordinator checks, reserving the full process for phases. The coordinator runs touched and new tests and confirms changed journeys' end-to-end specs. Tests and corrected docs land with the change. Read the diff and run the router rows it matches (apply agent-instructions for those checks). An edited test, gate script or instruction file needs its reason, so a change cannot loosen the check that judges it. For screens, the coordinator takes a quick look at the running result, at phone and desktop widths and both themes when two exist. The builder never substitutes for that look. A stage owes no mandatory full gate, fresh review or document-app check. Mark its plan line done when its done-when holds from the coordinator's evidence, or write what keeps it open.
Finish phase checks in order before its closing push and preview.
ui-design § Complete phase visual checks before its review series and owner preview. Do a rendered check of affected screens. For a new or materially changed journey, a kit change or an owner request, also do the newcomer walkthrough, screenshot critique and scored audit. Fix visual defects before starting the review series.document-app in check mode. It reports disagreements without rewriting docs.independent-review to the whole phase and run fresh rounds until the bar holds. List Lows for the owner. If a fix followed the last full gate, rerun the full gate on the cleared state. A resulting fix needs another fresh round. Earlier phase series never replace the first release's whole-product review.| Moment | What it owes |
|---|---|
| A push to a branch that deploys | The full applicable gate and a clean independent review round covering everything the push adds; the push closes that round. Before go-live the product branch is that branch: its URL is shared with nobody, so the production preconditions are not yet owed — but the gate and the round are, and pending migrations are applied to development first. "Just push it" is a go for the push it names: name back, in one line, any of these still open rather than pushing past it. |
| A promotion to production | Every precondition (references/checklist.md), then the go/no-go, the promote and the verify. Going live is the first promotion (references/go-live.md). |
test-harness for the map's format.delegation skill for these boundaries, including its Codex reference when Codex builds.test-harness).Review before every deploying push and again before production promotion. Apply this however small the change and however green the gate. Before every round, apply independent-review § Reviewer selection and isolation and § Running it for its wrapper, selection, fallbacks and failed-round evidence.
Use fresh Codex when no reviewer is named. Prefer a qualifying product-named reviewer or recorded fallback. Otherwise use the wrapper's available reviewer without asking. A fresh session of the builder's family can serve when other families cannot. Record the reviewer, why it ran and anything left enabled.
When reviewer CLIs cannot run, open references/checklist.md § Manual review before clearing the release or deploying push.
Compute review subjects from git and repeat until the bar holds. Cover the whole unreleased range in round one, then only changes since the last round, with everything else as context. Fix what the bar names, rerun the tests each fix touches yourself, then review again. Apply independent-review for full gate timing and recording accepted Lows. Stop only when the round has no INTRODUCED finding above Low after independent-review § Triage, and no High or Critical of any age remains open. Put pre-existing findings in the backlog with a reason and revisit trigger. Fix High and Critical now, regardless of age.
Propose static audits at each release and wait for the request. Propose both the security and performance audits in the static-audit skill on the release's changes. Propose a whole-repository pass only for the first release, after a large refactor, or when the owner asks. Run these steered passes beside the independent review rather than using them to replace it. Keep reports under gitignored reports/ so security reports stay out of repository history. Fix findings or backlog them, and record declined passes as declined. Exact ranges are in references/checklist.md.
When docs and coverage evidence are maintained with changes, open references/records-and-audits.md before running doc checks or acting on audit recommendations.
Before a deploying push or promotion for a product with database migrations, open references/migrations.md. Check the integration, the ledger and what must be applied before the push.
Sell only what runs. Every selling or promising surface reads the same launch list. Require its separate, non-skippable test to pass on the exact commit before production billing exists and at every promotion. Flip an area's flag and update its claims in the release that makes it live. The list, its consumers and the test are in references/go-live.md § The paid-launch check.
Send the owner a preview after phase checks and any closing deploy. Ready means the phase checks passed and its review series is clean (§ Stage and phase close). Give a link and a short list of what to try, including the look review. Ten minutes using the product finds what reading code does not.
When the owner asks for an early preview, open references/preview.md before sharing it.
e2e:auth did not run: development test mode is not configured." Name the reason and what brings each run back, even when the coverage map already records the gap.references/preview.md.references/preview.md § Promotion and installed surfaces before sending the link.references/preview.md.Commands and the record are in references/checklist.md § 4.
references/deployments.md.references/deployments.md for the schema and runtime checks.references/deployments.md.references/deployments.md for the canary and installation checks.Run each release as one ordered, logged checklist. This includes packages, extensions, installers, store listings, and clients with backends. Log each step's command, pass and evidence in the release plan (references/runbook.md). Record every skip with its reason; correct a faulty list in the same pass.
references/runbook.md § One list, run with a log.references/runbook.md § C.references/runbook.md § D.references/runbook.md § E.references/runbook.md.references/runbook.md § The marketplace branch before pushing.Force-push the production branch · promote with an unapproved suite omission, a stale doc, or an unrun local gate · run any authenticated smoke with a real user's credentials · test against production data · apply a migration through an MCP server or the dashboard · link the database CLI to any project · deploy a runtime from a checkout that is not the release tip · hand-roll a step a release script encodes · infer a go from an ambiguous reply · announce a store listing as live before it serves the version.
references/checklist.md § 1.§ 2), and get the owner's answer in chat.§ 3).§ 4).When rolling back code, schema, a runtime, configuration or a key, or when adding guards or hosted CI, open references/go-live.md.
Each rule's origin, the case that taught it, is in receipts.md beside this file; read it when a rule's edge is unclear.
The reviewed commit serves on the live site, beyond the deploy log, and the post-promotion checks passed. The owner gave the go after the preview.
When choosing a reference or related skill for a release task, open references/records-and-audits.md § Files.
For a Netlify edge rule, client-IP check, redirect, or deploy whose behaviour changed without a diff, open references/netlify.md.
MOmorluto/rea485k7,690 new stars in the last 7 days
MOmorluto/rea485k7,690 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills336k4,217 new stars in the last 7 days