BaCheWork and records of a photonics research workhorse
Language
21

#Claude Code

Articles with this tag, 21 in total, newest first.

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

Series 01

I have a self-growing agent: how did it grow up?

My AI assistant Qizhe has, over the past five months, grown from a very small start into a full set of rules, skills, and a lessons log. Each post covers one thing it has grown: what it is, when it is worth adding, and how I got here myself. The first post comes with a starter seed kit for newcomers to agents.

1 articles · 2026-11-30 – 2026-11-30

  1. p.01

    From a seed: my AI assistant Qizhe, and a starter seed kit for newcomers to agents

    Qizhe is the AI assistant I work with every day. From its first save in July 2026 until now, it has grown more than forty rule files, over thirty skills, and more than two hundred entries in its lessons log. Most of these were not designed at the start; they grew out of one mistake and one ruling after another. This series looks at how it grew up. The first post gives you a seed: a plain-text set of starter rules that you can have your agent install with a single sentence.

    2026-11-30
    Ongoing · Chapter 1

    #AI workflow#Claude Code

Series 02

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.02

    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.03

    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.04

    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.05

    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.06

    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.07

    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.08

    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 03

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.09

    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.10

    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 04

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.11

    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.12

    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.13

    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.14

    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 05

Claude Code auto-compact: whether to enable it, how to set it up, and how to work around its gaps

Auto-compact pays off for a single person's long conversations, but for a standing system that hands work off between shifts, it can take work away. This series covers how to decide, how to save a file before compacting, and ends with a downloadable capability pack and its safety notes.

3 articles · 2026-11-12 – 2026-11-12

  1. p.15

    Do you (not) need autocompact: long conversations for one person, and resident AI that hands over shifts

    Autocompact is worth it for one person running long tasks at a computer. But if your system already opens a new conversation with a handoff card when the chat gets too long, turning on autocompact means the handoff never happens. This note covers how to tell the two cases apart and how to set up each.

    2026-11-12
    Chapter 1

    #Claude Code#AI workflow

  2. p.16

    Setting the autocompact threshold is only step one: what compaction loses, and how to save before it runs

    Lowering Claude Code's autocompact threshold does save usage, but the threshold only decides when compaction happens. This note covers what compaction drops, and the three things I added for long tasks: save a handoff first, specify what the summary must keep, and feed the handoff back after compaction.

    2026-11-12
    Chapter 2

    #Claude Code#AI workflow

  3. p.17

    Autocompact capability pack: download, contents, and security notes

    I packaged the autocompact handoff mechanism I have run for over two months into a capability pack, available for download here. This note lists what each file in the pack does, what it reads and writes, what it does not do, and how to verify after download that the files have not been altered.

    2026-11-12
    Chapter 3

    #Claude Code#AI workflow

Series 06

Making AI able to find things again: managing memory with Markdown and folders

How the memory system I share with my AI assistant works: files are the single source of truth, routing decides what to look at first, the index only nominates candidates, and answers are found by following the trail.

1 articles · 2026-11-02 – 2026-11-02

  1. p.18

    Routing layer: what AI reads at the start, and what it reads only when it hits something

    Always-loaded content stays under 73 KB; the rest is read only as needed: the opening summary, rules that load when a file is touched, the lookup tables, and an automatic search when “last time” comes up.

    2026-11-02
    Chapter 3

    #AI workflow#memory systems#Claude Code

Standalone

Standalone

Articles that belong to no series, newest first.

3 articles · 2026-11-11 – 2026-11-19

  1. p.19

    Both the kid and the teacher: a few tricks for letting an AI agent grow up on its own

    AI starts from zero in every new conversation, so the same pitfall can be hit a second and third time. My approach is to have it play two roles in each round: the kid who makes mistakes and learns something in that round, and the teacher who writes the teaching material for the next round. The point is not to remember more, but to write things where they will be read at the moment the problem comes up again.

    2026-11-19

    #AI workflow#memory systems#Claude Code

  2. p.20

    Does your AI agent really finish the job?

    When an agent says “done,” the job may still be unfinished: files were never committed, branches were never merged, temporary files are still around, and what it learned is forgotten by next time. This post explains how I wrote “finished” down as a wrap-up chain, triggered by one word and stopping at the first failure, and ends with a prompt you can paste straight to an AI.

    2026-11-19

    #AI workflow#Claude Code

  3. p.21

    Claude Code makes my computer slow: processes that won't close and temp files that keep piling up

    A Claude Code session finishes, but the processes behind it often stay open, and nobody deletes the temp folder. This note records how I noticed, how I traced it layer by layer to its causes, and where to look if you want to check for yourself.

    2026-11-11

    #Claude Code#AI workflow#Windows