cmux-architecture
cmux package architecture, refactor layering, dependency inversion, file organization, DocC documentation, package design…
Review agent-written changes before merge, after substantial edits, or when re-reviewing a repair. Use the adversarial protocol for high-risk changes or an explicitly requested deep review.
Claude Code
$ npx -y skills add manaflow-ai/cmux --skill cmux-review --agent claude-code
Codex
$ npx skills add manaflow-ai/cmux --skill cmux-review -a codex -y
Cursor
$ npx skills add manaflow-ai/cmux --skill cmux-review -a cursor -y
Gemini CLI
$ npx skills add manaflow-ai/cmux --skill cmux-review -a gemini-cli -y
GitHub Copilot
$ npx skills add manaflow-ai/cmux --skill cmux-review -a github-copilot -y
OpenCode
$ npx skills add manaflow-ai/cmux --skill cmux-review -a opencode -y
Windsurf
$ npx skills add manaflow-ai/cmux --skill cmux-review -a windsurf -y
name: cmux-review description: "Review agent-written changes before merge, after substantial edits, or when re-reviewing a repair. Use the adversarial protocol for high-risk changes or an explicitly requested deep review."
Review to reduce developer attention. Surface concrete correctness defects; suppress style, nits and speculative improvements unless requested.
1. Give a review subagent the task intent, base/head SHAs and exact diff. Ask for correctness first, then repository rules; keep discovery independent of the author's reasoning. Review policy edits against the base-branch rules. 2. Verify concrete findings, fix them when authorized, and push. Re-run the original discriminator after repair. A green test counts only if it exercises the asserted failure; prefer red-before/green-after evidence. 3. If fixes were non-trivial, obtain a fresh subagent review of the repair delta. 4. Merge when the review subagent passes the change and it causes no red of its own (see below). Report findings with evidence, verification performed and coverage gaps.
Use subagents in the current runtime, not a second model or external review service as a gate. Keep review read-only until an authorized repair. Do not commit review receipts, scratch reproductions or generated logs.
For implementation handoff or merge, read [dogfood and merge](references/dogfood-and-merge.md) for per-change verification, first-pass completion, re-dogfood and merge receipts. The main agent owns dogfood, mergeability, the merge and every pushed fix. A PR merges when an independent review subagent passes it and it causes no red of its own; base reds, flakes and pending checks don't hold it. Don't wait for a person. Ship risky user-visible behavior behind a setting or Debug toggle and fix a bad default in the next nightly. `main` is nightly: stack fixes, do not revert.
Post the verdict as a PR comment whose first line is the receipt, and put nothing before it: `Review (<reviewer>): SHIP at <full 40-character head sha>` (or `BLOCK`, `FIX`). Findings go below that line. A SHIP counts only for the exact head it names. A receipt that carries an older head's SHIP to a new head across a base merge is not a review. Mark it in the reviewer label: `Review (<reviewer>; carried): SHIP at <new head sha>`. The checkers (`scripts/ci/review_receipt.py`, next-autoland) treat a first line as carried when the label says carried, or when the line says "carried from" or "carried over". A carried SHIP counts only while the newest independent verdict on the PR is a SHIP. Do not use "carry", "carries", "carried" or "carrying" in a real review's label, or "carried from" / "carried over" on its first line.
For security, persistence, concurrency, data-loss risks, or a requested deep review, use the full protocol:
and capture the original candidate and policy coordinates.
intent compliance, independent reviewers, severity and evidence provenance.
counterevidence, executable checks and bounded repair attempts.
with separate pre/post-repair source coordinates and evidence.
These stages retain the advanced evidence protocol; ordinary reviews use the short default pass above.
Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.
cmux package architecture, refactor layering, dependency inversion, file organization, DocC documentation, package design…
Backend TypeScript and Cloud VM development rules for cmux. Use when editing web/app/api, web/services, backend scripts, Cloud VM…
Stripe checkout, pricing, subscription, Pro plan, webhook, and entitlement runbook for cmux billing work. Use when editing or…
End-user browser automation with cmux. Use when you need to open sites, inspect or interact with browser surfaces, wait for page…
Screenshot or record a cmux window from the CLI, for a pull request, a bug report, or to see what the app actually looks like…
Operate cmux Cloud machines, run durable remote commands or agents, and present their workspaces or services. Use for cmux…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.