imp-ship
/imp-ship
Ships an IMP pull request. Sizes its blast radius, runs automated checks and an adversarial model review, lets green merge itself where the team's policy allows, releases every merge behind a canary or flag with a known rollback, and watches it in production. Use when a PR is ready to merge in an IMP repo, when deciding how much human review a change needs, enabling auto-merge, deploying, rolling back, or when the user says ship it, merge it, or release it.
- Author
- vjoao ↗
- Repository
- impatient-programmer ↗
- Licence
- MIT
- Last repository change
- 08.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/blast_radius.py
What it does and when to use it
Ships an IMP pull request. Sizes its blast radius, runs automated checks and an adversarial model review, lets green merge itself where the team's policy allows, releases every merge behind a canary or flag with a known rollback, and watches it in production. Use when a PR is ready to merge in an IMP repo, when deciding how much human review a change needs, enabling auto-merge, deploying, rolling back, or when the user says ship it, merge it, or release it.
Original author description
Ships an IMP pull request. Sizes its blast radius, runs automated checks and an adversarial model review, lets green merge itself where the team's policy allows, releases every merge behind a canary or flag with a known rollback, and watches it in production. Use when a PR is ready to merge in an IMP repo, when deciding how much human review a change needs, enabling auto-merge, deploying, rolling back, or when the user says ship it, merge it, or release it.
How it works
- Preconditions
- 1. Size the blast radius
- 2. Run the automated checks
- 3. Adversarial model review
- 4. Apply the merge policy
- 5. Release every merge
- 6. Close the loop
SKILL.md preview
--- name: imp-ship description: Ships an IMP pull request. Sizes its blast radius, runs automated checks and an adversarial model review, lets green merge itself where the team's policy allows, releases every merge behind a canary or flag with a known rollback, and watches it in production. Use when a PR is ready to merge in an IMP repo, when deciding how much human review a change needs, enabling auto-merge, deploying, rolling back, or when the user says ship it, merge it, or release it. --- # Ship: green merges itself The long-term goal is to need no human code review at all. The blast radius of a PR decides how close to that goal it gets today. Machines hold the bar; human eyes are saved for catastrophic risk. ## Preconditions - The PR breathed (`imp-breathe`): the Contract is updated, the exhale is done, and the PR is labeled `fix` or `refinement`. - The branch is current with its target. ## 1. Size the blast radius Run from the repo root, adding any globs the repo's facts declare: ```bash python3 <this-skill-dir>/scripts/blast_radius.py --base origin/<default-branch> \ [--high '<glob>'] [--catastrophic '<glob>'] [--low '<glob>'] ``` The script's level is a floor, based on paths, added lines (possible secrets, destructive data changes), diff size, and Contract changes. Then read the diff for meaning that paths can't show, such as money arithmetic in a utility file, a changed timeout, a removed retry, or a migration that rewrites rows. Raise the level when warranted. Only a human may lower it; record who and why in the PR. | Level | Typical changes | |---|---| | low | Docs, tests, the Contract alone, paths the team marks low risk | | medium | User-visible behavior, dependencies, anything a redeploy rolls back | | high | Auth, permissions, money, personal data, public APIs and schemas, migrations, infrastructure and CI, removed or retired obligations | | catastrophic | Irreversible data changes, security boundaries, the correctness of money movement, secrets, anything that can't be rolled back | ## 2. Run the automated checks All required CI checks must be green, including the Contract check with `--strict`, relevant fast tests, lint, type checks, and security scans. Mutation testing (`imp-kill-matrix`) is an optional diagnostic, **not** a default blocking PR gate or a requirement for a complete kill matrix. If the repo currently marks a mutation job as required, change that policy through the normal approval process before merging; never bypass a required check. Never rerun a flaky check merely until it passes or quarantine tests to get a green merge; fix instability and preserve coverage of important behavior. ## 3. Adversarial model review Launch a reviewer subagent that starts with an empty context, on a different model from the author when possible. A subagent that forks the current conversation, as Codex subagents can, is not fresh: ask for one that starts empty, or run the review as a separate session, such as `codex exec`. Give it only the diff, the Contract files touched, the relevant decision records, and the blast-radius output: never the author's reasoning or chat history. Brief it: > Review this change to break it. Find every way it violates an obligation in the Contract, every obligation it should have added and didn't, every regression for existing callers, and every security, data, performance, and failure-mode risk. For each finding give file and line, a concrete scenario that fails, and a severity: blocker, should-fix, or nit. Default to suspicion. If you find nothing, list what you checked. Resolve each blocker and should-fix: fix it, or rebut it with evidence (a test, a measurement, a Contract line). Review the new diff again. If blockers remain after two rounds, stop and hand the PR to a human. ## 4. Apply the merge policy Use the repo's policy from its facts; otherwise use this default: | Level | Gate before merge | |---|---| | low | Green checks and a clean adversarial review, then auto-merge | | medium | As low, plus release behind a canary or flag; a human reads the Contract diff if obligations changed | | high | A human reviews the Contract diff and the rollout plan, and reads code only where they choose | | catastrophic | A human reviews code, Contract, and rollout; rehearse the rollback; never auto-merge | Branch protection and org policy always win. When they require a human, prepare the PR so the review takes minutes: lead with the Contract diff, then the blast radius, evidence, and rollout plan. Never bypass branch protection, use an admin merge, approve your own PR, or merge with a failing or skipped required check. On GitHub, `gh pr merge <number> --auto --squash` queues the merge until required checks pass. ## 5. Release every merge Before merging, write in the PR: - **Rollout:** how it reaches production: direct deploy, canary percentage, feature flag, or, for app-store clients, an internal or beta track plus a remote flag. - **Watch:** the signals that prove it works, and the thresholds that trigger rollback: error rate, latency against the Contract's obligations, a business metric. - **Rollback:** the exact command or switch (revert, redeploy the previous version, flag off) and who can run it. After the merge, watch the signals for the agreed window. On a regression, roll back first, then fix forward through `imp-bugfix`. It reached production, so it is a fix. ## 6. Close the loop Link the release or deploy in the PR, so the daily brief (`imp-heartbeat`) can pick it up.
Files in this package (2)
- SKILL.md 5 KB
- scripts/blast_radius.py 19 KB
Versions
The database has no other skills named imp-ship.
Database snapshot: 13.11.2026 · package version 18d48afda674 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90imp-init
Sets up a new or existing repository for Impatient Programming. Detects the stack and existing conventions, asks only what it can't infer, and adds the IMP section to AGENTS.md, a system Contract, decision records, a guardrails log, PR template sections, fix and refinement… - 100autopilot-ship
Merge a ready pull request, follow the rollout to production, check that the change works there, come back later to look for regressions, and close the issue. Use when a pull request built with autopilot-build is ready and the brief lets the agent merge, when the user approves… - 90ds-ready
Runs the full ds-ship workflow but stops with the pull request ready for a human to merge, and never merges. Use when the user says get it ready, make it mergeable, stop before merge, or /ds-ready. - 90st-ship
Takes a change all the way from code to a merged pull request without supervision: build it, prove it, review it, file the PR, watch it and merge it. Use when the user says ship it, send it all the way, merge when green, or /st-ship. - 90impatient-programming
Operating manual for Impatient Programming (IMP), an AI-era successor to eXtreme Programming. Defines the IMP virtues, vocabulary, and lifecycle (weekly story, spikes, Contract-first pull requests that inhale and exhale, behavior-focused tests, optional mutation audits,… - 90ds-ship
Takes a change all the way from code to a merged pull request without supervision: build it, prove it, review it, file the PR, watch it and merge it. Use when the user says ship it, send it all the way, merge when green, or /ds-ship.