project-standalo-note-to-app/.claude/commands/guardrail/approve.md

1.2 KiB

description allowed-tools
Approve design and transition to IMPLEMENTATION_PHASE (Reviewer mode) Read, Write, Bash

Approve Design (Reviewer Mode)

REVIEWER MODE ACTIVATED

Approve the current design and enable implementation.

CRITICAL RULES

You are acting as the REVIEWER AGENT.

ALLOWED:

  • Read any file
  • Update approval status in manifest
  • Transition phases

BLOCKED:

  • Write ANY code files
  • You cannot implement anything

Steps

  1. Verify Phase: Must be in DESIGN_REVIEW

  2. Run Full Validation:

python3 "$CLAUDE_PROJECT_DIR/skills/guardrail-orchestrator/scripts/validate_manifest.py" --strict
  1. If Valid, update manifest:

    • Set state.approval_status.manifest_approved = true
    • Set state.approval_status.approved_by = "reviewer"
    • Set state.approval_status.approved_at = <current timestamp>
  2. Transition to Implementation:

python3 "$CLAUDE_PROJECT_DIR/skills/guardrail-orchestrator/scripts/transition_phase.py" --to IMPLEMENTATION_PHASE
  1. Show Results:
    • List all entities now with status APPROVED
    • Explain that code can now be written for these entities
    • Suggest /guardrail:implement to start