How these docs are made
No page on this site is written by hand. A manifest lists every page, and each page is either generated by code from a registry in the platform, or synthesized by an AI agent from a brief and a fixed list of source files. Changes reach the site only through a reviewed pull request, and the site is published after that pull request merges. To change a page, the manifest, a generator or the agent's brief is changed, never the page itself: the next regeneration would replace it.
How a docs page is made: 10 nodes and 11 connections at L2 Containers.
- Manifest (store)
- Platform source (store)
- Generators (service)
- Regeneration agent (model)
- Site check (service)
- Pull request (service)
- Publish (service)
- CMS (store)
- Docs site (service)
- Readers and agents (actor)
- Manifest connects to Generators (sync, Generated pages)
- Manifest connects to Regeneration agent (sync, Pending pages)
- Platform source connects to Regeneration agent (sync, Inputs)
- Platform source connects to Generators (sync, Registries)
- Generators connects to Site check (sync, Pages)
- Regeneration agent connects to Site check (sync, Pages)
- Site check connects to Pull request (sync, Passed)
- Pull request connects to Publish (async, Merged)
- Publish connects to CMS (sync, Publish)
- CMS connects to Docs site (sync, Pages)
- Docs site connects to Readers and agents (sync, HTTPS)
The steps
- Manifest. One file lists every page with its path, title and kind. A page's parent must be listed too. The manifest also carries the rules that keep published text free of internal detail.
- Generated pages. A generator renders a page from a registry in the code, such as the job types. The check fails if a committed generated page differs from what its generator produces now.
- Synthesized pages. Once a week, or on demand, an AI agent is given every synthesized page that is missing or whose input files changed since the page last changed. It reads those inputs and writes each page to its brief. Every claim must come from a file it read; where the inputs do not support part of a brief, the agent leaves it out. A page it does not finish stays pending for the next run.
- Check. The same check runs before the pull request opens: frontmatter, diagram grammar, every source file a diagram cites, generated pages current, and the public-text rules.
- Pull request. The run proposes its pages as a single pull request containing only page changes. While one regeneration pull request is open, no new one is started. It is reviewed and merged like any other change.
- Publish. After merge, the pages are synced to the CMS and published. Diagram nodes keep links to their source files and decision records in the repository so drift can be checked; those links are removed before publishing because the repository is private.
Every published page is also available as markdown and through llms.txt; see For agents.