Aider in a monorepo: scoping context to one package without losing the cross-package picture
Aider's --subtree-only flag is necessary but not sufficient. Here's the four-file pattern for keeping aider focused on one package while still letting it see shared types.