Summary
Building a custom cog (DOOM — see cognitum-one/cogs#28), I found there's no documented way for a Seed owner/developer to install a cog they built themselves. The only sanctioned path assumes you're Cognitum.
What I hit
- The
cog-dev plugin's /cog-deploy does gsutil cp … gs://cognitum-apps/… and refuses unless you're authenticated to Cognitum's private GCS bucket. Third-party developers can't use it.
POST /api/v1/apps/install only accepts {"id":"…"} and downloads by id from the fixed cloud registry. No upload, no arbitrary URL, no owner-configurable registry. Installing a non-registry id returns cog not found in registry or binary missing.
- To run my own cog I had to reverse-engineer the on-disk layout (place the binary +
cog.toml + config.json under /var/lib/cognitum/apps/<id>/ and restart). That works but is undocumented and fragile.
Suggestions
- A documented owner sideload/install — e.g.
POST /api/v1/apps/install accepting a local file/upload from the trusted USB/loopback origin, or an owner-configurable registry URL so devs can self-host.
- Publish
@cognitum/cog-dev (currently 404 on npm; the JS plugin is listed "Soon").
- A "deploy your own cog" guide in the developer portal.
This is the single biggest barrier to third-party cog development right now.
Summary
Building a custom cog (DOOM — see cognitum-one/cogs#28), I found there's no documented way for a Seed owner/developer to install a cog they built themselves. The only sanctioned path assumes you're Cognitum.
What I hit
cog-devplugin's/cog-deploydoesgsutil cp … gs://cognitum-apps/…and refuses unless you're authenticated to Cognitum's private GCS bucket. Third-party developers can't use it.POST /api/v1/apps/installonly accepts{"id":"…"}and downloads by id from the fixed cloud registry. No upload, no arbitrary URL, no owner-configurable registry. Installing a non-registry id returnscog not found in registry or binary missing.cog.toml+config.jsonunder/var/lib/cognitum/apps/<id>/and restart). That works but is undocumented and fragile.Suggestions
POST /api/v1/apps/installaccepting a local file/upload from the trusted USB/loopback origin, or an owner-configurable registry URL so devs can self-host.@cognitum/cog-dev(currently 404 on npm; the JS plugin is listed "Soon").This is the single biggest barrier to third-party cog development right now.