Skip to content

Decision records

Architecturally significant decisions — a dependency or backend choice, a pipeline algorithm, a public API shape, a model source, a build/target strategy — are recorded as MADR-format Architecture Decision Records under adrs/ in the repository. Each ADR carries a status, a date, and deciders. ADRs are immutable once accepted: reversing a decision means adding a new ADR that supersedes the old one, not rewriting it.

ADRTitleStatus
0000Record decisions as MADR ADRsAccepted
0001Cargo workspace: rlib core + thin CLIAccepted
0002Scope to gen2 recognizers + CRAFTAccepted
0003Model source: iText ONNX, runtime downloadAccepted
0004Inference backend seam: ort / tract / candleAccepted
0005MCP as a feature-gated module + subcommandAccepted
0006Generate agent config with ai-rulezAccepted
0007Tooling scaffolding adapted from basemindAccepted
0008In-repo dev tooling: uv Python fallback + Rust tools/ for model exportAccepted
0009Backend evaluation: ort primary, candle deferred off the critical pathAccepted
0010Public OcrEngine seam, internal DTO boundaries, and encapsulation lockdownAccepted
0011Re-pointable model registry via a registry_owner overrideAccepted
0012ONNX Runtime provisioning: ort-bundled + ort-dynamic (xberg pattern)Accepted
0013imageproc for CRAFT postprocess geometryAccepted
0014Public detect / recognize-line methods and a model-provisioning surfaceAccepted
0015Criterion microbenchmarks behind a bench feature seamAccepted
0016Parity harness: dual golden fixtures, HF-cache model resolution, and the test corpusAccepted
0017Resolve models through the Hugging Face hub’s native on-disk cacheAccepted
0018cv2-exact CRAFT dilation (amends ADR 0013)Accepted
0019Parity-safe performance optimization and SIMDAccepted
0020Release strategy: tag-triggered multi-platform build with crates.io dry-runSuperseded by 0023
0021Head-to-head benchmark methodology and regression gateAccepted
0022Input image format coverage: pure-Rust decoders onlyAccepted
0023Publish to crates.io for real, via GitHub Actions trusted publishingAccepted
0024Documentation site, social assets, and CI docs deploymentAccepted