Composable OS documentation
Composable OS is a platform for composing products on a trusted host on Cloudflare. A product is a named composition of packs (shipped extensions such as Bookings or Rostering) on the platform’s host, which holds every rule: who may do what, prices, places, and what a customer may see. Client apps and extension code reach the host only through operations.
These pages document what the code does. Most of them are generated from the code itself, so they change in the same pull request as the code they describe.
Where to start
Section titled “Where to start”- Architecture: the host, operations, extensions, gatekeepers and the release, in one page.
- Packs: each pack’s overview, data model, tools, permissions, screens, messages and settings.
- Capabilities: platform pieces any pack composes, such as Agreements.
- Solutions: which packs a product is made of.
- Core operations: every operation in the registry, with its description, audiences, permission, risk class and schemas.
- Glossary: the words the code and these docs use.
How these docs are made
Section titled “How these docs are made”- Generated reference.
apps/docs/scripts/generate.mjsreads every pack’s manifest, every block’sblock.json, the core operations registry, the behaviours an object may declare, the gatekeepers’ contracts, thecoscommand’s help, the products andCONTEXT.md, and writes the reference pages. Nobody edits a generated page by hand. - Written beside the code. Each pack’s overview is
packs/<id>/docs/overview.md, and the cross-cutting guides aredocs/guides/*.md. A pull request that changes a pack, a block or an operation updates its overview in the same pull request. - Checked in CI. CI fails when a generated page is stale, when a pack, block, core operation or gatekeeper has no reference page, when a pack has no overview, or when an internal link is broken.
- For tools.
/llms.txtlists every page with its description, from the same sources.