You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't yet know whether the actual settlement/pooling layer for subnet-funded rewards ends up owned by gittensor (extending their existing registration/reward infrastructure) or needs to be self-built. Rather than block on that decision, the interface boundary between "AMS/ORB's work" and "money moves" can be designed now so either backend plugs in without a rewrite later.
Area
Product spec / architecture. Directly relevant to #4792 (rental ledger integration) — that issue's ledger/metering work should be built against this interface once it exists, not duplicated here.
Proposal
Define a settlement-backend interface, not an implementation: the contract a "pool funded, work discovered, work delivered, payout owed" flow needs, expressed so that (a) a future gittensor-owned settlement service, or (b) a self-built one, can sit behind it interchangeably. Cover, at interface level:
What triggers a payout-eligible event (a merged PR against a subnet-funded repo) and what data that event needs to carry.
How a pool's remaining balance/allocation is queried and decremented — read/write contract, not a specific ledger schema.
Refund/dispute/partial-completion semantics at the interface level (the actual policy is Settlement & refund handling #4791's job once the model is chosen; this issue only defines where that policy plugs in).
What "gittensor is structurally in the settlement path" requires at the interface level, if we build our own backend — i.e., the self-built version can't quietly disintermediate gittensor even as a fallback; the interface itself should make that structurally true, not just a business promise.
Deliverables
A written interface spec (request/response shapes, event contract, not a chosen backend) that Rental ledger integration #4792's ledger work and Settlement & refund handling #4791's settlement-scenario work can both build against regardless of which backend ends up live.
Spec only — this issue does not decide whether we actually build our own settlement backend, it just makes that decision reversible/cheap later by not coupling the ledger work to one specific backend now. No real payment rails, wallet/hotkey material, or reward figures.
maintainer-only — planning/decision issue, not itself a build task.
Problem
We don't yet know whether the actual settlement/pooling layer for subnet-funded rewards ends up owned by gittensor (extending their existing registration/reward infrastructure) or needs to be self-built. Rather than block on that decision, the interface boundary between "AMS/ORB's work" and "money moves" can be designed now so either backend plugs in without a rewrite later.
Area
Product spec / architecture. Directly relevant to #4792 (rental ledger integration) — that issue's ledger/metering work should be built against this interface once it exists, not duplicated here.
Proposal
Define a settlement-backend interface, not an implementation: the contract a "pool funded, work discovered, work delivered, payout owed" flow needs, expressed so that (a) a future gittensor-owned settlement service, or (b) a self-built one, can sit behind it interchangeably. Cover, at interface level:
Deliverables
Resources
Boundaries
Spec only — this issue does not decide whether we actually build our own settlement backend, it just makes that decision reversible/cheap later by not coupling the ledger work to one specific backend now. No real payment rails, wallet/hotkey material, or reward figures.
maintainer-only — planning/decision issue, not itself a build task.