Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

chore(catalog): advance the embedded snapshot to generation 10 (declared archive members) (#249)

2 months ago

689321a
Authored
Davy7/26/2026, 5:19:44 AM
* fix(hooks): stop the pre-commit formatter from blocking src-tauri-only commits

lefthook v2 matches `exclude` as glob patterns, so the regex form silently
matched nothing and every staged src-tauri path still reached oxfmt. oxfmt then
ignored all of them by its own ignorePatterns and exited non-zero with "Expected
at least one target file", which blocked any commit that stages only src-tauri
files — a catalog snapshot bump, for instance. The emptiness guard could not help
because the argument list was never empty.

Express the exclusions as globs so lefthook filters them itself and skips the
command when nothing survives.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore(catalog): advance the embedded snapshot to generation 10 (declared archive members)

Generation 10 is a declaration-only release: every published runtime archive now
declares build-manifest.json, the member each build manifest's own files map
could not list. Archives, digests, byte sizes, download URLs, the model set, and
the compatibility matrix are byte-identical to generation 9, so this changes what
the catalog *claims* about the packages, not the packages themselves.

That removes the last reason the install path had to tolerate an undeclared
member (#236): a strict verifier now accepts these archives because the member is
declared, not because extras are permitted. The consumer-side tolerance stays as
defense in depth for older published generations.

Upstream: openkara-models#84 (publish), #83 (generator fix). Fixes #228.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

Parentec6fbf4

3 files changed
  • lefthook.yml+11−7
  • src-tauri/catalog/release-manifest.json+208−168
  • src-tauri/catalog/stable-pointer.json+7−7