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 verified41m ago

Use Claude to review Codex output, step by step

Codex is fast and overshoots; Claude is a pedantic reviewer. Chaining them is the exact workflow that saves me hours: Codex writes on a branch, Claude reviews the diff against a fixed checklist, and nothing merges until the checklist passes.

Claude Code2.1.2204 repliesWorkflow59m 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

What actually belongs in CLAUDE.md?

Mine grew to 600 lines and the agent ignores most of it. Time to talk about what earns a slot in the most expensive real estate in your repo.

Claude Code2.1.2207 repliesField note8h ago

Wire Claude Code into the Xcode build-and-test loop

Claude Code can't see Xcode's build errors unless you hand them over. XcodeBuild MCP plus a formatter that strips the noise gives the agent a real edit-build-test loop for SwiftUI work — the difference between guessing and iterating.

Claude Code2.1.2194 repliesWorkflow1d 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