Skip to content

Minimum declared capacity floor for CapacityBond.register #681

Closed

Description

@thiras

Context

ADR 026 § Capacity-bond curve defines:

bond_required(Mbps) = k × Mbps^α          (defaults: k=12.6, α=1.2)

with MAX_CAPACITY_PER_OPERATOR = 200 Gbps (governable [50, 1000] Gbps). The k constant is calibrated so the 1 Gbps tier ≈ 50,000 TOKEN, and ADR 019 § Bond requirements presents 1 Gbps / 50K TOKEN as the practical entry tier.

Gap

There is no symmetric MIN_CAPACITY_PER_OPERATOR floor anywhere in ADR 026, ADR 019, or the contract surface. The bond curve continues to evaluate for arbitrarily small declaredMbps:

declaredMbps bond_required (k=12.6, α=1.2)
1 ~13 TOKEN
10 ~200 TOKEN
100 ~3,160 TOKEN
1,000 ~50,000 TOKEN

Without a floor, an operator can register(1) for ~13 TOKEN and obtain:

  1. A registered operator slot — counted in operator-set cardinality used by reputation diversity, governance vote-cap denominators (ADR 036), and Genesis Bond Credit eligibility windows (ADR 026 § Genesis Bond Credits).
  2. A firstBondedAt timestamp — relevant to the ADR 008 § Anti-gaming bootstrap-bonus check that hinges on the first registration.
  3. Probe-window cost asymmetry — the fixed ~50 TOKEN probe-cost fee on auto-revert (ADR 026 line 116) is ~4× the bond at 1 Mbps, so the fee math itself inverts at the low end.

Open questions

  • Is a floor needed at all? Auto-ejection at 50% of declared-tier bond (ADR 026 § Slashing and burn) and the flat 50 TOKEN probe fee already create friction at the low end. Is that sufficient, or does the operator-slot value (1) above warrant an explicit floor?
  • If yes — where to set it? Candidates: 100 Mbps (≈3.16K TOKEN), 250 Mbps (≈9.6K TOKEN), 1 Gbps (50K TOKEN). The 1 Gbps choice matches the existing entry-tier framing in ADR 019 but excludes residential/edge operators that the wider design contemplates.
  • Governance shape. Immutable constant, governable parameter (and what range), or governance-tunable with a floor-of-the-floor?
  • Probe-fee interaction. If the floor is below the point where bond ≥ probe fee, should the probe fee become proportional rather than flat?

Suggested resolution

Amend ADR 026 § Capacity-bond curve to add a MIN_CAPACITY_PER_OPERATOR parameter alongside MAX_CAPACITY_PER_OPERATOR, with the default and governable range modeled in finance/notebooks/ against the operator-count and bond-revenue assumptions in ADR 018 before locking. Enforce in CapacityBond.register(declaredMbps).

Out of scope

  • Minimum payment-channel deposit (separate concern, ADR 003)
  • Minimum cache storage size (operator-side config, not on-chain)

Activity

  1. added
    design:economics
    design:missing-decision
    design:adr
    on May 27, 2026
  2. github-actions commented on May 27, 2026

    @github-actions

    🎯 Triage report

    This issue identifies a missing MIN_CAPACITY_PER_OPERATOR floor in the CapacityBond design — an asymmetry vs. the existing MAX_CAPACITY_PER_OPERATOR ceiling. At ~13 TOKEN for 1 Mbps, ultra-low registrations can cheaply occupy operator slots that affect governance vote-cap denominators (ADR 036), reputation diversity counts, and Genesis Bond Credit eligibility windows, effectively enabling Sybil-style slot stuffing at negligible cost. The probe-fee inversion (~50 TOKEN flat vs. ~13 TOKEN bond) is a secondary concrete signal that the low-end math is already broken. The issue is well-scoped, clearly documented, and surfaces the key design trade-offs.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Design gap requiring ADR amendment + contract enforcement; not a bug in implemented code
    Labels medium added (existing: adr-review, economics, missing-decision, ADR) Economic integrity concern but not immediately exploitable on live mainnet; design phase
    Coding agent Needs more info Requires a human decision on floor value and governance shape before implementation can begin; once those are resolved, the contract change and ADR amendment are straightforward

    🔗 Similar issues

    No duplicate or closely related issues found.

    💡 Notes and suggestions

    Core decision needed first: The four open questions in the issue must be answered before any code or ADR text is written. Recommended sequencing:

    1. Decide whether a floor is needed at all. The issue correctly notes that auto-ejection at 50% bond + flat 50 TOKEN probe fee already apply. However, the operator-slot side-effects (governance denominator, firstBondedAt timestamp squatting) are not addressed by those mechanisms alone — they only affect the slot after degradation, not at registration time. A floor is likely warranted.

    2. Model the floor value against ADR 018 operator-count assumptions. The finance/notebooks/ path suggested in the issue is the right venue. Key trade-off: 100 Mbps (≈3.16K TOKEN) allows residential/edge operators; 1 Gbps (50K TOKEN) matches ADR 019's framing but is exclusive. Given the ADR 008 bootstrap-bonus reliance on firstBondedAt, a lower floor with a higher effective Sybil cost (e.g., via a registration fee separate from bond) may be more flexible.

    3. Probe-fee proportionality should be resolved in the same ADR amendment to avoid a separate follow-up. If a floor is set at 100 Mbps (bond ≈ 3.16K TOKEN), the 50 TOKEN flat fee is no longer inverted, but the issue is worth closing explicitly.

    4. Contract change is localized to CapacityBond.register(declaredMbps) — add a require(declaredMbps >= MIN_CAPACITY_PER_OPERATOR, ...) guard. If governable, the parameter slot sits naturally next to MAX_CAPACITY_PER_OPERATOR.

    Sub-task checklist (once design is decided):

    • Decision recorded: floor value + governance shape
    • ADR 026 § Capacity-bond curve amended with MIN_CAPACITY_PER_OPERATOR (default + governable range)
    • ADR 019 § Bond requirements updated for consistency
    • CapacityBond.register enforcement added + tested (Foundry)
    • Probe-fee interaction explicitly addressed (proportional or floor-ensures-no-inversion note)
    • finance/notebooks/ model or rationale committed

    Generated by Agentic Triage for issue #681 · ● 2.1M · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    design:adrdesign:economicsdesign:missing-decisionprio:medium

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions