Ship It
Commit, push, review, and merge changes for kubo.
Commit, push, review, and merge changes for kubo.
## Step 1: Prepare the branch
Check the current git state:
```bash
git status
git branch --show-current
If on main/master:
- Create a feature branch from the changes:
git checkout -b <descriptive-branch-name> - Stage and commit all changes with a clear commit message.
If on a feature branch:
- Stage and commit any uncommitted changes.
- If there are no uncommitted changes, continue to Step 2.
Step 2: Push and create (or update) the PR
git push -u origin <branch-name>
Check if a PR already exists for this branch:
gh pr view <branch-name> --json number,url 2>/dev/null
If no PR exists, create one:
gh pr create --title "<concise title>" --body "## Summary
<1-3 bullet points describing the changes>
## Test plan
- [ ] `cargo test --workspace` passes
- [ ] `cargo fmt --all -- --check` clean
- [ ] `cargo clippy --all-targets -- -D warnings` clean
- [ ] <additional verification steps>
"
If a PR already exists, note its number and continue.
Step 3: Review-fix loop
Repeat until all agents approve:
3a. Gather the diff
gh pr diff <PR-number>
3b. Launch review agents in parallel
Send a single message with Task tool calls so they run concurrently. Each agent receives the PR description and full diff.
Launch these kubo-specific reviewers:
- Security reviewer (
security-revieweragent) — Docker command injection, volume mount escapes, credential handling, shell script safety. - Correctness reviewer (
correctness-revieweragent) — Container lifecycle state transitions, Docker CLI error handling, concurrent exec session safety. - Code quality reviewer (
code-quality-revieweragent) — Rust idioms, error handling, crate boundary violations, test coverage. - Dockerfile reviewer (
dockerfile-revieweragent) — Only if the diff touchesimage/files. Image security, layer optimization, cross-platform correctness.
Each agent must end with a verdict:
VERDICT: APPROVE
VERDICT: APPROVE_WITH_NOTES
VERDICT: REQUEST_CHANGES
3c. Compile and post the review
Combine agent responses into a review summary and post it:
gh pr comment <PR-number> --body "<review summary>"
3d. Fix any issues
If any agent returned REQUEST_CHANGES:
- Fix the issues they identified.
- Commit and push the fixes.
- Return to step 3a.
If all agents returned APPROVE or APPROVE_WITH_NOTES, continue to Step 4.
Step 4: Merge
gh pr merge <PR-number> --squash --delete-branch
Print the merged PR URL. ```
Maintain Ship It?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Ship It on getagentictools](https://getagentictools.com/loops/dorky-robot-kubo-ship-it?ref=badge)