-
Notifications
You must be signed in to change notification settings - Fork 0
Description
1. Master Context Engineering to Escape the "Dumb Zone"
AI struggles with complex ("brownfield") codebases because overloading the context window leads to hallucinations and diminishing returns—the "Dumb Zone." The solution is Context Engineering: actively curating the information fed to the model. By prioritizing "better tokens in," you ensure the AI remains objective and effective rather than getting lost in the noise of a large codebase.
2. Use Sub-Agents for "Intentional Compaction"
To keep the main context window lean, employ sub-agents to explore the codebase and return only concise summaries. This strategy, called Intentional Compaction, prevents the parent agent from absorbing unnecessary raw data. It ensures that the context remains highly relevant and compressed, allowing new interaction turns to start efficiently without carrying the baggage of the entire file history.
3. Enforce the RPI Workflow (Research, Plan, Implement)
Do not outsource the actual thinking to the AI.
Instead, use the RPI Workflow to amplify "human intent" :
- Research: The AI generates a concise research document on the system.
- Plan: The AI creates a specific plan with file names and logic (a "compression of intent").
- Implement: The AI executes the code. Crucially, a human must review the Research and Plan phases to ensure alignment before implementation begins.