spec-anchoring

Tag

Cards List
#spec-anchoring

Anchoring specs to code with ast-grep

Reddit r/ArtificialInteligence · 2026-07-06 Cached

A blog post describing a technique to anchor living specs to code using ast-grep rules that match code structure instead of file paths, preventing spec rot when code moves during refactors. The approach is designed for AI agents that read specs on every task, with anchors that survive moves but not renames.

0 favorites 0 likes
← Back to home

Submit Feedback