* automation: cap workspace and trusted-local reads at 2 GiB
* automation: format the read-cap changes
* automation: drop unneeded mut from capped reads
* automation: cover trusted read size and file-kind checks
Every resource rebuilt a vector of all existing names and scanned it linearly, making duplicate-heavy packages quadratic on open. Track used names in a HashSet and add a duplicate-name regression test.
* Refuse oversized .mcraft archives
The archive reader had no entry-count, per-entry or aggregate decompression
limit: every member was read to its end and retained, so a small zip bomb
could exhaust memory on Open. Members are now limited to 100 000 entries,
256 MiB each and 1 GiB together, and a member is read at most one byte past
its allowance before the archive is refused.
* formats: drop the unused mut on the capped zip entry
Clears all 69 open SonarCloud issues.
- `packaging/{linux,macos,freebsd,web}/*.sh`: `[[ ]]` 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.
- `packaging/web/package.sh`: the wasm size override is read as base 10 (`$((10#…))`), since `-gt` inside `[[` evaluates its operands arithmetically (a leading zero would read as octal). Same as photocraft.
- `crates/ui-egui/src/property/input.rs`: the reversed-limits slider test passes its limits through variables, as imported limits arrive, instead of a literal `3.0..=2.0` (rust:S7432). Same range, same test.
Compile and tests are left to CI.
Pass LINUX_SIGNING_KEY to the shared release workflow (storytold/craft-common-actions#129),
which signs the rpm, deb, Arch package, AppImage, tarballs, Flatpak OCI image and SHA256SUMS.txt,
and scaffold flatpak-bundle.sh so a release signs the Flatpak bundle's commit and embeds the key,
with the bundle's origin updating from the ArtCraft OCI repository.