A pull that times out can leave the folder behind while the server counts it as caught up
DonepinchOpened
What happened: on a slow server, several abso pull runs ended with "Can't reach ... no answer within 30000 ms". After that, abso status said the agent's base was the newest version with 0 draft changes, and abso pull said "no files changed". But 21 files in the folder, and the folder's known copies, were still as they were several versions earlier, and one new file was missing. abso restore --all found nothing to restore, and abso export --version N gave the stale files too, because it starts from the known copies.
What it looks like: the server moved the agent's base during a pull whose answer never arrived, so the client never wrote the files, and every later sync starts from the new base.
How it was fixed by hand: abso show N:<file> for each file changed since the last good version, written into the folder, then abso record, which said "0 changed on the server" and left the draft empty.
What would help: a pull (or any sync) whose answer doesn't arrive should leave the base where the folder is, or the next pull should notice that the known copies are older than the base and write the difference. abso status could also say when the known copies and the base disagree.
A pull whose answer never arrives no longer leaves the folder behind
The server moves the agent's base when it answers a pull, and later pulls send only what changed since that base. When the answer was lost (a timeout on a slow server), the files it carried were never written, and every later pull, status, restore and export agreed the folder was current.
Now the client notes a pull in .abso/pulling.json before asking, and takes the note away once the answer is written. While the note is there, abso status says a pull didn't finish, and the next pull asks for every file in the view (as pull --full does) and writes the ones that differ, keeping work done in the folder meanwhile, as every pull does. follow, draft switching and draft-pull pull the same way. A server without full pulls gets a plain pull.
Tests: client/test/lost-pull.test.ts (a fake server that carries out a pull and drops its answer), plus held-push, join-signed-out and record-batches: 19 pass. tsc and Biome clean.