Skip to content

About

Catalog metadata and release helpers for first-party Silo plugins.

Topics

Resources

Contributing

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Silo Plugin Catalog

Catalog metadata and helpers for first-party Silo plugins.

Silo servers consume the generated manifest.json to discover approved plugin releases, supported platforms, checksums, capabilities, and presentation metadata. Source plugin repositories remain the authority for implementation and release artifacts.

Catalog updates

Plugin repositories should dispatch plugin_release_published after publishing a release. Set SILO_PLUGINS_DISPATCH_TOKEN in the plugin repository so it can call repository_dispatch on Silo-Server/silo-plugins.

update-catalog refuses a release unless all of these hold:

  • The repository is owner/name and the tag is v<major>.<minor>.<patch>, optionally with a -suffix. Both are checked before either goes into a URL.
  • The repository is bound to a plugin ID in catalog/official.go, and the release's manifest.json names that ID. Adding a first-party plugin means adding it there, and to the matching table in Silo server.
  • The version is newer than the plugin's listed version. Re-running for the listed version verifies it again and succeeds if the release is identical. A deliberate rollback needs the allow_rollback input of a manual workflow_dispatch run; a repository_dispatch cannot set it.
  • The release is published for exactly that tag and is neither a draft nor a prerelease. There is no override for drafts or prereleases.
  • Every catalogued asset URL is https://github.com/<repo>/releases/download/<tag>/<asset name>.

manifest.json is read at a commit SHA, never at the tag name: the commit the signature names for a signed release, or the commit the tag points at (following an annotated tag) for an unsigned one.

A signed release also carries plugin.sigstore.json: a Sigstore bundle with one SLSA provenance attestation covering every plugin-<os>-<arch> binary, produced by the shared plugin-release.yml workflow in Silo-Server/.github. The catalog entry records the bundle_url and each binary's SHA-256 digest. update-catalog compares each downloaded binary with checksums.txt and checks its attestation with gh attestation verify, requiring the certificate identity https://github.com/Silo-Server/.github/.github/workflows/plugin-release.yml@refs/heads/main, the issuer https://token.actions.githubusercontent.com, the plugin's bound repository, the source ref refs/tags/v<version>, a GitHub-hosted runner, a Sigstore public-good transparency-log entry, and the same source commit for every binary. Any failure refuses the release. Unsigned releases are still accepted for a plugin until its catalog entry has a bundle_url; after that, an unsigned release of that plugin is refused.

The workflow has no concurrency group. Runs race on the push, and each retry rebuilds the entry on the current main, so a duplicate run is a no-op and an older release that loses the race to a newer one is refused.

The same commit writes the current manifest.json entry and releases/<plugin-id>/<version>.json. The descriptor records the repository, tag, source commit, platform digests and bundle URL. An attempt to change a published descriptor fails, including during a rollback. Older servers can continue to discover the current version through manifest.json.

To withdraw a release, run the updater with -repo, -tag and -withdraw. Review the resulting entry in the withdrawals array in manifest.json. Commit that file on a branch and open a pull request against main. Merging the pull request publishes the withdrawal. Servers with withdrawal support skip that version for new installations and replacements, including when a declaration pins it. Existing installations keep their stored archive. Publish a supported release or explicitly roll back the discovery entry to a supported version if the withdrawal affects the current release.

silo-plugins uses CATALOG_PUSH_TOKEN to push catalog updates. Reading a plugin's release metadata and its tagged manifest.json needs no extra credential: every catalogued plugin repository is public, so the workflow's own github.token is enough. A plugin has to be public before it dispatches.

To exercise ingestion locally against an existing tagged release, pass the repository in owner/name form and the exact release tag. Verifying a signed release needs the gh CLI on PATH:

go run ./cmd/update-catalog \
  -repo Silo-Server/silo-plugin-metadata-tmdb \
  -tag vX.Y.Z

vX.Y.Z must be a published release at least as recent as the listed version. To regenerate a historical descriptor in a copy of the catalog, use -history-only:

catalog_copy="$(mktemp -d)"
cp manifest.json "$catalog_copy/manifest.json"
go run ./cmd/update-catalog \
  -repo Silo-Server/silo-plugin-auth-oidc \
  -tag v0.1.1 \
  -history-only \
  -manifest "$catalog_copy/manifest.json"

For a private source repository, provide GITHUB_TOKEN through your normal secret injection workflow.

History coverage

The initial backfill covers the 32 published releases across 14 official plugin repositories that carried a verified signature bundle on November 19, 2026. It includes OIDC 0.1.1 and 0.1.2. OIDC 0.1.0 predates release signing. The archived Trakt repository had no eligible release.

To reproduce these descriptors, read each descriptor's repository and tag and run -history-only against a copy of the catalog:

catalog_copy="$(mktemp -d)"
cp manifest.json "$catalog_copy/manifest.json"
go build -o "$catalog_copy/update-catalog" ./cmd/update-catalog
jq -r '[(.repo_url | ltrimstr("https://github.com/")), .tag] | @tsv' \
  releases/*/*.json | sort -u |
  while read -r repo tag; do
    "$catalog_copy/update-catalog" -history-only -repo "$repo" -tag "$tag" \
      -manifest "$catalog_copy/manifest.json" || exit 1
  done
diff -r releases "$catalog_copy/releases"

Development

go test ./...
go vet ./...
go build ./...

Contributing

Read CONTRIBUTING.md before opening a pull request. Plugin implementation changes belong in the source plugin repository; catalog schema and automation changes belong here.

License

silo-plugins is licensed under Apache-2.0. See LICENSE.

About

Catalog metadata and release helpers for first-party Silo plugins.

Topics

Resources

Contributing

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages