Documentation
¶
Overview ¶
package: cmd/vectors / bookmarks type: cmd job: the 𝒰_hist cases — one valid bookmark list every implementation must open, plus a record per rule a bookmark can break: its envelope, its signature, its slot, its k, and its list's contiguity limits: builds records, not lists on disk; the head each one records comes from the conformance graph (-> graph.go)
package: cmd/vectors / broken type: cmd job: the records every implementation must reject, each isolating one failure — a wrong id, a record stored bare where an envelope belongs, an unresolvable contributor, a declared height that is not the derived one, content that misses its hash limits: derives from the conformance graph (-> graph.go); each case breaks one thing, so a rejection names a cause
package: cmd/vectors / graph type: cmd job: the conformance graph every implementation must verify — one claim per ADT shape, small enough that a reader can check each record against §4.1 by eye limits: valid records only; the rejected ones derive from these (-> broken.go)
package: cmd/vectors / cli type: cmd job: generates the cross-implementation reference artifacts — a conformance graph of claim records, the archive's bookmark list, plus records that must be rejected, described by a manifest limits: renders bytes only; the artifacts are the spec's, and which of them are correct is settled against the paper, not against this program
package: cmd/vectors / malformed type: cmd job: the records no builder here will produce — a timestamp outside the form `V-TIME` fixes, and a record carrying both content slots `V-CONTENT` forbids — each offered under an id that holds for its bytes, so the named defect is the only one limits: patches the CBOR of a record this program built (-> graph.go); what the rule requires is read from the paper, never from what this repo's decoder happens to do