hermes-agent/agent/secret_sources
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Austin Pickett 9c5da5a1c7 fix(secret-sources): revoke a removed source's value from os.environ
Removing or disabling the last plugin secret source rebuilt the per-home
snapshot but left the value it injected in os.environ, so single-profile
get_secret() kept serving it through its os.environ fallback until
restart.

The process-global apply path now records what each source wrote (and
the value it replaced). A later pass revokes writes whose source is no
longer registered/enabled, or that an enabled source stopped supplying,
but only while os.environ still holds exactly the written value: a value
another owner replaced (profile .env, managed .env, shell, later source)
stays. A source whose fetch failed keeps its last value (fail-open).
2026-09-29 22:57:48 -04:00
..
__init__.py refactor(agent/secret_sources): shared fingerprint + remediation_hints table, _validate_source, drop unused _cache re-exports, compact docstrings 2026-09-02 18:53:00 -07:00
_cache.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
base.py refactor(agent/secrets): hand-compact docstrings and rationale comments (WHY kept) 2026-09-02 19:23:12 -07:00
bitwarden.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
command.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
onepassword.py Old pre-decomposition import paths are gone: plugin compat layer removed on schedule (#126164) 2026-09-28 10:21:41 -07:00
registry.py fix(secret-sources): revoke a removed source's value from os.environ 2026-09-29 22:57:48 -04:00