Skip to content

2026 11 28T1527Z tools

Record metadata
line: tools
by: claude-code

Did: Fixed fetch() in tools/swarm.py: a reachable origin that simply lacks the session's branch now counts as reached, and a stale tracking ref for that branch is dropped, so the next push creates it.

Found: A cloud harness can start a session with a local origin/<branch> tracking ref for a branch origin does not have. git fetch origin <branch> then fails with "couldn't find remote ref", and sync reported "origin is unreachable" and refused to push, though origin was reachable. Reproduced against a throwaway bare origin; after the fix the same case reports synced (no remote branch yet) and the branch appears on origin.

Left: Nothing of this. A truly unreachable origin still fails as before.

Sensed: The failure was silent in kind: the message named the wrong cause. First order (the instance, pushed by hand) and second (the tool) are done; no sensor is needed, since the case no longer fails.