Repository navigation
feat(registry): community plugin registry, versioned releases and submission CI - #3
Conversation
…mission CI - community-plugins.json + JSON Schema, listing Code Snippets - release-plugin.yml: tag <plugin-id>@<version> builds, smoke-tests and publishes <id>-<version>.amplugin + .sha256 as a GitHub release - generated community-index.json (latest version, download URL, SHA-256, ABI) built from the registry and releases by index.yml; format in docs/registry.md - registry.yml submission CI: schema, unique/unreserved ids, public repo, OSI/OFL license, README table in sync, release resolution, build and released-CLI render - rename Code Snippets to io.github.animathio.code-snippets (org.animathio.* is reserved and the host refuses it in the user plugin folder) Part of AniMathIO/AniMathIO#304 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…n and tokens - external entries need repo_id; validate and the index builder refuse a renamed, transferred or re-created repository until re-reviewed - build third-party sources only for pull requests that add or change the entry and run that step without GH_TOKEN; pushes and manual runs only render released assets - document the trust model in docs/registry.md Part of AniMathIO/AniMathIO#304 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Verdict: NEEDS-WORK at Remaining blocker:
Small fixes pushed:
Validation: No merge performed. |
|
Fixed: build/publish split Addressed the NEEDS-WORK finding in 5e1b1c6:
Validation: |
|
Re-check (Claude, orchestrator) of 5e1b1c6: MERGE. Build/package jobs run with |
Part of AniMathIO/AniMathIO#304 (registry half; the editor half implements against
docs/registry.md).What
community-plugins.json+schemas/community-plugins.schema.json: id, name, author, description, repo, optional path, license (SPDX, OSI/OFL), min_abi. Lists Code Snippets.release-plugin.yml— tag<plugin-id>@<version>(orworkflow_dispatchwithpath=community/<name>) builds the plugin with itsbuild.sh, smoke-tests it with the released CLI and creates a GitHub release with<id>-<version>.amplugin+<id>-<version>.amplugin.sha256. Tag must be onmain, plugin must be in the registry,plugin.tomlid/version must match, an existing release is never replaced.community-index.json(+schemas/community-index.schema.json), generated byscripts/registry.py indexinindex.yml(after every release, on registry changes, every 6 h for plugins released from other repos). It re-downloads the latest release asset, recomputes the SHA-256, checks the.sha256asset and the manifest. Fetch URL:https://raw.githubusercontent.com/AniMathIO/plugins/main/community-index.json. Format and client rules:docs/registry.md. An empty index is committed so the URL works before the first release.registry.yml: schema, unique/unreserved/not-delisted ids, repo public and not archived, OSI/OFL license (and GitHub-detected license among the declared ids for external repos), README table in sync (generated between markers), strict release resolution, build forwasm32-wasip2+ load/render with the released 2.1.0 CLI (scripts/registry_smoke.py, pinned AppImage SHA via a local composite action). Actions pinned by digest.RELEASING.md(exact first-release tag command), README Community plugins/Installing, CONTRIBUTING (rules, release recipe for external repos, review, delisting).Decision to review: Code Snippets id renamed
org.animathio.community.code-snippets->io.github.animathio.code-snippets. The host rejects everyorg.animathio.*id from the user plugin folder (check_plugin_id,allow_reserved_ids = false), so the old id could never be installed from the registry; it only worked throughANIMATHIO_PLUGIN_DIR. Plugin 0.1.0 was never released. Projects that used the old id viaANIMATHIO_PLUGIN_DIRwould need the id swapped.Validated locally
python3 -m unittest discover -s scripts(19 offline tests: schema/id/license rules, tag matching, latest-version selection, checksum/manifest/ABI mismatch, transient-vs-gone handling).scripts/dry-run-release.sh community/code-snippets <2.1.0 cli>: build, assets, smoke render, index from local assets, schema validation,sha256sum -c.registry.py validateonline (GitHub API),index --strictagainst real GitHub (no release yet -> allowed for hosted), existingcommunity/code-snippets/smoke.pyafter the rename.act): the first run is this PR'sregistry/Pluginschecks.Deferred / caveats
check_submission.py(download asset, clone at tag, build, compare) is untested against a live third-party repo.effect/audio-effect/animation-preset/importerplugins are checked for loading only; CLI has no way to enumerate their parameters.🤖 Generated with Claude Code