WAI Extension: Timeliness
Mirrored from the canonical text at commit 260cbd09 ().
Status: Draft. Registers the record
wai.delivery.timeliness: a publisher’s signed statement, for each object of a group, of when the object is of use: the instant it is useful from, the deadline by which a receiver must hold it for its full value, how that value falls after the deadline, as a stated function in integers, and the renditions a receiver presents in its place when it does not hold it by the deadline, a ladder in order of falling value. It is a jwp-receipts claim of class timeliness (jwp-receipts §2.4.17, §4 here), signed by the group’s key beside the group receipt, one statement for every bearer. From it and from a holder’s signed holdings record, the signed evidence WAI has that a party held an object at an instant, a verifier judges each object for each holder: on time, replaced by a rung of its fallback, held only after its deadline and at what value at least, or not shown (§6). An asker plans, from an instant it states, which of its sources, in its own order, delivers each object by its deadline: a pass of a carousel, a neighbour, or the origin (§7); and a sink runs plans against its own clock, deciding what it fetches, presents and states, and when (§7.5). WAI defines no transport: the deadline is mapped onto the delivery timeouts, request keys, carousel and window parameters and bundle lifetimes the bearers already define (§8). The reference implementation is thetimelinessmodule ofwai-rs(featuretimeliness), with the class’s body inclaim_receipt::timelinessand the sink’s run of a plan intimeliness::scheduler; the corpus islive-conformance/timeliness/, and its second implementation islive-conformance/timeliness_verify.py. Keywords MUST, MUST NOT, SHOULD, MAY are RFC 2119/8174.Texts read for this revision:
draft-ietf-moq-transport-23(MOQT; the clauses cited here, §5.1, §5.2 and §10.1 to §10.4, have the same numbers and meaning in -22, which moq-streaming-format binds), CTA-5004-B (CMCD), RFC 9218, RFC 9171 (BPv7), RFC 6726 (FLUTE), ETSI TS 103 769 V1.2.1 (DVB multicast ABR), ATSC A/331:2026-04, and 3GPP TS 26.346 §11.2A.1.1 as a mirror of Release 19 gives it. Read and not bound (§8.1):draft-sharma-moq-end-to-end-delivery-timeout-00anddraft-frindell-moq-timestamp-00. A clause number of one of them in this text is that text’s.
1. Scope
In scope: the timeliness claim (§4); an object’s value at an instant, and the rule by which a sink that does not hold it by its deadline is graded (§5); judging, from holdings records, whether each object was held by its deadline (§6); planning which source delivers it by its deadline, and a sink’s run of its plans against its own clock (§7); and the values a carriage derives from it (§8).
Out of scope: a transport; how a sink in fact presents, which is its own and is recorded in its
reconstruct-session claim (jwp-receipts §2.4.12), but for the switch reason of §8.6; who may sign
as a holder, and whose word a relying party counts; counting holders, receivers, regions or rates
of missing; and prices. A value here is a fraction of the object’s full value to its publisher.
It is not money, and no tariff grades a charge by it: a tariff prices the quantities that records
state (receipt-ledger §4). This text states no energy.
A layer of a stage set (staged-delivery §3) has no entry here and is no fallback: whether a layer is late is decided by staged-delivery §8 alone (moq-streaming-format §4.1), and a layer is not presented on its own (http-delivery §2). §4.3 step 6 refuses both.
Relationship to the core spec: wai.delivery.timeliness is a record (SPEC §5).
It names no payload format and is not dispatchable.
2. Terms
- Group, link hash, leaf count, content hash: as jwp-receipts §2.1, §2.4.1 and §3 step 3. Object i of a group is its object at position i, from 0.
- Instant: a count of milliseconds since 1970-01-01T00:00:00Z, leap seconds not counted, as channel-lineup §2 writes one. Last instant: 253,402,300,799,999 (9999-12-31T23:59:59.999Z), as carousel §4.2 bounds a pass.
- Value: an integer from 0 to 1,000,000, parts per million of an object’s full value.
- Entry, primary: an entry of a timeliness claim (§4.1), and the object it names. Fallback, ladder, rung: an entry’s fallback is its ladder, the objects it names to present in the primary’s place, each a rung, in order of falling value (§4.1); a fallback of one rung is that rung. End: §5.2.
- Holder: a node named by its Ed25519 key that signs holdings records (holdings §2).
- Held-at statement: a key, a group’s link hash, a position and an instant: the key’s signed
word that it held that object no later than that instant. Its instant is the latest that word
allows, in milliseconds, rounded up where the word is finer. It is before its group when the
whole seconds of the time its word states, any fraction dropped, are below the seconds
jwp-receipts §2.4.3 reads from the group’s
group_start. Such a statement states what cannot be, and is refusedheld_before_group. This revision derives held-at statements from holdings records (§6.2 steps 4 and 5). Another extension that derives them from other signed records states them in this form, under this rule.
3. Why a statement beside the receipt
WAI has deadlines that are relative leads (lead_ms, staged-delivery §8; a refinement’s
deadline_ms, packaging §3, its paragraph 3.3), timeouts that each hop restarts
(moq-streaming-format §4.1), a sink’s own schedule (jwp-receipts §2.4.12 deadline_us), a job’s
billing term (route-record §5.2), and a one-way bearer’s plan of when a receiver
holds an object, at an instant the relying party supplies (carousel §6.4). None is the publisher’s
signed statement of when an object is of use. That statement is made beside the receipt:
- It is the publisher’s, about its own group. The claim is signed by the group’s key and names the group by its link hash, as a transmission claim (bearer-receipts §4) and a schedule (carousel §4) do, and it is chained and confirmed as every claim is (jwp-receipts §3.1, §7).
- It is one statement for every bearer. An object’s value to a receiver does not depend on the path that brought it. Whether a bearer can meet it is a question about that bearer, which its schedule (carousel §6.4) and an asker’s plan (§7) answer.
- It changes no byte of what it times. A group carried before this extension, or by a party that does not use it, verifies exactly as before. An object with no statement has none, and is never judged on time (§6.4).
- It is a statement of value, not of delivery. Nothing in it says that anything was sent or received: that is the evidence §6 reads.
4. The timeliness claim (class: "timeliness")
A publisher MAY state the timeliness of objects of a group it signed in a timeliness claim.
Its subject_type is receipt and its subject the group receipt’s link hash (jwp-receipts §3
step 3). It is signed by the key that signed the group. A publisher MAY state the objects of a
group in one claim or in several; §6.2 step 3 reads them together.
4.1 Body
| member | type | meaning |
|---|---|---|
objects | array | The objects stated, one entry each (below). |
attests | string | MUST be "valued". Any string passes step 2; another value is refused at step 4. |
Each entry of objects has exactly these members:
| member | type | meaning |
|---|---|---|
leaf_index | integer | The object’s position in the group (jwp-receipts §2.2). |
content_hash | 32 B hex | The object’s content hash (jwp-receipts §2.1). |
from_ms | integer | The instant from which the object is of use. Holding it earlier is no fault and no gain. |
by_ms | integer | The deadline: the last instant at which a receiver that first holds the object has it at its full value. |
decay | array | 1 to 16 points, each exactly { "at_ms": integer, "value_ppm": integer }: the object’s value at instants after by_ms (§5). |
fallback | object, array or null | The ladder: the objects to present in the primary’s place when the primary is not held by by_ms (§5.3), each a rung, exactly { "group": 32 B hex, "leaf_index": integer, "content_hash": 32 B hex, "value_ppm": integer }, the link hash of its group receipt, its position in that group, its content hash, and the value of presenting it in the primary’s place. One rung is written as that object; two to eight as an array of them, in order of falling value_ppm (§4.2 rule 3.4). null when there is none. |
Every integer is one of jwp-receipts §2.4.3, read at §3.1 step 2 with the members of each point and
of each rung, in the tables’ order (field_type); an element of the array that is not an object is
field_type too.
A ladder of one rung has one form, the object: an array of one is refused (§4.2 rule 3.4). So an entry with one fallback object, the form before ladders, is a ladder of one rung, read, judged and planned as it was, and two entries that state one ladder are written alike (§6.2 step 3). The rung a ladder’s position gives is its index, from 0; a ladder of one rung has rung 0.
An example body (wire form has no whitespace; jwp-receipts §2.4.3):
{"attests":"valued","objects":[{"by_ms":1793664060000,
"content_hash":"<64 hex>","decay":[{"at_ms":1793664062000,"value_ppm":600000},
{"at_ms":1793664070000,"value_ppm":0}],"fallback":{"content_hash":"<64 hex>",
"group":"<64 hex>","leaf_index":0,"value_ppm":400000},"from_ms":1793664000000,
"leaf_index":0}]}
The same entry with a ladder of two rungs, the higher valued first:
"fallback":[{"content_hash":"<64 hex>","group":"<64 hex>","leaf_index":0,"value_ppm":700000},
{"content_hash":"<64 hex>","group":"<64 hex>","leaf_index":0,"value_ppm":400000}]
4.2 Rules
Checked at jwp-receipts §3.1 step 4, in this order:
attestsMUST be"valued"(timeliness_not_valued).objectshas at least one entry, and itsleaf_indexvalues strictly increase (timeliness_objects_malformed).- Each entry in order, the first of these to fail:
- its window is well formed (
timeliness_window_invalid):from_msis at mostby_ms, andby_msis below the last instant; - its decay is well formed (
timeliness_decay_invalid): 1 to 16 points; theirat_msstrictly increase, the first aboveby_msand the last at most the last instant; eachvalue_ppmis below 1,000,000 and none above the one before it; the last is 0 and every other at least 1; and no point but the last is on the line through its neighbours: with (t0, v0) = (by_ms, 1,000,000) and the points (t1, v1) … (tn, vn), for each k from 1 to n − 1, (vk−1 − vk) · (tk+1 − tk) differs from (vk − vk+1) · (tk − tk−1), computed without overflow (the products reach 268); - each rung of its fallback is well formed (
timeliness_fallback_invalid), in the ladder’s order: avalue_ppmfrom 1 to 1,000,000, acontent_hashother than the entry’s, and a position other than the entry’s own (agroupother than the claim’ssubject, or aleaf_indexother than the entry’s); - its ladder is well formed (
timeliness_ladder_invalid): wherefallbackis an array, it has 2 to 8 rungs, theirvalue_ppmstrictly decrease, and no two of them have onecontent_hash, or onegroupand oneleaf_index.
- its window is well formed (
So a stated line has one form. by_ms is the last instant of full value, since no point after it
holds full value; nothing is implied, since a hard deadline is the one point (by_ms + 1, 0); a
step is a fall over one millisecond; and every point is a change of slope, since none but the last
lies on the line its neighbours give. Two entries that state different lines are two statements,
even where their floored values (§5.1) agree at every instant. A ladder states one order too: each
rung is worth less than the one before it, so the first rung a sink holds is the most it can
present in the primary’s place (§5.3), and no object is valued twice.
4.3 Against the group
Checked at jwp-receipts §3.1 step 6 against the group receipt the verifier holds, which has passed
jwp-receipts §3 steps 1 and 2 and whose group_start is an RFC 3339 date-time (context_invalid
otherwise; another receipt is context_mismatch); the object receipts it holds under that group,
each of which has passed jwp-receipts §3 step 5; the other group receipts it holds, each having
passed §3 steps 1 and 2, with the object receipts it holds under them; and the envelope bytes it
holds, each known by its content hash. In a run, what a plan holds of these is what §7.5.1 gives it.
In order:
- the group’s link hash is the claim’s
subject(timeliness_subject_mismatch); - the claim’s
signer_pubkeyis the group’s (timeliness_signer_mismatch): only the publisher states the value of its own objects; - every
leaf_indexis less than the group’sleaf_count(timeliness_leaf_out_of_range); - no entry is of use before the group begins (
timeliness_before_group): ⌊from_ms/ 1000⌋ is at least the seconds jwp-receipts §2.4.3 reads fromgroup_start, its fraction dropped, as carousel §4.3 step 4 reads it. Nothing is of use before it exists; - for each entry whose object receipt the verifier holds, the receipt’s
content_hashis the entry’s (timeliness_content_mismatch); - no entry and no rung is a layer (
timeliness_on_layer): an envelope the verifier holds whose content hash is an entry’s or a rung’s is not aWAI1envelope whose capability is refinement-only (SPEC §5, Refinement capabilities; staged-delivery §3); - each rung is where it says (
timeliness_fallback_mismatch): where the verifier holds the group receipt whose link hash is the rung’sgroup, the rung’sleaf_indexis less than that group’sleaf_count; and where it holds the object receipt at that position, the receipt’scontent_hashis the rung’s; - each rung is a rendition of its primary (
timeliness_fallback_not_derived): an envelope the verifier holds whose content hash is a rung’s is aWAI1envelope whose manifest carriesderived_from(SPEC §7.1, Derived renditions) withmotifthe entry’scontent_hash, as packaging writes on every floor object (packaging §7, its paragraph 7.2). AWAI2envelope is refused here: it offers renditions a sink selects among (SPEC §7.1), so it names no one rendition the publisher has valued. Every rung of a ladder derives from the primary itself, not from the rung before it.
What the verifier does not hold is not checked: a claim checked without its group stops at step 5 and is not counted by §6; an entry whose receipt or envelope it does not hold, or a rung whose group it does not hold, passes the steps that need them, and the publisher’s word stands there.
4.4 Authority
Confirmed under jwp-receipts §7, a timeliness claim needs the authority timeliness, which is not
pinned-only and is not delivery. An origin gives it to the keys that publish its groups, as it
gives transmission and schedule.
5. Value over time
5.1 The value at an instant
An entry’s value at an instant h is:
- 1,000,000 when h is at most
by_ms; - otherwise, with the points of
decaypreceded by the point (by_ms, 1,000,000), for the two consecutive points (ta, va) and (tb, vb) with ta < h ≤ tb: ⌊(va · (tb − h) + vb · (h − ta)) / (tb − ta)⌋, computed without overflow (the products reach 268); - 0 when h is past the last point.
The value is floored, so it is never above the line the publisher stated, and it never increases with h (§4.2 rule 3.2).
5.2 The end
An entry’s end is the at_ms of its last point: the instant from which an object first held
is of no value. Flooring can bring the value to 0 a little before the end; §8 derives from the
end, never from an earlier zero.
5.3 The sink’s rule
§6 judges, and §7 plans and runs, for a sink that follows this rule; a sink MAY present
otherwise, and its session claim records what it did. At by_ms:
- a sink that holds the primary presents it, at full value;
- one that does not, and holds a rung, presents in the primary’s place the first rung of the
ladder that it holds, at that rung’s
value_ppm: the highest valued it holds (§4.2 rule 3.4). A lower rung it also holds is not presented; - one that holds neither the primary nor any rung has passed every rung, and states so at
by_ms(passed, §7.5). No rung is presented in the primary’s place from then on. It presents the primary when it first holds it, at its value then (§5.1), where that value is at least 1. At the primary’s end (§5.2), where it has presented nothing, it abandons any request for the primary (§8.2) and states that the object ended unpresented (ended, §7.5). Its line isafter_deadlineornot_shown(§6.3), and it records no switch (§8.6).
A rung first held after by_ms is not presented in the primary’s place, and a primary first held
after a rung was presented does not replace it. The rule needs nothing the sink does not hold at
by_ms. No sink knows at its deadline when a primary it lacks will arrive, so nothing is graded by
what arrived after a rung was due.
5.4 Example
With by_ms D and points (D + 2000, 600,000) and (D + 10,000, 0): the value is 1,000,000 at
D; 999,800 at D + 1; 800,000 at D + 1000; 600,000 at D + 2000; 300,000 at D + 6000; 75
at D + 9999; and 0 from D + 10,000, its end. A hard deadline is the one point (D + 1, 0):
0 from D + 1, its end.
With that entry’s ladder a rung at 700,000 and a rung at 400,000: a sink that holds both at D, and not the primary, presents the first, at 700,000; one that holds only the second presents it, at 400,000; one that holds the first only from D + 1 and the second only from D + 500 has passed both at D, and presents a primary it first holds at D + 1000 at 800,000, or nothing when no primary comes before D + 10,000.
6. Judging delivery
6.1 Inputs
The group receipts the verifier holds, in an order it chooses (the first is the one a claim about none of them is checked against, §6.2 step 2), each with the object receipts it holds under it and their envelope bytes where it holds them; the timeliness claims it holds about them, each signer’s in the order of its chain; the holdings records it holds; and optionally a statement offered (§6.4). These are the verdict’s inputs, and the only ones its lines and its statement read. cache-authority §9 derives lines for an entry by §6.3 from its own inputs, which add acknowledgements and the reconciliations a bearer verdict counts.
6.2 Steps
- The groups and their objects: each group under jwp-receipts §3 steps 1 and 2, and each of its object receipts as bearer-receipts §6.2 step 2 checks it. A group that fails refuses the verdict with that step’s reason.
- The claims: each claim, in order, under jwp-receipts §3.1 steps 1 to 5, then step 6 by §4.3
here against the group whose link hash is its
subject, or the first group when none is (so a claim about a group not given is refusedtimeliness_subject_mismatch). A claim of another class iscontext_mismatchat step 6: a schedule is a plan, which carousel §6.4 and §7 here read, and a reconciliation attests no timeliness (bearer-receipts §5.4), so this verdict reads it nowhere. Its signed instant is a held-at statement only in the lines cache-authority §9 derives, once that text’s verdict counts it (cache-authority §7.2, §8.3). A claim refused at any step takes no further part. - The intents: the entries of the accepted claims, by group and
leaf_index. Two entries for one object that differ set aside every entry for it (timeliness_contradicted): a publisher that states two values for one object has stated neither, and a relying party holds no statement that can change under it. Entries that are the same are one. Otherwise the entry stands. - The records: each holdings record as holdings §4.4 reads and verifies it. A record that
reads and verifies is refused whole when, for a group given, its entry’s
leaf_countis not the group’s (holdings_leaf_count_mismatch, holdings §5.2), or itsas_of_msis before the group begins (held_before_group): ⌊as_of_ms/ 1000⌋ is below the seconds read from the group’sgroup_start, as §4.3 step 4 reads them. A holder that states it held an object before the object existed misstates its holdings. Of one holder’s other records, two with oneas_of_msand different digests set both aside (holdings_contradicted, holdings §5.3), and records with one digest are one. Every other record stands at its ownas_of_ms, and at no other instant: holdings §5.1 holds a record at itsas_of_ms, which is below itsexpires_ms(holdings §4.4 rule 2), and holdings §5.3 at that instant keeps it alone, since no later record of its holder stands yet. - Held-at statements: for each record that stands and each object it holds (holdings §5.4,
held): the record’s
holder, the object’s group and position, and the record’sas_of_ms. It is the holder’s word that it held the object then; it says nothing of when the object arrived, but that it was no later. These are the held-at statements (§2) this verdict derives, and the only ones its lines and its statement (§6.4) read. Cache-authority §8.3 derives two more kinds, from acknowledgements and counted reconciliations, and its §9 reads all three. Step 4 refused a record dated before its group, by §2’s rule. - Lines, by §6.3; the statement, by §6.4.
6.3 Lines
For each intent that stands, in the order of the groups given and then of leaf_index, a verifier
derives a line for each holder with a record that stands and has an entry for the intent’s
group or a rung’s group, in increasing order of key bytes. The lines cache-authority §9 derives by
this rule also have one for each key with a held-at statement of cache-authority §8.3’s kinds for
an object of the group. For a holder, p is the least instant of its held-at statements for the
primary, and fk the least for rung k of the ladder; any may have none. Its
outcome and value are the first of these that holds:
| outcome | when | value |
|---|---|---|
on_time | p is at most by_ms | 1,000,000 |
replaced | some fk is at most by_ms | the value_ppm of the first such rung in the ladder’s order |
after_deadline | p is after by_ms | the primary’s value at p (§5.1) |
not_shown | §6 only: none of the above | 0 |
no_source | §7 only: §7.3 rule 4 | 0 |
A line reports its holder, p and f (each null where none), its outcome and its value: f is
f0 for a ladder of one rung, and for a ladder of two or more the list of every
fk, in the ladder’s order. Each instant is the latest the holder’s word allows for
the object’s arrival, and §5.3 grades what a sink holding exactly what the evidence shows would
present, so every value is the least the evidence shows. after_deadline says the holder held the
object by p, not that it arrived after by_ms; not_shown says only that this evidence shows
neither the primary nor a rung held in time, nor the primary at all.
A publisher’s promise to a receiver within a loss bound that hears every pass is carousel §6.4’s
statement with t the entry’s by_ms; to one that tunes in at an instant, a plan (§7). Neither
is evidence that anyone held anything, and §6 reads neither.
6.4 A statement offered
A verifier MAY be asked to judge object i of a group for a holder. The answer is the outcome
and value of that holder’s line; not_shown and 0 when the holder has none; and refused
deadline_not_stated when no intent of that object stands (§6.2 step 3): an object with no
deadline is never on time.
7. Planning
7.1 Inputs
§6.1’s inputs, without a statement, and with the transmission and schedule claims the asker holds
about the groups, each signer’s in the order of its chain; optionally a loss bound L and an
overhead h (carousel §2); an instant t at which the asker plans, or the word from_ms, under
which each object is planned from its own entry’s from_ms; the wanted objects, each a group’s
link hash and a position; optionally the asker’s symbols, what it holds of objects on bearer
instances, each a bearer_id, a group’s link hash, a position and one number for each source block
of the object, in the order carousel §5 divides it, as carousel §7 takes a holding; and the asker’s
sources, in the order it prefers them, each one of:
- a bearer instance, by its
bearer_id; - a holder, by its key, with
fetch_ms: the asker’s estimate of the time from asking that holder to holding an object from it; - the origin, with
fetch_ms.
These are checked first, in this order, and refuse the plan: L and h as carousel §6.2 checks
them (loss_bound_invalid, overhead_invalid); t not an integer from 0 to the last instant
(instant_invalid); the sources (sources_invalid) when there is none, when one names a kind not
listed, a bearer_id that is not an absolute URI, a key that is not 64 lowercase hexadecimal digits
or a fetch_ms that is not an integer from 1 to 253 − 1 (no fetch completes in no time);
when two name one bearer instance or one holder, or two are the origin; or when a bearer instance
is among them and L and h are not given; the symbols (symbols_invalid) when they are not a list,
one is not an object, its bearer_id is not an absolute URI, its group is not 64 lowercase
hexadecimal digits, its index is not an integer from 0 to 253 − 1, its numbers are not a
list of at least one, a number is not an integer from 0 to 253 − 1, or two state one object
on one instance; and the wanted objects (wanted_invalid) when they are not a list, one is not an
object, its group is not 64 lowercase hexadecimal digits, or its index is not an integer from 0
to 253 − 1. An estimate is the asker’s own and is never signed: a plan says what follows
from it, not that it will hold.
7.2 Arrivals
§6.2 steps 1 to 4 run as there, but that step 2 also checks a transmission claim by
bearer-receipts §4.3 and a schedule by carousel §4.3; then the declarations (bearer-receipts §6.2
step 4) and the schedules (carousel §6.2 step 4). A schedule that stands there stands here. For a
wanted object whose intent stands, from the instant s (t, or its entry’s from_ms), each
source’s arrival of the primary, and of each rung of the ladder, is:
- bearer instance: where a schedule of the object’s group stands on it with an entry for the
object, the
complete_msof carousel §7’s plan from s, at L and h, holding what the asker’s symbols state of the object on that instance, and nothing of it where they state nothing; none when that isnullor there is no such entry; - holder: s +
fetch_mswhere a record of that holder stands at s (holdings §5.1 to §5.3, and §6.2 step 4 here) and holds the object (holdings §5.4); none otherwise; - origin: s +
fetch_ms.
A plan counts what its asker holds, as carousel §7 does, and a code and its parameters are the
instance’s schedule’s, so symbols held on one instance count for that instance alone. A statement
of symbols that does not fit the entry standing for its object on its instance, by carousel §7’s
rule for a holding, refuses the plan (holding_invalid), whichever sources and objects the plan
names; one with no such entry is compared with nothing.
7.3 The choice
For each wanted object, in order: refused deadline_not_stated when no intent of it stands;
otherwise the first of these that holds, with the outcomes of §6.3:
on_time: the first source, in the asker’s order, whose arrival of the primary is at mostby_ms;replaced: the first rung, in the ladder’s order, whosevalue_ppmis at least the greatest value (§5.1) of any arrival of the primary and whose arrival from some source is at mostby_ms: that rung, from the first such source in the asker’s order;after_deadline: the source whose arrival of the primary has the greatest value, the first in the asker’s order among equals, when that value is at least 1;no_source.
A plan reports for each object its outcome, which object (primary, fallback or null), the
rung by its index (null unless the object is fallback), the source by its index in the asker’s
list, the arrival and the value. A plan whose choice is a late primary fetches no rung, and one
whose choice is a rung fetches no other: no higher rung arrives from any source by by_ms, a lower
one is worth less, and a sink that holds any rung by by_ms presents the first it holds (§5.3). An
asker that has no path back lists no holder and no origin; one whose plan for an object is
no_source has no source that reaches it with any value.
7.4 The publisher’s check
Planned from from_ms over one bearer instance alone, with no symbols, a plan states what the
publisher’s schedule promises a receiver within L that starts listening when each object becomes
of use: on_time for every object is the promise. after_deadline names the objects for which
such a receiver is not served in time, though one that heard every pass may be (carousel §6.4, at
t the entry’s by_ms).
7.5 Running a plan
A sink runs its plans: from them and from its own clock it decides what it fetches, what it presents in each object’s place and when, and what it states. A run is a function of its inputs alone, so a verifier given a sink’s inputs derives its decisions, and two sinks given the same inputs decide the same things at the same instants.
7.5.1 Inputs
L and h where given, shared by every plan of the run; §7.1’s groups, claims and records, with,
where stated, the instant from which the sink first holds each, on its own clock (groups_at_ms,
claims_at_ms, records_at_ms: a list with one entry for each, an instant or null), and each
object receipt given with a group (receipts_at_ms: a list for each group, with one such entry for
each of its object receipts); the run’s plans, in order, each an instant t with sources and
wanted objects as §7.1 gives them; the sink’s arrivals, each a group’s link hash, a position and
the instant from which the sink first holds that object, on its own clock; and, where stated, its
symbols on its own clock, each §7.1’s statement with the instant from which the sink holds that
many. An arrival is the sink’s own observation of whatever reached it: an object it fetched, or one
a bearer it listens to brought. An instant of any other input is the same observation of what it
states.
These are checked first, in this order, and refuse the run:
- the plans (
plans_invalid): there is none; one is planned fromfrom_msrather than from an instant, since a sink runs from its clock; their instants do not strictly increase, one that is not an integer reading as above every other; or one wants an object twice, an entry §7.1 refuses naming none; - each plan in order, by §7.1, refused with its reason;
- the arrivals (
arrivals_invalid): an instant is not an integer from 0 to the last instant; the instants, in the order given, decrease; or two arrivals name one object, since an arrival is the first holding; - the claims’ instants, where stated (
claims_invalid): they are not a list with one entry for each claim; an entry is neithernullnor an integer from 0 to the last instant; one claim is given twice, since the instant is the first holding; or a claim that passes jwp-receipts §3.1 steps 1 to 4 is held before it was signed: the instant’s whole seconds are below those jwp-receipts §2.4.3 reads from itsissued_at, by §2’s rule for a statement before its group. A claim that fails those steps is not known to be its signer’s, so itsissued_atis compared with nothing; - the records’ instants, where stated (
records_invalid): the same, of each record, a record that holdings §4.4 reads and verifies being held before it was stated when the instant’s whole seconds are below itsas_of_ms’s; - the groups’ and object receipts’ instants, where stated (
groups_invalid): the same, of each group, a group that passes jwp-receipts §3 steps 1 and 2 being held before it starts when the instant’s whole seconds are below those jwp-receipts §2.4.3 reads from itsgroup_start, and a group that fails them being compared with nothing; andreceipts_at_msis not a list with a list for each group, with one entry for each of its object receipts, eachnullor an integer from 0 to the last instant; - the symbols, where stated (
symbols_invalid): they are not a list; an instant is not an integer from 0 to the last instant; the instants, in the order given, decrease; a statement fails §7.1’s rule for one; or, of one object on one instance, a statement has the instant of the one before it, another count of source blocks, or a number below that one’s, since a sink does not unlearn a symbol.
A run compares the sink’s clock with instants others state, a deadline and a pass among them, so a clock that places a statement before its signer made it is one those comparisons cannot be read against, and the run is refused rather than read.
Each plan is then derived by §7.2 and §7.3 from L and h, its own t, sources and wanted objects, and the groups, claims and records the sink holds by its t, in the order given: those whose instant is at most t, and those with none. These are §7.1’s inputs for that plan, what its asker holds when it plans. A group a plan reads that fails refuses the run as it refuses a plan. The first plan is in force from its t, and each later one replaces the one before it at its own t, wholly: an object only an earlier plan wants is no longer run.
- No instant. A claim or record with no instant,
nullor in a run that states no list, was held from before the first plan, and every plan reads it. A sink that states no instant says it held the statement throughout, which is what a run with none has always meant. - A sink does not unlearn. What one plan reads, every later plan reads. A set of instants states that and cannot state otherwise, as a list of claims for each plan could.
- A chain, at each plan. jwp-receipts §3.1 step 5 runs over what the plan reads, in the order
given, each signer’s in the order of its chain. The instants need not follow that order, since a
sink can hear a later claim first. A claim whose parent the sink does not hold by t is refused in
that plan:
parent_not_heldwhere it holds no earlier claim of the signer,chain_breakwhere it holds one, a gap it cannot yet tell from a fork. Neither refuses the run, and a later plan that holds the parent accepts the claim, that step calling both recoverable. A fork stays refused, since no claim the sink comes to hold is its parent. - A statement decides nothing when it arrives. Its instant is not one §7.5.3 reads. It takes effect in the first plan given at or after it, the plan in force keeps the choices it made without it, and when to plan again is the sink’s. So a claim that reaches the sink after the plan that could have used it changes nothing until a later plan reads it.
- A later claim against a plan already relied on. A plan that reads a schedule contradicting an earlier one finds every schedule of that instance set aside (carousel §6.2 step 4), and one that reads a differing entry for an object finds its intent set aside (§6.2 step 3). Its choices are derived without them: §7.5.3 step 2 abandons a fetch the plan does not continue, and an object with no intent is no longer run. What is settled stays settled: a presentation was made on what the sink held at that instant, and no later statement unmakes it. What the sink holds stays held, whichever bearer brought it: a schedule states a plan and vouches for no bytes, and §5.3 reads what the sink holds. A sink does not unlearn a contradiction either, so a later claim does not restore what it set aside.
- Only a run dates what it reads. A plan alone needs no instants: its inputs are what its asker holds when it plans. §6 needs none: it grades what a holder held against the publisher’s word, which binds from when it was signed, not from when any sink heard it, and a sink is graded by §5.3 whatever it knew when it fetched.
- Groups, object receipts and envelopes. A run that states neither
groups_at_msnorreceipts_at_msreads every group whole at every plan, which is what a run with neither has always meant: the sink held them, envelopes included, throughout. A run that states either dates all three, even where each entry isnull. A plan reads each group whose instant is at most t or that has none, with its object receipts by the same rule. It reads an envelope from its object’s arrival, by the group’s link hash and the receipt’sobject_id, since an envelope reaching the sink is an arrival; one whose object no arrival names was held from before the first plan. These are what §4.3 and carousel §4.3 compare, so a plan can refuse a claim an earlier plan accepted, for what has reached the sink since, and the earlier plan’s choices stand. A claim about a group the plan does not hold takes that plan’s refusal at §4.3 step 1, and a later plan that holds the group accepts it. - What the sink holds of an object. Each plan counts the sink’s symbols as §7.2 does: of each object on each instance, the last statement whose instant is at most t, and nothing where there is none, so a run that states none plans for a sink that holds nothing, as it always has. They are read whichever instants the run states, and a statement no plan reads is checked only as check 7 has it. Symbols are not an arrival: an object is held from its arrival alone, however many are stated, so a plan can find an object in reach, even complete, that no arrival has yet given the sink.
7.5.2 State
For each object, a group’s link hash and a position, the run keeps whether it is settled
(presented, or ended), whether it has passed (§5.3), and its fetch, or none: the object it
takes (the primary or a rung), its source, and the plan it serves, by that plan’s index and the
source’s index in that plan’s list. A fetch is outstanding from its decision until the sink holds
the object it takes, or until it is abandoned. Two sources are the same where both name one
bearer instance or one holder’s key, or both are the origin, whatever their fetch_ms. The objects
run are those the plan in force wants whose choice is not refused (deadline_not_stated), in
its wanted order. The sink holds an object from its arrival’s instant, and holds it by that
instant and any later one.
7.5.3 Decisions
The run reads, in increasing order, every instant that is a plan’s t, an arrival’s, or the
by_ms or the end (§5.2) of an object a plan wants with a choice; at each, n, it takes these
steps in order, each over the objects run in their wanted order. At no other instant does it decide
anything.
- Arrivals. The sink holds from n each object that arrives at n, and a fetch of it is no longer outstanding.
- Plans. Where a plan’s t is n, it replaces the one in force. First, for each object run
under the earlier plan that is not settled and has a fetch outstanding:
abandonit, unless the new plan continues it, its choice for the object taking the same object from the same source; a fetch continued serves the new plan from then on. Then, for each object now run that is not settled and whose choice takes an object from a source:fetchit, unless the sink holds that object or the new plan continues the fetch. A choice ofno_sourcefetches nothing. - Deadlines. For each object run, neither settled nor passed, whose
by_msis at most n, by §5.3 with what the sink holds byby_ms: where it holds the primary,presentit at 1,000,000; else, where it holds a rung,presentthe first of the ladder that it holds, at that rung’svalue_ppm; elsepassed. Apresentsettles the object, then abandons its fetch where one is outstanding (abandon);passedabandons its fetch where one is outstanding and takes a rung, since no rung can be presented in the primary’s place from then on. - Late primaries. For each object run that has passed and is not settled, where the sink holds
the primary and the primary’s value (§5.1) at its arrival’s instant is at least 1:
presentthe primary at that value, which settles the object. - Ends. For each object run that has passed and is not settled, whose end is at most n:
abandonits fetch where one is outstanding, thenended, which settles the object.
A plan given after an object’s by_ms meets that object at step 3 at the plan’s own t, by what
the sink held by by_ms, as §6 would grade it; one given at or after its end meets steps 3 to 5 at
that instant.
Each decision reports its instant n; a plan’s index: for abandon the plan the fetch served,
for every other action the plan in force; its action; the object’s group and position; for fetch
and abandon, the object the fetch takes (primary or fallback, with the rung’s index or
null) and its source’s index in that plan’s list; and for present, the object presented, with
the rung’s index or null, and its value. A member that does not apply is null. A run reports
each plan’s choices (§7.3), then its decisions in the order it takes them. A run that states instants
of its groups, object receipts, claims or records also reports what each plan read: each claim’s label
and each record’s as §7.2 gives them over what the plan read, and not-held for the rest. Symbols
take no label: what they change is a choice’s arrival, which the plan already reports.
7.5.4 What a run states
Each decision is the sink’s own statement of its session. None is signed here, and none is graded:
§6 grades from signed held-at statements alone. A carriage reports them as it reports any request:
fetch is delivery-telemetry’s request, abandon its abandon (delivery-telemetry §2; §8.2
here, at the end), and present its present; a rung presented on another path is also §8.6’s
switch. passed states, at by_ms, that no rung will be presented in the primary’s place;
ended states, at the end, that nothing was presented for the object. Neither is a switch.
A passed stands whatever a later plan reads. One that reads a differing entry for the object finds
its intent set aside (§6.2 step 3), and the object is no longer run: a fetch still outstanding is
abandoned at that plan (§7.5.3 step 2), a primary that arrives after is held and not presented, and
no ended follows, since an intent set aside states neither a value nor an end. The passed was
true of the plan in force at by_ms, when the sink stated it.
8. Mappings
Each value below is derived from an entry that stands, for an object that is not a layer (§1). A carriage derives these values and adds no field of its own. Lateness is judged only by §6, never from them. A claim travels as a receipt file on every bearer (bearer-receipts §9.1; http-delivery §8.1), listed in the receipt index of each object of its group (http-delivery §8.2); no track carries it, so a party derives these values only from a claim it holds.
8.1 MoQ (MOQT, draft-ietf-moq-transport-23)
- Per hop. A publisher SHOULD set an object’s
OBJECT_DELIVERY_TIMEOUT(MOQT §5.2, §10.2, Property 0x02) to no more than its slack at publication: its end (§5.2), less the instant the publisher passes it to transport, less the publisher’s estimate of the path. Set on a subgroup’s first object, the property governs the subgroup and is ignored on any other object (MOQT §5.2): a publisher derives a subgroup’s timeout only where every object of the subgroup has an entry that stands, at no more than the least of their slacks, and otherwise puts each such object first in a subgroup of its own, as moq-streaming-format §4.1 does for layers. A slack of 0 or less cannot be set, since 0 is no timeout (MOQT §5.2): the object cannot reach anyone with value, and a publisher MAY withhold it. On the base track of a stage set, moq-streaming-format §4.1’s floor stands: no timeout is shorter than the time from the base’s publication to the presentation of its last unit, and where the slack is shorter, the floor is set. The timeout runs at each hop (MOQT §5.2) and is not an end-to-end deadline. - Priority. Unchanged. A publisher’s priorities are moq-streaming-format §4.1’s and packaging §8’s, in its paragraph 8.5; MOQT’s default of 128 (§10.4) is never relied on. A priority orders objects within a session (MOQT §5.1.1, §5.1.2) and states no instant; the timeout carries the deadline.
MAX_CACHE_DURATION(MOQT §10.3) is a Track property that bounds caching, not use, and is not derived.- End to end: not derived.
draft-sharma-moq-end-to-end-delivery-timeout-00defines its timeout for MOQT -22 alone, measures it from the first object a publisher forwards on that publisher’s own clock (§4, §5 there), and reads object timestamps whose meaningdraft-frindell-moq-timestamp-00(§5 there) does not state; a timeout derived from an end could expire an object that still has value. Both are individual drafts, and this text follows them without binding to them.
8.2 HTTP
- Abandoning at the end. A client MAY abandon its request for an object at the object’s
end, on its own clock as http-delivery §10.2 runs a deadline (a clock that steps back has not
passed it): past its end the object is of no value. http-delivery §10.1 admits this abandonment
of a base and no other; the fetch then ends as one never answered (
base_unanswered). The client fetches the rung its plan (§7) chooses, where it chooses one. Request priority (RFC 9218 §4.1, §4.2; http-delivery §10.1) is unchanged. - CMCD. For an object no buffer level governs (a file, a creative, a still, an application
package), a sink’s
object.dl_ms, which delivery-telemetry §3 maps to CMCDdl(CTA-5004-B §4.3, Table 1: “Deadline from the request time until the first sample of this Segment/Object needs to be available”), isby_msless the request’s instant, 0 when that is past; for an object within a buffered timeline, the lesser of that and the buffer level. A sink that holds an object whole byby_mshas its first sample by then, so the value is never later than CMCD’s own. CTA-5004-B roundsdlto the nearest 100 ms, so it can be up to 50 ms late: it is a hint, and nothing is judged from it. Nothing here setssu. - CMSD. Nothing is derived: CMSD’s
atis an observation of availability at the origin, andfrom_msa statement of use. A node that discards an object at a timeout derived here counts it inscience.transaction.wai-drop(delivery-telemetry §6, its paragraph 6.3).
8.3 Broadcast
- Carousel. carousel §6.4’s statement “object i is held by t”, with t the entry’s
by_ms, is the publisher’s plan against its own deadline for a receiver that hears every pass, with carousel’s reasons; §7.4 is the plan for one that tunes in atfrom_ms. - DVB multicast ABR (ETSI TS 103 769 V1.2.1). A deployment that carries an object as an
ancillary resource of an object carousel (§10.2.3.14.3) and states its
@targetAcquisitionLatency(§10.2.3.14.0: how often it is repeated “so that they can be acquired by a Multicast gateway within the indicated target time”) states no more thanby_mslessfrom_ms: a longer target does not serve a gateway that joins atfrom_ms. The attribute is a repetition target, not a bound under loss; the schedule (carousel §4) is the signed plan. Objects carried as media segments (bearer-receipts §9.3) have no such attribute. - ATSC 3.0 (A/331:2026-04). A Distribution Window (§7.1.9, Table 7.7) is the broadcaster’s
schedule of when NRT files are sent, as a carousel schedule is the publisher’s signed one; it is
read as a plan and nothing is derived. An object that is a broadcaster application’s entry
package is loaded from its HELD’s
@validFrom(§7.1.8, Table 7.6), and its files are available when the HELD names them (§7.1.8.2): a HELD that names an object whose entry stands sets no@validFrombefore that entry’sby_ms. - MBMS (3GPP TS 26.346 §11.2A.1.1,
fileSchedule). A file’s delivery windows are the bearer’s own schedule, read as a plan; nothing is derived. - FLUTE (RFC 6726): an FDT instance’s
Expires(§3.4.2) is the expiry of the description, not of a file, and is not derived.
8.4 Bundles (RFC 9171)
A node that creates a bundle carrying an object sets its Lifetime (§4.3.1) to the object’s end
less the bundle’s creation time (§4.2.7), both in milliseconds, the end converted to DTN time
(§4.2.6: from 2000-01-01T00:00:00Z, leap seconds not counted, so less 946,684,800,000). It does not
send a bundle for an object whose end is not after the creation time, and a node whose creation
time is 0, an unknown clock (§4.2.6), derives no lifetime from the entry.
8.5 WAI
- Ads. An entry for a creative of a break states a
by_msno later than the break’s splice: its cue’ston the room clock (live-ads §4.1, §4.3), as an instant ⌊(t0+t) / 1000⌋ witht0the room’s start in microseconds since 1970-01-01T00:00:00Z (live-events §2). The policy’spreload_msis when a player may fetch the break’s asset list (live-ads §3.1, §5.3, §6.2), not when a creative is of use, and nothing is derived from it. - Floors. A packaged piece’s floor object (packaging §7, its paragraph 7.2) is its base’s natural fallback.
- Holders. No one gains by holding an object past its end: a holder MAY drop it then (holdings §1 leaves what to keep to the node), and lists it in no later record.
8.6 Presentation
A sink that presents a rung in a primary’s place under §5.3, and whose path (path,
delivery-telemetry §2, its paragraph 2.2) changes with it from primary
to fallback, records the switch with the reason not-held-by-deadline (delivery-telemetry §5,
its paragraph 5.1; jwp-receipts §2.4.12 switches). A rung presented on the primary’s path is no
switch, and neither is a primary presented after the sink passed every rung.
9. Reasons
The codes this extension adds, each with where it is raised:
| reason | raised at |
|---|---|
timeliness_not_valued | §4.2 rule 1 |
timeliness_objects_malformed | §4.2 rule 2 |
timeliness_window_invalid | §4.2 rule 3.1 |
timeliness_decay_invalid | §4.2 rule 3.2 |
timeliness_fallback_invalid | §4.2 rule 3.3 |
timeliness_ladder_invalid | §4.2 rule 3.4 |
timeliness_subject_mismatch | §4.3 step 1 |
timeliness_signer_mismatch | §4.3 step 2 |
timeliness_leaf_out_of_range | §4.3 step 3 |
timeliness_before_group | §4.3 step 4 |
timeliness_content_mismatch | §4.3 step 5 |
timeliness_on_layer | §4.3 step 6 |
timeliness_fallback_mismatch | §4.3 step 7 |
timeliness_fallback_not_derived | §4.3 step 8 |
timeliness_contradicted | §6.2 step 3 |
held_before_group | §6.2 step 4 |
deadline_not_stated | §6.4, §7.3 |
instant_invalid | §7.1 |
sources_invalid | §7.1 |
symbols_invalid | §7.1, §7.5.1 |
wanted_invalid | §7.1 |
plans_invalid | §7.5.1 |
arrivals_invalid | §7.5.1 |
claims_invalid | §7.5.1 |
records_invalid | §7.5.1 |
groups_invalid | §7.5.1 |
A verdict or plan also raises a group’s or object’s codes of jwp-receipts §3.3; a claim’s codes of
jwp-receipts §3.1 steps 1 to 5 and those of step 6 named in §4.3, and in a plan in bearer-receipts
§4.3 and carousel §4.3; a record’s codes of holdings §7; and a plan loss_bound_invalid and
overhead_invalid (carousel §9) at §7.1, and bearer_contradicted, bearer_not_declared
(bearer-receipts §10), schedule_contradicted, schedule_on_bidirectional and holding_invalid
(carousel §9) at §7.2. A run raises a plan’s codes at §7.5.1.
10. Conformance
live-conformance/timeliness/ holds the corpus, written from
fixed seeds by wai_timeliness_vectors gen as vectors.json. It has:
- Claims: an entry at each bound of §4.2 on both sides — a window of one instant and an inverted one, a deadline one millisecond before the last instant and at it, a decay of one, of sixteen and of seventeen points and an empty one, a point at full value, a step, a plateau and a plateau with an interior point, three points on one line and three just off it, a last point at the last instant and past it, a fallback valued at 1 and at full value, a ladder of two and of eight rungs and one of nine, of one rung written as an array and an empty one, rungs a part per million apart, equal and rising — and one negative control for each rule, for each rung, for the order of the rules within an entry and between entries, and for a body’s and a rung’s members at step 2.
- Values: §5.1 at the deadline, a millisecond after, on and between points, at and past the end, a value floored to 0 before the end, a hard deadline, and a span whose products pass 264.
- Verdicts: holders on time, at the deadline, a millisecond after, after the end, not shown; a fallback in time, at the deadline, after it, before a late primary of lower and of higher value, and a fallback after the deadline before a late primary; a holder’s earliest record counting, for the primary and for the fallback; lines from several holders on one intent, each from its own records alone and in key order where the records come in another; records contradicting each other, a record at the start of its group’s second and one before it, a record misstating a leaf count and one whose signature fails; intents contradicting and repeating; a schedule given as evidence and refused; and one negative control for each step of §4.3, each beside the case that shows the step passing at its edge. With a ladder: the first rung held, a lower rung alone, a lower rung in time before a higher one late, every rung late with the primary later and with no primary, the primary on time over held rungs, a holder of a lower rung’s group alone, a ladder and a single fallback stating one object, and steps 6 to 8 refused at a rung other than the first.
- Plans: on time in the asker’s order before an earlier source, at the deadline and a
millisecond after, a neighbour when the carousel is late, a holder’s record expired and not yet
standing, a holder asked when only another holder’s record holds the object, a fallback chosen and
refused on value, chosen at a value equal to the late primary’s, from the first source in the
asker’s order before an earlier one, and arriving at the deadline, late sources chosen by value
and order, an arrival only after the end, no source on a path with no return, the origin alone, a
schedule with no declaration, one on a two-way instance, one a later schedule extends and one a
later schedule withdraws a pass of, every pass heard from the first, the
publisher’s check from
from_mspassing and failing, an object with no deadline, an instant at and past the last instant, and each rule of §7.1. With a ladder: the first rung, both rungs in time, a lower rung when the first is late, no rung when the late primary is worth more, the first rung over a late primary worth less, a lower rung refused on value, the first source in order, the primary on time over rungs, no rung in time, and a rung read over a schedule a later one extends, over the same two withdrawing a pass, and over the earlier alone. With symbols: a rung in reach only for what is held, the same holding nothing, symbols of another instance, a holding that does not fit, and each rule of §7.1 for them. - Runs (§7.5): on time on the plan’s own trace, over the origin and over a bearer; a rung over a
schedule a later one extends; held at the
deadline and a millisecond after; a late object, presented at its value then; a hard deadline
missed; every rung passed, with the primary later and with none; a rung chosen and presented, a
lower rung held in its place, both rungs held, a rung at the deadline and a millisecond after
it; a primary in time over a rung chosen, and one after a rung presented; no source; an object
with no deadline; several objects in their wanted order; a plan replaced mid-run that continues
a fetch, changes its source, changes it to a rung, finds that rung held, finds no source,
re-plans after the deadline, drops an object, wants a dropped one back, finds an object already
presented or a rung already presented, and arrives at the deadline itself; a first plan after a
deadline, with the primary held before it and after it and with a rung held before it, and one
after an end; and each rule of §7.5.1, in its order. With instants: one set of schedules given
undated and dated, with different fetches; an extension reaching the sink mid-run, with a rung in
reach only after it; a claim at a plan’s own instant and a millisecond after it; a claim after the
plan that could have used it; a withdrawn pass read mid-run, a fetch abandoned for it, a rung held
before it presented, a presentation before it standing, and the same schedule with no later plan
changing nothing; an entry contradicted mid-run and an entry first held mid-run; a claim whose
parent is not held yet and one with a gap in its chain; every claim held before the first plan;
nullentries; a claim in the second it was signed, and a fraction before it; a claim that fails its signature with an early instant; a record undated and dated, at a plan’s own instant and a millisecond after it; a group, an object receipt and an envelope each undated and dated, reaching the sink mid-run, at a plan’s own instant and a millisecond after it; a group in the second it starts; a group that fails its signature read by no plan, by one, and with an early instant; and each rule of §7.5.1’s checks 4 to 6 in their order, an entry that is not an integer among them; an envelope whose object no arrival names. With symbols: a rung in reach only for what the sink holds, the same run stating none, the last statement by each plan, one at a plan’s own instant and a millisecond after it, one of another instance, enough held already, a holding that does not fit, one no plan reads, and each rule of check 7. And apasseda later plan contradicts (§7.5.4).
A conforming verifier gives every case the outcome, the reason and everything else the corpus
states. wai_timeliness_vectors verify and the test tests/timeliness.rs check that the file
regenerates byte for byte, that wai-rs gives every case its outcome, that every reason of §9 and
every outcome of §6.3 appears, that §9 lists exactly the reference’s codes and §6.3 its outcomes,
that jwp-receipts §3.1 lists the class’s codes at their steps, and that delivery-telemetry §5, in
its paragraph 5.1, lists the switch reason of §8.6.
live-conformance/timeliness_verify.py is the second implementation, written from this text: it
shares no code with wai-rs; it verifies groups and objects with the JWP corpus’s second
implementation (jwp-conformance/jwp_verify.py), claims through steps 1–5 with the claim corpus’s
(claim-conformance/claim_verify.py, whose step 4 holds §4.2), schedules and passes with the
carousel corpus’s (live-conformance/carousel_verify.py) and records with the holdings corpus’s
(live-conformance/holdings_verify.py); it writes §4.3, §5, §6 and §7 itself, reads §9 and §6.3
from this text, mutates copies of the corpus and requires every copy to fail, and drops each of
its own checks in turn and requires the corpus to catch the weakened verifier.
11. Security and privacy considerations
- A statement is its publisher’s word, and binds it. Two statements of one object set both aside (§6.2 step 3), so a publisher cannot move a deadline once a deliverer holds it, and a key that signs a second statement after a miss has stated two things under one key, which is evidence of it. A relying party that agreed to a deadline keeps the claim it agreed to. A deliverer that takes on a deadline checks it first (§7.4).
- A record is its holder’s word. A holder that signs an early
as_of_msmakes a false statement under its key; one earlier than its group’s start is refused (§6.2 step 4). Whose word a relying party counts is its own, and nothing here scores holders. - Unknown is never on time. An object with no statement is refused (§6.4), never on time;
nothing in an entry is implied; a value is floored; a sink is graded only by what it held at its
deadline (§5.3); evidence that does not show an object held is
not_shownat 0; and every value is the least the evidence shows. - It discloses a value, not an audience. A statement names objects and instants that a carriage already exposes through its timeouts and windows. A receiver that plans (§7) over a bearer sends nothing, and a unidirectional bearer’s property that the source learns nothing of its receivers (unidirectional-delivery §2) is kept. A record used as evidence discloses what holdings §9 says it does.
- Bounded work. An entry has at most 16 points and 8 rungs; a value or a rule is a few 128-bit products; a verdict is linear in entries times holders times rungs, a plan in wanted objects times sources times rungs, and a run in its plans times their plans’ work, with its instants times the objects run.