Skip to content

0007 — Every fleet repo publishes a public site with all its documentation

  • Status: ratified
  • Number: 0007
  • Date: 2026-10-30
  • Proposed by: agent (Grok Bot, on a branch opened for bamr87)
  • Ratified by: https://github.com/bamr87/bamr87/pull/483 (merged 2026-10-31 by @bamr87)
  • Affects: constitution new § 14 (numbering contingent on § 12 from #481 and § 13 from #482); specs UPS-DOC (extended, not replaced); features HUB-043, HUB-042; requirements FR36, FR35
  • Supersedes: none (extends UPS-DOC, merged in #404)
  • Related: #404 (UPS-DOC fleet docs framework), #480 (harness-prior-art-research), #481 (agent-merge-review-gate), #482 (eval-baseline-risk-tiers, fan-out pattern), templates/site-quality/, tools/conformance.py, tools/docs_index.py

Context

Amr's direction: "build into the general constitution of the repos is that there must be a public site about the repo and contain all it's documentation". Today a fleet repo's documentation is readable only on GitHub, if at all. Some repos publish a Jekyll site and many do not. Nothing checks that a published site carries the repo's docs of record or that its links resolve.

Prior art

Per #480, the plan reuses fleet tooling and builds nothing new here:

  • UPS-DOC (specs/DOCS.md, #404): already defines the docs of record, one H1 plus a summary per page (UPS-DOC-02), and the docs/README.md index generated by tools/docs_index.py. Fit: the site's page set and navigation come straight from that index. Adopt.
  • zer0 theme family (bamr87/zer0-mistakes, used as a remote_theme on GitHub Pages): already the fleet's Jekyll theme, and tools/conformance.py already detects it (zer0_theme()). Fit: the default site build is GitHub Pages plus remote_theme: bamr87/zer0-mistakes, with no custom generator. Adopt.
  • it-journey patterns: a working zer0 Pages site with docs collections and the site-quality scan (bamr87/it-journey#790). Fit: the reference layout for spokes. Adopt.
  • templates/site-quality/ and .github/workflows/site-quality.yml: a reusable Lighthouse, axe and pa11y scan of a Jekyll site. Fit: quality gating of the published site. Adopt as is.
  • tools/conformance.py and tools/check-drift.sh: the fleet conformance gate. Fit: host the new site check as one more check id there, not a new tool. Extend.
  • Build-vs-adopt: adopt all of the above. The one new artifact is a shared reusable docs-site workflow in bamr87/.github, and that is a follow-up. It wraps the Pages build that is already in use.

Amendment

Add constitution § 14 "Public documentation site" with this text:

  1. A public site — every fleet repo publishes a public site about the repo that contains all its documentation: README, AGENTS.md, CHANGELOG.md and everything under docs/, plus PRD.md, the feature catalog, the constitution and the amendments where the repo has them. The site is served at the default GitHub Pages URL <owner>.github.io/<repo>, or at a custom domain configured for that Pages site, which counts as compliant. It is built only with GitHub Pages and the zer0 theme (remote_theme: bamr87/zer0-mistakes); MkDocs and other site generators are not allowed. The page set is taken from the UPS-DOC docs index (docs/README.md).
  2. Exclusions — secrets are never published. Internal documents are kept off the site by one mechanism: front matter site: exclude on a page, or a path listed in a root .siteignore file (one glob per line), both projected into the Jekyll exclude: list. Files matched by the secret patterns already gated by the hub (.env*, keys, tokens) are always excluded. The docs index marks excluded pages, so "complete" means every non-excluded doc.
  3. Private repos — a private repo fails the check and is flagged for Amr. An agent never makes it public. Its Actions spend stays $0, so no site build runs for it until Amr decides.
  4. Conformance — a check in tools/conformance.py, run through tools/check-drift.sh and the fleet survey, verifies four things: the site exists at <owner>.github.io/<repo> or its custom domain, it is built with the zer0 theme, the docs index is complete (every non-excluded doc of record is on the site), and every internal link resolves.
  5. Rollout: warn, then hard fail, per repo — after ratification the check reports each repo as warn-only until that repo's spoke fan-out PR (one repo per PR) lands. From then on it is a hard failure for that repo.
  6. Settings are Amr's — enabling Pages, choosing the source branch and setting a custom domain are repo settings that only Amr changes. An agent's PR may add the workflow and config but never flips a setting.

Consequences

  • Follow-up: a reusable docs-site.yml workflow in bamr87/.github that builds Pages with the zer0 remote theme from the UPS-DOC index and honours .siteignore. It is not built in this PR.
  • Follow-up: the UPS-DOC-SITE conformance check id and its row in specs/DOCS.md (feature HUB-042).
  • Follow-up: Amr enables Pages per repo. The fan-out PRs list which repos need it and which repos are private.
  • Follow-up (migration): the projects/README (bamr87/README) MkDocs site migrates to Jekyll with the zer0 theme. Until it does, it fails the check.
  • Impact: the read-only scan of 2026-10-30 found 37 of 43 registry repos would warn at ratification, each becoming a hard failure as its fan-out PR lands. See the PR body.
  • Follow-up (registry): whether archived repos (ai-seed, csv-vscoode) leave _data/projects.yml or are exempted from the check is decided outside this amendment, because the registry deliberately keeps archived repos on the dash (docs/CONSOLIDATION.md).
  • Merging the pull request that carries this record ratifies it. An agent never merges it.