## Lesson — Update post-compaction hooks to explicitly restate

**Tags:** claude, workflow, automation

Update post-compaction hooks to explicitly restate mandatory execution gates like "tests must pass" and "TDD mandatory." Agents often lose awareness of strict constraints after context truncation, leading to skipped validation steps if the discipline is not reinforced in the fresh context.
