chore(plugins): add [integrity] SHA-256 hashes for all hook scripts

The daemon's `manifest_missing_integrity_hooks` check (#3804) hard-fails
any registry install whose plugin.toml declares hooks but lacks an
[integrity] entry for each one. All 11 plugins under plugins/ had the
[hooks] table but were missing [integrity], so `librefang plugin install
<name>` would error after download with "missing [integrity] hashes for
hook script(s): ...".

Compute and pin SHA-256 over each `hooks/*.py` under every plugin dir.
The mempalace-indexer entries were already present and are unchanged
(reordered alphabetically by the regenerator).

Verified each plugin.toml still parses (Python tomllib).
This commit is contained in:
Evan Hu committed 2026-05-05 00:29:39 +09:00
1 parent ddb9ac1716
commit 5e4fc2ccf3
11 files changed
+37 -2

No files matched your search

+3
View File
@@ -34,3 +34,6 @@ description = "Detecta patrones de contenido potencialmente dañinos e inyecta a
[i18n.fr]
name = "Garde-fous"
description = "Détecte les motifs de contenu potentiellement nuisibles et injecte des avertissements dans le contexte de l'agent."
[integrity]
"hooks/ingest.py" = "ed4920a0db5366fabce6a78e39c21ae1e0fd46549804fb63e5d3e87e38133378"