## Lesson — AI agents often lose awareness of strict workflow

**Tags:** agents, workflow, tdd

AI agents often lose awareness of strict workflow requirements like mandatory TDD after context truncation or compaction. Explicitly restating that tests must pass before work advances in the post-compaction output strengthens agent discipline and prevents regression in development patterns.
