Appearance
Lifecycle
submit (pending) ──approve──▶ published ──new version approved──▶ superseded
└──reject──▶ rejected └──disable──▶ disabled ──enable──▶ published- Build:
node scripts/build-module.mjs modules/<your-module>validates the manifest and writesdist/submission.json, which holds the manifest and, for tablications, the base64 files. - Submit:
POST /v1/sdk/modules/versionswith that JSON, signed in as an invited submitter. The version is immutable from then on. - Review: the Canopi team approves or rejects. Approving a smart tag registers its tag type; approving a new version supersedes the old one.
- Turn on: a person enables a published module for themselves. Canopi admins accept a module for a community.
- Switch off: Canopi can disable a module. Its tab or tag type goes on the kill list, which the extension and embed apply within a minute; open apps are closed. The server enforces the kill list too: new posts and supersedes with the tag are refused, and its bundle answers 404. Enabling it again lifts only the switches that disabling it set.
Every step is an append-only provenance event, with a canonical signed record and its hash.
Versions and forks
- Versions: a version label can be submitted once. Change anything, and it's a new version.
- Forks: to fork, give your module's first version
lineage.forkedFrom: { moduleId, version }pointing at a published version. The fork keeps the original's root, so lineage can be traced. A fork runs in the sandboxed tier until Canopi approves it. - Tag types: a fork of a smart tag needs its own
tagType.
API
| Method | Path | Who |
|---|---|---|
| GET | /v1/sdk/modules | anyone: the published catalogue, with manifests |
| GET | /v1/sdk/modules/:moduleId | anyone: versions and the event log (pending and rejected versions only for the owner; who turned a module on is never shown) |
| GET | /v1/sdk/modules/mine | signed-in people: the modules you turned on |
| POST | /v1/sdk/modules/versions | invited submitters: { manifest, bundle? } |
| POST | /v1/sdk/modules/versions/:versionId/acceptance | signed-in people: { state: "accepted" | "rejected" } for yourself |
| POST | /v1/sdk/modules/versions/:versionId/approve and /reject | Canopi admins |
| POST | /v1/sdk/modules/:moduleId/disable and /enable | Canopi admins |
| GET | /v1/releases/kill-list?surface=embed|extension | anyone: what is switched off |
Agent tokens can't submit or accept modules (403 people_only).

