Stable instructions
Role, goal, policy boundaries, tool contracts, response format, and non-negotiable stop conditions.
The model should not see everything the system knows. Build the smallest, freshest, most decision-relevant context for the current step.
Good context engineering decides what to retrieve, what to summarize, what to exclude, how to represent uncertainty, and which authoritative facts must be refreshed before each decision.
Every context item should earn its place. Include it because it changes the current decision, constrains action, or supplies evidence—not because it exists.
Role, goal, policy boundaries, tool contracts, response format, and non-negotiable stop conditions.
Fresh case facts, unresolved questions, approval state, budgets, recent tool results, and loop position.
Only policies, prior cases, and source records relevant to the immediate decision.
The current decision is whether to recommend a recovery route. Select only information useful and authorized for that decision.
Focused context.
Specify how the runtime builds model input at each step rather than relying on one static prompt template.