Skip to content

CodeClone Docs

This site is built with MkDocs and published to orenlab.github.io/codeclone.

It has two documentation layers:

  • Contracts Book: contract-first documentation. This is the canonical source for schemas, statuses, exit codes, trust model, and determinism guarantees. Everything here is derived from code + locked tests.
  • Architecture Narrative, CFG Semantics: deep-dive narrative docs (architecture and CFG semantics). These may include rationale and design intent, but must not contradict the contract book.

The published site also exposes a live sample report generated from the current repository build:

Start Here

Core Contracts

Interfaces

System Properties

Quality Contracts

Deep Dives

Reference Appendices

Local Preview

Build the docs site with MkDocs, then generate the sample report into the built site:

uv run --with mkdocs --with mkdocs-material mkdocs build --strict
uv run python scripts/build_docs_example_report.py --output-dir site/examples/report/live

GitHub Pages publishing is handled by docs.yml via a custom Actions workflow.