The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(profiles): seed all five OS credential stores nested under a skill
kshitijk4poor37fc44ec598b
diff --git a/tests/hermes_cli/test_profile_export_credentials.py b/tests/hermes_cli/test_profile_export_credentials.pyindex d263b64127e..3b5f0a835d8 100644--- a/tests/hermes_cli/test_profile_export_credentials.py+++ b/tests/hermes_cli/test_profile_export_credentials.py@@ -108,7 +108,7 @@ class TestCredentialExclusion:(profile_dir / "config.yaml.bak-my-note").write_text(f"model:\n api_key: {_LEAKED_KEY}\n")(profile_dir / "GOOGLE_CHAT_USER_TOKENS").mkdir(exist_ok=True)(profile_dir / "GOOGLE_CHAT_USER_TOKENS" / "upper.json").write_text("fake-credential")- nested = ["skills/s/.ssh/id_rsa", "skills/s/.aws/credentials", "skills/s/.envrc"]+ nested = [f"skills/s/{r}" for r in (".ssh/id_rsa", ".aws/credentials", ".gnupg/x", ".kube/config", ".envrc")]for rel in nested:(profile_dir / rel).parent.mkdir(parents=True, exist_ok=True)(profile_dir / rel).write_text("fake-credential")