context management
3 articles
Recommend A, implement A: checking an AI agent’s work against the plan
Check whether AI-generated code follows the agreed plan and whether that plan meets the requirements, using filename collisions to test both independently.
Keeping Claude Code Refactors Consistent Across Long Sessions
Keep a long Claude Code refactor aligned with its conventions through instruction-loading checks, scoped code review and tests of the behavior being changed.
How Claude Code Uses CLAUDE.md and Memory
Claude Code loads project instructions and saved memory under different rules. Check what survives compaction and whether the code follows your guidance.