Teknium
2684412ed5
refactor(hermes_cli): doctor status tables (_OPENROUTER_STATUS, _PACKAGES, _KEYED_PROBES), _require helper, compact docstrings
2026-09-02 20:51:36 -07:00
Teknium
8b19d33157
refactor(hermes_cli): doctor check helpers (doctor_check/check_bool/ensure_dir), dump phase helpers, compact tables
2026-09-02 20:32:37 -07:00
Teknium
56c5798203
Merge branch 'simp/r2-kanban' into simp/integration2
2026-09-02 17:49:25 -07:00
Teknium
37e0e1a76d
refactor(kanban-cli): split the subcommand spec list so no function exceeds 300 LOC
2026-09-02 17:30:13 -07:00
Teknium
f9f87d9876
refactor(kanban-cli): compact docstrings/comments in kanban.py keeping every rationale
2026-09-02 17:30:13 -07:00
Teknium
37b160d04e
refactor(kanban-cli): extract dispatcher/maintenance verbs to kanban_ops; unify single-mutation ok/err reporting
2026-09-02 17:30:13 -07:00
Teknium
c7f3578521
refactor(kanban-cli): extract boards cluster to kanban_boards; unify goal-gate, id/reason, run-state and config helpers across handlers
2026-09-02 17:30:12 -07:00
Teknium
62a1607fbf
refactor(kanban-cli): extract data-driven argparse tree to kanban_parser and output helpers to kanban_output
2026-09-02 17:30:12 -07:00
Teknium
464ee35248
refactor(kanban-db): compact docstrings/comments in the four split modules (AST-identical, every WHY kept)
2026-09-02 17:27:14 -07:00
Teknium
8dca2031d3
Merge branch 'simp/r2-cli-rest-setup' into simp/integration2
...
# Conflicts:
# hermes_cli/setup.py
2026-09-02 17:27:09 -07:00
Teknium
1c281abfd5
refactor(kanban-db): lift decompose children validation into _validate_children_graph
2026-09-02 17:17:21 -07:00
Teknium
52a3543d3b
refactor(kanban-db): compact hook/constant/TTL docstrings and comments in origin (AST-identical)
2026-09-02 17:16:23 -07:00
Teknium
6a26640907
refactor(kanban-db): compact path/board/run accessor docstrings in origin (AST-identical)
2026-09-02 17:15:02 -07:00
Teknium
885c476b65
Merge branch 'simp/r2-cli-rest-sessions' into simp/integration2
2026-09-02 17:05:28 -07:00
Teknium
e51bfa0672
Merge branch 'simp/r2-cli-rest-commands' into simp/integration2
2026-09-02 17:05:27 -07:00
Teknium
70f42ed4f3
Merge branch 'simp/r2-cli-rest-plugins' into simp/integration2
2026-09-02 17:05:26 -07:00
Teknium
97fe0e35d8
Merge branch 'simp/r2-config-defaults' into simp/integration2
2026-09-02 17:05:25 -07:00
Teknium
5e7ff3d8fc
Merge branch 'simp/r2-update-cmd-sub' into simp/integration2
2026-09-02 17:05:23 -07:00
Teknium
a3b6d91302
Merge branch 'simp/r2-update-doctor' into simp/integration2
2026-09-02 17:05:20 -07:00
Teknium
74b4d698fc
Merge branch 'simp/r2-config-tools' into simp/integration2
2026-09-02 17:05:18 -07:00
Teknium
42ed0b4d5c
Merge branch 'simp/r2-kanban-cli' into simp/integration2
2026-09-02 17:05:17 -07:00
Teknium
d6f56549c0
Merge branch 'simp/r2-webserver' into simp/integration2
2026-09-02 17:05:16 -07:00
Teknium
f1a3a75a03
Merge branch 'simp/r2m-runtime' into simp/integration2
2026-09-02 17:05:15 -07:00
Teknium
de93b6ec3e
Merge branch 'simp/r2m-switch' into simp/integration2
2026-09-02 17:05:10 -07:00
Teknium
d3f556e4e2
Merge branch 'simp/r2m-models' into simp/integration2
2026-09-02 17:05:09 -07:00
Teknium
d9853c57ad
Merge branch 'simp/r2-climain' into simp/integration2
2026-09-02 17:05:06 -07:00
Teknium
f81f8d848f
Merge branch 'simp/r2m-flows' into simp/integration2
2026-09-02 17:05:06 -07:00
Teknium
93673653fa
Merge branch 'simp/r2-kanban' into simp/integration2
2026-09-02 17:05:05 -07:00
Teknium
fd77c095b1
Merge branch 'simp/r2-config' 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
e753b034a4
Merge branch 'simp/r2-auth' into simp/integration2
2026-09-02 17:05:01 -07:00
Teknium
41a26c8ba9
refactor(kanban-db): compact long docstrings (rules kept) across origin/dispatch/connect
2026-09-02 17:04:54 -07:00
Teknium
d66a62469b
refactor(update): lift parked-branch guard out of _prepare_checkout_for_update (161 -> 101 LOC)
2026-09-02 17:03:42 -07:00
Teknium
693893df5c
refactor(kanban-db): compact Task field/constant comments that duplicated SCHEMA_SQL; contextlib.suppress for try/except/pass
2026-09-02 17:02:26 -07:00
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
d1df0f21ab
refactor(hermes_cli/main): extract memory/acp/tools/insights/monitoring/skills handlers to main_agent_cmds.py
2026-09-02 17:00:17 -07:00
Teknium
2d7fcf636e
refactor(update): compact re-export import blocks (AST-identical, -117 lines)
2026-09-02 17:00:07 -07:00
Teknium
aa4ffc98e9
refactor(hermes_cli/main): extract WhatsApp/Slack/Skill-Sync setup wizards to main_platform_setup.py
2026-09-02 16:59:52 -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
9994d2b113
refactor(hermes_cli/main): unify lazy re-export tables into _LAZY_ATTR_SOURCES; drop 26 unreferenced re-exports
2026-09-02 16:58:15 -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
0556cbf52b
refactor(model_setup_flows): re-export only names that existed on the origin at base
...
Helpers introduced by the split (_azure_*, _bedrock_text_model_ids, _configured_model_ids, ...)
never lived in model_setup_flows before, so nothing imports/patches them there; keep the
origin's re-export list to the historical surface. Corpus 396/0 diffs, 364 tests green.
2026-09-02 16:56:40 -07:00
Teknium
a11464423a
refactor(kanban-db): drop dead _clear_spawn_failures alias, unify per-task row/link accessors, compact three docstrings
2026-09-02 16:55:53 -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
ebb9f312dc
refactor(status): extract credential sections into status_auth, unify redact_key
...
- new hermes_cli/status_auth.py: _render_api_keys / _render_auth_providers /
_render_nous_gateway / _render_apikey_providers + their data tables and the
OAuth/timestamp helpers; origin helpers imported lazily so status monkeypatches hold
- status.redact_key was a verbatim copy of hermes_cli.config.redact_key -> imported
- sessions/cron/deep/footer renderers compacted; 624 -> 372 lines (base 639)
Parity: r2m_status_golden.py 33 fixtures byte-identical vs base; real
`hermes status`, `status --deep`, `status --help` byte-identical after normalizing
the per-run temp HERMES_HOME path; test_status*/test_estop/test_jobs_json_utf8_bom green.
2026-09-02 16:54:55 -07:00
Teknium
ce54c8e04a
refactor(model_switch): collapse duplicate bodies, flatten alias/flag parsing, trim re-exports
...
- parse_model_flags_detailed: boolean flags via _BOOL_FLAGS table; scope ladder as data
- _load_direct_aliases / _configured_provider_matches / _config_declares_model /
resolve_alias: single scan or builder per shape instead of parallel branches
- _route_from_model_input split at the MoA/alias seam (-> _route_after_alias)
- re-export block trimmed to the names referenced through hermes_cli.model_switch
(acp_adapter, cli.py, tui_gateway, inventory, gateway, tests); orphaned trailing
comment blocks folded into model_switch_providers docstrings
- 2389 -> 2079 lines; largest function _model_sort_key (90 LOC)
Parity: r2m_switch_corpus.py 434 entries byte-identical vs base; 70 model_switch test
files + tests/test_tui_gateway_server.py green.
2026-09-02 16:54:55 -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
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