After a Large Model Upgrade, Slim Down Project Rules Before Rewriting Prompts
This article explains why a model upgrade should trigger a review of existing project rules rather than more prompt tuning. It covers managing the context window as a fixed budget, a three-way classification method for rules (remove, migrate to deterministic systems, keep in context), turning reminders into reproducible acceptance conditions enforced by tests and CI gates, tiered model orchestration, and the need for graded evaluation evidence. A final checklist helps teams convert implicit experience into explicit engineering constraints so the scaffolding gets lighter over time.
1. After a Model Upgrade, Reassess Project Rules Before Prompts
If a model upgrade allowed only one engineering change, I would add this: tests must run after every change. The reason is simple—tests are the objective basis for deciding whether a change can be accepted, and that decision should not depend on the model’s memory or self-discipline. Fix the command in a script, write the test result into the acceptance criteria, and only then does the verbal reminder deserve to be deleted.
The scaffolding is the sum of the rules, tool descriptions, project knowledge, and conversation history that surround the model every time it takes on a task. In many teams’ project rule files, every sentence has an origin: a dependency import that was casually removed, a comment that translated a function name into Chinese, a missing test that only surfaced when the pipeline turned red. The problem is that these lessons came from the behavior of the old model, while the new model’s capability boundaries, instruction-following style, and long-context performance have all changed. Keeping the rules unchanged turns them from “guardrails” into “noise.”
So the right move after an upgrade is not to add more rules, but to classify and dispose of the existing ones: delete some, move some to a more reliable enforcement point, and keep some exactly where they are. The only criterion for classification is to ask what kind of error each rule was originally meant to prevent.
2. Set the Context Budget Before Deciding Which Rules to Keep
The context window can be understood as the total amount of material the model can spread on the table to read in a single pass. It is a limited budget, and rules, tool definitions, code snippets, and conversation history all compete for the same space. A common industry practice is to set a compression target for “always-on rules” (for example, keeping core rules within a few hundred thousand tokens) and manage it as a hard constraint, rather than letting the rule file expand indefinitely. Note that such numbers are engineering targets set by the team itself and are not the same as the model’s advertised window limit—this is the easiest thing to confuse during migration.
Budget thinking leads to three practical conclusions:
- The always-on area holds only “high-frequency and low-cost” constraints, such as directory conventions and validation commands that must run before a commit.
- Low-frequency knowledge is loaded on demand, such as the design notes for a subsystem or a troubleshooting manual for a rare failure.
- Every time a rule is added, note which old rule it replaces, so the set never grows without shrinking.
3. A Three-Way Classification Method for Rules
The judgment can be reduced to a simple tabular question: does the error this rule prevents come from a model capability problem, a process problem, or a human collaboration problem?
- Removable: defects specific to the old model are now covered by new capabilities, such as patches aimed at old weaknesses like “do not use a certain pattern” or “always declare types explicitly.”
- Needs migration: rules that are essentially process constraints should be handed to deterministic systems, such as formatting, static analysis, dependency locking, and test gates. Writing them into the CI pipeline is far more reliable than writing them into a rule file.
- Must be kept: constraints involving business semantics, domain terminology, security boundaries, and non-reversible operations still need the model to understand and follow them during generation.
A sample rule entry can be structured like this to make later auditing and migration easier:
rules:- id: run-tests-before-donetype: pipeline # migrate to pipeline enforcementenforce: ci_gatereason: acceptance cannot rely on memory- id: domain-term-mappingtype: context # keep in always-on contextenforce: modelreason: business semantics cannot be derived automatically- id: legacy-import-patchtype: deprecatedaction: removereason: old model weakness, no longer applicable
4. Turn “Reminders” into “Acceptance Conditions”
Whether rule governance succeeds is not measured by how polished the documentation looks, but by whether acceptance is reproducible. Map each key rule to an executable assertion:
# Local validation before commit, using the same entry point as the pipeline./scripts/verify.sh --fast
Acceptance criteria example:1. All unit and integration tests pass; any failure means the change is incomplete.2. Static analysis introduces no new warnings.3. The change description includes affected modules and the rollback method.
The benefit is that enforcement shifts from “whether the model remembers” to “whether the system lets it through.” Even if the model occasionally skips a step, the gate still blocks unqualified output; at the same time, the test report itself becomes archivable evidence that is easy to trace back.
5. Tiered Model Orchestration
Current mainstream model families are usually tiered by capability and cost: the strongest tier targets difficult, time-consuming tasks, a lightweight tier leans toward high-frequency, low-latency daily execution, and a middle tier balances capability and speed, with derivation relationships being common (the middle tier is often distilled or trimmed from the top tier). In engineering terms, this supports an orchestration pattern: the stronger tier handles decomposition and planning, the lightweight tier handles bulk execution, and a unified orchestration layer aggregates the results. Note that subscription tier names and orchestration feature names are specific product details unrelated to the general orchestration architecture; in practice, they should be abstracted into a three-stage “planner–executor–verifier” design.
6. Grade Your Evaluation Evidence
A personal usage log, no matter how detailed, counts only as reference-grade evidence: the sample size is one person, there is no controlled experiment, there is no reproducible evaluation script, and the author’s identity may introduce bias. Credible evaluation should include a fixed task set, blind testing, metric definitions, and failure case analysis. Engineering teams can build a small regression set of their own and turn observations such as “does the model still follow the tool rule that appears only once after a long conversation” and “are on-demand skills and latency-sensitive tools triggered correctly” into repeatable test cases, rather than leaving them as subjective impressions.
7. Implementation Checklist
- Inventory the rule files, and tag each rule with its type, the error it prevents, and the last time it was verified.
- Set a token budget for the always-on context; exceeding it triggers a trimming review.
- Push all process rules down into scripts and the pipeline, keeping a single entry point.
- Write acceptance assertions for key constraints and add them to the code review checklist.
- Establish tiered orchestration and a failure fallback path to avoid a single point of dependence on the strongest model tier.
- Re-run the fixed regression set once per quarter and keep slimming down based on the results.
The conclusion is straightforward: the biggest gain from a model upgrade is not writing a few fewer prompts, but giving the team a chance to turn implicit experience into explicit engineering constraints. Delete the rules that should be deleted, migrate the ones that should be migrated, keep the ones that should be kept, and let tests and gates hold the line—then the scaffolding gets lighter with use instead of heavier.
