Skip to content

1.2 Codebase-aware scoping

1. Focus / PL1-codebase-scoping

1.2 Codebase-aware scoping

agent is pointed at the relevant subset of the codebase for a given task, not the whole surface area; boundaries are structurally enforced, not advisory


Levels

Level 0

Agent sees everything

Level 1

Partial path hints; boundaries informal and not enforced

Level 2

Explicit, structurally-enforced context boundaries per task type โ€” sparse-checkout patterns for monorepos, MCP tool scoping per task, or equivalent mechanism ensures the agent operates on the declared subset

Level 3

Scoping rules learn from agent failure patterns โ€” when an agent needed context it didn't have, the scope rules update


Recipes that advance this criterion

No recipes yet.