The eleven W1 test cases · Chapter 5 of 6

Drive a provider and observe the result

Start a clean case for every runs[] entry. empty preconfigures the clock, challenge, issuer keys, current workload generations, account, and pool. It has zero rows and no grants. root additionally runs the valid root admission. active also admits both valid children. Each setup starts at epoch 1, fence 1, with the provider connected and open for charges. An at value is an offset in seconds from the fixture clock. An omitted value is zero. Execute steps in array order at their stated times.

Step Input and observable action
admit, delegate Verify the named approval, receipt and join, or the grant, parent's authorization and join, plus the named runtime appraisal. Register only the approved terms.
wire, response Verify wire and semantic bindings. A response uses the explicitly named request context authenticated when that request was current. Evaluate response freshness at the step time. VALID says the packet passed this stage. These steps cannot post a charge.
request Send the named packet through the indicated route. On a new eligible charge, reserve and compare the returned permit with the signed fixture. An inquiry or retry uses the existing operation and current authority.
commit, settle Commit the named permit at the resource and compare its outcome. Then deliver the matching signed outcome to the pool authority for one settlement. uncertainty on a commit is the clock's symmetric error in seconds.
close, release Obtain the signed terminal no-effect closure from the resource. Return the reserved units at most once. A later delivery of the closed permit is denied.
race Use the listed [message, permit] contenders. For each forced schedule admit the first before the second at the reservation decision point. Compare both decisions in order and read the final provider row. Case 11 also requires an overlapping run.
rotate, ownerPolicy Apply an authenticated administrative generation and key replacement, or change the provider's local permission to charge.
isolate, reconnect, revoke Disconnect the execution point from current authority state, deliver the signed revocation to the authority, or reconnect and apply the latest fence. The partition leaves the local commit path reachable.
drop Lose the operation result at the authority. Mark its reservation uncertain and retain any independently committed provider row.
snapshot, anchor, restorePrimary, recover Save an authority-only snapshot, acknowledge the signed independent checkpoint, restore the named primary snapshot, or attempt separately authorized recovery using the named checkpoint and the stated surviving-journal availability.

expect gives the step result. results gives the individual decisions for a forced race. Where observe occurs, capture the state after that step. Capture final at the end of every run. Check wire validity before considering a restore hold. A held primary accepts no new effect. Otherwise check the actor and lineage before using connected state. Known revocation denies the request. Consume an authenticated eligible transmission's (key, generation, record) once, including when its requested action is denied. Check the caller's right to see a prior operation before revealing any result. At commit, an active hold, changed owner policy, terminal closure, or observed higher fence can prevent an effect before time eligibility is considered.

available, reserved, and settled are credit units. settlements counts settled operations. rows gives the provider's independently observed [operation, units] pairs, sorted by operation ID. releasedRecords counts protected project records actually returned by the service or backend. Count a partial disclosure when its first protected byte leaves the resource. grants is the sorted list of registered IDs in the epoch. Revoked entries can remain visible as history. During a restore hold, untrusted balances, settlement count, grant list, and revocation status are null. The observed primary epoch, provider rows, and resource disclosure count remain reportable. Take the observations from the actual account journal and protected data sink in a participant run. Verify the observer can see a separately prepared synthetic sentinel, then reset the observation set before running the denial case.

For case 10, SHA-256 the canonical JSON encoding of the complete object shown in fixtures.recoveryImage. The keeper's signed head matches that digest. The projection includes epoch, fence, revoked, and these arrays.

Array Members and ordering
challenges, grants Consumed challenge strings and SHA-256 digests of registered compact grants, each sorted in ASCII order.
generations [holder, generation, key] sorted by holder.
records [key, generation, record] sorted by the canonical JSON bytes of each entry.
operations [operation, holder, root, intentHash, permitID, permitHash, units, state] sorted by operation. The state is reserved, uncertain, settled, or closed.
rows, closures [operation, signedObjectHash] sorted by operation. Hash the complete compact resource outcome or terminal closure.

The independent keeper's sequence 7 is a supplied checkpoint identifier. It does not count scenario steps. The old primary snapshot cannot roll back the independent head, acknowledged journal, or provider row. A production claimant must retain enough evidence outside that restore boundary to recover every change it has acknowledged as durable. The public case samples one known head.