Decisions · docs/decisions/0004-build-committed-dist-reserved.md
0004 · Generated package in build/, committed; dist/ is the release zip
Accepted · 2026-10-21
Context
7.0.0 wrote its outputs to dist/. Station reserves make dist for dist/<name>-<version>.zip, built from tracked files only. Consumers (and designers without Node) need the icons without running a build.
Decision
Generated package files live in build/ and are committed. Every generated file carries a "do not edit" header (an HTML or JS comment, a $comment key in JSON, a tEXt chunk in PNG). make validate rebuilds in memory and fails on any difference. dist/ is ignored by git and holds only release zips.
Consequences
- Cloning or unzipping gives working icons with no build step.
- A source change without the regenerated files fails CI, so the two can't drift.
- Pull requests show the generated diff alongside the source diff.