Teknium
0e0de99c61
Merge branch 'simp/r3-33-I' into simp/integration3
2026-09-02 22:41:31 -07:00
Teknium
0615725d45
Merge branch 'simp/r3-33-C' into simp/integration3
2026-09-02 22:41:25 -07:00
Teknium
9334b1718f
Merge branch 'simp/r3-32-F' into simp/integration3
2026-09-02 22:41:18 -07:00
Teknium
d9090dce5c
Merge branch 'simp/r3-32-E' into simp/integration3
2026-09-02 22:41:17 -07:00
Teknium
a3cb4e9fb3
Merge branch 'simp/r3-32-A' into simp/integration3
2026-09-02 22:41:12 -07:00
Teknium
d6fbf44e90
Merge branch 'simp/r3-31-C' into simp/integration3
2026-09-02 22:41:09 -07:00
Teknium
b15ac86686
refactor(tools): file_tools shares write/patch plumbing and terminal env bring-up
2026-09-02 22:31:59 -07:00
Teknium
8b249e4b3d
refactor(tools): compact local env builders, env_probe, env_passthrough, pythonpath/gitbash helpers; fold force-unwrap and kill-group flows
2026-09-02 22:24:19 -07:00
Teknium
71dadfeb99
refactor(tools): trim skill_manage stack — dead linter CLI/format helpers, merged path resolvers, compact layout
2026-09-02 22:23:24 -07:00
Teknium
0c9b0256d4
refactor(tools): memory store — inline reload/read helpers, dict-dispatch write-gate text
2026-09-02 22:14:49 -07:00
Teknium
e1cacc050e
refactor(tools): fold modal_utils abstract seam into managed_modal (its only consumer); layout hug
2026-09-02 22:12:25 -07:00
Teknium
89881ad022
refactor(tools): simplify execute_code stack — drop kernel_mode shim, extract per-call remote path, reuse terminal config helpers
2026-09-02 22:10:19 -07:00
Teknium
63e9553fa2
Merge branch 'simp/r3-09' into simp/integration3
2026-09-02 21:57:14 -07:00
Teknium
5def9faff0
refactor(cli): reuse banner art from hermes_cli.banner; collapse _cprint loop fallbacks
2026-09-02 19:02:17 -07:00
Teknium
8c9c7a041a
refactor(cli): extract git worktree machinery into hermes_cli/worktree_ops.py (cli re-exports)
2026-09-02 18:44:44 -07:00
Teknium
5a8fbbf16c
refactor(cron): split scheduler.py into delivery/script/prompt/preflight modules
...
cron/scheduler.py 6386 -> 3423. Four sibling modules hold the free-function clusters,
re-exported from cron.scheduler so every existing import/monkeypatch target keeps resolving;
origin-resident helpers are reached late-bound via `_sched` (same-object visibility, no
import cycle). Every moved node is AST-identical to the base. Source-inspection test for the
bash resolver repointed to cron/scheduler_script.py.
2026-09-02 18:34:26 -07:00
Teknium
caa29fb43a
Merge branch 'simp/r2-tools-a' into simp/integration2
...
# Conflicts:
# tests/test_managed_runtime_resolution.py
2026-09-02 17:07:24 -07:00
Teknium
8f2d511228
Merge branch 'simp/r2-tools-b-termhub' into simp/integration2
2026-09-02 17:05:25 -07:00
Teknium
d6f56549c0
Merge branch 'simp/r2-webserver' into simp/integration2
2026-09-02 17:05:16 -07:00
Teknium
75e19f3836
Merge branch 'simp/r2-cua-tool2' into simp/integration2
2026-09-02 17:05:15 -07:00
Teknium
93673653fa
Merge branch 'simp/r2-kanban' into simp/integration2
2026-09-02 17:05:05 -07:00
Teknium
cba6a6de8e
Merge branch 'simp/r2-clipy' into simp/integration2
2026-09-02 17:05:04 -07:00
Teknium
6979b6a2f0
Merge branch 'simp/r2a-tts' into simp/integration2
2026-09-02 17:05:03 -07:00
Teknium
d9fe98b259
Merge branch 'simp/r2a-mcp' into simp/integration2
2026-09-02 17:05:02 -07:00
Teknium
b6b432f81e
Merge branch 'simp/r2a-browser' into simp/r2-tools-a
2026-09-02 17:04:12 -07:00
Teknium
e03a680592
refactor(kanban-db): split into connect/workspace/dispatch/notify modules
...
Byte-identical bodies moved out of hermes_cli/kanban_db.py into four sibling
modules, re-exported from the origin so kanban_db.<name> keeps resolving and
stays the single monkeypatch target; origin-resident helpers are reached via a
late-bound _kb namespace. AST-identity verified for all 329 moved symbols; SQL
statement multiset parity vs base. Three source-inspection tests repointed at
kanban_db_dispatch; the _add_column_if_missing alias test now imports the real
owner (hermes_cli.sqlite_util).
2026-09-02 16:46:52 -07:00
Teknium
ef9f860284
refactor(tts): extract OpenAI/DeepInfra backend and lifecycle leases into sibling modules
2026-09-02 16:44:12 -07:00
Teknium
d913175067
refactor(tts): move command-provider config layer into tts_command_provider
...
Completes the half-done move snapshotted by the parent (wip commit 283f63b):
the tts.providers.<name> config layer (_get_named_provider_config,
_resolve_command_provider_config, _generate_command_tts, ...) now lives in
tools/tts_command_provider.py; tts_tool re-imports the historical names.
2026-09-02 16:44:05 -07:00
Teknium
4d1880e0bf
fix(integration): restore subprocess encoding/stdin guards dropped in simplification
...
Simplification workers collapsed subprocess call sites into shared kwargs
helpers and dropped the Windows/TUI safety kwargs on the way:
- encoding='utf-8', errors='replace' restored on text=True runs in
copilot_acp_client, hermes_cli/setup (vercel install), managed_uv
(codesign steps), local_runtime/hardware._stdout, a2a adapter.
- stdin=subprocess.DEVNULL restored on copilot probe, verify/runner
_SUBPROCESS_KW, iron_proxy._run, google_meet playwright/system_profiler,
simplex convert, whatsapp _RUN_TEXT, mem0 ollama serve Popen.
google_meet sudo/brew install keeps inherited stdin (user-confirmed,
may prompt) — marked noqa: subprocess-stdin.
- Windows-safe SIGKILL: getattr(signal, 'SIGKILL', SIGTERM) in
verify/runner; photon _kill call re-marked windows-footgun: ok
(unreachable on win32).
- scripts/check_subprocess_stdin.py now recognizes **kwargs splats
(**_KW / **_kw(...)) ONLY when the same-file definition provably sets
stdin= — covers tui_gateway _capture_run_kwargs/run_kw. Parity test added.
2026-09-02 16:36:10 -07:00
Teknium
7e250ce03e
refactor(cli): no function over 300 LOC — split __init__/main/run/load_cli_config + two TUI builders
...
__init__ 659 -> 39 (_init_display_options / _init_model_routing / _init_runtime_state);
main 651 -> 403 (_install_single_query_signal_handlers, _collect_kanban_task_images,
_route_single_query_images, _run_quiet_single_query as module-level helpers);
run 384 -> 293 (_tui_shutdown); load_cli_config 366 -> 115 (_cli_config_defaults,
_mirror_config_to_env); cli_tui_mixin: _tui_build_layout 352 -> 196 (_tui_build_input_area,
_tui_set_base_style), _tui_handle_enter 333 -> 192 (_tui_enter_overlay -> bool).
All regions are zero-back-ref lifts, ast.dump-identical bodies, unresolved-free-names
check clean. Two source-inspection tests repointed at the helper that now owns the code.
2026-09-02 16:11:02 -07:00
Teknium
c4ce73edc2
refactor(browser): compact sibling modules — supervisor event dispatch inline, dialog responder unified (_respond/_respond_quiet/_cdp_quiet), dead ConsoleEvent ring buffer removed, browser_use_cli _quiet helper
2026-09-02 16:10:20 -07:00
Teknium
46697da751
refactor(mcp): move connect/lazy-start/discovery/public API into mcp_tool_discovery.py
2026-09-02 15:50:54 -07:00
Teknium
0360b71926
refactor(computer_use): split CuaDriverBackend into capture/input mixins and a driver-resolution module
2026-09-02 15:42:36 -07:00
Teknium
a7bbe3bf28
refactor(web_server): extract cron dashboard helpers to web_server_cron
2026-09-02 15:39:12 -07:00
Teknium
21c7037975
refactor(terminal): extract sudo/shell-rewrite cluster to terminal_tool_sudo and backend builders/checkers to terminal_tool_backends
2026-09-02 15:31:31 -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
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
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
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
8813eba345
refactor(tools): repoint tests to moved symbols; add voice_mode_transcript module
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
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
Teknium
ec49ae7c0f
refactor(tools): wire file_operations to extracted common/lint/search modules; restore literal security pins in lazy_deps
2026-09-02 14:43:45 -07:00
Teknium
14a64ea985
refactor(tools): repoint tests to moved file_tools guard/path symbols
2026-09-02 14:43:45 -07:00
Teknium
d4cec15b47
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
...
Behavior-neutral structural pass over tools/*: god-file extractions into
sibling modules (file_operations_common/lint/search, file_tools_paths/
read_tracking/write, code_execution_env/rpc, tool_search_catalog/names/
validation, tts_command_provider, ...), duplicate helper unification,
if/elif -> dispatch tables, dead-code removal, docstring compaction.
Tool schemas (get_tool_definitions) verified byte-identical to base.
2026-09-02 14:43:45 -07:00
Teknium
de109d4097
refactor(web): extract chat-tab WebSocket routes into web_routers/chat_ws.py
2026-09-02 13:32:06 -07:00