Skip to content

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

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-86122627
Apr 7, 2026
Merged

fix(approval): load permanent command allowlist on startup#5076
teknium1 merged 1 commit into
mainfrom
hermes/hermes-86122627

Conversation

@teknium1

@teknium1 teknium1 commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Salvage of #4741 by @catbusconductor (cherry-picked onto current main).

Summary

load_permanent_allowlist() was fully implemented but never called — permanent approvals from /approve always were written to config.yaml but silently lost on restart. This adds the module-level call so they're loaded back on import.

Changes

  • tools/approval.py: Added load_permanent_allowlist() call at module level (+4 lines)

Closes #4739, closes #4741

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@teknium1 teknium1 force-pushed the hermes/hermes-86122627 branch from c548400 to 187250d Compare April 7, 2026 07:55
@teknium1 teknium1 merged commit d9e7e42 into main Apr 7, 2026
3 of 4 checks passed
Tommyeds pushed a commit to Tommyeds/hermes-agent that referenced this pull request Apr 12, 2026
…rch#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>
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…rch#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>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…rch#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>
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…rch#5076)

Co-authored-by: Timo Karp <timo@timos-macbook-pro.taildbbd26.ts.net>
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…rch#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>
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…rch#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(approval): permanent command allowlist not loaded on startup

1 participant