Teknium
73ca3efea4
refactor(update): lift divergence reconcile and syntax-guard rollback out of _pull_updates (153 -> 47 LOC)
2026-09-02 17:02:23 -07:00
Teknium
2d7fcf636e
refactor(update): compact re-export import blocks (AST-identical, -117 lines)
2026-09-02 17:00:07 -07:00
Teknium
231ee6bf69
refactor(update): lift profile syncs and post-summary notices out of _run_post_update_maintenance (174 -> 67 LOC)
2026-09-02 16:59:18 -07:00
Teknium
832f77939a
refactor(update): lift snapshot safety nets out of _check_and_apply_config_migration (192 -> 130 LOC)
2026-09-02 16:57:00 -07:00
Teknium
ce45e216e7
refactor(update): promote nested _restart_one_systemd_gateway_unit closure to a module-level function (184 -> 70 LOC orchestrator)
2026-09-02 16:55:53 -07:00
Teknium
60041b787a
refactor(update): join short multi-line statements onto one line (AST-identical, -416 lines)
2026-09-02 16:52:38 -07:00
Teknium
15651bd877
refactor(update): lift cold-start plan and SCM service pause out of _pause_windows_gateways_for_update (261 -> 163 LOC)
2026-09-02 16:50:01 -07:00
Teknium
0bfcf42133
refactor(update): unify venv-prefix and backend-argv helpers in update_cmd_windows (3+2 call sites)
2026-09-02 16:48:45 -07:00
Teknium
1aa9285312
refactor(update): hand-compact comments/docstrings in update_cmd.py, update_cmd_fleet.py, update_cmd_zip.py (AST-identical); rewrite stale module docstring
2026-09-02 16:45:44 -07:00
Teknium
d46eb1f964
refactor(update): collapse 90 try/except-pass and try/except-logger.debug blocks into suppress()/_best_effort() (new leaf update_cmd_common.py)
2026-09-02 16:34:55 -07:00
Teknium
ebf2875049
refactor(update): lift already-up-to-date finish out of _cmd_update_impl (290 -> 257 LOC)
2026-09-02 16:31:17 -07:00
Teknium
bff23bea2c
refactor(update): lift option resolution, receipt/plan, git prep, HEAD verification and CalledProcessError handling out of _cmd_update_impl (521 -> 290 LOC)
2026-09-02 16:29:04 -07:00
Teknium
dc4de83c62
refactor(update): lift ZIP download/swap and deps reinstall out of _update_via_zip (327 -> 137 LOC)
2026-09-02 16:25:31 -07:00
Teknium
e118abc61a
refactor(update): lift manual-gateway restart, stuck-PID sweep and phase-abort recovery out of _restart_gateway_fleet_after_update (362 -> 154 LOC)
2026-09-02 16:23:31 -07:00
Teknium
a59680217f
refactor(update): hand-compact comments/docstrings in split modules (AST-identical); re-export get_hermes_home/shutil; repoint source-inspection tests
2026-09-02 16:11:02 -07:00
Teknium
4674f8b254
refactor(update): split zip/stash/config/deps/git/maint clusters out of update_cmd.py
2026-09-02 16:00:26 -07:00
Teknium
096826bf7d
refactor(update): split gateway fleet restart/verify into update_cmd_fleet.py
2026-09-02 15:55:50 -07:00
Teknium
5206a504ca
refactor(update): split Windows gateway lifecycle into update_cmd_windows.py
2026-09-02 15:40:14 -07:00
Teknium
e2d7a6f8b8
refactor(update): drop dead _gateway_restart_recovery_profiles; write sibling-snapshot cache via module attribute
2026-09-02 15:27:33 -07:00
Teknium
88b74d6ef0
Merge branch 'simp/hclib' into simp/integration
2026-09-02 15:05:48 -07:00
Teknium
7df99a7787
test(hclib): update tests for moved/removed symbols
2026-09-02 15:03:42 -07:00
Teknium
cfa327e5dc
refactor(hclib): remaining hermes_cli library modules — dead code, unified helpers, flattened branches
2026-09-02 15:03:42 -07:00
Teknium
18700c60d5
Merge branch 'simp/tools' into simp/integration
2026-09-02 15:01:45 -07:00
Teknium
ae70536485
Merge branch 'simp/web' into simp/integration
2026-09-02 15:01:45 -07:00
Teknium
24b9d18448
Merge branch 'simp/cli-models' into simp/integration
...
Conflict in hermes_cli/model_setup_flows.py: took simp/cli-models's
simplified version and re-applied simp/cli-main's 2-line change (import
_current_reasoning_effort/_set_reasoning_effort from hermes_cli.setup
instead of hermes_cli.main, since cli-main removed the main.py copies).
simp/cli-models had dropped those two helpers from hermes_cli.setup.py as
dead (their only base caller was main.py's own copy); restored them there
so the cli-main import path resolves.
2026-09-02 15:01:11 -07:00
Teknium
2d5e9a0ef1
refactor(tools/delegate): repoint batch-tag test to delegate_tool_progress where _BATCH_ORDINALS is bound
2026-09-02 14:47:47 -07:00
Teknium
78335adfec
refactor(hclib): shared roots — hermes_constants, hermes_logging, utils, _subprocess_compat compaction and dedupe
2026-09-02 14:47:26 -07:00
Teknium
aed2e156ad
refactor(tools/files): finish file_operations wiring to extracted modules; restore WHY comments in file_tools; repoint test
2026-09-02 14:47:03 -07:00
Teknium
731a943ac4
refactor(tools/planning): compact kanban metadata merging and clarify tool/gateway helpers
2026-09-02 14:47:02 -07:00
Teknium
ae67178be1
refactor(tools/infra): split cronjob god-methods into per-action helpers; extract tool_search catalog/validation; compact registry, lazy_deps, tool_backend_helpers, desktop_ui
2026-09-02 14:47:02 -07:00
Teknium
6723628de9
refactor(tools/messaging): split send_message into senders/targets tables; dedupe discord/bot_mode/relay helpers; extract feishu_lark shared plumbing; compact graph client/auth
2026-09-02 14:45:42 -07:00
Teknium
20258aad9e
refactor(tools/mcp_oauth): extract mcp_oauth_provider; compact oauth manager/dashboard bridge and schema_sanitizer; repoint tests
2026-09-02 14:45:42 -07:00
Teknium
8b3dde5dcc
refactor(tools/web): split web_tools into truncate/extract siblings; dispatch tables for backend probes and stdlib extractors; compact url_safety/website_policy/result cache
2026-09-02 14:45:42 -07:00
Teknium
b6a3d3f440
refactor(tools): restore stdin=DEVNULL on subprocess probes dropped during compaction
...
voice_mode WSL playback probe, subagent_worktree._run_git, cua_backend
loginctl/xprop probes lost their explicit stdin= (and one line-wrapped past
the encoding= same-line rule); lazy_deps._run carries it via _SUBPROCESS_KW
so mark it for the guard. Fixes tests/tools/test_subprocess_stdin_guard.py
and tests/scripts/test_footgun_subprocess_encoding.py (green on base).
2026-09-02 14:45:42 -07:00
Teknium
2c7f5d12b5
refactor(hclib): cron/update/install lifecycle — cron status, update_* receipts and recovery, install repair, service manager
2026-09-02 14:45:25 -07:00
Teknium
8813eba345
refactor(tools): repoint tests to moved symbols; add voice_mode_transcript module
2026-09-02 14:45:15 -07:00
Teknium
9fe009f467
refactor(tools/media): extract vision_tools_image_prep; dedupe image/video generation providers; compact fal/xai helpers
2026-09-02 14:45:15 -07:00
Teknium
33ae442e94
refactor(tools/computer_use): split cua_backend into daemon/actions/... siblings; dispatch tables; compact doctor/tool
2026-09-02 14:45:15 -07:00
Teknium
3bbec90f23
refactor(tools/environments): split local/base into output/wait/session-env siblings; extract docker_egress + remote_common; dedupe remote backends; compact process_registry
2026-09-02 14:45:15 -07:00
Teknium
d4ded67503
refactor(tools/terminal): split terminal_tool god method into helpers; dispatch tables; compact env probe/passthrough/daemon pool
2026-09-02 14:45:15 -07:00
Teknium
2ef1e8e4e0
refactor(tools/voice): extract tts delivery + wake_word engines; dedupe transcription/voice_mode helpers; compact tts providers
2026-09-02 14:45:15 -07:00
Teknium
49d15faae6
refactor(tools/skills_sync,memory): split skills_sync client wire/org and bundled/optional ops; extract memory_tool_store and session_search common/discover
2026-09-02 14:45:15 -07:00
Teknium
7c1ec19d4a
refactor(tools/skills): split skills_hub into per-source modules; extract skill_manager guards/batch, skills_tool dedup/plugin/setup; compact skill_usage, skills_guard
2026-09-02 14:45:15 -07:00
Teknium
05526b028a
refactor(tools/delegate): split delegate_tool into child_run/config/dispatch/progress/registry/results; compact delegation helpers
2026-09-02 14:45:15 -07:00
Teknium
3ffd44acd3
refactor(hclib): models/runtime — models, inventory, runtime_provider, provider catalog, local_runtime, banner
2026-09-02 14:44:48 -07:00
Teknium
aa0163d361
Merge branch 'simp/agent-runtime' into simp/integration
...
Conflict in agent/error_classifier.py: both simp/agent-chat and
simp/agent-runtime simplified the same file. Kept simp/agent-chat's
rule-table version, which already subsumes agent-runtime's
billing/rate-limit/overflow verdict helpers (as _V_* verdicts + _first_match
rule tables) and its dead _THINKING_SIG_PATTERNS removal. Verified with a
60k-case differential fuzz: identical ClassifiedError output vs base and vs
agent-runtime's version.
2026-09-02 14:44:19 -07:00
Teknium
9f6335bc44
refactor(tools/browser): extract eval-policy/lightpanda-fallback/real-profile/snapshot modules from browser_tool; split supervisor dialogs/frames; dedupe camofox/cli
2026-09-02 14:44:15 -07:00
Teknium
c1f8af1e86
refactor(tools/mcp): split mcp_tool.py into transport/lifecycle/schema/handlers/... sibling modules; compact watchdog and schema cache
2026-09-02 14:44:15 -07:00
Teknium
606cb2de92
refactor(tools/code_exec): unify code_kernel local/remote helpers, split checkpoint_manager god methods, compact spill helpers
2026-09-02 14:44:15 -07:00
Teknium
5c919161d0
refactor(tools/approval): split approval.py into smart/human-wait/gateway-wait modules; dedupe guards
2026-09-02 14:44:14 -07:00