The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(update): zip-update backfill expects the placeholder, not a copied .env
Teknium9de348d8248e
diff --git a/tests/hermes_cli/test_update_zip_completion.py b/tests/hermes_cli/test_update_zip_completion.pyindex c92d8d195ec..49df0b38cc1 100644--- a/tests/hermes_cli/test_update_zip_completion.py+++ b/tests/hermes_cli/test_update_zip_completion.py@@ -143,7 +143,8 @@ def test_zip_command_migrates_profiles_recovers_snapshot_and_verifies_fleet(config = hermes_yaml.safe_load((profile / "config.yaml").read_text())assert config["_config_version"] == DEFAULT_CONFIG["_config_version"]assert config["model"]["default"] == "retained-model"- assert (state.sibling / ".env").read_bytes() == (state.active / ".env").read_bytes()+ # The backfill seeds the placeholder, never a copy of the default's secrets.+ assert b"EXAMPLE_TOKEN" not in (state.sibling / ".env").read_bytes()assert json.loads(state.jobs.read_text()) == state.original_jobsassert (state.root / "payload.txt").read_text() == "new"for name in ("tools/code.py", "apps/desktop/source.js", "new-entry/data"):