The companion is grounded in the inspected Fundamentals of Active Inference PDF source:
That source has Chapters 1-14 and Appendices A-D. It has no Chapter 15. The
ledger is represented in active_inference.source_spine and validated by
scripts/validate_source_spine.py --require-pdf.
Appendix A is historical and contextual. The repo maps it to documented extras topics:
active_inference_historyactive_inference_futuredeep_generative_modelscybernetics_controlinformation_theory_lineagereinforcement_learning_lineageThose topics produce static source-map visualizations and raw-data manifests; they do not pretend Appendix A is an algorithmic specification.
Appendices B-D define executable mathematical scaffolding used throughout the companion:
| Area | Main API |
|---|---|
| Source ledger | active_inference.source_spine |
| Appendix B/C probability helpers | active_inference.core.appendix_math |
| Appendix C colored noise | active_inference.core.noise |
| Appendix C model comparison | active_inference.core.model_comparison |
| Appendix D free-energy forms | active_inference.core.free_energy_forms |
| Extras registry | active_inference.extra_topics |
uv run python scripts/validate_source_spine.py --require-pdf
uv run python scripts/validate_book_topic_coverage.py --require-rendered
uv run python scripts/validate_raw_data_exports.py --root output/data
The first command prevents invented chapters and appendix drift. The second and third commands ensure that the documented extras topics have rendered PNG or GIF artifacts plus paired NPZ/JSON raw-data sidecars.