This specification defines repository cleanliness, documentation governance, and CI-enforced conformance checks for markdown_workspace.
- Required top-level directories must exist:
apps,packages,docs,tools,specs,.github. - Required governance files must exist:
README.md,CONTRIBUTING.md,CODE_OF_CONDUCT.md,LICENSE,AGENTS.md,specs/README.md.
- Root
README.mdmust contain a## Documentation Pointerssection. - Root
README.mdmust reference these paths:docs/README.mdspecs/README.mdCONTRIBUTING.mdCODE_OF_CONDUCT.mdLICENSEAGENTS.md
- Top-level repository files and folders are restricted to the allowlist in
tools/governance/validate-root-clutter.mjs. - New top-level files must be intentionally added to the allowlist with a governance review.
- Generated artifact roots must include guardrail documentation:
artifacts/README.mdartifacts/extensions/README.mdartifacts/verification/build-verification.md
- Root-level public overview documentation must not claim unsupported certification status.
- Prohibited language includes absolute statements asserting final/full certification without evidence links.
- Claims must be evidence-linked and scope-bounded.
WIP*.mdand*WIP*.mdfiles are disallowed at the repository root.- Temporary work notes should live under
docs/current-state/and be converted to durable docs before merge.
- Any
.changeset/*.mdfile (except.changeset/README.md) must include:- A frontmatter summary block (
---) - At least one package bump entry (
'@scope/pkg': patch|minor|major)
- A frontmatter summary block (
- Each governance rule must have a dedicated validation command.
- CI must execute all governance checks in pull requests and pushes.
- Failure messages must reference this specification file to guide maintainers.