[MODEL] sonnet 4.6
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude made incorrect assumptions about my project
What You Asked Claude to Do
On 2026-04-15, Sonnet 4.6 spent several hours circling the same Nuxt 4 CSP hash-rotation problem on a staging deployment. The root cause — @primevue/nuxt-module serializing the Aura theme preset into runtimeConfig.public, then Nitro emitting it as an inline window.__NUXT__ script whose SHA-256 hash is non-deterministic across V8 instances — was diagnosed correctly on the first try by Gemini 3.1 Pro Preview via the aistudio MCP. Sonnet had tried and discarded hash-rewrite automation, rebuild-with-no-cache, and environment-variable theories over multiple rounds before escalating. The fix (move theme to a .client.ts plugin with dependsOn) is small and non-exotic, but required a correct mental model of how Nitro serializes runtime config and how Nuxt plugin ordering interacts with auto-generated module plugins.
What Claude Actually Did
The observed failure mode was not "missing knowledge about Nuxt" — the individual facts (Nitro injects window.__NUXT__, object key ordering is non-deterministic, client plugins don't serialize) were known. The failure mode was convergence: each debug cycle picked the nearest plausible hypothesis and tested it in isolation instead of building a model that accounted for all observations simultaneously. A stronger reasoning loop would have asked "what is the smallest possible change to the serialized payload on restart, and where does it come from" much earlier.
Expected Behavior
Suggest: surface this kind of convergence-failure feedback as a known rough edge for Nuxt / Vite / V8-serialization problems. A skill or reference entry on "CSP hash stability in Nuxt 4 SPA mode" would have short-circuited the entire session.
Files Affected
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Yes, every time with the same prompt
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
Impact
Medium - Extra work to undo changes
Claude Code Version
2.1.105
Platform
Anthropic API
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗