BaCheWork and records of a photonics research workhorse
Language
21

Technical notes

In-depth notes with methods, data and version numbers, written for readers who want to reproduce them.

21 articles · 2026-11-09 – 2026-11-30

Series 01

Claude Code upgrade notes from hands-on testing

Each time Claude Code releases an update, I reconcile it on my own machine: I pick out only the changes that affect settings and habits, read the official documentation, re-test what needs re-testing, and write down the results and reminders for you.

7 articles · 2026-11-11 – 2026-11-25

  1. p.01

    Claude Code 2.1.312 → 2.1.318 upgrade test: the terminal and the desktop app are running different versions

    Reconciled on 2026-11-05: the terminal build moved to 2.1.318, while the Code tab of the desktop app was still running the bundled 2.1.317. Prompts that mods add now arrive in the user's turn, the desktop app started idle compaction, and text printed by a PreCompact hook is read by the summary model.

    2026-11-11
    Ongoing · Chapter 1

    #tech notes#Claude Code#upgrade notes#Claude Desktop

  2. p.02

    Claude Code 2.1.318 → 2.1.319 upgrade test: “not seen” does not mean “not there”

    Reconciled on 2026-11-07: while I was rerunning the compaction test, the detector said one behavior had disappeared; adding a positive control showed it was still there. PostToolUse hooks now also run on interrupted tool calls, and a Bash rule gap involving quoted commands was fixed, while the desktop app stayed on its old bundled version.

    2026-11-11
    Ongoing · Chapter 2

    #tech notes#Claude Code#upgrade notes#testing method

  3. p.03

    Claude Code 2.1.319 → 2.1.322 upgrade test: AI-written mods load before you review them

    Reconciled on 2026-11-10: in auto and bypass modes, mods that Claude writes during a conversation load at the end of that turn, and tool calls a mod makes itself no longer raise permission prompts. The desktop app caught up this time, bundling 2.1.321.

    2026-11-11
    Ongoing · Chapter 3

    #tech notes#Claude Code#upgrade notes#permissions and security

  4. p.04

    Claude desktop app 4.23118.1 → 5.1231.0 upgrade test: the Windows data moved to a new location

    Reconciled on 2026-11-12: the major version went from 4 to 5, but the Claude Code it bundles did not change. The biggest effect for Windows users is that the data folder moved (except for the Microsoft Store version), so scripts with a hard-coded old path will not find anything.

    2026-11-12
    Ongoing · Chapter 4

    #tech notes#Claude Code#upgrade notes#Windows

  5. p.05

    Claude Code 2.1.322 → 2.1.325 upgrade test: this time the desktop app ran ahead of the terminal

    Reconciled on 2026-11-13 and 11-15: the Claude Code bundled in the desktop app moved to 2.1.325 first, while the terminal was still on 2.1.323. Most of these changes tighten permissions: in a repo that is not the project's own, read-only git commands now ask first, and a schedule that runs a skill now asks first.

    2026-11-15
    Ongoing · Chapter 5

    #tech notes#Claude Code#upgrade notes#permissions and security

  6. p.06

    Claude Code 2.1.325 → 2.1.330 upgrade test: hook “blocks” now count for more

    Reconciled on 2026-11-21: the terminal build and the Claude Code bundled in the desktop app both reached 2.1.330, and the desktop app itself jumped to a major version starting with 6. These changes are mostly about tighter gatekeeping and steadier compaction: a hook's printed “block” now takes effect in more cases, and auto-compaction rebuilds the system prompt.

    2026-11-21
    Ongoing · Chapter 6

    #tech notes#Claude Code#upgrade notes#permissions and security

  7. p.07

    Claude Code 2.1.330 → 2.1.332 upgrade test: commands run when a skill loads can now be caught by a hook

    Reconciled on 2026-11-25: the terminal build has reached 2.1.332, while the Claude Code bundled in desktop app 7.37095.0 is still 2.1.331. The new PreSkillShellCommand hook can block shell commands injected when a skill loads, and MCP servers can now provide skills; but while the two versions are out of sync, hold off on adding the new hook to your settings.

    2026-11-25
    Ongoing · Chapter 7

    #tech notes#Claude Code#upgrade notes#Claude Desktop

Series 02

How to reconcile Claude Code upgrades

The method behind “Claude Code upgrade notes from hands-on testing”: why every upgrade should be reconciled against the changelog and my own environment, and how to make sure each change has been judged rather than overlooked.

2 articles · 2026-11-11 – 2026-11-21

  1. p.08

    Why I reconcile the changelog against my own setup on every Claude Code upgrade

    Claude Code updates almost every day. The official changelog tells you what changed, but not which entry collides with your own setup. This post explains how I reconcile: trust only the version that is actually running, pick out only the changes that hit my own rules, and retest where the notes say to.

    2026-11-11
    Chapter 1

    #tech notes#Claude Code#AI workflow#upgrade notes

  2. p.09

    After the upgrade reconciliation missed 6 items: “judged and left out” must be told apart from “never seen”

    After the 2.1.325 → 2.1.330 post went out, a reader's AI agent checked the official changelog item by item and found 6 changes I had read but left no judgment on, because the log only checked whether five sections existed rather than whether each item had a judgment. This post explains how I changed reconciliation so that every item needs a disposition, and why a Reverted entry must name which entry it changed back to.

    2026-11-21
    Chapter 2

    #tech notes#Claude Code#AI workflow#upgrade notes

Series 03

Does LSP help AI agents: a hands-on test log

What the LSP code intelligence tool is, how Claude Code connects to it, and how I designed a fair experiment to measure whether it actually improves agents' correctness and token cost.

4 articles · 2026-11-17 – 2026-11-17

  1. p.10

    How editors understand code: LSP, Tree-sitter, and their relationship to AI agents

    Code gets syntax highlighting and can jump to function definitions, thanks to two tools that appeared about ten years ago: Tree-sitter handles syntactic structure, and LSP handles semantics. Claude Code added LSP support at the end of 2025. This post first explains the two clearly, as background for the tests that follow.

    2026-11-17
    Chapter 1

    #AI workflow#Claude Code#dev tools#tech notes

  2. p.11

    How to fairly test whether “an AI agent with LSP installed is better”: experiment design

    Installing a plugin does not mean it gets used. This note records how I designed the experiment (three groups that each differ by one thing, two task sets with deliberate traps, a scorer validated first, and predictions and reading rules written before the runs), and it also caught a design error that made the main test impossible to reach significance.

    2026-11-17
    Chapter 2

    #AI workflow#Claude Code#experiment design#tech notes

  3. p.12

    AI agent with LSP installed: results from 66 runs, zero difference, and a 0.5-second timing gap

    The pre-registered 66-run experiment: all three groups answered correctly, and enabling the plugin did not make the agent cheaper. Telling it to use LSP actually cost 12–34% more tokens (not statistically significant). Digging further showed that Claude Code always sent its queries before Pyright had finished indexing, and all 13 queries returned only the definition itself.

    2026-11-17
    Chapter 3

    #AI workflow#Claude Code#experiment design#tech notes

  4. p.13

    What happens when LSP is made to wait before answering: a post-hoc experiment, discussion, and my advice for Claude Code users

    When the agent is told to wait 15 seconds and query again after an incomplete lookup, LSP returns the full answer every time, and the cost of the rename task also falls back below baseline; but the agent still checks the answer again with grep. This post covers the post-hoc experiment, the overall discussion and practical advice, and ends with a method list and a note on the data.

    2026-11-17
    Chapter 4

    #AI workflow#Claude Code#experiment design#tech notes

Series 04

Replacing a large system without downtime: the Strangler Fig pattern

When a large system can no longer be changed but must be replaced, how a new system can take over piece by piece: seams, running old and new side by side, cutover and verification, common pitfalls, and the academic evidence. Every claim comes with its original source.

6 articles · 2026-11-09 – 2026-11-09

  1. p.14

    Replacing a large system without downtime: why not rewrite it all, and what is the Strangler Fig pattern

    When a large system is too hard to change yet has to be replaced, a full rewrite is often the worst choice. The Strangler Fig pattern grows the new system along the edges of the old one, taking over piece by piece until nobody uses the old system.

    2026-11-09
    Chapter 1

    #tech notes#software architecture#Strangler Fig pattern

  2. p.15

    Strangler Fig pattern (2): Seams, and where to cut the old system open

    Incremental replacement depends on having places in the system where it can be cut. Seams can sit at the network entry point, in messaging, in front-end pages, in the database, inside the code, or even in people. Each layer has its own approach and cost.

    2026-11-09
    Chapter 2

    #tech notes#software architecture#Strangler Fig pattern

  3. p.16

    Strangler Fig pattern (3): Coexistence of old and new: anti-corruption layer, transitional architecture, branch by abstraction, parallel change

    During a migration the old and new systems must run side by side. Four components keep that in-between state workable. They differ only in where the seam sits, and each one needs its removal timing worked out.

    2026-11-09
    Chapter 3

    #tech notes#software architecture#Strangler Fig pattern

  4. p.17

    Strangler Fig pattern (4): Cutover and verification: leaving the step that cannot be undone to the end

    Do reversible steps first, and do more of them; do the irreversible step alone and last. Before cutting over, prove that the old and new systems do the same thing: a dark launch, reconciliation, or running the same test suite against both are all ways to do it.

    2026-11-09
    Chapter 4

    #tech notes#software architecture#Strangler Fig pattern

  5. p.18

    Strangler Fig pattern (5): Pitfalls and situations where it is not suitable

    The most common pitfall is requiring the new system to be identical to the old one; next come scaffolding that never gets removed, replacing the technology without changing how the work is done, unseen downstream dependencies, and a pace that is too slow. When a system is small or cannot be cut open, this pattern may not be suitable.

    2026-11-09
    Chapter 5

    #tech notes#software architecture#Strangler Fig pattern

  6. p.19

    Strangler Fig pattern (6): What academia says: evidence, gaps and a checklist

    Academic precursors go back to a 1995 book on gateway-based incremental migration, but direct empirical research on the Strangler Fig pattern is scarce, and I found no study comparing incremental migration with rewriting. The article ends with a checklist to use before starting.

    2026-11-09
    Chapter 6

    #tech notes#software architecture#Strangler Fig pattern#literature review

Standalone

Standalone

Articles that belong to no series, newest first.

2 articles · 2026-11-15 – 2026-11-30

  1. p.20

    Running Odoo 20 locally: one pass through buying, selling and manufacturing

    Runs the Odoo 20 Community edition on my own computer from the official Docker image, installs 12 apps with demo data, and then uses odoo shell scripts to check the sales, purchasing and manufacturing flows and the general ledger balance, once each. Includes the commands, script excerpts, measured numbers and the seven pitfalls I ran into.

    2026-11-30

    #tech notes#ERP#dev tools#testing method

  2. p.21

    How speech models that listen and talk at once work: taking apart Moshi and Haru-4B

    Voice AI that listens and talks at once, makes acknowledging sounds and stops when interrupted runs on one core idea: cut time into fixed frames and let the model decide in each frame whether to speak or stay silent. I compare two open models, Moshi and Haru-4B, looking at how they arrange their data, how many times per second they compute, where the latency comes from, and what current evaluations can measure.

    2026-11-15

    #tech notes#voice AI#literature review