test(integration): fix false-positive in clone graceful-degradation test

Commit

Soph2mo ago

Root-caused the git-refs KNOWN BUG skip: it was a harness artifact, not a backend divergence. The test staged the session's file changes after the stop hook, so the "no files modified during session" gate skipped condensation on BOTH backends. git-branch still passed only because the assertion (v1 branch exists) was satisfied by the checkpoint inherited from origin via the plain clone; git-refs correctly reported no local checkpoint (per-checkpoint refs are not fetched by a default clone).

Stage before stop like a real agent session (and like the createCheckpointedCommit helper), drop the skip, and assert a NEW checkpoint ID was condensed so inherited clone data can never satisfy the check again.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com Claude-Session: https://claude.ai/code/session_012yi3hHGAGepwfrfjPETjGq Entire-Checkpoint: 8429f8830bfd

Checkpoints

Real Git-invoked Pre-push Hook Integration Tests

Claude Code
View session
Checkpoint 1