Free resource
The Risk-Tuned Delivery Kit.
This is how we run software delivery with AI agents at High Impact Group. We tune how much process a change gets by its risk. We share it as it is, not as a standard or a recommendation. Take what is useful and change the rest to fit your own stakes.
No sign-up and no email address. Free to use under the MIT licence.
Read first, download later. Both playbooks are on this site.
What is inside
Five parts that work together.
It is a set of working files you copy into your own repo and change. Each part does one job. Both versions hold the same parts. The Claude Code version uses agents and commands where the tool-neutral version says roles and routines.
The tier document
Four risk tiers, how to pick one, and a blank trigger table for you to fill in with your own risky areas.
Roles
Each role has one job, a set level of access and a pinned model. The gate roles are the designer, design reviewer, builder, code reviewer, migration reviewer, fix-round builder and retester. Around them sit specialists for security, databases, privacy and accessibility, plus builders, operators and strategy lenses.
Routines
Reusable instructions for delivering work, reviews and audits, setting up the basics, daily and ops work, and writing and explaining.
Standing sessions
A delivery controller, a deployment manager and a smoke tester, each with one fixed job and its own brief.
Checks
A command guard, a fast-check runner and a config check. In the Claude Code version these are hooks and a drift guard.
How it works
- Classify the change first. Start at the lowest tier that fits, and go up only when a named trigger applies.
- Run only the gates that tier needs. Tier 3 runs all five.
- Keep the checker apart from the maker. A reviewer never wrote what they review, and reviewers are read-only.
- Enforce the rules that matter in code, not in prompts.
- Pin the model and effort for each role in one file, and let a script fail CI when a role disagrees.
- Keep people on the calls that are hard to undo: merging, production migrations, production settings and flag flips.
The idea
Pick the process by risk.
For us, a design, an adversarial review, a build, an independent code review and a deploy gate catch real defects. They also cost hours and a lot of tokens. For a typo or a cold-path tweak, that cost buys very little.
Size is a poor guide. Start every change at the lowest tier that fits. Go up only when a named trigger applies. Keep the full process for the few kinds of change where a mistake is expensive or hard to undo.
Four tiers
How much process a change gets.
Tier 0
CI only
Docs, tests, copy. Tooling and configuration.
No design. No review.
Tier 1 · The default for code
Light
A cold path, small, easy to revert, covered by a test that can fail.
A few lines of design in the pull request. No independent reviewer unless the owner asks.
Tier 2
Standard
Shared helpers and generators. Prompt wording, scheduled jobs, anything that sends to a customer.
A short design in the pull request. One reviewer reads the design and the diff together.
Tier 3
Full process
Migrations, money, access, privacy. The one code path your product depends on.
A design file. Two or more design reviewers. The code reviewer runs every mutation.
How we assign a tier
- Start low. Tier 1 is the default for code. Tier 0 is for docs, tests and config.
- Escalate on a named trigger only. Keep a short table of triggers in your repo. "It feels risky" is not a trigger. If you cannot name the row, stay put.
- Never go back down after a trigger fires. Whoever finds the trigger raises the tier and says so.
- Write the tier in the pull request on one line. A CI check can fail pull requests that have no tier line.
- The owner can override with one word: "tier 1".
Our trigger table is built for our own stakes, and yours will differ. The kit gives you a template to fill in.
Five gates
The full process, for Tier 3.
A role can be filled by a person or by an AI agent. What matters is that each role has one job, a stated level of access, and a different holder from the roles it checks.
G1 · Designer
Design
A design file: evidence, at least two options, files to change, tests, rollback and acceptance checks.
G2 · Design reviewer
Design review
Told to find reasons the design is wrong. Not the author. Every must-fix is answered.
G3 · Builder
Build
Tests first, shown failing. Builds exactly the approved design. Opens a draft pull request.
G4 · Code reviewer
Code review
Wrote neither the design nor the code. Reads the full diff, drives the real path and runs the mutations.
G5 · A person
Deploy
Only after G4. Migrations, environment values and flag flips are done by a human.
Pin the model for each role
We do not leave model choice to defaults. We record the model and the effort level for each role in one file, and a script fails CI when a role disagrees with it, a model is not on the allowed list, or a reviewer gains write access. This has been the cheapest way for us to keep a large set of agents consistent.
Guardrails
In code, not in prompts.
A written instruction can be ignored. So we enforce the rules we cannot afford to break with checks that run before an action takes effect: command guards, permission deny lists, branch protection and CI.
What we always block, and always check
- Plain force pushes. The lease form is allowed.
- Ending a task while the fast checks fail. A check runs them and sends the work back.
- Recursive deletes on protected paths.
- Piping a download into a shell.
- Edits to secrets, lock files and keys. Example files are exempt.
- Closing keywords in commits and pull requests, if you hand bugs to a tester.
- A guard that crashes. We make it stop the action, not let it through.
Where we want a person to decide
- Merging and marking a pull request ready.
- Opening a pull request that is not a draft.
- Pushing to the main branch.
- Applying production migrations and changing production environment values.
Parse commands properly. A substring match blocks harmless commands and misses wrapped ones. Test each guard with sample inputs, then confirm once in a live run that it fires.
Long-running sessions
Three standing sessions.
Besides the roles above, we keep three persistent AI sessions, each with one fixed job and its own brief. A person starts each one, states the authority once, and stays on the decisions that are theirs.
Delivery controller
Runs a delivery program and writes little code itself. It assigns each change a risk tier, briefs the design, review, build and test roles, and checks each result against the code, the database and the logs before it believes it.
Deployment manager
Takes a list of pull requests and an order, and walks each one to merged: brings the branch up to date, resolves conflicts, runs the tests and waits for the checks. It never weakens a test, rewrites history or force-pushes.
Smoke tester
Uses the live product through a browser the way a customer would. It finds problems, proves them with evidence and files them as issues. It does not fix them.
The common rule is that these sessions report faithfully. A failure is stated with its evidence, a skipped step is stated as skipped, and a check is never claimed that did not run.
Working rules
How we work day to day.
- Pull requests open as drafts. The owner, or an agent they direct, marks them ready and merges after review and green CI.
- Link issues without closing keywords: "refs #N", not "fixes #N". Let the tester close after retest.
- One fix round per review. Fix critical and high findings and clear bugs. Put nits in a follow-up note. A reviewer with nothing blocking says "ship" and stops.
- Tests first, shown failing on the base. State a rollback. Give the source, time window and sample size for every claim from live data.
- A builder that cannot build the design as written stops and reports. The fix is a design amendment, not a quiet deviation.
- Retest on fresh data. A defect on rows written before a fix is not proof the fix failed.
- Scale mutation checks with the tier: none at Tier 1, the important ones at Tier 2, all at Tier 3.
Two versions
The same set, built two ways.
Both versions hold the same roles and routines. Each has its own playbook page. Pick the one that fits your tools.
Claude Code kit
Agents, slash commands, hooks and a drift guard for Claude Code. Model and effort are pinned in each file, and review agents cannot write.
Tool-neutral kit
Roles, routines and three small Node checks. It does not depend on any one AI tool or vendor.
How to use it
Read the tiers first, then make it yours.
- Read the delivery tiers document first and write your own trigger table.
- Copy the role files into whatever your tools call an agent, a custom role or a saved prompt.
- Check the model names against the models your account offers. They change, so do not trust the names in the files.
- Wire in the checks as the kit explains, then add the config check to CI.
- Fill in the "Decisions that are yours to edit" section of the decide routine for your organisation.
Before you rely on it
How it was made, and what we tested.
- We wrote and tested the gate roles, the scripts and the tier document by hand. AI sessions rewrote the other roles and routines from our working files, with names taken out. We read a sample by hand, not every line. Read the files you plan to use before you rely on them.
- We ran the scripts against sample inputs: allowed and blocked commands, deliberately broken role and config files, and passing, failing, crashing, timing-out and missing-tool checks.
- We did not test a live Claude Code session started inside a repo with the kit installed. We did not test older versions of Node or other operating systems. The guards are a short list, not a sandbox.
- It is not a guarantee of quality, and it is not plug and play. You write your own trigger table, and you check the current model names before you use a file.
Get it
Take it from GitHub.
The repository is the master copy and holds both versions. The zip is GitHub’s own download of it. MIT licence.
Get in touch
Want help making it fit your team?
We help teams set up delivery like this in their own repos. Tell us where you are and we will say whether we can help.