Skip to content

Data model

The tables the registry keeps in Postgres, and what lives in storage.

Applies to EngineCloud
View as Markdown

The registry keeps its records in a Postgres schema, sypnia_skills, and the packages in storage.

TableHolds
publishershandle, whether a person or an organization, its account or organization, verified domain
publisher_memberswho holds the publisher or admin role of an organization’s publisher
skillspublisher, name, description, visibility, kind, homepage, repository
versionsversion, state, SHA-256, size, the manifest, touches, signature and key, provenance, yank reason, who published it
findingsthe result of each check: check, file, line, message
reviewsthe reviewer, the decision and its notes
tokensname, scopes, a hash of the token (never the token), expiry, last use
trusted_publishersthe repositories, branches and workflows allowed to publish a skill
reportsreports from people, and what was done
install_countsinstalls per skill, version and day; no people, no addresses
keysthe public signing keys and the dates each is valid

Storage

PathWhat it is
packages/<publisher>/<name>/<version>-<sha256>.tar.gza version’s package; written once, never overwritten
uploads/packages being published; deleted after 24 hours

    Search pages, sections and terms