LLM Upgrades: Five Configuration Habits to Change
Upgrading a coding agent’s model does not automatically improve its output. Legacy rules, cluttered context, and example-heavy tool descriptions can undermine stronger models. Learn how to simplify instructions, preserve task state across sessions, refine tool specifications, and evaluate configuration changes after an upgrade.
LLM Upgrades: Five Configuration Habits to Change
Teams adopting a new generation of coding agents often encounter a counterintuitive result: the model is more capable, but output quality does not improve—and it may even seem more stubborn than its predecessor. The problem is often not the model itself, but the layers of configuration built to compensate for the previous model’s limitations.
1. Understand What Actually Goes into the Context
The prompt you type into a coding agent is only a small part of its context. The rest can include:
- System instructions
- Tool and function definitions
- Injected skills or knowledge-base content
- Conversation history
These inputs can continue to influence subsequent requests, even when they no longer fit the current task. A rule added three months ago to address a specific problem may still be shaping today’s output.
The central issue is simple: rules written to compensate for an older model’s weaknesses can interfere with a newer model’s judgment. Extra restrictions may steer the model toward mistakes in situations it could otherwise handle on its own.
2. Remove Conflicting Rules
Many developers build their rule libraries one incident at a time:
- The model writes unnecessary comments → Add “Do not write comments.”
- A change touches too many files → Add “Only modify the specified files.”
- A response is too verbose → Add “Keep responses to three sentences or fewer.”
Over time, global rules, project rules, and task-specific instructions can conflict. For example, a global rule may prohibit comments while the current task explicitly asks for documentation comments on public functions. The model is then receiving contradictory instructions.
In practice, these conflicts can cause two problems:
- Additional reasoning-token consumption: The model spends more effort deciding which instruction to follow.
- Continued adherence to legacy rules: It may still favor an older, persistent global rule, leaving the current task incomplete.
A better approach is to:
- Keep only a few genuinely universal global rules, such as safety requirements, language preferences, and baseline coding conventions.
- Put task-specific requirements in the current prompt rather than turning them into permanent rules.
- Replace rigid prohibitions with flexible guidance, such as “Follow the existing code style.”
- Regularly audit the rule library and remove outdated, duplicate, or unnecessary instructions that the newer model’s capabilities already cover.
A useful target is a global configuration that fits on one screen.
3. Preserve State Instead of Relying on Long-Context Compression
During long sessions, the system may compress earlier context into a summary. Important details can be lost, making the model appear less capable.
A practical engineering approach is to divide work into stages and explicitly save the state of each stage.
At the end of a stage, ask the model to produce a summary and save it:
## Stage Summary- Current objective:- Key decisions and their rationale:- Files modified and main changes:- Remaining tasks:- Critical paths / interface contracts:
Then start a new session with that summary as the initial context.
This approach helps:
- Preserve critical constraints that automatic summarization might omit
- Give the next session clean context with a higher signal-to-noise ratio
- Keep stage-level decisions traceable and make rollback easier
4. Streamline Tool Definitions: Favor Specifications over Examples
Developers often put numerous invocation examples into tool descriptions. Those examples may have helped older models follow the expected format, but they can become a liability for newer models:
- The model may copy parameter combinations mechanically instead of adapting them to the actual request.
- Examples consume valuable context space.
- Their implicit assumptions may not match the real interface.
Instead, provide clear, structured interface specifications: parameter names, types, required fields, valid ranges, and error semantics. Let the model work directly from that specification.
A tool description should explain when to use the tool, how to use it, and what it returns—not encourage the model to copy a sample call.
5. Update the Supporting Configuration Workflow
Several related habits are worth revisiting at the same time:
- Simplify system instructions. Replace “what not to do” with “what to do” where possible. Positive instructions are less likely to create conflicts.
- Regularly prune skills and knowledge-base content. Load only the knowledge and tools needed for the current task to reduce noise.
- Define task boundaries in the prompt. Specify which files may be changed and which must remain untouched. This is more precise than relying on global rules.
- Version configuration changes. Make rule changes reviewable and reversible so the configuration does not become a black box that nobody dares to edit.
- Run a baseline evaluation after upgrading. Compare old and new configurations on a standard set of tasks, and use the results to decide which rules to retain.
Conclusion
Moving to a stronger model is an opportunity to reset your defaults. Output quality often depends less on the model’s maximum capability than on the configuration baggage carried forward from earlier versions.
Removing conflicting rules, managing context length, and simplifying tool definitions require little additional overhead, yet can reduce token consumption and improve output consistency.
When you next upgrade a model, start by subtracting before you add.
