Commit Graph

  • 5ee79d5dc9 refactor(agent/redact.py): one _assignment_sub factory for ENV/JSON/YAML passes, single-scan _pattern_structure, shared _command_segments Teknium 2026-09-02 19:02:38 -07:00
  • 9142545df8 refactor(gateway/platforms): qqbot attachment loop single download path, text-sender table, _opt_str Teknium 2026-09-02 19:02:23 -07:00
  • 5def9faff0 refactor(cli): reuse banner art from hermes_cli.banner; collapse _cprint loop fallbacks Teknium 2026-09-02 19:02:17 -07:00
  • f0ab4baf50 refactor(agent/subscription_view): compact dataclass docstrings and helper bodies Teknium 2026-09-02 19:02:05 -07:00
  • cf59e5ad1f refactor(agent/turn_recovery): lift format-recovery strips into _recover_format_errors Teknium 2026-09-02 19:02:02 -07:00
  • ac7591019e refactor(agent/conversation_compression): extract codex route and start-announcement from compress_context Teknium 2026-09-02 19:01:49 -07:00
  • 4f6595022f refactor(gateway): fold injection-adapter resolution, identity claim and release-thread spawn into helpers Teknium 2026-09-02 19:01:46 -07:00
  • 5cca3715f4 refactor(hermes_state_schema): fold trigger-count into missing predicate, generate legacy reinsert SQL (byte-identical) Teknium 2026-09-02 19:01:45 -07:00
  • c1ae5349ba refactor(agent/G_small): rewrap adjacent string-literal fragments (bytes identical, parity corpus) Teknium 2026-09-02 19:01:42 -07:00
  • 34f96ff29c refactor(agent/context_compressor): reflow short multi-line call statements Teknium 2026-09-02 19:01:32 -07:00
  • 7bf838d4dd refactor(gateway): run_topics — shared telegram-dm/sync-db/cooldown helpers, compact rename lanes (878→757 LOC) Teknium 2026-09-02 19:01:32 -07:00
  • c9b8dc473f refactor(agent/curator+insights): compact literals/signatures, fold YAML entry parsing and transition diff into comprehensions Teknium 2026-09-02 19:01:29 -07:00
  • 4bba2400f5 refactor(acp): history replay as a pure generator (_history_replay_updates); sender loop shrinks to 3 lines Teknium 2026-09-02 19:01:24 -07:00
  • 7b831c7145 refactor(gateway/platforms): group D layout hug + string-literal joins (AST-neutral) Teknium 2026-09-02 19:01:23 -07:00
  • e0cad5109e refactor(hermes_constants): split Windows node heal into stage/swap phase helpers Teknium 2026-09-02 19:01:21 -07:00
  • 649c34dcb3 refactor(agent/session_persistence): flush phase helpers as module functions (duck-typed agent compatible) Teknium 2026-09-02 19:00:50 -07:00
  • a51693b8d4 refactor(gateway): hug trailing SQL-call arguments in hosted-room modules (AST-neutral) Teknium 2026-09-02 19:00:47 -07:00
  • 1cf3c5d582 refactor(gateway): fold try/except-log startup steps into _best_effort; refuse() closure for --replace ownership Teknium 2026-09-02 19:00:37 -07:00
  • bc1f0d5dfd refactor(agent/skill_utils): unify config list/cache-key helpers, collapse guards, compact docs Teknium 2026-09-02 19:00:35 -07:00
  • 6fe54ec6d7 refactor(agent/context_compressor): AST-identical reflow of short multi-line statements and headers Teknium 2026-09-02 19:00:02 -07:00
  • 86ca0d967d refactor(agent/gemini,acp): table-driven generationConfig, folded predicates Teknium 2026-09-02 18:59:54 -07:00
  • 8873f7abc7 refactor(agent/verify): tighten evidence classification, recipe builders, and runner phase bookkeeping Teknium 2026-09-02 18:59:53 -07:00
  • 032ac76293 refactor(agent/chat_completion_helpers): drop stray section header, fix blank-line spacing Teknium 2026-09-02 18:59:41 -07:00
  • e34096ca19 refactor(agent): pack remaining multi-line signatures (AST-identical) Teknium 2026-09-02 18:59:41 -07:00
  • 61f32ec330 refactor(delegate): drop unreferenced re-exports from origin (refs.py-verified) Teknium 2026-09-02 18:59:41 -07:00
  • 5e8931b356 refactor(hermes_state_portability): alias public rich-row getter, reuse safe_json_loads, flatten coercers Teknium 2026-09-02 18:59:38 -07:00
  • 12aebbfcbc refactor(agent/tool_executor): _ToolCallRef identity carrier + emit_post funnel replace 9 hand-rolled terminal-hook blocks Teknium 2026-09-02 18:59:32 -07:00
  • e032abeca8 refactor(gateway): fold status.py JSON readers and compact identity docstrings Teknium 2026-09-02 18:59:26 -07:00
  • f0d24b3c2e refactor(cli): split _chat_render_turn and _process_unregistered_slash into per-branch helpers Teknium 2026-09-02 18:59:19 -07:00
  • 9672db5399 refactor(agent/conversation_compression): extract attempt prologue and lease sit-out helper; fold codex failure flag Teknium 2026-09-02 18:59:05 -07:00
  • f0c08ad23d refactor(agent/stream_delivery): unify interim delivery, compact fence helpers Teknium 2026-09-02 18:58:51 -07:00
  • 8fb678ce5d refactor(agent/image+safety): route vision probes/inline executors on data tables, dedupe path guards (-25% LOC) Teknium 2026-09-02 18:58:42 -07:00
  • 7b87a7c0ad refactor(agent/display): table-drive diff color resolution, compact docstrings and section banners Teknium 2026-09-02 18:58:29 -07:00
  • ca5f9f342a refactor(agent/G_small): hoist echo-family import, dataclass pending item, adopt_credits_state helper Teknium 2026-09-02 18:58:29 -07:00
  • af0ddcb2ec refactor(agent): iron_proxy signal guard ctx manager + yaml loader helper; table/kwargs compaction across group Teknium 2026-09-02 18:58:26 -07:00
  • b6773e3a96 refactor(hermes_startup_watchdog): unify never-raise logging in the fire path Teknium 2026-09-02 18:58:21 -07:00
  • 512ea3b0c6 refactor(agent/agent_runtime_helpers): helper extraction for arg sanitizer, user-merge, heal log, socket walk, error-context regexes Teknium 2026-09-02 18:58:17 -07:00
  • 9c5271fa88 refactor(hermes_state_usage): derive absolute/delta token UPDATE from one template (byte-identical) Teknium 2026-09-02 18:58:03 -07:00
  • 3996c1a852 refactor(gateway): run_startup — allowlist env-var table, transient-failure helper, comment trims Teknium 2026-09-02 18:57:53 -07:00
  • 4a3b4b691e refactor(gateway/platforms): api_server module helpers — shared text/list caps, _normalize_image_part, compact docstrings (5055 -> 4826 LOC) Teknium 2026-09-02 18:57:49 -07:00
  • b3d75f78f3 refactor(agent/conversation_loop): compact per-turn agent resets and finalize_turn call Teknium 2026-09-02 18:57:46 -07:00
  • f91f128569 refactor(agent/turn_facade_lease): alias deactivate to stop_refresher, nullcontext lock, inline exists probe Teknium 2026-09-02 18:57:37 -07:00
  • aabb4ddf44 Merge branch 'simp/r3-04-w1b' into simp/r3-04-w1 Teknium 2026-09-02 18:57:25 -07:00
  • 522e114109 refactor(agent/credential_pool): split refresh/seed god methods, unify sync + status helpers (-1107 LOC) Teknium 2026-09-02 18:57:14 -07:00
  • 769add5ea2 refactor(agent/auxiliary_client): split resolve_provider_client into per-provider branch helpers + dispatch table; phase-split _resolve_auto_route Teknium 2026-09-02 18:57:09 -07:00
  • 542757aaaf refactor(gateway): run_busy dispatch tables, overflow/steer/confirm helpers; compact adapter+busy docs Teknium 2026-09-02 18:57:05 -07:00
  • 3b880c0412 refactor(gateway/platforms): signal_format.py — single pass strips inline markers and records removals; document the algorithm Teknium 2026-09-02 18:56:30 -07:00
  • 7a56696c8d refactor(run_agent): keep review-defer/engine-end helpers module-level so bound-method test harnesses still work Teknium 2026-09-02 18:56:20 -07:00
  • 52271332db refactor(agent/lsp): table-driven lsp argparse tree, compact install/eventlog/protocol helpers Teknium 2026-09-02 18:56:15 -07:00
  • 1d7632bfb7 refactor(agent): moa_loop/plugin_llm — collapse arg ladders, contextlib.suppress, usage extractor Teknium 2026-09-02 18:56:13 -07:00
  • be4d806bfb refactor(gateway): lift stale-result discard out of _handle_message_with_agent Teknium 2026-09-02 18:56:09 -07:00
  • 83f2fb0984 refactor(agent/account_usage,anthropic_credentials,azure_identity_adapter,acp_openai_bridge): outcome table, env lookup helper, compact literals and docs Teknium 2026-09-02 18:56:06 -07:00
  • 624e4975a3 refactor(acp): flatten multi-line boolean guards in server turn paths Teknium 2026-09-02 18:56:05 -07:00
  • 687ee33512 refactor(agent/shell_hooks): _spawn failed() helper, rejoin split log literals Teknium 2026-09-02 18:55:46 -07:00
  • 9a5538f97e refactor(agent/tool_guardrails): merge platform sets, compact constant tables and docstrings Teknium 2026-09-02 18:55:37 -07:00
  • 68318b8776 refactor(gateway): run_inbound — AST-neutral bracket packing Teknium 2026-09-02 18:55:29 -07:00
  • 607162e444 refactor(agent/gemini,acp): compact WHY comments Teknium 2026-09-02 18:55:25 -07:00
  • de427ff550 refactor(gateway/platforms): qqbot inbound tail → one _ingest (absorb+emit), pilk attempts → loop Teknium 2026-09-02 18:55:18 -07:00
  • 8cd56917b6 refactor(misc): join short multi-line statements (AST-identical) Teknium 2026-09-02 18:55:16 -07:00
  • b925acb5a9 refactor(agent/turn_recovery): abort_turn_on_interrupt shared by backoff sleep and handle_api_error Teknium 2026-09-02 18:55:11 -07:00
  • cd0b813ee2 refactor(agent): prompt_builder — unify plugin-backend/config-readonly helpers, table-drive probe formatting, drop section banners, compact WHY comments Teknium 2026-09-02 18:55:01 -07:00
  • 3238af61c1 refactor(gateway): tier tables for memory/disk pressure, shared ISO parser for drain markers, hand-compacted docstrings Teknium 2026-09-02 18:54:58 -07:00
  • 561d1a6f8b refactor(hermes_state_search): regex quoted-phrase protection (fuzz-verified), drop unreferenced cjk aliases Teknium 2026-09-02 18:54:49 -07:00
  • b741b8de79 refactor(agent/turn_empty_response): pack one call Teknium 2026-09-02 18:54:44 -07:00
  • 485fe4747b refactor(agent/vision_message_prep): fold data-url mime/suffix selection, transport cache, and vision-probe locals Teknium 2026-09-02 18:54:37 -07:00
  • 0f60feec52 refactor(agent/conversation_compression): lift feasibility threshold-lowering warning out of check_compression_model_feasibility Teknium 2026-09-02 18:54:31 -07:00
  • b6f60bf123 refactor(agent/transports): merge token-usage/compaction accounting into one handler, contextlib.suppress for pass-except blocks, lift extra_content dump Teknium 2026-09-02 18:54:23 -07:00
  • f0832b1e92 refactor(agent/client_lifecycle): collapse copilot/vertex refresh tails (979->965 LOC) Teknium 2026-09-02 18:54:22 -07:00
  • 480b9630d3 Merge branch 'simp/r3-06-A-md' into simp/r3-06-A Teknium 2026-09-02 18:54:22 -07:00
  • 7fa7b58b3c refactor(agent): compact conversation_loop docstrings/comments, unify partial-turn result shape, tidy empty_response_guard/interrupt_compat/iteration_budget Teknium 2026-09-02 18:53:53 -07:00
  • be3a659b14 refactor(agent/relay): compact relay/transport docstrings and comments (keep every invariant); reflow boolean spans; drop no-op helpers Teknium 2026-09-02 18:53:45 -07:00
  • 08d95abdd3 refactor(agent/turn): try/except-pass -> contextlib.suppress across turn prologue/prep/gate Teknium 2026-09-02 18:53:04 -07:00
  • ec9bfbba68 refactor(acp): start-content builders return text/blocks, wrapped once in _build_tool_start Teknium 2026-09-02 18:53:02 -07:00
  • 5117249d39 refactor(agent/secret_sources): shared fingerprint + remediation_hints table, _validate_source, drop unused _cache re-exports, compact docstrings Teknium 2026-09-02 18:53:00 -07:00
  • eea8e8060e refactor(agent): compact module docstrings (outbound_webhooks, otlp_exporter, emitter, gateway_health_export) Teknium 2026-09-02 18:53:00 -07:00
  • 089d1aa296 refactor(delegate): dispatch — _Batch.run_child, one future-entry resolver, inline transcript finalize Teknium 2026-09-02 18:52:58 -07:00
  • b927d1c60b refactor(gateway/platforms): msgraph_webhook.py — per-notification ingest helper with outcome counts, collapsed guards Teknium 2026-09-02 18:52:55 -07:00
  • fb0f7806ee refactor(gateway): table-driven bridge specs in config_loader, compact registry/display/routing docs Teknium 2026-09-02 18:52:41 -07:00
  • 9bbe578aca refactor(misc): drop intra-function blank lines (AST-identical) Teknium 2026-09-02 18:52:34 -07:00
  • 320a7caa6a refactor(gateway): kanban notifier collector class, lambda formatters, single wake path Teknium 2026-09-02 18:52:31 -07:00
  • ef474523f6 refactor(agent/gemini,acp,credits): shared part classifiers, folded literals, table-driven account seed Teknium 2026-09-02 18:52:31 -07:00
  • 91bafac8fb refactor(gateway/hosted_rooms): _is_retired/_SELECT_REMOTE_RUN helpers; simplify member lookups in discussion Teknium 2026-09-02 18:52:30 -07:00
  • 458b56a47c refactor(cli): split chat() into image-routing, @-reference, staging and audio-release phase helpers Teknium 2026-09-02 18:52:01 -07:00
  • 6ea0fbcc0b refactor(agent/chat_completion_helpers): compact fallback/max-iterations region; hoist _FALLBACK_REASON_LABELS Teknium 2026-09-02 18:51:59 -07:00
  • 95fa01c614 refactor(agent/tool_guardrails): field-driven config parsing, asdict metadata Teknium 2026-09-02 18:51:55 -07:00
  • 1a025a4cc6 refactor(agent/turn): AST-neutral packing of multi-line f-string literals Teknium 2026-09-02 18:51:40 -07:00
  • ec3bf2acf3 refactor(hermes_state_schema): compact docstrings and migration comments Teknium 2026-09-02 18:51:38 -07:00
  • 6549a8bfb6 refactor(agent/context_compressor): extract _call_summary_llm and a summary-failure classifier dataclass Teknium 2026-09-02 18:51:31 -07:00
  • 28d2e85a23 Merge branch 'simp/r3-04-w1a' into simp/r3-04-w1 Teknium 2026-09-02 18:51:26 -07:00
  • d038249b12 refactor(agent/G_small): second code pass — merged guards, table-driven compact display, joined wrapped calls Teknium 2026-09-02 18:51:24 -07:00
  • 5025182f4e refactor(gateway): trim footer/phrases/scale-to-zero/wake/systemd helpers Teknium 2026-09-02 18:51:08 -07:00
  • 92c5101c78 refactor(agent/agent_runtime_helpers): trajectory/strip_think/extract_reasoning helpers + pattern tables; drop dead _tool_call_id_variants Teknium 2026-09-02 18:51:04 -07:00
  • a7d2bf1466 refactor(agent/codex_responses_adapter): table issuer classification, unify optional-dict validation, collapse assistant fallback ladder (-56 LOC) Teknium 2026-09-02 18:51:03 -07:00
  • 453acfccf4 refactor(agent/shell_hooks): module docstring to 8 lines Teknium 2026-09-02 18:50:59 -07:00
  • d5341ab1c9 refactor(agent/chat_completion_helpers): compact helpers, docstrings and comments in the non-streaming region Teknium 2026-09-02 18:50:52 -07:00
  • d5a2913a89 refactor(cli): table-drive best-effort shutdown steps in _run_cleanup Teknium 2026-09-02 18:50:31 -07:00
  • 182dc4b313 refactor(state): extract read-connection budgeting to hermes_state_readpool Teknium 2026-09-02 18:50:30 -07:00
  • cca4b89724 refactor(gateway): run_inbound — _handle_message phase helpers, shared STT echo, plugin-injection/vision/reply-context compaction Teknium 2026-09-02 18:50:20 -07:00
  • 6bbe947a35 refactor(agent/system_prompt): split build_system_prompt_parts into phase helpers; collapse defensive layers Teknium 2026-09-02 18:50:09 -07:00
  • 315e291609 refactor(agent/context_references,billing_*): unify path/binary checks and _parse_* helpers (1492->1118 LOC) Teknium 2026-09-02 18:49:57 -07:00