/review-agent-governance:approve-review [reason for approval]from review-agent-governance
Opens a human-approval window for review-surface actions (PR reviews, merges, CI edits) by creating a ./.review-approved flag file, with optional reason recorded in a receipt chain.
Ships in review-agent-governance. Installing the plugin adds it to Claude Code.
Open a human-approval window for review-surface actions (PR reviews,
comments, merges, CI edits). The window stays open until you remove the
flag file with rm ./.review-approved or restart the session.
/approve-review "Approving LGTM on PR #42 after visual inspection"
/approve-review # no reason, still opens the window
./.review-approved flag file in the project root../review-receipts/approvals/.rm ./.review-approved as
soon as the approved action completes.Run this in the Bash tool. Capture the full user argument as $ARGUMENTS
(the marketplace slash-command convention) so a reason with spaces is
preserved verbatim.
REASON="$ARGUMENTS"
TS="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
FLAG="./.review-approved"
# JSON-escape the reason so quotes, backslashes, newlines do not break
# the approval-record JSON below.
REASON_ESCAPED="$(printf '%s' "$REASON" | python3 -c 'import json,sys; print(json.dumps(sys.stdin.read()))')"
# Write the flag file (human-readable key=value, not JSON).
{
echo "approved_at=$TS"
if [ -n "$REASON" ]; then
echo "reason=$REASON"
fi
} > "$FLAG"
# Record the approval. This is a plain JSON log file, NOT a signed
# receipt. The README explicitly notes that approval records are not
# signed by protect-mcp; only the PostToolUse tool-call receipts flow
# through the signer.
mkdir -p ./review-receipts/approvals
cat > "./review-receipts/approvals/$TS.json" <<JSON
{
"approved_at": "$TS",
"reason": $REASON_ESCAPED,
"flag_file": "$FLAG"
}
JSON
# Confirmation to the user
echo "Approval window opened at $TS"
if [ -n "$REASON" ]; then
echo "Reason: $REASON"
fi
echo ""
echo "Close the window with: rm $FLAG"
echo "The next tool call will be permitted without policy evaluation."
Approval window opened at 2026-04-17T12:34:56Z
Reason: Approving LGTM on PR #42 after visual inspection
Close the window with: rm ./.review-approved
The next tool call will be permitted without policy evaluation.
Remember: every attempt in the approval window still produces a signed
receipt. Auditors can see exactly what you approved and when.
rm ./.review-approved,
the agent could make additional review actions without prompting. Close
the window immediately after the approved action.../README.md../agents/review-policy-author.mdrm ./.review-approved/list-pendingWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub port-gh-app-dev/marvel-plugins --plugin review-agent-governance2 commands in this plugin
7 plugins ship this exact command · first indexed May 12, 2026
Showing 6 of 7 plugins, one per repository first
Other plugins' commands for the same job