fundamentals

Manuscript - fundamentals

This directory holds the manuscript for:

Fundamentals of Active Inference: Python Companion

An open-source Python companion to Fundamentals of Active Inference, implementing algorithms, figures, raw-data sidecars, and validators aligned to the inspected source spine.

The directory previously rendered only through a sibling template checkout. It now carries its own render path, its own declared variables, and its own figure registry, so it builds from this checkout alone.

File Inventory

Figures are registered in ../output/figures/figure_registry.json.

Source Surfaces

The canonical source-surfaces table lives in S01_source_surface.md; see there for the surfaces to inspect before turning prose into claims.

Verification and Render

# validate variables, figures, citations, and section labels (no Pandoc needed)
./gate.sh manuscript-check

# validate and render every format enabled in config.yaml
./gate.sh manuscript

Both commands run scripts/render_manuscript.py; the second writes the HTML, the PDF, and a render receipt under docs/_build/manuscript/. The repository gate is documented in ../docs/gate.md.