Publishing

A box is a directory of your data, kept under version control with a full history of changes (using git); a card is a markdown file with a structured header; the agent is the coding agent (Claude Code or Codex) that operates the box. Publishing takes a document out of the box and serves it on the open web, under your control.

What it does for you

What it needs

Publishing infrastructure provisioned once by whoever runs the box (a Cloudflare account, set up through a single command). See ../install/index.md.

How it works, briefly

Drafting a page renders a box document into one self-contained page and scans it for secrets or references that would leak outside the box before it can be saved. Going live and revoking are separate, explicit steps. A page with a reply form holds submissions on the publishing service; the box pulls them in as ordinary cards the next time it wakes up, rather than the page writing into the box directly.

Limits

A reply form only works on pages set up with a submit block; a fully public page cannot carry one, to prevent it being flooded with unwanted submissions. The documentation flags the reply-form authoring path itself (the interface to add a submit block when drafting) as not yet built, even though the receiving side is complete. Check before relying on it.

Go deeper

../reference/cards/pub-submission.md, ../reference/bbx-commands.md