AI workflow · Slides
After a Claude Code upgrade, do the rules I wrote still hold?
Not necessarily. Both rules and hooks quietly assume how the platform works. When the platform changes, they keep showing as passing, but they may no longer protect you. So after every upgrade, reconcile against the version actually running, and retest only the changes that touch your own rules, using a method with a positive control.
Key points
- Rules fail silently: each rule quietly assumes how the platform worked at the time. After a platform upgrade that assumption may no longer hold, yet the rule keeps showing as passing.
- Treat the platform upgrade as a node to monitor, and trust only the version actually running: a recorded version number only tells you what it was last time, and the terminal and the desktop app may also run different versions.
- Read the changelog without translating it line by line; filter it using your own settings. New mechanisms require reading the official documentation, not just the one sentence in the changelog.
- Sentences that say “retest after each upgrade” need a program to scan for them. The retest should include a control marker that is guaranteed to be caught; otherwise “no change” may just mean nothing was measured.
- This method has actually caught one thing: a mod written by the AI itself loads before review in auto and bypass modes.
Slides
This slide deck was originally a supplementary section of a talk on system monitoring and snapshots, using my own Claude Code upgrade reconciliation as the example. The written version of the method and the results of each upgrade are in the series “Claude Code upgrade field notes.”
1. The platform under your tools updated again yesterday
My rules are all built on top of Claude Code, and it gets upgraded almost every day.
2. My rules were written for the old version, and when the platform changes, they do not report an error
Every rule and check quietly assumes how the platform worked at the time. After a platform upgrade, those assumptions can quietly stop holding; the rule still runs and still shows as passing, but it no longer protects you. Reading the release notes once is not the same as knowing which rules are affected.
3. Treat the platform upgrade as a node to monitor too
Rules are upfront guidance (guides), and monitoring is after-the-fact sensing (sensors). The platform sits underneath both; when it changes, both are affected, so the platform upgrade itself needs a sensor watching it.
4. Trust only the running version: a cached version number treats the old as new
A recorded version number is what you saw last time; the platform may have been upgraded while the record still shows the old version. So when reconciling, ask the running program directly: “Which version are you now?”
5. One computer, two clocks, so two stamps
Claude Code in the terminal is the version the host itself upgraded; the Code tab in Claude Desktop runs the version bundled with the app. Each updates on its own, so the versions may differ, and Desktop has its own changelog. So each side is reconciled and stamped separately.
6. Skip the changelog; pick out only what touches my rules
The basis for judgment is my actual settings and rules, not whether something looks similar on the surface. Entries fall into five categories: new mechanism, new feature, conflict, related, and not applicable. Not-applicable items get a single line and are not listed one by one. New mechanisms require reading the official documentation, not just the one sentence in the changelog.
7. Sentences that say “retest after each upgrade” need something that detects them
Some of my hooks and tools contain sentences like “rerun after upgrading past a certain version.” Once, a threshold like this went unnoticed during an upgrade. Now reconciliation scans for these sentences: if one is triggered but has no written disposition, it cannot be stamped. After the retest, move the threshold forward, and the next upgrade will trigger it again.
8. A retest is not reading one changelog line: re-measure with a probe that has a positive control
I once judged a new mechanism as “know-only” based on one line of changelog, and missed that it could let through a call the hook should have blocked. So when retesting, first place a control marker that must be caught; only if the control is caught is “no change” credible. Once the check is fixed, also confirm that the old version fails and the new version passes.
9. This time it really caught one: a plugin written by the AI itself loads before review
A mod Claude writes within a session no longer asks for confirmation in auto and bypass modes, and it loads when that round ends. My review runs at the start of the session, so the loading happens before the review. The official documentation states that for personal accounts with no organization settings, mods can let through calls that a hook blocked. The full conditions are: no organization-managed settings, and not signed in with a Team or Enterprise plan.
10. The result shows on the overview screen: the platform is one of the lights
My system monitoring overview, unedited screenshot: the platform and the other subsystems sit on the same wall, each lighting up on its own.
11. Who watches whom: every reading comes from an existing tool
My system structure diagram, unedited screenshot: the version inventory and the other monitoring sources are listed side by side, and the platform is no exception.
12. Attach a “retest after which version” to your rules
The platform upgrade is also a node to monitor: reconcile against the version actually running; from the changelog, pick out only what touches your rules, and read the official documentation for new mechanisms; retests need a control, and the results go on the overview. The first step this week: pick one rule you depend on most, and write beside it “retest after upgrading past which version.” Rules also have a shelf life; it is just that the expiry is written as a version number.
Sources
- Claude Code changelog (Official changelog (terminal version))
- Claude desktop changelog (Official changelog (desktop version))
- Claude Code Docs: Mods (Official documentation: which permission modes load mods written by Claude)