Today you tell it "no frameworks, just one html file". Tomorrow you relaunch and it installs a pile of stuff again. It's not dumb. Every launch is a brand-new conversation, and it doesn't remember what you said yesterday.
The fix is a CLAUDE.md file in your project folder. It reads this file first on every launch and treats the rules inside as the default assumptions.