Commit Graph

14295 Commits

Author SHA1 Message Date
Teknium 55a9e4900c Merge branch 'simp/r3-12-g2-slash' into simp/integration3 2026-09-02 21:59:25 -07:00
Teknium dc65a89eb5 Merge branch 'simp/r3-07-D_skills' into simp/integration3 2026-09-02 21:59:24 -07:00
Teknium ae07681ded Merge branch 'simp/r3-17-g2-tui' into simp/integration3 2026-09-02 21:59:18 -07:00
Teknium 546c0c76bd Merge branch 'simp/r3-25-A' into simp/integration3 2026-09-02 21:58:18 -07:00
Teknium f44a2e1310 Merge branch 'simp/r3-20-b' into simp/integration3 2026-09-02 21:58:02 -07:00
Teknium 30d68469b9 Merge branch 'simp/r3-19-E' into simp/integration3 2026-09-02 21:58:00 -07:00
Teknium 0a03ad0f1d Merge branch 'simp/r3-14-B' into simp/integration3 2026-09-02 21:57:38 -07:00
Teknium f1c05e3a84 Merge branch 'simp/r3-15' into simp/integration3 2026-09-02 21:57:19 -07:00
Teknium 2e4a42605e Merge branch 'simp/r3-10' into simp/integration3 2026-09-02 21:57:15 -07:00
Teknium 63e9553fa2 Merge branch 'simp/r3-09' into simp/integration3 2026-09-02 21:57:14 -07:00
Teknium b5ad36ac81 Merge branch 'simp/r3-08' into simp/integration3 2026-09-02 21:57:13 -07:00
Teknium d24a1f0133 Merge branch 'simp/r3-07' into simp/integration3 2026-09-02 21:57:13 -07:00
Teknium 2c10a83ea7 Merge branch 'simp/r3-05' into simp/integration3 2026-09-02 21:57:11 -07:00
Teknium c10ab3264e Merge branch 'simp/r3-04' into simp/integration3 2026-09-02 21:57:10 -07:00
Teknium 62097ef7e5 Merge branch 'simp/r3-03' into simp/integration3 2026-09-02 21:57:09 -07:00
Teknium 0dc501f88b Merge branch 'simp/r3-02' into simp/integration3 2026-09-02 21:57:08 -07:00
Teknium 310373ef06 Merge branch 'simp/r3-00' into simp/integration3 2026-09-02 21:57:06 -07:00
Teknium ac622be8b6 Merge branch 'simp/r3-00-state' into simp/r3-00 2026-09-02 21:36:08 -07:00
Teknium 2f86ce2eb0 refactor(cli-main): split cmd_chat (first-run guard, --query-file, passthrough table), tighten provider/container/cost-guard helpers, dispatch tables for completion/backup; compact comments and docstrings (every WHY kept); repoint xai test to the flow's real module 2026-09-02 21:27:17 -07:00
Teknium 59ee2ad3b5 refactor(hermes_cli): split TUI mixin god methods into phase helpers, unify panel/fragment boilerplate, compact docs 2026-09-02 21:23:44 -07:00
Teknium 7e7ac989d8 Merge branch 'simp/r3-03-review' into simp/r3-03 2026-09-02 21:19:18 -07:00
Teknium e64942a018 refactor(hermes_cli/update): compact fleet restart bookkeeping into outcome dataclass; split maint backup/notice phases 2026-09-02 21:18:02 -07:00
Teknium 3fff73abd6 refactor(hermes_cli/update): dedupe zip path removal, extraction and status-line parsing 2026-09-02 20:50:28 -07:00
Teknium 2787b59b47 refactor(gateway/weixin): inline single-use crypto/url/json helpers, drop test-only _download_voice 2026-09-02 20:46:56 -07:00
Teknium 219f4b5b7d refactor(agent/agent_init): repoint micro-compaction source pin to table entry 2026-09-02 20:37:46 -07:00
Teknium 416a1c1acd refactor(hermes_cli): simplify 15 small modules — dead wrappers, unified helpers, dict dispatch, compact docs 2026-09-02 20:29:34 -07:00
Teknium 93b15c690a Merge branch 'simp/r3-00-cliB' into simp/r3-00 2026-09-02 20:07:59 -07:00
Teknium 5d85ed1ffa Merge branch 'simp/r3-05-w2' into simp/r3-05 2026-09-02 19:59:49 -07:00
Teknium 8642c6c65d Merge branch 'simp/r3-09-w3' into simp/r3-09 2026-09-02 19:59:26 -07:00
Teknium dbd7f76dd8 refactor(relay): drop dead delivery-signature/verify_token/from_platform_entry auth+descriptor code 2026-09-02 19:56:36 -07:00
Teknium 3c9a51bbf1 refactor(state): unify writer-conn setup, drop dead attrs/branches, compact hermes_state comments 2026-09-02 19:53:29 -07:00
Teknium d5b0a85c93 refactor(agent/agent_init): repoint turn-base-anchor source pin to _USAGE_STATE table 2026-09-02 19:46:07 -07:00
Teknium 3eff6c5eac test(agent): assert SKILLS_GUIDANCE wiring behaviorally instead of via source grep 2026-09-02 19:41:47 -07:00
Teknium 69bb5982ad fix(integration): repoint org-skill sync source-inspection tests to main_platform_setup.py 2026-09-02 19:36:12 -07:00
Teknium 552c5b62ca refactor(agent/relay_runtime): remove dead emit_mark (module fn + RelayRuntime method; only a test asserted its False path) 2026-09-02 19:31:18 -07:00
Teknium 719ad479ac refactor(cli): lift main()'s single-query branch into _run_single_query_mode + _configure_quiet_agent 2026-09-02 19:20:44 -07:00
Teknium f106dd6374 refactor(agent/background_review,anthropic_adapter): drop dead is_background_review_enabled (tests repointed to load_background_review_settings), share _new_sdk_client, table call-detail defaults 2026-09-02 19:12:32 -07:00
Teknium 9f1ab5a7f2 refactor(agent/agent_init): fix model_thresholds parse on absent key; repoint banner source-pin test to _print_key_banner 2026-09-02 19:11:16 -07:00
Teknium f76fe598a3 refactor(agent/conversation_loop): lift the API retry loop into _run_api_retry_loop; drop blank lines after lazy imports 2026-09-02 19:11:11 -07:00
Teknium 281cc00db6 refactor(cron): scheduler_provider module logger, adapter-selection helper, drop dead provider_supports_fire_cancel 2026-09-02 19:10:25 -07:00
Teknium b09ddf7746 refactor(cron): decompose run_job and _run_one_job_body into phase helpers
run_job 307 -> ~75: _prepare_job_prompt (pre-agent gates, wake gate, injection block),
_CronRunScope (ContextVar/tool-cwd scope with paired enter/exit), _reload_dotenv_and_publish_
delivery_target, _resolve_cron_agent_setup -> _CronAgentSetup (same gate order), _construct_cron_
agent, _FireAudit. _run_one_job_body 338 -> 170: _FireOwnership (fence + ownership check),
_RunDelivery + _save_compose_deliver, _finish_interrupted_run, _finish_completed_run,
_deliver_crash_failure. Source-inspection test repointed to _finish_interrupted_run.
2026-09-02 19:08:28 -07:00
Teknium cee3f5b026 refactor(cli): split _tui_process_loop into idle tick, input unwrap, one-input dispatch, slash run and after-turn helpers 2026-09-02 19:04:08 -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 8fb678ce5d refactor(agent/image+safety): route vision probes/inline executors on data tables, dedupe path guards (-25% LOC)
- image_routing: capability probes -> _VISION_PROBES ordered table; magic-byte
  sniffing -> _MAGIC signature table; bool tokens -> dict; shared code-span /
  file-existence helpers for extract_image_refs. Fixture-corpus diff base vs
  new identical.
- inline_tool_executors: 11 hand-written executor bodies -> _tool/_callback_tool
  arg-spec factories (kwargs mapping unchanged; corpus of calls identical).
- file_safety: unify _is_under/_under_any, _resolve_target/_resolve_each,
  _mirror_info; deny-list tables compacted; drop retired
  get_cross_profile_warning stub (+ its tests). Every rule preserved (corpus).
- image_gen_provider: drop _images_cache_dir (test-only wrapper), compact.
- estop/delegation_context/kanban_stop/image_gen_registry: defensive-layer
  collapse and docstring compaction.

Tool schema dump byte-identical to base.
2026-09-02 18:58:42 -07:00
Teknium 182dc4b313 refactor(state): extract read-connection budgeting to hermes_state_readpool 2026-09-02 18:50:30 -07:00
Teknium be8c0fd302 refactor(gateway): compact slash_commands one-off handlers; dict tables for /footer,/approve,/deny; unify diff/cwd/executor helpers 2026-09-02 18:45:20 -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 eba201ff6e refactor(agent/background_review): split _run_review_in_thread into fork/summary phases, extract fork kwargs and action-line helpers 2026-09-02 18:41:26 -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 849cec20e2 refactor(cli): lazy-shim factory, config/cleanup phase helpers, light-mode ladder split, compact docstrings 2026-09-02 18:30:33 -07:00