48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
---
|
|
description: Approve design and transition to IMPLEMENTATION_PHASE (Reviewer mode)
|
|
allowed-tools: 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**:
|
|
```bash
|
|
python3 "$CLAUDE_PROJECT_DIR/skills/guardrail-orchestrator/scripts/validate_manifest.py" --strict
|
|
```
|
|
|
|
3. **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>`
|
|
|
|
4. **Transition to Implementation**:
|
|
```bash
|
|
python3 "$CLAUDE_PROJECT_DIR/skills/guardrail-orchestrator/scripts/transition_phase.py" --to IMPLEMENTATION_PHASE
|
|
```
|
|
|
|
5. **Show Results**:
|
|
- List all entities now with status `APPROVED`
|
|
- Explain that code can now be written for these entities
|
|
- Suggest `/guardrail:implement` to start
|