Welcome — this project is steered by the Active Inference Institute and welcomes contributions from researchers, engineers, and AI agents alike.
- Open or comment on an issue describing what you want to do.
- Fork → branch → code → test → PR.
- Run the full release selection described in
gate.mdbefore pushing, with a pinned GNN runtime configured; the no-argument default is only the fast selection. - Keep PRs scoped: one logical change per PR.
git clone https://github.com/<you>/ActiveBlockference.git
cd ActiveBlockference
uv venv --python 3.11
uv sync --locked --extra dev
uv run python scripts/release_check.py --arm testgit checkout -b feat/<short-description>
# or fix/<...>, docs/<...>, refactor/<...>- Library code lives in
blockference/. - Tests live in
tests/and mirror the package layout. - Notebooks in
notebooks/are for exploration; promote stable code into the package.
uv run ruff format blockference tests
uv run ruff check blockference testsIf you change a public surface, update:
- The relevant module docstring.
docs/reference/api.md.docs/design/architecture.mdif you change layering.- The folder-local
README.mdtable. documentation-index.mdwhen adding a long-lived guide.manuscript/figure-registry.jsonwhen changing a publication figure's source or artifact mapping.
Gate timings and counts belong only in generated metrics. Import real
before receipts with repeatable --record-baseline and one combined after receipt
with --record-timings, as documented in gate.md; preserve failed
or missing measurements rather than reporting a speedup.
Describe the change, motivation, and verification in the pull request conversation. Include pytest output and screenshots when visual behaviour changed.
A reviewer will look at correctness, scope, and doc/test parity.
See the table in the root AGENTS.md. Each folder also
ships its own AGENTS.md with local rules.
Open at https://github.com/ActiveInferenceInstitute/ActiveBlockference/issues with:
- Reproducer (minimal Python snippet or notebook cell).
- Expected vs. observed behaviour.
- Versions (
python -V,pip show cadCAD radcad).pymdpis optional and should be reported only when the adapter extra is being debugged.
Be kind. Default to assuming good faith. This community values rigour and warmth — both are required.