Searching protocol for "file-headers"
Update file headers and AGENTS.md
Regenerate MODULE_INDEX.md from file headers.
Keep code docs perpetually current.
Co-locate docs with code for clarity.
Write clear, co-located code comments.
Keep project context in sync as you work.
Comments that last: explain WHY, not WHAT.
Keep code docs in sync after changes.
PHP best practices for safer AI-assisted code
Render diffs as review-ready 4-column tables.
Keep code and docs in sync.
Mine past conversations to refine knowledge.