Commit Graph

2684 Commits

Author SHA1 Message Date
Teknium 47a0636bcf Merge branch 'simp/r3-34-E' into simp/integration3 2026-09-03 00:10:18 -07:00
Teknium eeaf3e9a11 Merge branch 'simp/r3-25-J' into simp/integration3 2026-09-03 00:09:15 -07:00
Teknium 0b8f881a96 refactor(hermes_cli/voice): single _continuous_callbacks tuple replaces four callback globals; fold reserved-char sets 2026-09-02 23:57:35 -07:00
Teknium e50e571719 refactor(tools): inline _reset_spawn_warning_state, share _active_org_id, tighten eligibility checks 2026-09-02 23:19:42 -07:00
Teknium e23dbb5492 Merge branch 'simp/r3-34-E' into simp/integration3 2026-09-02 23:12:43 -07:00
Teknium d96d9f8071 Merge branch 'simp/r3-32-E' into simp/integration3 2026-09-02 23:12:06 -07:00
Teknium fc694f401e refactor(tools): unify scrub builders via _scrubbed_env, fold group-alive probe and kanban scrub, compact env_passthrough refusal loop and docstrings 2026-09-02 23:09:52 -07:00
Teknium 9737d9d86c refactor(tools): drop test-only merge_skill/skill_trees_of_root aliases and unused re-exports 2026-09-02 23:04:48 -07:00
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