Design documents
These pages are the specification StitchCraft is built from. They describe behaviour and algorithms in our own words and never carry Ink/Stitch’s code (ADR-0012).
Reading order
- Technical design document — the whole system in 25 minutes.
- Architecture — crates, layers, where code goes.
- Data model, parameter registry, diagnostics.
- Engine pipeline, the stitch generators and image to embroidery.
- Machine formats and rendering previews.
- VectorCraft integration, the plug-in features RFC and the compatibility gate.
- Quality: conformance, determinism, guardrails, docs pipeline.
- File compatibility: SVG input and the Ink/Stitch compatibility contract.
- Decisions: ADRs.
Keeping these pages true
- A design page changes in the same PR as the behaviour it describes. The comment
<!-- implements: … -->below its title names the source files it describes.cargo xtask docs for PATHlists the pages for a file.cargo xtask docs --checkfails when a branch changes those files and leaves the page as it was, unless a commit message on the branch saysDesign-reviewed: <page>. - Pages cite requirement ids (
REQ-…) and diagnostic codes (SC-…); the docs check fails on unknown ids. - Facts about Ink/Stitch and VectorCraft name the commit they were checked against.