Observation retention: the window a system asks for is not the window it gets
Every implementation above shares one bound, and it is the bound most descriptions of TWAP governance omit entirely. A time-weighted average is only as long as the price history still stored behind it. Storage is finite, so every design either keeps a fixed number of observations and evicts the oldest, or keeps none and makes the caller do it. The nominal window – "thirty minutes", "seven days" – is an upper bound on what the average actually covers, and a busy market is precisely the case where it binds, because a busier market fills the buffer faster.
That is the same failure shape in three systems, and each answers it differently:
Of the three, Caper's is the one that has to be stated as a governance parameter, because it is one. Two things follow from checkpointing on a minute grid. The trailing baseline a trigger reads is never shorter than it claims, because its length is pinned under the ring's retention when the logic is compiled. And a resolve that lands inside the retention reads the price-time integral at its window end exactly, however busy the market was in between; one that lands later extends the window forward to the oldest checkpoint still held and returns that longer average rather than an error, deterministically. Reverting, as v3 does, is louder; extending trades the loudness for the guarantee that a resolve never gets stuck, and puts the bound in a named constant rather than in a return value that looks like the one asked for.
The inversion is worth stating plainly, because it runs against the intuition that deeper markets are safer. Under a fixed observation count, the more actively a market trades, the shorter its effective lookback becomes. A quiet asset's observations may span months; a heavily traded one's may span an afternoon. Checkpointing once per traded minute rather than once per trade, as Caper does, blunts the effect – a burst inside one minute costs one slot – but the retention is still counted in traded minutes, so the busiest market is still the one with the shortest history. So the market with the most liquidity behind its price can be the market with the least history behind its average, and the two effects – more expensive to displace, cheaper to outlast – pull in opposite directions.