# FORGE Route Gate MC101641

# FORGE Route Gate MC101641

MC #101641 implements `forge-route-gate.sh`, a Claude Code `PreToolUse:Task` hook that blocks verifier-class Opus dispatch when FORGE local inference is healthy.

## Hook file

- `~/.claude/hooks/forge-route-gate.sh`

## Settings wiring

- `~/.claude/settings.json` includes `bash ~/.claude/hooks/forge-route-gate.sh` in the Task hook path.

## Verifier-class detection

The hook treats the following subagent classes as verifier/reviewer/comparator class:

- `verifier`
- `reviewer`
- `comparator`
- `baseline`
- `evidence-verifier`
- `redzo-reviewer`
- `pi-orch-mini-verifier`

## Required behavior

- Non-verifier Task calls pass through.
- Verifier-class Task calls are blocked with exit 2 when FORGE is healthy.
- If FORGE is unreachable, the hook allows fallback to Opus with a warning.
- `FORGE_GATE_BYPASS=1` allows explicit override and writes bypass audit logs.

## Evidence

Durable remediation evidence for review is stored under `/tmp/101641-evidence/`, including fresh syntax/settings checks, live FORGE-healthy block smoke, simulated FORGE-down fallback smoke, bypass smoke, and direct probe output.

## Dependency status

MC #101652 is now `ready_for_review` with a PARTIAL/BLOCKED validation finding. It does not prove the full restructure complete, but the dependency is no longer open/unstarted.