Skip to content

requirement 1d's retained volumes are an order-of-magnitude estimate, never measured against a live node

Id: TD-PPagop-26082838 · Status: resolved · Filed: 2026-08-28 · Resolved: 2026-09-20 · Ref: https://github.com/Pullwright/agent-ops/pull/1696

TD-PPagop-26082830 asked for the resulting size of the three retained volumes requirement 1d raises, and PR #886 answered it with an estimate: state_local_streams_retained’s 200 retained cycles is put at “low hundreds of megabytes on a busy repository”, with cycles_retained and state_local_cycles_retained at tens of megabytes each. The requirement says so itself — “not a measurement of any live node’s actual state_dir, which is what would replace this estimate with a real baseline”.

That is the right thing to have written and the wrong thing to leave untracked. The estimate is derived from scripts/state-sync.sh‘s own prose (“megabytes” for one Reviewer stream, “a handful of kilobytes” for a cycle directory without its derived files), not from a node, and the one check a raise here could actually trip — min_free_workspace_bytes’ 2 GiB pre-clone floor — is judged clear on that basis alone. A cadence change, or a repository whose stage streams run larger than this fleet’s, would have nothing better than the same prose to reason from.

Suggested fix: measure state_dir and the state-repository mirror on a live node at the shipped cadence — total size, and the per-cycle-directory size with and without the derived files — and record the figures in requirement 1d’s own extended notes for the three keys, replacing the estimate. scripts/publish-dashboard.sh and scripts/doctor.sh already read state_dir, so a periodic figure is within reach if a one-off measurement proves too perishable to be worth recording.

Noticed while reviewing https://github.com/Poetic-Poems/agent-ops/pull/886, in which TD-PPagop-26082830 was resolved by the estimate this record is about.

Migrated to https://github.com/Poetic-Poems/agent-ops/issues/1025.