E0566 Generated agent files out of date
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
duolith packs sync writes a section of AGENTS.md that lists the app's packs, and with --agents one subagent definition per pack (.claude/agents/duolith-<topic>.md). They are generated from the packs, so an agent reading a stale one would follow rules the app has changed.
How to fix it
Run duolith packs sync (with --agents if the project has the subagent files). Never edit the generated text by hand; change the pack.
In a terminal
duolith explain E0566