Fresh Context Validator Pattern
- Entity ID:
ent-20260419-a001b23c0003 - Type:
concept - Scope:
shared - Status:
active - Aliases: hook-based validator, separate-context validator, alternating-model validator
Description
Goal-hacking prevention pattern: a hook-driven reviewer runs in a FRESH context (no access to the main session's history) that returns approved/rejected with explanation, forcing the main development loop to iterate until a context-isolated judge is satisfied. Community reports ~30-40% rejection rate on primary development work. Recommended refinement: alternate between Codex and Claude so the reviewer model is different from the author model, preventing self-approval bias.
Key claims
- Fresh Context Validator Rejects 30-40% of Main Dev Loop Output
Relations
- Fresh Context Validator Pattern --[implements]--> Tiered Enforcement Architecture
- /init-verifiers Command --[implements]--> Fresh Context Validator Pattern