Repository navigation
v0.292.1
·
1768 commits
to master
since this release
- docs: the resume's
cwdrule now carries an orphan branch, so path B can be used for the case it exists for. The rule named one source — the session registry (~/.claude/sessions/<pid>.json, fieldcwd) — and refused a session whose record carries nocwd.⚠️ Those two requirements cannot both hold for an orphan, and the collision is structural rather than incidental: a registry entry is deleted when its session exits (this repo'sCLAUDE.mdregistry table states it for the~/.claude/sessions/<pid>.jsonrow;scripts/who-needs-me.pyandscripts/session-exit-record.pyrestate it), and the auto-resume gate's own liveness clause reads no live id on any id (agents/goal-drive.md, step 3) — so the source the recipe names is absent by construction exactly when the recipe is needed. Measured 2026-10-10 on this host: 38 of 38 sampled registry records carried a live pid (no stale residue to fall back on), and 3162 of 3204 top-level session transcripts had no live registry entry. The rule now resolves from the first of two sources — the registry, then the session's transcript (find ~/.claude/projects -name "<session-id>.jsonl", its first entry carrying acwd) — and the refusal is corrected to guard a cwd-less record rather than a missing one: a record that exists without acwdis still refused, while a session with no record selects the transcript.⚠️ The transcript's firstcwd, never its last and never the project-directory name, and both alternatives are rejected on measurement rather than taste: the first cwd-carrying entry equals the registry'scwdfor 38 of 40 live sessions (one exception a symlink alias —Personal→private-personal— the other a genuine drift, the transcript recording the launch directory), while the last entry differs for 21 of 39, because it records where the session hadcd'd to — several of those landing outside every configured vault that item 8 refuses; the project-directory name is a lossy re-encoding (-is both its separator and a legal path character) that can carry a symlink alias.⚠️ Three surfaces that restated the rule now point at its single home, and one of them was restating a source that could not work at all: the path-B recipe above it,commands/open.md§ 3.1, andagents/goal-drive.mdstep 3'sTo resumehand-over — that last one being the actor the auto-resume gate itself runs in, whose rows are orphans by the gate's own precondition, so it was the site where the missing field would actually have been read. § 3.1 read the value fromsession-liveness.py --list --json, which lists live sessions only — structurally empty for the resume branch it sits in.⚠️ Every pointer cites it as "resume decisions item 3", never a bareitem 3. § Spawn a worker holds two numbered lists, and a bareitem Nin this document means the readiness ladder, whose item 3 is an unrelated check — so a pointer written the obvious way lands the reader on the wrong item and breaks the consolidation it exists to make. The vault-side copy (65 Runbooks/Supervisor - Install and Operate.md§ Step 4) lives outside this repo and is not pinnable from here. Change set:docs/fleet-surface.md,commands/open.md,agents/goal-drive.md,CHANGELOG.md.