- Release name checked with bash [[ =~ ]] (whole string), so a newline in the dispatch input
can't pass a line-by-line grep.
- concurrency group per release name (scheduled verifies share one), cancel-in-progress false.
- A manual release must run on refs/heads/main and refuses an existing language-packs-<n> tag
(gh release create ignores --target for an existing tag).
- docs: runs never overlap; a failed upload leaves a draft to delete before a rerun.
actionlint (with shellcheck 0.11.0) clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- language-data/licences/<SPDX id>.txt (spdx/license-list-data 31846481) go into each archive as
LICENCES/<id>.txt; the checker requires a full text for every data licence id (SPDX: the
standard text; LicenseRef: a licence entry naming it) and a licence entry per locale.
- A class stricter than the licence needs requires a `note`; CC-BY-NC-SA-4.0 is allow-listed as
Excluded.
- Pinned URLs are parsed as <owner>/<repo>/<commit>/<path> (no substring match).
- Licence file names are [A-Za-z0-9._-], not leading '.'; check words must be non-empty.
- `build --only xx` fails for a locale not in the manifest.
- index.json and pack.toml gain an optional `source`/`upstream` (upstream folder at its commit).
Regression tests for each in tests/packs.rs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- CP3.1: docs/language-data-format.md (the pack contract); language-data/manifest.toml seeded from
the 2026-10-31 licence audit: 80 locales, 357 pinned files (LibreOffice/dictionaries 4f1df64b,
tex-hyphen 5684c0f5, wooorm 8cfea406, sk/cy/mn/ug upstreams), sha256 and size from the
downloaded files, SPDX licence and Licence class per file. bg, uk, ta, hr, pt-PT Download-only
(weak evidence); eu, ug Excluded.
- CP3.2: craft-i18n-tests `packs` module. Offline on every run: licence allow-list and class
per SPDX expression, pinned URLs, sha/size shape, no duplicate (locale, kind), aff+dic pairs,
licence text present, check words per locale, Excluded never published. With
CRAFT_I18N_FETCH=1: every file matches its pin, and every published pack loads through
craft-proof's affix engine (dev-dependency, benandez/craft-libs 961162a) and gets its
language-data/checks/<locale>.toml words right. 37 locales hidden with the engine gap as reason.
- CP3.3: `language-packs` bin (check, fetch, build: deterministic <locale>.tar.zst + index.json,
--base-url for a local test server) and .github/workflows/language-packs.yml (weekly verify;
tag language-packs-* or manual run publishes release assets).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2