Skip to content

Repository files navigation

Cloud SPE — Network Engineering SPE Workstream

Documentation License Last commit Open issues Open pull requests Contributors Repository size Stars Forks Watchers Work tracking: Beads Status: working repository

This repository is the Cloud SPE's focused work ledger for its participation in the wider Network Engineering Special Purpose Entity (SPE). It documents and tracks the tasks, deliverables, evidence, dependencies, and handoffs owned by or assigned to the Cloud SPE.

Scope boundary: the Cloud SPE is one participating member of the Network Engineering SPE. This repository is not the source of truth for the Network Engineering SPE as a whole, its other members, or work owned by other tracks.

The production systems touched by Cloud SPE deliverables remain in their respective Livepeer repositories and deployment environments.

Motivation

The wider Network Engineering SPE coordinates work across several participants, systems, and tracks. The Cloud SPE needs a narrow, durable place to make its own commitments legible: what it agreed to deliver, why the work matters, which external decisions it depends on, and what evidence demonstrates completion.

The current Cloud SPE material is most developed around the builder journey, where identity, capability discovery, pricing, invocation, payment, metering, settlement, and support cross multiple repositories. Within its assigned portion of that work, the Cloud SPE contributes toward a journey in which a developer, application, or agent can:

  1. obtain one ordinary credential;
  2. discover available network capabilities and usable supply;
  3. understand a price, estimate, or bounded rate before execution;
  4. invoke a capability through a stable interface;
  5. receive a result or an actionable failure;
  6. pay without managing a crypto wallet; and
  7. inspect usage and the resulting charge.

The wider programme's intended outcome is broader than shipping individual services. This repository narrows that outcome to the Cloud SPE deliverables that help produce and verify real, attributable network usage. Programme-wide targets remain context and dependencies unless explicitly assigned to the Cloud SPE.

Project status

The Cloud SPE workstream is in the scope, baseline, and decision stage. Existing documents provide a strong code-level traceability draft, but they are not yet an approved specification of the Cloud SPE's assigned deliverables.

The current review identifies several material gaps:

  • the reported production Livepeer Agent payment path and the SPE clearinghouse path do not connect;
  • no shared job identifier currently correlates builder invocation, usage, metering, and network payment end to end;
  • credential, capability, pricing, and credit concepts are duplicated across systems;
  • responsibility for recruiting or delivering the four additional demand sources is not yet resolved; and
  • the timed first-call test, demand-source threshold, and required evidence bundle still need committee approval.

See the quality review and repository traceability report for the detailed assessment. Work state and blockers are maintained in Beads.

Cloud SPE scope

This repository should contain only work that the Cloud SPE owns, has accepted, or must track as a direct dependency of its deliverables. The current working surface may include Cloud SPE contributions to:

  • builder identity and credentials;
  • capability discovery and invocation;
  • walletless payment through the clearinghouse;
  • usage, cost, and attribution visibility;
  • SDKs, interface documentation, and integration support; and
  • evidence that the builder journey works across supported capabilities.

This repository does not own or represent:

  • the complete Network Engineering SPE roadmap, status, governance, or budget;
  • deliverables assigned to other participating members or track owners;
  • the authoritative status of every Build, Operate, Delegate, or Validate task;
  • the Livepeer Agent framework, general marketing, protocol design, or unrelated operator tooling; or
  • implementation history that belongs in a production service repository.

External work may be recorded as a dependency or handoff when it directly blocks a Cloud SPE deliverable, but its owner and external source of truth must remain explicit.

Systems touched by the current Cloud SPE work

The current technical baseline examines these independently owned systems because Cloud SPE deliverables may integrate with or depend on them:

System Role in the journey
Livepeer Agent (livepeer/storyboard) Possible reference integration and builder-facing MCP, CLI, and application surface
Clearinghouse (livepeer/clearinghouse) Credential issuance, walletless signer policy, metering, credits, and balances
go-livepeer Gateway, orchestrator, capability discovery, payment tickets, and network execution
Livepeer Python Gateway Builder SDK for discovery, signing, payment, and several job families
SDK Service / discovery service Deployed integration layer used by the Agent but not fully represented in the four reviewed repositories

Repository references are dated observations. Re-verify their commits and deployed behavior before using them for implementation or payout decisions.

Repository structure

AGENTS.md                 concise instructions and navigation for agents
ARCHITECTURE.md           information model and source-of-truth boundaries
CONTRIBUTING.md           contribution and attribution policy
docs/
├── index.md              documentation catalog
├── design-docs/          durable principles and accepted designs
├── product-specs/        approved outcomes and acceptance contracts
├── decisions/            accepted decisions and rationale
├── references/           dated evidence, notes, and working drafts
└── QUALITY.md            repository and Cloud SPE delivery-readiness review
.beads/                   durable issue graph and project memory
scripts/                  dependency-free repository validation
.github/workflows/        automated documentation and policy checks

Read ARCHITECTURE.md for the complete information hierarchy and docs/index.md for the knowledge map.

Knowledge conventions

This repository deliberately separates four kinds of information:

Kind Location Meaning
Evidence and source material docs/references/ What was observed or proposed at a stated date; not automatically normative
Product specifications docs/product-specs/ Approved intended outcomes, scope, and acceptance evidence
Designs and decisions docs/design-docs/, docs/decisions/ Durable constraints, choices, owners, and rationale
Work state Beads Tasks, dependencies, blockers, discoveries, progress, and handoffs

Do not create Markdown TODO lists or parallel roadmap files. Use links instead of copying large passages between documents, and promote repeated rules into automated checks when possible.

Using the repository

Read the programme context

Start with:

  1. Build Track outcome and high-level concepts
  2. Repository traceability and gap analysis
  3. Network Engineering SPE II notes
  4. Quality review

Work with Beads

Install the bd CLI, then use the repository work graph:

bd prime
bd ready
bd blocked
bd show <issue-id>
bd update <issue-id> --claim

Create a bead before making a substantive change. Record newly discovered work as a linked bead rather than silently expanding the current scope.

Validate changes

The checks use only Python's standard library:

python3 scripts/check_docs.py
python3 scripts/check_attribution.py --all-history
git diff --check

The documentation check verifies required knowledge-map files, one top-level heading per Markdown document, and local links. The attribution check rejects Co-authored-by trailers and equivalent co-author messages.

Contributing

Contributions are welcome when they improve evidence quality, clarify an approved decision, tighten acceptance criteria, or advance a tracked Cloud SPE deliverable.

Before opening a pull request:

  1. create or claim the relevant Beads issue;
  2. identify whether the change is evidence, a proposal, an accepted decision, or implementation guidance;
  3. cite repository commits, deployed environments, and reproduction steps for technical claims;
  4. update indexes and cross-links without duplicating source text;
  5. run the validation commands above; and
  6. explain the outcome and evidence in the pull request.

Do not include Co-authored-by trailers or any equivalent co-author attribution in commits or pull requests. See CONTRIBUTING.md for the full workflow and authorship policy.

Coordination and evidence

Decisions affecting Cloud SPE scope or delivery should be recorded with their deciders, rationale, alternatives, consequences, and affected Beads issues. Completion claims should include reproducible evidence at the relevant system boundary; a local merge in one component is not sufficient proof of an end-to-end deliverable.

Programme-wide governance remains outside this repository. When a wider SPE decision affects Cloud SPE work, link to its authoritative record and capture only the resulting Cloud SPE commitment, dependency, or constraint here.

License

This repository is available under the MIT License.

About

Cloud SPE work ledger for its portion of Livepeer's Network Engineering SPE: assigned tasks, deliverables, dependencies, evidence, and cross-project handoffs.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages