### The revenue share: what each owner of a channel is owed, recomputable from the public records

- **`wai.delivery.revenue_share`** ([`extensions/revenue-share.md`](extensions/revenue-share.md)), a new record. An
  operator and every owner it names sign a **share contract**, `WRC1`: its period and currency, its channel and the key
  that signs the channel's program-as-run, its carriers (the rooms of `wai.live.ads` and the stitchers of
  `wai.video.stitched_presentation` whose evidence is the channel's), each asset's split of integer millionths among
  owners and the operator, and the rule for a break between programmes (preceding, following, or a between split). A
  contract is in force only when every owner has countersigned it. The operator signs a **statement**, `WRS1`, for one
  party and one period: it rests on invoices of `wai.delivery.ledger`, each re-verified by the ledger, and on the
  channel's program-as-run windows; each impression the invoices bill from the contract's carriers is placed at its
  instant (a break's start, or a stitched marker's `START-DATE`) on the window that aired it and attributed to the
  programme on air; each line, per split and class (presented, beacons, unplaced), states the impressions, the revenue
  their invoices' tariffs priced them at, and the party's part by the largest-remainder rule, so that the parts of a
  split sum to its revenue exactly, with a citation digest of its records.
- **`wai.video.channel` receipts gain a JSON carriage** (revenue-share §4), `ChannelReceipt::to_json` and `from_json`,
  which write out the receipt's signed bytes and identity for a verifier that is not `wai-rs`. The signed bytes and
  every existing receipt are unchanged.
- **Operations** `contract.create` (`wai contract create`), `contract.update` (`wai contract accept`, an owner's
  countersignature), `statement.create` (`wai statement create`) and `statement.verify` (`wai statement verify`), in a
  build with the feature `revenue_share`, under the agent rules (`--json`, the exit codes, `--dry-run`, `--yes` before
  a file is replaced).
- **Conformance**: `live-conformance/share/`, written by `wai_revenue_share_vectors` from fixed seeds and the ledger
  corpus's sources (a room's break-form receipts under a policy that requires claims and under one that does not, and
  three streams stitched by others); accepted statements of two owners and the operator over one month, and under each
  rule; a refused vector for each reason. Its second implementation, `live-conformance/revenue_share_verify.py`,
  verifies each ledger document with `receipt_ledger_verify.py` and recomputes every attribution, line, division and
  citation itself.

