Skip to content

Lifecycle ​

submit (pending) ──approve──▶ published ──new version approved──▶ superseded
        └──reject──▶ rejected        └──disable──▶ disabled ──enable──▶ published
  1. Build: node scripts/build-module.mjs modules/<your-module> validates the manifest and writes dist/submission.json, which holds the manifest and, for tablications, the base64 files.
  2. Submit: POST /v1/sdk/modules/versions with that JSON, signed in as an invited submitter. The version is immutable from then on.
  3. Review: the Canopi team approves or rejects. Approving a smart tag registers its tag type; approving a new version supersedes the old one.
  4. Turn on: a person enables a published module for themselves. Canopi admins accept a module for a community.
  5. 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 ​

MethodPathWho
GET/v1/sdk/modulesanyone: the published catalogue, with manifests
GET/v1/sdk/modules/:moduleIdanyone: 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/minesigned-in people: the modules you turned on
POST/v1/sdk/modules/versionsinvited submitters: { manifest, bundle? }
POST/v1/sdk/modules/versions/:versionId/acceptancesigned-in people: { state: "accepted" | "rejected" } for yourself
POST/v1/sdk/modules/versions/:versionId/approve and /rejectCanopi admins
POST/v1/sdk/modules/:moduleId/disable and /enableCanopi admins
GET/v1/releases/kill-list?surface=embed|extensionanyone: what is switched off

Agent tokens can't submit or accept modules (403 people_only).

Canopi — Metaweb coordination layer for community-aware presence and messaging.