The legacy format was learned from EDAP Tools' published sample rigs and
templates (CC BY-NC-SA 3.0); no Flash 8–CS4 files of our own exist. As the
clean-room standard's fixture rule 2 allows for published files whose
licence can't be committed, crates/fla/tests/corpus.tsv now pins each of
the 16 downloads by URL, sha256 and licence.
scripts/fetch-fla-corpus.sh downloads them, refuses any whose sha256
differs, and unpacks the zips into the layout the env-gated tests read. A
fresh fetch matches the corpus the format was learned from byte for byte,
and the corpus tests pass on it. ATTRIBUTION.md and ADR 0120 record the
provenance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Behaviour-preserving: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each script; the rest is left to CI.
- `scripts/build-web.sh` (3)
A translation layer in the shell (src/i18n): English source text is the
key (tr!, trn! with CLDR plurals, trc!, tr_noop!), catalogs in the
craft-i18n TSV format read by our own parser and embedded from
CRAFT_I18N_DIR by build.rs, fallback app > shared > base > English.
Preferences > Appearance > Language (system language by default) and
--lang for one run. Every shell string and screen-reader name goes through
it; menus translate the registry's labels when drawn, ids stay English.
Guardrails: a source guideline test fails on prose literals outside the
macros, a pseudo-locale accessibility audit fails on untranslated names,
and scripts/i18n-extract.sh writes the translators' template (1173
strings) and per-locale coverage. Lookups: 13 ns from a catalog, 16 ns
pseudo, none in English.
src/web.rs starts the editor on a page canvas with eframe's WebRunner (WebGL2 via glow) and
provides the browser's services; platform.rs decides when: picked files go to the engine's
in-memory store and the command runs, saves and exports leave as downloads, preferences and
recovery copies live in localStorage, Web Locks tell open tabs from crashed ones, and leaving
with unsaved work asks first. The GPU stage and sound output become build cfgs that are off
on wasm. Video export and plug-in installs are dimmed in the browser with the reason.
scripts/build-web.sh and .ps1 build web/ with the wasm-bindgen CLI pinned to Cargo.lock's
version, from packaging/web/index.html. The web profile (opt-level s, stripped, renderer and
geometry at opt-level 3) gives an 8973 KB module, 3278 KB gzipped, in 41 s.
crates/engine/tests/wasm.rs runs the engine inside WebAssembly in Node (3 tests, 0.6 s).
- assets/app-icon: the rabbit vectorised onto the shared Crafting Apps
tile (512 viewBox, rx 112) with a neutral white paper tone; renders for
Windows (.ico), Linux (hicolor) and Apple's icon grid (padded tile);
trace.py and scripts/icons.sh regenerate them.
- The app shows it on the window, the macOS Dock, the Windows taskbar
and anicraft.exe (winresource), and in Help > About (--open about).
- README: icon header, screenshots, the sample animation as a GIF,
quick start, status, downloads and the Crafting Apps table.
- ATTRIBUTION and CHANGELOG rows for the new files.