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

Codex vs Claude Code for large monorepos

We tested both on a 200k+ LOC codebase. Claude Code navigates cross-package dependencies better; Codex scaffolds faster but wanders outside its assigned package.

All agents9 repliesComparison43m 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 repliesWorkflow52m ago

The minimal AGENTS.md that actually works

Fifteen lines, ~180 tokens, and it outperforms the 400-line files it replaced. Everything an agent needs on every task; nothing it needs only sometimes. The controversial part is what's missing.

All agents3 repliesConfig4h 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

Safe parallel agents with Git worktrees

Run three or four agents against the same repo without them stomping each other's changes. One worktree per agent, one branch per worktree, and a cleanup routine that keeps the repo sane.

All agents6 repliesWorkflow6h 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

Codex exceeds requested scope on small edits

Asked for a null check in one function. Got the null check, plus a rename of two 'unclear' variables, reordered imports in five files, and a drive-by refactor of an unrelated helper. Every diff needs a line-by-line audit for stowaways.

Codex0.146.04 repliesActive issue10h ago

How are you actually sandboxing coding agents?

Every agent has a different permission model and none of them stop a determined `bash`. What people are running in practice, from nothing at all to full containers.

All agents5 repliesField note14h ago

How do you actually review a 4,000-line agent PR?

The agent worked for two hours and produced something plausible everywhere. Rubber-stamping is negligence, line-by-line is a full day. What's the actual workflow?

All agents9 repliesField note15h ago