Skip to content

Require Hermes profile consent and isolate backup restoration - #102

Merged
Upper9527 merged 2 commits into
mainfrom
codex/hermes-profile-consent
Oct 21, 2026
Merged

Upper9527 merged 2 commits into
mainfrom
codex/hermes-profile-consent

Conversation

@Upper9527

Copy link
Copy Markdown
Collaborator

A minimal Hermes configuration could rewrite the wrong profile on every startup, while restore selected a backup shared by all profiles. Require explicit hermes.configure consent and a persisted hermes.config_path; setup proposes environment-aware paths and optionally imports literal upstream settings before mutation. Skills defaults, diagnostics, backup and restore now use the same selected profile. Refuse writes without a usable upstream, valid YAML or a successful backup, and skip unchanged files.

Fixes #71. Builds on the path-selection problem identified in #72, and additionally isolates backup/restore and integrates setup consent/import. Existing Hermes users must rerun setup or explicitly configure the new fields; legacy global backups require manual inspection/restoration. OAuth and unresolved secret references are not imported.

Validation: 12 new regression cases; full suite 200 passed, 1 skipped; Ruff and diff checks passed. No live Hermes/provider requests were used.

@Upper9527
Upper9527 merged commit 4db8cf4 into main Oct 21, 2026
1 check passed
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.

Unauthorized Config Mutation

1 participant