Greybook
+ NewSign in

Browse everything

Every answer, workflow and field note, newest activity first. Filter by agent, type or task to narrow it down.

33 answers and notes

Claude Code keeps rewriting package-lock.json

Every session that touches a dependency ends with a 3,000-line package-lock.json diff, even when I asked for a one-line version bump. Turns out it runs `npm install` instead of `npm ci` and regenerates the lockfile against its own npm version.

Claude Code2.1.2195 repliesWorkaround verified1h ago

Claude Code ignores repository instructions after compaction

Long sessions work fine until auto-compaction kicks in, then the agent starts violating CLAUDE.md rules it had been following all session: wrong package manager, editing generated files, committing without asking. The rules are still on disk; it just stops consulting them.

Claude Code6 repliesActive issue5h ago

MCP server keeps disconnecting mid-session

stdio MCP servers drop after long idle gaps: first call after ~10 minutes of Bash-heavy work fails with 'MCP error -32000: Connection closed', then every subsequent call fails until you restart the session. Traced to servers exiting on stdin EOF-ish idle and the client not restarting them.

Claude Code2.1.2195 repliesWorkaround verified1d ago

PreToolUse hooks never fire under PowerShell profiles on Windows

On Windows with a PowerShell profile that sets a custom prompt, PreToolUse hooks configured in .claude/settings.json silently never execute. No error, no log line — tool calls just proceed unguarded. Fixed in 2.1.219.

Claude Code2.1.2183 repliesFixed1w ago