diff --git a/.github/ISSUE_TEMPLATE/model-upload-sponsorship.yml b/.github/ISSUE_TEMPLATE/model-upload-sponsorship.yml new file mode 100644 index 0000000..5e63859 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/model-upload-sponsorship.yml @@ -0,0 +1,59 @@ +name: Testnet model upload sponsorship +description: Request testnet FLOP to register a model and upload its weights to validators. +title: "testnet model upload: " +labels: ["intake:model-upload", "status:intake", "net:testnet"] +body: + - type: markdown + attributes: + value: | + FLOP Labs can cover the registration fees and refundable data availability (DA) deposit for an approved model upload on **testnet only**. You can apply before funding your account or using the faucet. + + Open one request per checkpoint revision and update it as you go. A maintainer will review the estimate and confirm what FLOP will cover before the upload. Model admission and listing are separate decisions. + + This issue is public. Share only public addresses and model references. Keep seed phrases, private keys, access tokens, and signed download URLs private. + - type: input + id: checkpoint + attributes: + label: Model and exact revision + description: Link the model and identify the exact weights with a commit SHA or artifact digest. + placeholder: "https://huggingface.co/owner/model at " + validations: + required: true + - type: input + id: license + attributes: + label: Permission to distribute the weights + description: Link the license or describe your permission to copy these weights to testnet validators. + validations: + required: true + - type: input + id: size + attributes: + label: Upload size + description: Give the packed checkpoint size in bytes if known, or an approximate weight size with units. + placeholder: "About 80 GiB" + validations: + required: true + - type: textarea + id: purpose + attributes: + label: What will you test with this model? + description: A sentence or two is enough. If the model is already registered on testnet, include its model hash so we can reuse the registration. + validations: + required: true + - type: input + id: publisher + attributes: + label: Public testnet publisher address + description: Give the SS58 address that will register or already owns the model. + validations: + required: true + - type: textarea + id: estimate + attributes: + label: Estimated sponsorship amount (optional) + description: If available, give the refundable DA deposit for the weights and file table, plus any registration or upload fees. Include the units from your estimate. FLOP can estimate these from the checkpoint if you leave this blank. + - type: markdown + attributes: + value: | + **Maintainer follow-up** — Record the approved amount in testnet FLOP and who will upload. After the upload, link the finalized registration and validator storage references here so the publisher can verify the result. diff --git a/.github/labels.yml b/.github/labels.yml index d21bd77..632f411 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -21,6 +21,7 @@ - {name: "stale", color: "cfd3d7", description: "Set by the stale workflow; closes in 7 days"} - {name: "type:application", color: "5319e7", description: "Operator application; not a bug report or automatic admission"} - {name: "intake:operator", color: "5319e7", description: "Validator or RPC team intake; one issue per team and network"} +- {name: "intake:model-upload", color: "5319e7", description: "Testnet sponsorship request for model registration and validator storage"} - {name: "status:intake", color: "ededed", description: "Awaiting operator review or cohort; protected from automatic support triage"} - {name: "role:validator", color: "1d76db", description: "Interested in validator operation; does not imply activation"} - {name: "role:rpc", color: "1d76db", description: "Offering a dedicated keyless RPC origin; does not imply pool admission"} diff --git a/README.md b/README.md index 6a5e6db..70c46b8 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ repository holds the issues, the triage process, and public release notes for FL |---|---| | Anything exploitable — verification bypass, slashing evasion, theft from an escrow, HTLC or voucher flow | **Private** report, per [SECURITY.md](SECURITY.md). Never a public issue. | | Applying to run a validator or contribute RPC capacity | [Operator application](../../issues/new?template=operator-application.yml) · [Intake process](OPERATOR-INTAKE.md) | +| Sponsorship to register a model and upload its weights to testnet validators | [Testnet model upload sponsorship](../../issues/new?template=model-upload-sponsorship.yml) | | A miner or validator misbehaving, crashing, or failing to sync | [Node bug](../../issues/new?template=node-bug.yml) | | On-chain behaviour that contradicts the spec — a reward, slash, fee or settlement that came out wrong | [Protocol behaviour](../../issues/new?template=protocol.yml) | | The hosted gateway or API returning errors or wrong prices | [Gateway](../../issues/new?template=gateway.yml) | @@ -29,7 +30,7 @@ is not a network failure, and reports about it are kept separate on purpose. ## Triage -Operator applications use `status:intake` and the [intake process](OPERATOR-INTAKE.md). Other new issues start as `status:triage`. A maintainer labels it by `area:` and `type:`, then +Operator applications use `status:intake` and the [intake process](OPERATOR-INTAKE.md). Testnet model upload sponsorship requests also use `status:intake` for manual review. Other new issues start as `status:triage`. A maintainer labels it by `area:` and `type:`, then moves it to `status:accepted`, `status:needs-info`, or `status:wontfix`. An issue waiting on `status:needs-info` for 14 days is marked stale and closes 7 days later unless someone replies. Issues that turn out to be code work may be transferred to the relevant repository; they keep diff --git a/SUPPORT.md b/SUPPORT.md index 57949b5..83ef8d0 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -4,6 +4,7 @@ Issues are for actionable reports. - **Ideas** — once concrete, open a [feature request](https://github.com/flop-labs/network/issues/new?template=feature.yml). - **Validator / RPC applications** — use the [dedicated operator form](https://github.com/flop-labs/network/issues/new?template=operator-application.yml), then update that issue with sync and restart evidence. See the [intake process](OPERATOR-INTAKE.md). +- **Testnet model uploads** — request [model upload sponsorship](https://github.com/flop-labs/network/issues/new?template=model-upload-sponsorship.yml) before using the faucet. FLOP Labs can cover registration and validator storage for an approved checkpoint. - **Running a miner or validator** — start at [flop.finance/testnet](https://flop.finance/testnet/); [ask.flop.finance](https://ask.flop.finance) answers most setup questions from the docs. - **Access only an operator can grant** — an allowlist entry, operator quota, gateway allowance diff --git a/tests/test_operator_intake.py b/tests/test_operator_intake.py index b15da31..e6835bb 100644 --- a/tests/test_operator_intake.py +++ b/tests/test_operator_intake.py @@ -100,6 +100,18 @@ def test_public_routes_and_documented_intake_labels_exist(self): ): self.assertIn(label, self.labels) + def test_model_sponsorship_routes_to_testnet_intake(self): + template = "model-upload-sponsorship.yml" + form = load(f".github/ISSUE_TEMPLATE/{template}") + applied = set(form["labels"]) + self.assertEqual( + {label for label in applied if label.startswith("net:")}, {"net:testnet"} + ) + self.assertTrue({"status:intake", "intake:model-upload"} <= applied) + self.assertNotIn("intake:operator", applied) + for name in ["README.md", "SUPPORT.md"]: + self.assertIn(f"template={template}", (ROOT / name).read_text()) + def test_duplicate_yaml_keys_are_rejected(self): with self.assertRaises(ValueError): yaml.load("labels: [a]\nlabels: [b]\n", Loader=UniqueLoader)