Skip to content

disable_default_ttl and none_selected_recheck_hours take requirement 1d's worst-case gap, where longer is the unsafe direction

Id: TD-PPagop-26082839 · Status: resolved · Filed: 2026-08-28 · Resolved: 2026-09-28 · Ref: #1906

Requirement 1d derives its four hour-valued keys against the worst-case gap between firings, on the argument that the worst case is “the conservative answer for the four hour-valued keys”. That argument holds for the two the requirement then floors at a cycle’s own runtime — claim_ttl_hours and abandoned_draft_after_hours each have to outlast a quiet stretch, so longer is safer. It does not hold for the other two, where longer is the direction that hurts:

  • none_selected_recheck_hours is the no-op short-circuit’s safety valve (requirement 3b), and its documented job is to bound how long a gap in fingerprint coverage can stall the pipeline. On a cycle_hours: "9-17", 15-minute installation the derivation yields 366 hours — a fortnight in which a fingerprint bug stalls the pipeline unseen, where the 24 firings the key means are about 16 hours of that installation’s wall clock.
  • disable_default_ttl yields 61 hours on the same installation: a --disable with no --for outlasts the weekend. On Poetic’s own unrestricted 15-minute cadence it yields 1 hour, against a documented intent of “long enough to cover an editing session” — a human quantity that may not follow the cadence in either direction.

Both would be consistent under the mean gap PR #886 adopted for the three count-valued keys (2.7 h and 16 h respectively on that installation), since each of these keys expresses a number of firings elapsed rather than a stretch that must be outlasted. Neither, though, contradicts a property requirement 1d states outright, and disable_default_ttl may not belong in the derivation at all: the thing it is sized against is a person’s editing session, not the pipeline’s throughput.

Suggested fix: decide, per key, which of the three it is — a stretch to outlast (worst-case gap, as now), a count of firings elapsed (mean gap), or a human-world duration that should leave requirement 1d’s derivation altogether and go back to a plain schema default beside enabler_recheck_hours and human_nudge_idle_hours. Then move the key and say which in requirement 1d’s own categorisation, which currently lists all four under one heading.

Noticed while reviewing https://github.com/Poetic-Poems/agent-ops/pull/886; raised at https://github.com/Poetic-Poems/agent-ops/pull/886#issuecomment-5449813477.

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