Tiny-AI Per-PR Doc Bar¶
ADR-0042 sets a tighter 5-point doc bar for any PR touching the tiny-AI surface (ai/, core/src/dnn/, anything model-card-bearing). It is the specialisation of the project-wide ADR-0100 doc- substance rule for tiny-AI.
The 5 points (per ADR-0042) — paraphrased, see the ADR for the authoritative wording:
- A model card under
docs/ai/models/or an updated training-data / inference / quantisation page. - Reproducer command in the PR description.
- PLCC / SROCC / RMSE reading on a held-out fold.
- ONNX-graph operator-allowlist conformance check.
- CHANGELOG entry under
changelog.d/added/orchangelog.d/changed/.
This bar co-exists with — does not replace — the project-wide r10 rule from CLAUDE.md §12. PRs that touch both a tiny-AI surface and a non-tiny-AI surface satisfy both bars independently.
Applies To¶
- Model files under
model/tiny/. - Model cards under
docs/ai/models/. - Training, export, quantisation, or calibration scripts under
ai/. - Runtime inference paths under
core/src/dnn/. - Registry, model-verification, or tiny-device selector changes.
Practical Checklist¶
Before opening a tiny-AI PR, make sure the PR contains:
- The model card or topic page that explains how a human should use the changed artefact.
- The training or export command that can reproduce the artefact.
- The held-out metrics that justify promotion, or an explicit
smoke: true/ deferred status when no promotion is claimed. - An ONNX allowlist or runtime compatibility check when a graph changes.
- A changelog fragment in the appropriate
changelog.d/section.
ADRs and code comments do not substitute for the user-facing model card.
See also¶
- ADR-0042 — the policy itself.
- ADR-0100 — the project-wide rule this specialises.
docs/ai/overview.md— tiny-AI surface overview.