Operations

Deploy

Migrations, secrets and going live.

Safety defaults

  • Public callers cannot create, edit, archive, verify or operate infrastructure.
  • DNS changes start as dry runs and require a stored operation, idempotency key, platform role, one-time confirmation token and explicit execution phrase.
  • AI output is persisted as a draft with source references and requires human approval before any verified field can change.
  • Secret values are never returned by APIs or rendered in the interface.
  • Delete is not part of the normalized catalog lifecycle; use archive.

Deploy from your machine

Important

The wrangler login sees several Cloudflare accounts. Set CLOUDFLARE_ACCOUNT_ID to the APPNEURAL account in your shell first, or Wrangler stops to ask.

Terminal
npm install
npm run db:migrate:remote
npm run deploy

Set the secrets once (they stay across deploys):

Terminal
npx wrangler secret put EDIT_PASSCODE

Database migrations

Applied in order from migrations/:

# Migration
0001 create catalog items
0002 seed catalog subdomains
0003 update ds hostname
0004 add subdomain catalog
0005 mark toolkit production
0006 remove subdomain catalog
0007 readd subdomain catalog
0008 remove subdomain catalog again
0009 add engine and framework catalogs
0010 add pwa catalog
0011 subdomain intelligence
0012 add game catalog
0013 record game deployments
0014 add docs catalog
0015 record docs deployment
0016 require catalog infrastructure
0017 normalize environment worker routes
0018 add ai catalog
0019 record ai deployment
0020 add item priority
0021 add edit auth
0022 add ebook catalog
0023 add documentation catalog
0024 add article catalog
0025 record content catalog deployments
0026 normalize portfolio intelligence
0027 humanize catalog titles
0028 add catalogs mcp server
0029 add checklist and documents
0030 add document uploads
0031 add checklist due date
0032 add project planning fields
0033 add document notes
0034 allow note document kind
0035 add assignee and subtasks
0036 add on hold dependency attachments comments
0037 upgrade task attachments to documents
0038 add enquiry catalog
0039 add career catalog
0040 pluralize catalog hosts
0041 restore singular catalog hosts
Last updated 2 November 2026