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).
40 lines
1.3 KiB
TOML
40 lines
1.3 KiB
TOML
name = "guardrails"
|
|
version = "0.1.0"
|
|
description = "Safety filter that detects potentially harmful content patterns and injects warnings into agent context"
|
|
author = "librefang"
|
|
|
|
[hooks]
|
|
ingest = "hooks/ingest.py"
|
|
|
|
|
|
[i18n.zh]
|
|
name = "安全护栏"
|
|
description = "检测潜在有害内容模式,向 Agent 上下文注入警告提示。"
|
|
|
|
[i18n.zh-TW]
|
|
name = "安全護欄"
|
|
description = "偵測潛在有害內容模式,向 Agent 上下文注入警告提示。"
|
|
|
|
[i18n.ja]
|
|
name = "ガードレール"
|
|
description = "有害な可能性のあるコンテンツパターンを検出し、Agent のコンテキストに警告を注入。"
|
|
|
|
[i18n.ko]
|
|
name = "가드레일"
|
|
description = "잠재적으로 유해한 콘텐츠 패턴을 탐지하고 Agent 컨텍스트에 경고를 삽입."
|
|
|
|
[i18n.de]
|
|
name = "Guardrails"
|
|
description = "Erkennt potenziell schädliche Inhaltsmuster und fügt Warnungen in den Agenten-Kontext ein."
|
|
|
|
[i18n.es]
|
|
name = "Guardrails"
|
|
description = "Detecta patrones de contenido potencialmente dañinos e inyecta advertencias en el contexto del agente."
|
|
|
|
[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"
|