Skip to content

Define the internal provider contract #993

Closed

Description

@privateip

Parent: #992

Deliverable: a reviewed, repository-owned contract and design that the implementation issues can follow without inventing incompatible lifecycle or authorization rules.

Define provider identity, gVPC and prefix grants, capability compatibility, immutable resource identity, idempotency, readiness, drain and release. Specify how provider authority is verified; provider-supplied client identities and prefixes are not sufficient authorization. Separate foundation authorization and gVPC policy responsibilities from provider-specific client authentication and packet checks.

Identify foundation-owned resources and every component permitted to modify them, including retries, refresh, garbage collection and repair. Define ownership transfer, recovery and cleanup rules. Select the required mechanisms and specify numeric forwarding-expiry, revocation and route-withdrawal bounds with their clock and failure assumptions. Contract representation, process packaging, storage and allocation mechanics are design decisions made here.

Work items:

  • Define provider interfaces and lifecycle transitions, including compatibility and authorization context.
  • Document foundation resource ownership and inventory every component permitted to modify those resources.
  • Specify ownership, expiry and revocation mechanisms, numeric failure bounds and the acceptance-test matrix.

Dependencies: none; feasibility experiments may inform the design.

Acceptance: the contract includes interfaces, state transitions, the affected-component inventory and a failure-test matrix. Decisions needed by subsequent milestones are resolved and reviewed, including behavior during provider stalls, API isolation, restart and cross-node replacement.

Activity

  1. added theissue type on Oct 22, 2026
  2. self-assigned this
    on Oct 22, 2026
  3. privateip commented on Oct 23, 2026

    @privateip
    ContributorAuthor

    The provider contract merged in #1014 (df2df51), on top of the architecture proposal from #1011. It covers the provider interfaces and lifecycle transitions, the inventory of every component that writes shared host state, the ownership, expiry and revocation mechanisms with numeric bounds and their clock assumptions, and a failure-test matrix mapped to #994 through #1002. The decisions the later milestones need, including provider stalls, API isolation, restart and cross-node replacement, were reviewed and approved there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions