pingqiuandClaude Opus 5.5 d20b61c299 fix(sw-block): repeat an outcome_unknown answer, refuse a non-positive --timeout; ledger rows
INV-CLI-CHUNK-LOOP-001..004, one property per row in B.5,
each citing its tests:

- 001: the same request is repeated only after a retryable or
  outcome_unknown answer. An outcome_unknown answer not marked retryable is
  now repeated too.
- 002: the loop stops at the first definite answer.
- 003: no request starts once --timeout has passed, and a non-positive
  --timeout is refused before any request (snapshot, cut and detach; before,
  a zero --timeout was sent as timeoutMs 0, which the server reads as its
  own default bound).
- 004: a request that ended early is repeated only after a backoff.

Tests: TestChunkLoopRepeatsAnOutcomeUnknownNotMarkedRetryable and
TestChunkNonPositiveTimeoutIsRefused; a mutant that drops either change
fails its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:19:01 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%