Skip to content

The agent that grows with you

Merge branch 'ethie/canary-side-by-side' into ethie/pm-clean

ethernet6e8ef69325f7
diff --cc tests/compat/old_updater_surface.json
index fc94367af55,5f905451bdc..b0012e139a6
--- a/tests/compat/old_updater_surface.json
+++ b/tests/compat/old_updater_surface.json
@@@ -1,710 -1,33 +1,712 @@@
{
- "_comment": "Generated by scripts/audit-old-updater-imports.py --freeze. Names an already-running `hermes update` loads from the NEW tree after the checkout swap. Deleting a bare name bricks every release that loads it, mid-update, on a half-new tree. Regenerate after changing the update flow; never hand-trim.",
+ "_comment": "Generated by scripts/audit-old-updater-imports.py --freeze. Names an already-running `hermes update` loads from the NEW tree after the checkout swap. Deleting a bare name bricks every release that loads it, mid-update, on a half-new tree. Regenerate after changing the update flow; never hand-trim. History enumeration is complete; static call-graph limits and unresolved_dynamic still require manual review.",
"stats": {
- "mode": "tree",
- "files_analyzed": [
- "hermes_cli/post_update.py",
- "hermes_cli/update_cmd.py",
- "hermes_cli/update_cmd_common.py",
- "hermes_cli/update_cmd_config.py",
- "hermes_cli/update_cmd_deps.py",
- "hermes_cli/update_cmd_fleet.py",
- "hermes_cli/update_cmd_git.py",
- "hermes_cli/update_cmd_maint.py",
- "hermes_cli/update_cmd_stash.py",
- "hermes_cli/update_cmd_windows.py",
- "hermes_cli/update_cmd_zip.py",
- "hermes_cli/update_lock.py",
- "pm/__init__.py",
- "pm/cli.py",
- "pm/ensure.py",
- "pm/extras.py",
- "pm/lock.py",
- "pm/package.py",
- "pm/packages.py",
- "pm/paths.py",
- "pm/registry.py",
- "pm/store.py"
- ]
+ "mode": "union",
+ "history": {
+ "files_analyzed": [
+ "agent/anthropic_adapter.py",
+ "agent/anthropic_credentials.py",
+ "agent/async_utils.py",
+ "agent/curator.py",
+ "agent/deadline.py",
+ "agent/delegation_context.py",
+ "agent/memory_provider.py",
+ "agent/outbound_webhooks.py",
+ "agent/redact.py",
+ "agent/retry_utils.py",
+ "agent/secret_scope.py",
+ "agent/secret_sources/_cache.py",
+ "agent/secret_sources/base.py",
+ "agent/secret_sources/bitwarden.py",
+ "agent/secret_sources/command.py",
+ "agent/secret_sources/onepassword.py",
+ "agent/secret_sources/registry.py",
+ "agent/shell_hooks.py",
+ "agent/skill_utils.py",
+ "agent/terminal_env_registry.py",
+ "gateway/config.py",
+ "gateway/config_env.py",
+ "gateway/config_loader.py",
+ "gateway/control_socket.py",
+ "gateway/lifecycle_ledger.py",
+ "gateway/platform_registry.py",
+ "gateway/platforms/_shared.py",
+ "gateway/profile_routing.py",
+ "gateway/restart.py",
+ "gateway/session_context.py",
+ "gateway/shutdown_forensics.py",
+ "gateway/shutdown_watchdog.py",
+ "gateway/status.py",
+ "hermes_cli/__init__.py",
+ "hermes_cli/_early_recovery.py",
+ "hermes_cli/_install_repair.py",
+ "hermes_cli/_parser.py",
+ "hermes_cli/_scan_venv_blockers.py",
+ "hermes_cli/_subprocess_compat.py",
+ "hermes_cli/agent_plugins.py",
+ "hermes_cli/auth.py",
+ "hermes_cli/auth_constants.py",
+ "hermes_cli/backup.py",
+ "hermes_cli/banner.py",
+ "hermes_cli/build_info.py",
+ "hermes_cli/cli_output.py",
+ "hermes_cli/colors.py",
+ "hermes_cli/config.py",
+ "hermes_cli/config_backups.py",
+ "hermes_cli/config_defaults.py",
+ "hermes_cli/config_home.py",
+ "hermes_cli/config_migrations.py",
+ "hermes_cli/curses_ui.py",
+ "hermes_cli/dashboard_procs.py",
+ "hermes_cli/default_soul.py",
+ "hermes_cli/env_loader.py",
+ "hermes_cli/gateway.py",
+ "hermes_cli/gateway_multiplex_served.py",
+ "hermes_cli/gateway_windows.py",
+ "hermes_cli/git_credentials.py",
+ "hermes_cli/gitlock.py",
+ "hermes_cli/image_provenance.py",
+ "hermes_cli/macos_tcc_anchor.py",
+ "hermes_cli/main.py",
+ "hermes_cli/main_dashboard.py",
+ "hermes_cli/main_desktop.py",
+ "hermes_cli/main_install_repair.py",
+ "hermes_cli/main_tui_launch.py",
+ "hermes_cli/main_web_build.py",
+ "hermes_cli/managed_scope.py",
+ "hermes_cli/managed_uv.py",
+ "hermes_cli/mcp_security.py",
+ "hermes_cli/memory_setup.py",
+ "hermes_cli/model_catalog.py",
+ "hermes_cli/npm_engine.py",
+ "hermes_cli/plugin_capabilities.py",
+ "hermes_cli/plugin_catalog.py",
+ "hermes_cli/plugin_compat.py",
+ "hermes_cli/plugins.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/plugins_cmd_catalog.py",
+ "hermes_cli/plugins_discovery.py",
+ "hermes_cli/plugins_ledger.py",
+ "hermes_cli/plugins_loader.py",
+ "hermes_cli/plugins_manifest.py",
+ "hermes_cli/process_identity.py",
+ "hermes_cli/profiles.py",
+ "hermes_cli/psutil_android.py",
+ "hermes_cli/pt_input_extras.py",
+ "hermes_cli/relay_plugin_cutover.py",
+ "hermes_cli/resource_limits.py",
+ "hermes_cli/secret_prompt.py",
+ "hermes_cli/setup.py",
+ "hermes_cli/sizefmt.py",
+ "hermes_cli/sqlite_runtime.py",
+ "hermes_cli/sqlite_safe_read.py",
+ "hermes_cli/subcommands/update.py",
+ "hermes_cli/tools_config.py",
+ "hermes_cli/tools_config_cua.py",
+ "hermes_cli/tools_config_post_setup.py",
+ "hermes_cli/toolset_scope.py",
+ "hermes_cli/toolset_validation.py",
+ "hermes_cli/update_abort_recovery.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_common.py",
+ "hermes_cli/update_cmd_config.py",
+ "hermes_cli/update_cmd_deps.py",
+ "hermes_cli/update_cmd_fleet.py",
+ "hermes_cli/update_cmd_git.py",
+ "hermes_cli/update_cmd_maint.py",
+ "hermes_cli/update_cmd_stash.py",
+ "hermes_cli/update_cmd_windows.py",
+ "hermes_cli/update_cmd_zip.py",
+ "hermes_cli/update_contract.py",
+ "hermes_cli/update_inventory.py",
+ "hermes_cli/update_lock.py",
+ "hermes_cli/update_receipt.py",
+ "hermes_constants.py",
+ "hermes_state.py",
+ "honcho_integration/cli.py",
+ "honcho_integration/client.py",
+ "plugins/memory/__init__.py",
+ "plugins/memory/honcho/cli.py",
+ "plugins/memory/honcho/client.py",
+ "plugins/memory/honcho/client_cache.py",
+ "plugins/memory/honcho/oauth.py",
+ "plugins/plugin_loader.py",
+ "plugins/plugin_utils.py",
+ "tools/browser_tool.py",
+ "tools/browser_tool_install.py",
+ "tools/browser_tool_lifecycle.py",
+ "tools/browser_tool_origin.py",
+ "tools/computer_use/cua_backend.py",
+ "tools/computer_use/cua_backend_driver.py",
+ "tools/env_passthrough.py",
+ "tools/environments/local.py",
+ "tools/environments/local_env_policy.py",
+ "tools/environments/local_pythonpath.py",
+ "tools/lazy_deps.py",
+ "tools/plugin_guard.py",
+ "tools/skill_usage.py",
+ "tools/skills_guard.py",
+ "tools/skills_sync.py",
+ "tools/skills_sync_bundled_ops.py",
+ "tools/skills_sync_optional.py",
+ "utils.py"
+ ],
+ "entrypoint_paths": [
+ "hermes_cli/main.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_zip.py"
+ ],
+ "files_with_reachable_functions": [
+ "agent/anthropic_adapter.py",
+ "agent/anthropic_credentials.py",
+ "agent/async_utils.py",
+ "agent/curator.py",
+ "agent/deadline.py",
+ "agent/delegation_context.py",
+ "agent/outbound_webhooks.py",
+ "agent/redact.py",
+ "agent/retry_utils.py",
+ "agent/secret_scope.py",
+ "agent/secret_sources/_cache.py",
+ "agent/secret_sources/base.py",
+ "agent/secret_sources/bitwarden.py",
+ "agent/secret_sources/registry.py",
+ "agent/shell_hooks.py",
+ "agent/skill_utils.py",
+ "agent/terminal_env_registry.py",
+ "gateway/config.py",
+ "gateway/config_env.py",
+ "gateway/config_loader.py",
+ "gateway/control_socket.py",
+ "gateway/lifecycle_ledger.py",
+ "gateway/platforms/_shared.py",
+ "gateway/profile_routing.py",
+ "gateway/restart.py",
+ "gateway/session_context.py",
+ "gateway/shutdown_forensics.py",
+ "gateway/shutdown_watchdog.py",
+ "gateway/status.py",
+ "hermes_cli/_early_recovery.py",
+ "hermes_cli/_install_repair.py",
+ "hermes_cli/_parser.py",
+ "hermes_cli/_scan_venv_blockers.py",
+ "hermes_cli/_subprocess_compat.py",
+ "hermes_cli/agent_plugins.py",
+ "hermes_cli/auth.py",
+ "hermes_cli/backup.py",
+ "hermes_cli/banner.py",
+ "hermes_cli/build_info.py",
+ "hermes_cli/cli_output.py",
+ "hermes_cli/colors.py",
+ "hermes_cli/config.py",
+ "hermes_cli/config_backups.py",
+ "hermes_cli/config_home.py",
+ "hermes_cli/config_migrations.py",
+ "hermes_cli/curses_ui.py",
+ "hermes_cli/dashboard_procs.py",
+ "hermes_cli/default_soul.py",
+ "hermes_cli/env_loader.py",
+ "hermes_cli/gateway.py",
+ "hermes_cli/gateway_multiplex_served.py",
+ "hermes_cli/gateway_windows.py",
+ "hermes_cli/git_credentials.py",
+ "hermes_cli/gitlock.py",
+ "hermes_cli/image_provenance.py",
+ "hermes_cli/macos_tcc_anchor.py",
+ "hermes_cli/main.py",
+ "hermes_cli/main_dashboard.py",
+ "hermes_cli/main_desktop.py",
+ "hermes_cli/main_install_repair.py",
+ "hermes_cli/main_tui_launch.py",
+ "hermes_cli/main_web_build.py",
+ "hermes_cli/managed_scope.py",
+ "hermes_cli/managed_uv.py",
+ "hermes_cli/mcp_security.py",
+ "hermes_cli/memory_setup.py",
+ "hermes_cli/model_catalog.py",
+ "hermes_cli/npm_engine.py",
+ "hermes_cli/plugin_capabilities.py",
+ "hermes_cli/plugin_catalog.py",
+ "hermes_cli/plugin_compat.py",
+ "hermes_cli/plugins.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/plugins_cmd_catalog.py",
+ "hermes_cli/plugins_discovery.py",
+ "hermes_cli/plugins_ledger.py",
+ "hermes_cli/plugins_loader.py",
+ "hermes_cli/plugins_manifest.py",
+ "hermes_cli/process_identity.py",
+ "hermes_cli/profiles.py",
+ "hermes_cli/psutil_android.py",
+ "hermes_cli/pt_input_extras.py",
+ "hermes_cli/relay_plugin_cutover.py",
+ "hermes_cli/resource_limits.py",
+ "hermes_cli/secret_prompt.py",
+ "hermes_cli/setup.py",
+ "hermes_cli/sizefmt.py",
+ "hermes_cli/sqlite_runtime.py",
+ "hermes_cli/sqlite_safe_read.py",
+ "hermes_cli/tools_config.py",
+ "hermes_cli/tools_config_cua.py",
+ "hermes_cli/tools_config_post_setup.py",
+ "hermes_cli/toolset_scope.py",
+ "hermes_cli/toolset_validation.py",
+ "hermes_cli/update_abort_recovery.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_common.py",
+ "hermes_cli/update_cmd_config.py",
+ "hermes_cli/update_cmd_deps.py",
+ "hermes_cli/update_cmd_fleet.py",
+ "hermes_cli/update_cmd_git.py",
+ "hermes_cli/update_cmd_maint.py",
+ "hermes_cli/update_cmd_stash.py",
+ "hermes_cli/update_cmd_windows.py",
+ "hermes_cli/update_cmd_zip.py",
+ "hermes_cli/update_contract.py",
+ "hermes_cli/update_inventory.py",
+ "hermes_cli/update_lock.py",
+ "hermes_cli/update_receipt.py",
+ "hermes_constants.py",
+ "honcho_integration/cli.py",
+ "honcho_integration/client.py",
+ "plugins/memory/__init__.py",
+ "plugins/memory/honcho/cli.py",
+ "plugins/memory/honcho/client.py",
+ "plugins/memory/honcho/client_cache.py",
+ "plugins/memory/honcho/oauth.py",
+ "plugins/plugin_loader.py",
+ "tools/browser_tool.py",
+ "tools/browser_tool_install.py",
+ "tools/browser_tool_lifecycle.py",
+ "tools/browser_tool_origin.py",
+ "tools/computer_use/cua_backend.py",
+ "tools/computer_use/cua_backend_driver.py",
+ "tools/env_passthrough.py",
+ "tools/environments/local.py",
+ "tools/environments/local_env_policy.py",
+ "tools/environments/local_pythonpath.py",
+ "tools/lazy_deps.py",
+ "tools/plugin_guard.py",
+ "tools/skill_usage.py",
+ "tools/skills_guard.py",
+ "tools/skills_sync.py",
+ "tools/skills_sync_bundled_ops.py",
+ "tools/skills_sync_optional.py",
+ "utils.py"
+ ],
+ "commits_with_audited_changes": 7527,
+ "revisions_read": 68791,
+ "distinct_file_versions": 8078,
+ "analysis_passes": 17695,
+ "versions_prepared": 8078,
+ "mode": "history",
+ "discovery": {
+ "python_paths_in_history": 6777,
+ "distinct_blobs_scanned": 73416,
+ "blobs_mentioning_entrypoints": 2443
+ },
+ "coverage": "All reachable commits inventoried; distinct selected path/blob versions analyzed. Commit evidence lists version witnesses, not every unchanged descendant.",
+ "history_ref": "1021a0325696e9070e6659f95fcd84c3e7e114df",
+ "complete_history": true,
+ "commits": 33720,
+ "roots": [
+ "21d80ca68346dfdb8d3556015a723a9217f8566f"
+ ]
+ },
+ "tree": {
+ "files_analyzed": [
+ "agent/curator.py",
+ "agent/deadline.py",
+ "agent/delegation_context.py",
+ "agent/memory_provider.py",
+ "agent/redact.py",
+ "agent/retry_utils.py",
+ "agent/secret_scope.py",
+ "agent/secret_sources/base.py",
+ "agent/secret_sources/registry.py",
+ "agent/skill_utils.py",
+ "agent/ssl_verify.py",
+ "agent/terminal_env_registry.py",
+ "gateway/config.py",
+ "gateway/config_env.py",
+ "gateway/config_loader.py",
+ "gateway/control_socket.py",
+ "gateway/display_config.py",
+ "gateway/lifecycle_ledger.py",
+ "gateway/platform_registry.py",
+ "gateway/profile_routing.py",
+ "gateway/restart.py",
+ "gateway/session_context.py",
+ "gateway/shutdown_forensics.py",
+ "gateway/shutdown_watchdog.py",
+ "gateway/status.py",
+ "hermes_cli/__init__.py",
+ "hermes_cli/_early_recovery.py",
+ "hermes_cli/_install_repair.py",
+ "hermes_cli/_launchers.py",
+ "hermes_cli/_old_updater.py",
+ "hermes_cli/_parser.py",
+ "hermes_cli/_scan_venv_blockers.py",
+ "hermes_cli/_subprocess_compat.py",
+ "hermes_cli/agent_plugins.py",
+ "hermes_cli/archive_safe.py",
+ "hermes_cli/auth.py",
+ "hermes_cli/backup.py",
+ "hermes_cli/backup_restore.py",
+ "hermes_cli/banner.py",
+ "hermes_cli/cli_output.py",
+ "hermes_cli/colors.py",
+ "hermes_cli/config.py",
+ "hermes_cli/config_backups.py",
+ "hermes_cli/config_defaults.py",
+ "hermes_cli/config_home.py",
+ "hermes_cli/config_migrations.py",
+ "hermes_cli/curses_ui.py",
+ "hermes_cli/default_soul.py",
+ "hermes_cli/env_loader.py",
+ "hermes_cli/fs_utils.py",
+ "hermes_cli/gateway.py",
+ "hermes_cli/gateway_windows.py",
+ "hermes_cli/git_credentials.py",
+ "hermes_cli/gitlock.py",
+ "hermes_cli/home_data_layout.py",
+ "hermes_cli/image_provenance.py",
+ "hermes_cli/macos_tcc_anchor.py",
+ "hermes_cli/main.py",
+ "hermes_cli/main_dashboard.py",
+ "hermes_cli/main_install_repair.py",
+ "hermes_cli/managed_scope.py",
+ "hermes_cli/managed_uv.py",
+ "hermes_cli/mcp_security.py",
+ "hermes_cli/memory_setup.py",
+ "hermes_cli/model_catalog.py",
+ "hermes_cli/plugin_capabilities.py",
+ "hermes_cli/plugin_catalog.py",
+ "hermes_cli/plugin_compat.py",
+ "hermes_cli/plugins.py",
+ "hermes_cli/plugins_admission.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/plugins_cmd_catalog.py",
+ "hermes_cli/plugins_discovery.py",
+ "hermes_cli/plugins_ledger.py",
+ "hermes_cli/plugins_loader.py",
+ "hermes_cli/plugins_manifest.py",
+ "hermes_cli/plugins_provenance.py",
+ "hermes_cli/plugins_transaction.py",
+ "hermes_cli/plugins_updates.py",
+ "hermes_cli/post_update.py",
+ "hermes_cli/process_identity.py",
+ "hermes_cli/profiles.py",
+ "hermes_cli/psutil_android.py",
+ "hermes_cli/pt_input_extras.py",
+ "hermes_cli/relay_plugin_cutover.py",
+ "hermes_cli/resource_limits.py",
+ "hermes_cli/runtime_paths.py",
+ "hermes_cli/runtime_state.py",
+ "hermes_cli/secret_prompt.py",
+ "hermes_cli/setup.py",
+ "hermes_cli/sizefmt.py",
++ "hermes_cli/source_releases.py",
+ "hermes_cli/sqlite_runtime.py",
+ "hermes_cli/sqlite_safe_read.py",
+ "hermes_cli/steward.py",
+ "hermes_cli/subcommands/update.py",
+ "hermes_cli/tools_config.py",
+ "hermes_cli/tools_config_cua.py",
+ "hermes_cli/toolset_scope.py",
+ "hermes_cli/toolset_validation.py",
+ "hermes_cli/update_abort_recovery.py",
+ "hermes_cli/update_channel.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_common.py",
+ "hermes_cli/update_cmd_config.py",
+ "hermes_cli/update_cmd_deps.py",
+ "hermes_cli/update_cmd_fleet.py",
+ "hermes_cli/update_cmd_git.py",
+ "hermes_cli/update_cmd_maint.py",
+ "hermes_cli/update_cmd_stash.py",
+ "hermes_cli/update_cmd_windows.py",
+ "hermes_cli/update_cmd_zip.py",
+ "hermes_cli/update_contract.py",
+ "hermes_cli/update_inventory.py",
+ "hermes_cli/update_lock.py",
+ "hermes_cli/update_receipt.py",
+ "hermes_cli/urllib_security.py",
+ "hermes_cli/version_info.py",
+ "hermes_constants.py",
+ "hermes_state.py",
+ "plugins/memory/__init__.py",
+ "plugins/memory/honcho/cli.py",
+ "plugins/memory/honcho/client.py",
+ "plugins/memory/honcho/client_cache.py",
+ "plugins/memory/honcho/oauth.py",
+ "plugins/plugin_loader.py",
+ "plugins/plugin_utils.py",
+ "pm/__init__.py",
+ "pm/_uv.py",
+ "pm/artifact_mirror.py",
+ "pm/build_operations.py",
+ "pm/cli.py",
+ "pm/client.py",
+ "pm/download_state.py",
+ "pm/downloader.py",
+ "pm/ensure.py",
+ "pm/environment.py",
+ "pm/extras.py",
+ "pm/features.py",
+ "pm/lock.py",
+ "pm/network.py",
+ "pm/operations.py",
+ "pm/package.py",
+ "pm/packages.py",
+ "pm/paths.py",
+ "pm/plugins_state.py",
+ "pm/receipt.py",
+ "pm/recovery.py",
+ "pm/registry.py",
+ "pm/runtime.py",
+ "pm/runtime_stage.py",
+ "pm/store.py",
+ "pm/update.py",
+ "pm/workspace.py",
+ "tools/browser_tool.py",
+ "tools/browser_tool_install.py",
+ "tools/browser_tool_lifecycle.py",
+ "tools/browser_tool_origin.py",
+ "tools/computer_use/cua_backend.py",
+ "tools/computer_use/cua_backend_driver.py",
+ "tools/env_passthrough.py",
+ "tools/environments/local.py",
+ "tools/environments/local_env_policy.py",
+ "tools/environments/local_pythonpath.py",
+ "tools/plugin_guard.py",
+ "tools/skill_usage.py",
+ "tools/skills_guard.py",
+ "tools/skills_sync.py",
+ "tools/skills_sync_optional.py",
+ "utils.py"
+ ],
+ "entrypoint_paths": [
+ "hermes_cli/main.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_zip.py",
+ "pm/cli.py"
+ ],
+ "files_with_reachable_functions": [
+ "agent/curator.py",
+ "agent/deadline.py",
+ "agent/delegation_context.py",
+ "agent/redact.py",
+ "agent/retry_utils.py",
+ "agent/secret_scope.py",
+ "agent/secret_sources/base.py",
+ "agent/secret_sources/registry.py",
+ "agent/skill_utils.py",
+ "agent/ssl_verify.py",
+ "agent/terminal_env_registry.py",
+ "gateway/config.py",
+ "gateway/config_env.py",
+ "gateway/config_loader.py",
+ "gateway/control_socket.py",
+ "gateway/lifecycle_ledger.py",
+ "gateway/profile_routing.py",
+ "gateway/restart.py",
+ "gateway/session_context.py",
+ "gateway/shutdown_forensics.py",
+ "gateway/shutdown_watchdog.py",
+ "gateway/status.py",
+ "hermes_cli/_early_recovery.py",
+ "hermes_cli/_install_repair.py",
+ "hermes_cli/_launchers.py",
+ "hermes_cli/_old_updater.py",
+ "hermes_cli/_parser.py",
+ "hermes_cli/_scan_venv_blockers.py",
+ "hermes_cli/_subprocess_compat.py",
+ "hermes_cli/agent_plugins.py",
+ "hermes_cli/archive_safe.py",
+ "hermes_cli/auth.py",
+ "hermes_cli/backup.py",
+ "hermes_cli/backup_restore.py",
+ "hermes_cli/banner.py",
+ "hermes_cli/cli_output.py",
+ "hermes_cli/colors.py",
+ "hermes_cli/config.py",
+ "hermes_cli/config_backups.py",
+ "hermes_cli/config_home.py",
+ "hermes_cli/config_migrations.py",
+ "hermes_cli/curses_ui.py",
+ "hermes_cli/default_soul.py",
+ "hermes_cli/env_loader.py",
+ "hermes_cli/fs_utils.py",
+ "hermes_cli/gateway.py",
+ "hermes_cli/gateway_windows.py",
+ "hermes_cli/git_credentials.py",
+ "hermes_cli/gitlock.py",
+ "hermes_cli/home_data_layout.py",
+ "hermes_cli/image_provenance.py",
+ "hermes_cli/macos_tcc_anchor.py",
+ "hermes_cli/main.py",
+ "hermes_cli/main_dashboard.py",
+ "hermes_cli/main_install_repair.py",
+ "hermes_cli/managed_scope.py",
+ "hermes_cli/managed_uv.py",
+ "hermes_cli/mcp_security.py",
+ "hermes_cli/memory_setup.py",
+ "hermes_cli/model_catalog.py",
+ "hermes_cli/plugin_capabilities.py",
+ "hermes_cli/plugin_catalog.py",
+ "hermes_cli/plugin_compat.py",
+ "hermes_cli/plugins.py",
+ "hermes_cli/plugins_admission.py",
+ "hermes_cli/plugins_cmd.py",
+ "hermes_cli/plugins_cmd_catalog.py",
+ "hermes_cli/plugins_discovery.py",
+ "hermes_cli/plugins_ledger.py",
+ "hermes_cli/plugins_loader.py",
+ "hermes_cli/plugins_manifest.py",
+ "hermes_cli/plugins_provenance.py",
+ "hermes_cli/plugins_transaction.py",
+ "hermes_cli/plugins_updates.py",
+ "hermes_cli/post_update.py",
+ "hermes_cli/process_identity.py",
+ "hermes_cli/profiles.py",
+ "hermes_cli/psutil_android.py",
+ "hermes_cli/pt_input_extras.py",
+ "hermes_cli/relay_plugin_cutover.py",
+ "hermes_cli/resource_limits.py",
+ "hermes_cli/runtime_paths.py",
+ "hermes_cli/runtime_state.py",
+ "hermes_cli/secret_prompt.py",
+ "hermes_cli/setup.py",
+ "hermes_cli/sizefmt.py",
++ "hermes_cli/source_releases.py",
+ "hermes_cli/sqlite_runtime.py",
+ "hermes_cli/sqlite_safe_read.py",
+ "hermes_cli/steward.py",
+ "hermes_cli/tools_config_cua.py",
+ "hermes_cli/toolset_scope.py",
+ "hermes_cli/toolset_validation.py",
+ "hermes_cli/update_abort_recovery.py",
+ "hermes_cli/update_channel.py",
+ "hermes_cli/update_cmd.py",
+ "hermes_cli/update_cmd_common.py",
+ "hermes_cli/update_cmd_config.py",
+ "hermes_cli/update_cmd_deps.py",
+ "hermes_cli/update_cmd_fleet.py",
+ "hermes_cli/update_cmd_git.py",
+ "hermes_cli/update_cmd_maint.py",
+ "hermes_cli/update_cmd_stash.py",
+ "hermes_cli/update_cmd_windows.py",
+ "hermes_cli/update_cmd_zip.py",
+ "hermes_cli/update_contract.py",
+ "hermes_cli/update_inventory.py",
+ "hermes_cli/update_lock.py",
+ "hermes_cli/update_receipt.py",
+ "hermes_cli/urllib_security.py",
+ "hermes_cli/version_info.py",
+ "hermes_constants.py",
+ "plugins/memory/__init__.py",
+ "plugins/memory/honcho/cli.py",
+ "plugins/memory/honcho/client.py",
+ "plugins/memory/honcho/client_cache.py",
+ "plugins/memory/honcho/oauth.py",
+ "plugins/plugin_loader.py",
+ "pm/_uv.py",
+ "pm/artifact_mirror.py",
+ "pm/build_operations.py",
+ "pm/cli.py",
+ "pm/client.py",
+ "pm/download_state.py",
+ "pm/ensure.py",
+ "pm/environment.py",
+ "pm/extras.py",
+ "pm/features.py",
+ "pm/lock.py",
+ "pm/network.py",
+ "pm/operations.py",
+ "pm/package.py",
+ "pm/packages.py",
+ "pm/paths.py",
+ "pm/plugins_state.py",
+ "pm/receipt.py",
+ "pm/recovery.py",
+ "pm/registry.py",
+ "pm/runtime.py",
+ "pm/runtime_stage.py",
+ "pm/store.py",
+ "pm/update.py",
+ "pm/workspace.py",
+ "tools/browser_tool_install.py",
+ "tools/browser_tool_lifecycle.py",
+ "tools/browser_tool_origin.py",
+ "tools/computer_use/cua_backend.py",
+ "tools/computer_use/cua_backend_driver.py",
+ "tools/env_passthrough.py",
+ "tools/environments/local.py",
+ "tools/environments/local_env_policy.py",
+ "tools/environments/local_pythonpath.py",
+ "tools/plugin_guard.py",
+ "tools/skill_usage.py",
+ "tools/skills_guard.py",
+ "tools/skills_sync.py",
+ "tools/skills_sync_optional.py",
+ "utils.py"
+ ],
+ "commits_with_audited_changes": 1,
- "revisions_read": 169,
- "distinct_file_versions": 169,
- "analysis_passes": 216,
- "versions_prepared": 169,
++ "revisions_read": 170,
++ "distinct_file_versions": 170,
++ "analysis_passes": 218,
++ "versions_prepared": 170,
+ "mode": "tree"
+ }
},
+ "unresolved_dynamic": [
+ "hermes_cli/config.py: module object hermes_cli.managed_scope requires manual call-graph review",
+ "hermes_cli/dashboard_procs.py: module object hermes_cli.main_dashboard requires manual call-graph review",
+ "hermes_cli/gateway.py: module object hermes_constants.* requires manual call-graph review",
+ "hermes_cli/gateway.py:get_python_path: importlib.reload(hermes_constants)",
+ "hermes_cli/main.py: module object hermes_constants.* requires manual call-graph review",
+ "hermes_cli/main.py:_cmd_update_impl: importlib.reload(_hc)",
+ "hermes_cli/main.py:cmd_update: importlib.reload(_hc)",
+ "hermes_cli/managed_uv.py: module object hermes_cli._subprocess_compat requires manual call-graph review",
+ "hermes_cli/managed_uv.py: module object hermes_constants.* requires manual call-graph review",
+ "hermes_cli/managed_uv.py:_reload_hermes_constants: importlib.reload(hermes_constants)",
+ "hermes_cli/plugins.py:_re_register_config_hooks_after_force: importlib.import_module(module_name)",
+ "hermes_cli/plugins.py:_register_deferred_platform_tools: importlib.import_module(f'{module.__name__}.tools')",
+ "hermes_cli/post_update.py: module object pm.ensure requires manual call-graph review",
+ "hermes_cli/update_cmd_maint.py:_reload_modules: importlib.reload(module)",
+ "pm/client.py: module object pm.build_operations requires manual call-graph review",
+ "pm/client.py: module object pm.operations requires manual call-graph review",
+ "pm/ensure.py: module object pm.paths requires manual call-graph review",
+ "pm/registry.py:load_package_definitions: importlib.import_module(module_name)",
+ "tools/browser_tool_origin.py: module object tools.* requires manual call-graph review",
+ "tools/browser_tool_origin.py: module object tools.browser_tool.* requires manual call-graph review"
+ ],
+ "parse_recoveries": [
+ "hermes_cli/config.py: audited all 2 merge-conflict arm combinations [blob c48ec10db003682046d0848adfad5680c21e1f95; commits e286e6875678711ee38353852ec201ea727e5284]"
+ ],
"bare": [
+ "agent.async_utils::safe_schedule_threadsafe",
+ "agent.delegation_context::delegated_child_subprocess_env",
+ "agent.memory_provider::MemoryProvider",
+ "agent.redact::redact_sensitive_text",
+ "agent.retry_utils::jittered_backoff",
+ "agent.secret_scope::_is_global_env",
+ "agent.secret_scope::current_secret_scope",
+ "agent.secret_scope::get_secret",
+ "agent.secret_scope::is_multiplex_active",
+ "agent.secret_sources._cache::resolve_cache_home",
+ "agent.skill_utils::_NAMESPACE_RE",
+ "agent.skill_utils::_external_dirs_cache_clear",
+ "agent.skill_utils::get_external_skills_dirs",
+ "agent.ssl_verify::install_truststore",
+ "gateway.config_env::_apply_env_overrides",
+ "gateway.platform_registry::platform_registry",
+ "gateway.platforms._shared::profile_scoped",
+ "gateway.profile_routing::parse_profile_routes",
+ "gateway.session_context::get_session_env",
"gateway.shutdown_forensics::parse_systemd_duration_to_us",
"gateway.status::_get_process_start_time",
"gateway.status::_pid_exists",
@@@ -934,25 -109,19 +936,28 @@@
"hermes_cli.runtime_paths::site_packages",
"hermes_cli.runtime_paths::store_root",
"hermes_cli.runtime_state::_atomic_bytes",
+ "hermes_cli.runtime_state::_bytes",
+ "hermes_cli.runtime_state::_digest",
"hermes_cli.runtime_state::_lock",
"hermes_cli.runtime_state::collect_generations",
+ "hermes_cli.runtime_state::recover_publication",
+ "hermes_cli.runtime_state::runtime_lock",
+ "hermes_cli.setup::prompt_yes_no",
"hermes_cli.sizefmt::format_bytes",
+ "hermes_cli.source_releases::resolve_source_release",
+ "hermes_cli.source_releases::source_repository",
"hermes_cli.sqlite_runtime::probe_sqlite_runtime",
"hermes_cli.sqlite_safe_read::LiveConnectionError",
+ "hermes_cli.sqlite_safe_read::has_live_connection",
"hermes_cli.sqlite_safe_read::offline_file_access",
+ "hermes_cli.sqlite_safe_read::read_header_bytes_preopen",
"hermes_cli.steward::STEWARD_DESKTOP",
"hermes_cli.steward::read_install_stamp",
+ "hermes_cli.tools_config::_pip_install",
"hermes_cli.tools_config::install_cua_driver",
"hermes_cli.update_channel::CHANNEL_STABLE",
+ "hermes_cli.update_channel::handle_metadata_args",
+ "hermes_cli.update_channel::resolve_update_channel",
"hermes_cli.update_cmd::_UPDATE_CRITICAL_MODULES",
"hermes_cli.update_cmd::_abort_recovery_is_complete",
"hermes_cli.update_cmd::_add_upstream_remote",
@@@ -1019,20 -176,11 +1024,22 @@@
"hermes_cli.update_cmd_git::_git_run",
"hermes_cli.update_cmd_maint::_print_bundled_skills_sync_report",
"hermes_cli.update_cmd_maint::_sweep_bytecode_after_update",
++ "hermes_cli.update_contract::COMMIT_BUILD_UPDATE_MESSAGE",
+ "hermes_cli.update_contract::evaluate_update_admission",
++ "hermes_cli.update_contract::is_commit_build",
+ "hermes_cli.update_contract::record_refusal_receipt",
"hermes_cli.update_inventory::collect_runtime_inventory",
"hermes_cli.update_inventory::match_runtime_outcomes",
+ "hermes_cli.update_inventory::print_update_plan",
"hermes_cli.update_inventory::record_plan_in_receipt",
"hermes_cli.update_inventory::report_unaccounted_runtimes",
+ "hermes_cli.update_lock::UPDATE_EXIT_CONCURRENT",
+ "hermes_cli.update_lock::UpdateLock",
+ "hermes_cli.update_lock::describe_holder",
"hermes_cli.update_receipt::",
+ "hermes_cli.update_receipt::COMMAND_BOUNDARY_STOP_REASON",
+ "hermes_cli.update_receipt::_profile_homes",
+ "hermes_cli.update_receipt::_socket_identity",
"hermes_cli.update_receipt::begin_update_receipt",
"hermes_cli.update_receipt::collect_fleet_versions",
"hermes_cli.update_receipt::finalize_update_receipt",
@@@ -1241,71 -256,18 +1248,70 @@@
"hermes_cli.config_defaults::",
"hermes_cli.config_migrations::",
"hermes_cli.dashboard_procs::",
+ "hermes_cli.env_loader::load_hermes_dotenv",
+ "hermes_cli.env_loader::reset_secret_source_cache",
"hermes_cli.gateway::_get_restart_exit_wait_budget",
+ "hermes_cli.gateway::_is_service_running",
+ "hermes_cli.gateway::ensure_gateway_service",
+ "hermes_cli.gateway::get_service_name",
+ "hermes_cli.gateway::get_systemd_linger_status",
+ "hermes_cli.gateway::is_linux",
"hermes_cli.gateway::is_windows",
- "hermes_cli.gateway::kill_gateway_processes",
+ "hermes_cli.gateway::named_profile_served_by_running_multiplexer",
+ "hermes_cli.gateway::refresh_launchd_plist_if_needed",
+ "hermes_cli.gateway_multiplex_served::live_default_gateway_pid",
+ "hermes_cli.gateway_multiplex_served::recorded_served_profiles",
+ "hermes_cli.gateway_windows::windowless_gateway_restart_spec",
"hermes_cli.macos_tcc_anchor::ensure_tcc_anchor",
+ "hermes_cli.managed_uv::_macos_sign_managed_python",
+ "hermes_cli.mcp_security::validate_mcp_server_entry",
"hermes_cli.memory_setup::_install_dependencies",
+ "hermes_cli.plugins::_env_enabled",
+ "hermes_cli.plugins::discover_plugins",
+ "hermes_cli.plugins::resolve_module_origin",
+ "hermes_cli.plugins_manifest::resolve_module_origin",
"hermes_cli.process_identity::REAPABLE_PURPOSES",
- "hermes_cli.runtime_state::recover_publication",
- "hermes_cli.runtime_state::runtime_lock",
- "hermes_cli.version_info::get_code_identity",
+ "hermes_cli.profiles::_get_wrapper_dir",
+ "hermes_cli.profiles::_is_wrapper_dir_in_path",
+ "hermes_cli.profiles::check_alias_collision",
+ "hermes_cli.profiles::create_wrapper_script",
+ "hermes_cli.resource_limits::configured_nofile_soft_limit",
+ "hermes_cli.steward::STEWARD_APT_TERMUX",
+ "hermes_cli.steward::STEWARD_DOCKER",
+ "hermes_cli.steward::STEWARD_NIX",
+ "hermes_cli.steward::sealed_steward",
+ "hermes_cli.steward::steward_update_message",
+ "hermes_cli.toolset_scope::toolset_allowed_for_platform",
+ "hermes_cli.toolset_validation::validate_platform_toolsets",
- "hermes_cli.update_channel::resolve_update_channel",
+ "hermes_cli.update_cmd::",
+ "hermes_cli.update_receipt::current_correlation_id",
+ "hermes_cli.update_receipt::finalize_pending_update_receipt",
+ "hermes_cli::tools_config",
+ "hermes_constants::DEFAULT_GATEWAY_RESTART_DRAIN_TIMEOUT",
+ "hermes_constants::PROJECT_ROOT",
+ "hermes_constants::validate_profile_name",
"hermes_state::SessionDB",
+ "plugins.memory.honcho.client::HonchoClientConfig",
+ "plugins.memory.honcho.client::get_honcho_client",
+ "plugins.memory.honcho::oauth",
+ "plugins.memory::_get_active_memory_provider",
+ "plugins.memory::load_memory_provider",
"pm.ensure::enabled_extras",
- "pm.extras::extra_supported",
- "pm.recovery::validate_environment"
+ "pm.recovery::repair_dependencies",
+ "tools.computer_use.cua_backend::cua_driver_child_env",
+ "tools.computer_use.cua_backend::cua_driver_update_check",
+ "tools.computer_use.cua_backend_driver::cua_driver_update_check",
+ "tools.env_passthrough::is_env_passthrough",
+ "tools.env_passthrough::resolve_passthrough_value",
+ "tools.environments.local::",
+ "tools.environments.local::_HERMES_PROVIDER_ENV_BLOCKLIST",
+ "tools.environments.local::_is_hermes_internal_secret",
+ "tools.environments.local_env_policy::_HERMES_PROVIDER_ENV_BLOCKLIST",
+ "tools.environments.local_env_policy::_is_hermes_internal_secret",
+ "tools.lazy_deps::",
+ "tools.lazy_deps::FeatureUnavailable",
+ "tools.skill_usage::read_suppressed_names",
+ "tools.skills_guard::content_hash",
+ "tools::lazy_deps"
]
}