Skip to content

side-track: livepeer-python-gateway — per-model RemotePaymentState + model_id attribution #71

Description

@eliteprox

Summary

Side-track (non-blocking for clearinghouse deliverables). Completes the gateway half of the model-ID usage-attribution work originally scoped in #41.

Clearinghouse already maps model_id into CloudEvent dims. Full end-to-end threat-model closure still needs:

  1. go-livepeer — emit model_id on create_signed_ticketlivepeer/go-livepeer#3947 (under review; kept non-blocking per Mehrdad)
  2. livepeer-python-gateway — sign RemotePaymentState per-model / send real capability + model_id so usage cannot be misattributed to a cheaper-advertised model — see livepeer/livepeer-python-gateway#33

Why side-track

Upstream go-livepeer + gateway changes should not block the clearinghouse project. Track here so the relationship stays visible on the milestone without gating D2.

Acceptance

  • Gateway signs / pays with the real capability + model_id
  • Ticket signed for model A cannot be attributed to model B once go-livepeer#3947 lands
  • Peer review validates the threat model (Linear: ENG-148)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    billingfeaturego-livepeerSide-track work pairing with go-livepeer / python-gateway; does not block clearinghouse deliverablesmetering

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions