You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two config-bridge functions in the installer replace a pre-existing user config file in full, with no backup and no prompt. The guard only checks whether the file contains one specific key line; if the file exists but lacks that key, it is overwritten completely.
Called unconditionally for ~/.hermes/config.yaml at install-helpers.js:171 and :371, and for the Codex / aider bridges via wire_config_bridge.
Impact
A user who already has ~/.codex/config.toml (e.g. model = "o3", [projects] tables), ~/.hermes/config.yaml, or .aider.conf.yml that does not contain the one key the guard tests for will have that file replaced by a single line, silently, with no backup.
This contradicts the invariant stated a few lines earlier in the same file (install-helpers.js:26):
Refuse to replace a destination that is not already a bigpowers-managed
That guard (assertReplaceable) covers managed files/dirs but does not cover these config bridges.
@56phil — Catching a destructive write that contradicts the codebase's own assertReplaceable invariant is exactly the kind of review that protects real users' data. Your reproduction steps were clean and your Expected/Actual section made the fix path obvious. Thank you for protecting other users' configurations — this one mattered.
Activity
danielvm-git commentedon Oct 25, 2026
@56phil — Catching a destructive write that contradicts the codebase's own assertReplaceable invariant is exactly the kind of review that protects real users' data. Your reproduction steps were clean and your Expected/Actual section made the fix path obvious. Thank you for protecting other users' configurations — this one mattered.
chore(release): 2.88.12 [skip ci]
github-actions commentedon Oct 25, 2026
🎉 This issue has been resolved in version 2.88.12 🎉
The release is available on:
Your semantic-release bot 📦🚀
fix(install,skills): config bridge append, worktree TDD gate, story t…