… releases (#762)
* chore(docs): start the 0.56-0.66 What's New pass
* docs(website): split What's New, archiving 0.52 and older
The page had grown to 1,150 lines and 30 releases, which is past the
point where anyone scrolls it. Everything from 0.52 back to 0.29 moves
verbatim to a new 'What's New — earlier releases' page; the main page
keeps 0.53 and newer.
Entries are moved unchanged — the archive is append-only and its
entries are never rewritten, which is the same promise the page already
makes about describing each release as it shipped. Image paths are
unchanged because both pages sit in the same content directory.
Adds the sidebar entry (Starlight does not auto-discover, so an
unlisted page is invisible), a cross-link in both directions, and a
note in the maintainer footer describing how to trim next time.
* docs(website): What's New for 0.63 through 0.66.1
Five new entries. 0.66.0 leads on the Config screen redesign (#740) —
the largest UX change in the range and the one a user meets every time —
with a screenshot of the rail, live filter, env-override legend and the
dirty dot. Also carries the breaking default-port move 4000 -> 7233
(#741) with the operator action spelled out, schemaVersion (#735), the
import -> adopt rename (#748), the destructive-op interlock (#743) and
the sub-agent bar fixes (#750).
0.66.1 is the queued-message release (#751): three silent-loss paths and
the Stop-hands-it-back decision. 0.65 is promote_project (#668). 0.64
leads on path:/managed replacing repoBacked (#709) plus the Changes tab
finally reporting on the checkout (#597). 0.63 is host plugin
inheritance and MCP fidelity (#705), including the batch-mode argv
credential disclosure (#702).
Two claims deliberately qualified against the changelog's framing: the
delete-then-send fix (#742) is called out as batch-only, since the
default session mode was never affected; and the sub-agent bar is not
described as absolute, because the settle heuristic can hold an
interrupted sub-agent for ten minutes.
Also corrects a live error: the 0.59.1-0.60 entry claimed in bold that
--here leaves your ~/.claude alone. That was false for exactly those
versions — --here linked ~/.claude/projects/<dir> at the workspace, and
one report lost 30 transcripts to it before 0.61.1 stopped it. Replaced
with a caution box pointing forward.
* docs(website): a recorded demo of the 0.66 Config screen
The filter and the rail only read in motion, so the entry gets both a
still (rail counts, env chips, legend, dirty dot) and a 22s clip:
filter by env-var name, Modified-only lens, then a rail jump that
scrolls rather than swapping tabs.
Shot on a v0.66.1 rig with no credentials. Two leaks were caught by
looking at the frames rather than trusting the launcher:
PADDOCK_GIT_AUTHOR_EMAIL was inherited and put a real internal address
in the Git identity section, and the Advanced section printed the rig's
scratch paths. The launcher is now an ALLOW-list — it drops every
inherited PADDOCK_* and sets only what it needs — which is the fix
issue #567 argues for, and the frames now show stock defaults and a
~/.paddock install path.
* docs(website): backfill 0.56, 0.57, 0.58 and 0.61.0
These four were never written up — a gap in the middle of the page, not
a tail. 0.61.0 in particular was only reachable by reading the 0.62
entry backwards, where it appears as the thing being removed.
0.61.0 leads on Paddock taking ownership of its Claude home, with a
caution box narrating the whiplash: 0.61.0 isolates the home, 0.61.1
un-isolates the CLI because an isolated home cannot see a macOS
Keychain login, and 0.62 replaces the mechanism entirely. Without that
sentence the three entries read as contradicting each other.
0.58 carries its own caution: everything in it shipped in a CLI that,
installed through npm, printed nothing and exited zero, and stayed that
way across 0.57 and 0.59.0 until 0.59.1. An entry recommending it
without that note would be recommending a broken install. The cause is
described only as the run-directly guard, not attributed to a specific
PR, because the changelog's own attribution does not line up with the
release it shipped in.
0.57 is the environment system prompt, with the audit numbers that
justified it and a note that three candidate rules were measured and
cut. 0.56 is the npm publish, plus the correction that the claude CLI
was never a prerequisite for chats.
Also corrects 'several hundred boot log lines' in the 0.59.1-0.60 entry
to match the changelog's actual figure (about thirty, down to nine).
* docs(website): cut the new What's New entries roughly in half
The nine entries added this pass ran to 314 lines. They read as
changelog archaeology rather than release notes — explaining how each
bug worked before saying what changed, and carrying detail nobody
scanning a What's New page needs.
Now 180 lines, of which 12 are the image and video markup. Each bullet
is one idea in three or four lines: what a user notices first, then only
the context that makes it land. What survives unchanged is the material
that is genuinely load-bearing — the port change's operator action, the
'tabs partition' argument, the batch-only qualifier on the delete-then-
send fix, and the two caution boxes, since those exist to stop a reader
believing something false.
* docs(website): plainer titles, and another pass on length
Titles were making claims rather than saying what changed — 'Nothing you
typed while it was busy goes missing', 'A Config screen you can
navigate', 'A command-line worth running'. They now name the subject:
Queued messages; Config screen, and a new default port; CLI output and
flags; Environment system prompt; npm package.
Prose down from 168 lines to 137 (originally 302). Mostly by cutting
restatement — 0.61.0's four small turn-level fixes were four bullets
saying the same shape of thing and are now one.
* docs(website): bring the older entries into the same style
Retitles every remaining entry to name its subject rather than make a
claim, and cuts them to the same length as the new ones. 0.62's title
becomes 'Granular host Claude inheritance options' as requested.
Five levers instead of one -> Granular host Claude inheritance options
Your ~/.claude, left alone and ... -> CLI login, and symlinks into your Claude home
One command, on your own history -> npx install, --here, and confirmed adoption
Bring your terminal history with you -> Adopting Claude Code CLI chats
Claude, not "the keeper" -> The "keeper" rename, and Home's attention feeds
Home says what it's holding -> Unread badge on the Home link
Lengths: 0.62 115->51, 0.61.1 57->36, 0.59.1-0.60 45->29, 0.55 81->29,
0.54 70->42, 0.53 62->14. The page is 379 lines, down from 1,150.
Everything load-bearing is kept: the breaking env-var table, the
instructions: own warning, the leftover-symlink check with its shell
command, and both caution boxes. All five media assets verified present
in the built output. Frontmatter description rewritten — it still
described 0.62 as 'five independent levers'.
---------
Co-authored-by: HomeLab Agent <homelab-infra@valfenda.net>
Fixes #730.
The actual root cause — not the one in the issue
The issue's original guess (
deleteSessionclears the agent's current-session slot) was already retracted in a correction comment, and the correction's lead — the directory-wide discovery-cache invalidation — turns out to be a red herring too. Here is what is really happening, confirmed by reproducing it at the integration tier and reading herdctl's own log line:Note B — the deleted chat — on a turn that explicitly asked to resume A.
herdctl keeps one agent-level session pointer per agent at
<stateDir>/sessions/<agent>.json, rewritten after every batch turn, so it always names that project's most-recently-active chat. It exists for exactly one purpose: resume that session when a caller asks for a turn without naming one. Paddock's chat sends always name one, so Paddock never reads it.It still reaches us, through how
JobExecutorreacts to it going stale (dist/runner/job-executor.js:131-289):Deleting B leaves the pointer naming a file that no longer exists. On the next turn the timeout-aware read judges it
file_not_found, clears it, and returnsnull(dist/state/session.js:92-106). SoexistingSessionis null whilehadAgentSessionis true, and the adoption branch — the one that would have honored the caller's explicitresume: A— is gated shut.effectiveResumestaysundefinedand the turn starts fresh.The gate asks "did this agent have a pointer?" when the question is "was the thing that just got cleared the session the caller asked for?" Those coincide only when the pointer named the caller's chat.
Every rule the reproduction established falls out of this, which is what convinced me it is the whole mechanism and not a partial one:
existingSession.session_id !== options.resumethen correctly trusts the callerarchivedoes not trigger itpromotedoesherdctl.ts:1525)adoptis freeWhere the fix belongs
Upstream. Filed as edspencer/herdctl#448 with the one-line repair: capture the pointer's id, not just its existence, so
hadAgentSessionmeans "the pointer named the session the caller asked for". Any consumer whose transcripts vanish by some other route — a manualrm, a retention sweep, a crashed write — hits the same misclassification, and Paddock cannot fix that from here.What this PR does instead
The thin, well-understood guard the brief allows for, and it is narrower than the upstream fix while being true regardless of it: when Paddock removes a transcript, it drops the agent-level pointer if that pointer names it.
That file is already dangling by the time we reach it, and herdctl would clear it at the very next turn anyway — clearing it at the moment we make it dangle is semantically a no-op that simply moves the clear out of the code path that misreads it. The next turn then sees a clean "this agent owns no session" and adopts the caller's explicit
resume, which is the same path a process restart took. A pointer naming a different chat is live state and is left alone; the whole thing is best-effort, so failing to tidy can never fail the delete the user asked for.Called from all four places Paddock removes a transcript from an agent's working directory: the
owndelete path,promoteSession, and the two import-undo paths that delete a copy an import placed. Underclaude.transcripts: hostnothing is removed, so there is nothing to drop.Scope
driveMode: batchonly. The SDK session path (driveMode: session, the default) never consults the pointer when the caller names a session, so it is structurally immune — worth stating plainly, since the issue does not record which mode the reproducing instance ran. If the report came from asession-mode instance then there is a second mechanism still at large, and I would want to know that; everything in the report is reproduced exactly by this one.Tests
packages/server/test/integration/resume-after-delete.test.ts— server-integration tier (startTestApp+ realFleetManager+ real CLI runtime + the fakeclaude), per §5.3 item 0a. No browser: the whole bug is server-side session resolution.The first two fail on
main(expected '907e4670-…' to be '28e6602a-…') and the control passes there — so the control is pinning the boundary, not just passing vacuously. There was previously no test anywhere that sent a turn after a delete;delete-chat-host-transcripts.test.tscovers the deletion and stops.npm test(2,901 tests) andnpm run typecheckgreen.🤖 Generated with Claude Code