I came across the ThetaCog extension, which is used in Visual Studio, say, with Claude Code. I'm using the /steer command. It seems to keep the specification in check.
thetadriven.com Interested in what others think, as my background is not in software development.