Scope Claude Code to one package in a monorepo
In a 400k-line workspace, an unscoped agent burns half its context discovering packages it will never touch — then edits one it shouldn't. Run the agent from the package directory, deny writes outside it, and hand it the workspace-level commands it still needs.