-
Notifications
You must be signed in to change notification settings - Fork 0
For Maintainers
This page is for people who hold write access to pumacp/puma-community and
operate the validation pipeline. It documents schema versioning, workflow
control, mirror activation, and the operational procedures for handling
edge cases.
The canonical submission schema lives at schema/submission.v1.json
(Draft 2020-12). Any non-additive change is a breaking change and
requires a new major version (e.g., submission.v2.json) plus a documented
migration path for existing submitters.
Additive, non-breaking changes (new optional fields, widened enum values)
can stay on v1.json but must be reviewed for downstream consumer impact
before merging.
- Edit
schema/submission.v1.json(or createsubmission.v2.jsonfor breaking changes). - Recompute the SHA-256 of the file:
sha256sum schema/submission.v1.json
- Update the byte-identical copy bundled in the PUMA tool at
src/puma/community/schema_data/submission.v1.jsonin thepumacp/pumarepository. - Bump the
SCHEMA_VERSIONconstant in both repositories so the local validator and the CI validator agree. - Tag a new PUMA Community release and add a CHANGELOG entry.
In the GitHub Actions UI: select the workflow, click the ⋯ menu, and choose Disable workflow. This is reversible from the same menu. Use this when an upstream dependency (action, secret rotation) is causing a flood of failed runs.
Add the following secrets via Settings → Secrets and variables → Actions:
-
HF_TOKEN— Hugging Face access token withwritescope onpumacp/puma-community-submissions. -
ZENODO_TOKEN— Zenodo personal access token withdeposit:write. -
KAGGLE_USERNAMEandKAGGLE_KEY— Kaggle credentials with dataset write access.
The mirror workflows detect the secrets at run time and become active on the next push.
Same UI:
-
DISCORD_WEBHOOK_URL— webhook for the Discord channel that should receive merge notifications. -
TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_ID— Telegram bot credentials for the broadcast channel.
If a submitter requests withdrawal:
- Confirm the request comes from the submitter (check the alias against any side channel they used to contact you).
- Open a removal PR that deletes the relevant file under
submissions/. - Label the PR
removalso the badge job knows to decrement counts. - Merge.
The next push to main triggers update-badges, which refreshes the
counts to match the new archive state.
For governance questions, schema policy decisions, or contested
submissions, write to pumacapstoneproject@gmail.com.