fix(approval): load permanent command allowlist on startup (#5076)

Co-authored-by: Timo Karp <timo@timos-macbook-pro.taildbbd26.ts.net>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Teknium
2026-04-07 01:00:02 -07:00
committed by GitHub
parent 302240d3a6
commit d9e7e42d0b

View File

@@ -871,3 +871,7 @@ def check_all_command_guards(command: str, env_type: str,
return {"approved": True, "message": None,
"user_approved": True, "description": combined_desc}
# Load permanent allowlist from config on module import
load_permanent_allowlist()