Commit Graph

28256 Commits

Author SHA1 Message Date
Teknium 8e207b82e5 refactor(mini_swe_runner): dispatch env classes by name, flatten assistant-turn branches, drop body blanks; -33 LOC 2026-09-02 21:31:03 -07:00
Teknium 914aa20b06 refactor(trajectory_compressor): fold single-use helpers, table-drive the report printer, flatten dataclass layout; -133 LOC 2026-09-02 21:23:40 -07:00
Teknium b9c2dd4041 Merge branch 'simp/r3-01-D' into simp/r3-01 2026-09-02 20:06:45 -07:00
Teknium fac9b16581 Merge branch 'simp/r3-01-C' into simp/r3-01 2026-09-02 20:06:43 -07:00
Teknium b4526ec1e0 refactor(state): repair/wal — unify lock/offline-read/exclusive-probe helpers, collapse defensive layers, reflow docs; -25% LOC 2026-09-02 20:00:02 -07:00
Teknium b032af59ce Merge branch 'simp/r3-01-F' into simp/r3-01 2026-09-02 19:35:26 -07:00
Teknium 664c675bd8 Merge branch 'simp/r3-01-E' into simp/r3-01 2026-09-02 19:35:24 -07:00
Teknium 7cd6d4f7fa Merge branch 'simp/r3-01-B' into simp/r3-01 2026-09-02 19:35:23 -07:00
Teknium d2c3924dc9 refactor(state): repair/wal — once-log table, strategy table, phase helpers, unified disk/offline-read/exclusive helpers, compact docs 2026-09-02 19:16:21 -07:00
Teknium 2c2ced0c52 refactor(hermes_state_portability): per-session import validator raising ValueError (fuzz-verified parity) 2026-09-02 19:13:44 -07:00
Teknium c1620901ae refactor(hermes_state): AST-neutral packing of state mixins (120 cols) 2026-09-02 19:10:31 -07:00
Teknium 5cca3715f4 refactor(hermes_state_schema): fold trigger-count into missing predicate, generate legacy reinsert SQL (byte-identical) 2026-09-02 19:01:45 -07:00
Teknium 5e8931b356 refactor(hermes_state_portability): alias public rich-row getter, reuse safe_json_loads, flatten coercers 2026-09-02 18:59:38 -07:00
Teknium 9c5271fa88 refactor(hermes_state_usage): derive absolute/delta token UPDATE from one template (byte-identical) 2026-09-02 18:58:03 -07:00
Teknium 7a56696c8d refactor(run_agent): keep review-defer/engine-end helpers module-level so bound-method test harnesses still work 2026-09-02 18:56:20 -07:00
Teknium 561d1a6f8b refactor(hermes_state_search): regex quoted-phrase protection (fuzz-verified), drop unreferenced cjk aliases 2026-09-02 18:54:49 -07:00
Teknium ec3bf2acf3 refactor(hermes_state_schema): compact docstrings and migration comments 2026-09-02 18:51:38 -07:00
Teknium 6da196e39a refactor(hermes_state_search): env_float threshold, collapse rebuild-status/teardown guards, compact docstrings 2026-09-02 18:45:38 -07:00
Teknium b45961212c refactor(run_agent): compact docstrings/comments, collapse remaining boolean ladders and redundant locals 2026-09-02 18:35:08 -07:00
Teknium 2a660cb8fb refactor(hermes_state): reuse utils.safe_json_loads, one tolerant topic reader, one registry path resolver 2026-09-02 18:34:21 -07:00
Teknium d2614f435e refactor(hermes_state): AST-neutral line packing across state mixins 2026-09-02 18:30:39 -07:00
Teknium b00d35ff5c refactor(toolsets,mcp_serve): keep defensive .get()/try semantics in static copy and plugin bundle 2026-09-02 18:29:10 -07:00
Teknium d7fe7a47fd refactor(hermes_state): drop constant-false v10 trigram branch, shared search SELECT builder 2026-09-02 18:28:57 -07:00
Teknium 477a9b46e3 refactor(run_agent): phase helpers for close()/main(), shared engine-hook/quiet helpers, collapsed defensive layers 2026-09-02 18:27:32 -07:00
Teknium 24574b8534 refactor(model_tools,mcp_serve): final compaction pass (signatures, comments, baseline helper) 2026-09-02 18:26:58 -07:00
Teknium 1263a7d243 refactor(hermes_state_titles): reuse _NUMBERED_TITLE_RE, compact docstrings 2026-09-02 18:26:28 -07:00
Teknium 45ab79ef90 refactor(hermes_state_registry): alias back-compat names directly, compact docstrings 2026-09-02 18:26:14 -07:00
Teknium 7fd8ccff62 refactor(model_tools,toolsets,mcp_serve): compact docstrings/comments, derive toolset lists from core, collapse defensive layers 2026-09-02 18:24:17 -07:00
Teknium ab5a64a7a4 refactor(hermes_state_usage): compact docstrings/comments 2026-09-02 18:24:01 -07:00
Teknium c7a6c5ac39 refactor(hermes_state_telegram): return delete count directly, reuse _rich_row, compact docstrings 2026-09-02 18:23:30 -07:00
Teknium 6d81b7e7e1 refactor(mini_swe_runner): unify temperature helper with trajectory_compressor, compact literals and signatures 2026-09-02 18:22:53 -07:00
Teknium 410f9a0fa6 refactor(hermes_state_portability): fold coerce wrappers, shared _rich_rows, compact docstrings 2026-09-02 18:21:56 -07:00
Teknium a4d85a4e19 refactor(trajectory_compressor): compact metrics serialization, report sections, and helper signatures 2026-09-02 18:20:48 -07:00
Teknium e9dfc808ee refactor(hermes_state_schema): shared trigger-missing predicate and marker SQL constant, compact docstrings 2026-09-02 18:19:11 -07:00
Teknium 47ac76a03a refactor(model_tools,toolsets): dispatcher phase helpers, shared registry accessor, table-built distributions 2026-09-02 18:17:45 -07:00
Teknium 593aa2d191 refactor(mini_swe_runner): split run_task into _call_model/_run_tool_calls, extract tool-response folding and prompt constants, reuse trajectory_compressor temperature helper 2026-09-02 18:14:12 -07:00
Teknium 58accf5782 refactor(hermes_state_search): shared cjk/token helpers, reuse _row_to_message_dict, compact docstrings 2026-09-02 18:13:31 -07:00
Teknium 74757bd2a6 refactor(trajectory_compressor): dedupe sync/async compress twins into plan/assemble helpers, split main into mode helpers, table-drive from_yaml and _detect_provider 2026-09-02 18:10:59 -07:00
Teknium 1dcf189041 refactor(utils): compact atomic-write helpers, hermes_time, registration_lifecycle, setup.py guard (-27% LOC, zero behavior change) 2026-09-02 18:09:02 -07:00
Teknium 28c9b74a43 refactor(mcp_serve): tool handlers as a registered class + shared helpers; 1061->864 LOC 2026-09-02 18:07:58 -07:00
Teknium 113f04616b Merge branch 'simp/r2-state' into simp/integration2
# Conflicts:
#	hermes_state_messages.py
2026-09-02 17:49:43 -07:00
Teknium f07ff1026f Merge branch 'simp/r2-update-doctor' into simp/integration2 2026-09-02 17:49:26 -07:00
Teknium 9c65ca8a02 Merge branch 'simp/r2-models-runtime' into simp/integration2 2026-09-02 17:49:26 -07:00
Teknium 56202613ef Merge branch 'simp/r2-loop' into simp/integration2 2026-09-02 17:49:25 -07:00
Teknium 56c5798203 Merge branch 'simp/r2-kanban' into simp/integration2 2026-09-02 17:49:25 -07:00
Teknium 06fb390212 fix(integration): restore stdin=DEVNULL on computer_use subprocess calls dropped in simplification 2026-09-02 17:48:26 -07:00
Teknium 135973b5b6 Merge branch 'simp/r2-state-b' into simp/r2-state
# Conflicts:
#	hermes_state_messages.py
2026-09-02 17:35:13 -07:00
Teknium 1113b65f3e Merge branch 'simp/r2-state-c' into simp/r2-state 2026-09-02 17:34:33 -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