Commit Graph

  • 62c7da915c refactor(agent): compact prompt_builder — inline dead _HERMES_MD_NAMES, fold _SkillFilter into a closure, dedupe entry-name lookups, reuse terminal_tool ssh config, trim narrative comments (prompt text byte-identical) Teknium 2026-09-02 18:22:00 -07:00
  • 410f9a0fa6 refactor(hermes_state_portability): fold coerce wrappers, shared _rich_rows, compact docstrings Teknium 2026-09-02 18:21:56 -07:00
  • 0e66a40d09 refactor(agent/transports): collapse chat_completions sanitize/base-kwargs helpers and codex build_kwargs plumbing; wire output fuzz-identical Teknium 2026-09-02 18:21:51 -07:00
  • 4f2553c5f9 refactor(agent): compact iron_proxy — inline single-use download/token helpers, unify listen readers, contextlib.suppress Teknium 2026-09-02 18:21:43 -07:00
  • bcf6fee21d refactor(agent/chat_completion_helpers): fold interruptible_api_call into _NonStreamRequest; compact SSE error parsing helpers Teknium 2026-09-02 18:21:41 -07:00
  • af6f9eb3f4 refactor(agent/agent_runtime_helpers): split sanitize_api_messages into 7 phase helpers Teknium 2026-09-02 18:21:37 -07:00
  • a1f134730f refactor(gateway): dedupe run.py regex tables, runtime-kwargs builders, media-kind predicates Teknium 2026-09-02 18:21:37 -07:00
  • a4d85a4e19 refactor(trajectory_compressor): compact metrics serialization, report sections, and helper signatures Teknium 2026-09-02 18:20:48 -07:00
  • e9dfc808ee refactor(hermes_state_schema): shared trigger-missing predicate and marker SQL constant, compact docstrings Teknium 2026-09-02 18:19:11 -07:00
  • b10179a1ac refactor(agent): moa_loop — extract fan-out/guidance/cache-plan phases, unify cache-opt and placeholder helpers Teknium 2026-09-02 18:19:03 -07:00
  • 506c586c13 refactor(agent/agent_runtime_helpers): split repair_message_sequence into 4 pass helpers + ordered pass table Teknium 2026-09-02 18:18:55 -07:00
  • 8c7271b4bf refactor(agent/chat_completion_helpers): split try_activate_fallback/handle_max_iterations into phase helpers Teknium 2026-09-02 18:18:37 -07:00
  • c484f0b513 refactor(delegate): registry — inline recent-stub retention, extract _list_payload, compact docstrings Teknium 2026-09-02 18:18:34 -07:00
  • 75d5c3f45f refactor(gateway): run_startup — teardown/retry-entry helpers, guard table, watcher tables, faulthandler log helper, handoff split Teknium 2026-09-02 18:18:21 -07:00
  • 492967f86c refactor(acp): AST-neutral bracket packing/hugging across acp_adapter Teknium 2026-09-02 18:18:21 -07:00
  • a0ccec3f6d refactor(agent/small-modules): compact battery, browser_registry/provider, command_token_source, bounded_response (554->438 LOC) Teknium 2026-09-02 18:18:18 -07:00
  • 31025f210c refactor(agent/conversation_loop): drive phase helpers through a _LoopState + _run_phase (run_conversation 597 -> ~250 LOC) Teknium 2026-09-02 18:18:15 -07:00
  • 7524e9ec8a refactor(agent/compression): unify session rebind, scoped-twin stamping; lift facade timeout callbacks to module helpers Teknium 2026-09-02 18:17:52 -07:00
  • 47ac76a03a refactor(model_tools,toolsets): dispatcher phase helpers, shared registry accessor, table-built distributions Teknium 2026-09-02 18:17:45 -07:00
  • 0fdadbe255 refactor(agent/session_persistence): split 292-LOC flush into phase helpers; unify override/durable-content logic Teknium 2026-09-02 18:17:38 -07:00
  • a3fda4a44a refactor(agent/turn_finalizer): persist step via _guarded_cleanup, output-hook helper, inline single-use tail helpers Teknium 2026-09-02 18:16:58 -07:00
  • 1cdad299a5 refactor(gateway): run_goals — shared synthetic-event builder, heartbeat/loop-wakeup per-item helpers, tighter docs Teknium 2026-09-02 18:16:03 -07:00
  • 3b17b4147d refactor(agent/bedrock_adapter): unify response accumulator, redacted decode, tool-arg parsing; compact docs (-144 LOC) Teknium 2026-09-02 18:15:22 -07:00
  • 857b43ef92 refactor(hermes_bootstrap,hermes_startup_watchdog,hermes_logging): collapse duplicated dump/handle plumbing, compact docs Teknium 2026-09-02 18:14:53 -07:00
  • ebd4b1002b refactor(agent/error_classifier): stage pipeline + status dispatch table, verdict dicts, 0 fuzz mismatches Teknium 2026-09-02 18:14:19 -07:00
  • 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 Teknium 2026-09-02 18:14:12 -07:00
  • 58accf5782 refactor(hermes_state_search): shared cjk/token helpers, reuse _row_to_message_dict, compact docstrings Teknium 2026-09-02 18:13:31 -07:00
  • df7c867027 refactor(acp): events _upgrade_queue single key; edit_approval uses Path.is_relative_to; session toolset expansion via dict.fromkeys; fork_session early return Teknium 2026-09-02 18:13:29 -07:00
  • 29a854a950 refactor(cli): unify git subprocess wrapper and split worktree god functions into phase helpers Teknium 2026-09-02 18:12:37 -07:00
  • 0dc4e7d04f refactor(agent/turn_explainers): explanation dispatch tables + shared display-flag reader Teknium 2026-09-02 18:11:57 -07:00
  • 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 Teknium 2026-09-02 18:10:59 -07:00
  • 52fdc02dfe refactor(delegate): results module — one input-summary builder, tighter output-tail/trim helpers Teknium 2026-09-02 18:10:42 -07:00
  • 722f0f04d5 refactor(agent/auxiliary_client): drop dead _AUTO_PROVIDER_LABELS table Teknium 2026-09-02 18:10:02 -07:00
  • 1dcf189041 refactor(utils): compact atomic-write helpers, hermes_time, registration_lifecycle, setup.py guard (-27% LOC, zero behavior change) Teknium 2026-09-02 18:09:02 -07:00
  • 28c9b74a43 refactor(mcp_serve): tool handlers as a registered class + shared helpers; 1061->864 LOC Teknium 2026-09-02 18:07:58 -07:00
  • 425a9d10b6 refactor(acp): tools.py _structured formatter decorator; server.py ExitStack turn bindings, _take_interrupted_prompt, dedupe catalog/model-state locals Teknium 2026-09-02 18:07:58 -07:00
  • d1e533729a refactor(delegate): credential bundle factory; one try/except for both pool branches Teknium 2026-09-02 18:07:41 -07:00
  • 378692be4f refactor(delegate): fold _construct_child_agent/_announce_child_spawn into _build_child_agent; _quiet best-effort sites Teknium 2026-09-02 18:04:43 -07:00
  • c94ced6225 refactor(agent/turn): AST-neutral bracket/signature packing across r3-08 slice Teknium 2026-09-02 18:01:27 -07:00
  • b18228f377 refactor(delegate): AST-identical re-layout (pack signatures/call args, join split literals) Teknium 2026-09-02 17:59:28 -07:00
  • 901ba7db6f refactor(delegate): child_run best-effort blocks via _quiet; shared failure-entry tail Teknium 2026-09-02 17:54:08 -07:00
  • 64957b7e02 refactor(delegate): _Batch dataclass owns batch execution/dispatch; _quiet best-effort contextmanager Teknium 2026-09-02 17:50:16 -07:00
  • 113f04616b Merge branch 'simp/r2-state' into simp/integration2 Teknium 2026-09-02 17:49:43 -07:00
  • f07ff1026f Merge branch 'simp/r2-update-doctor' into simp/integration2 Teknium 2026-09-02 17:49:26 -07:00
  • 9c65ca8a02 Merge branch 'simp/r2-models-runtime' into simp/integration2 Teknium 2026-09-02 17:49:26 -07:00
  • 56202613ef Merge branch 'simp/r2-loop' into simp/integration2 Teknium 2026-09-02 17:49:25 -07:00
  • 56c5798203 Merge branch 'simp/r2-kanban' into simp/integration2 Teknium 2026-09-02 17:49:25 -07:00
  • 06fb390212 fix(integration): restore stdin=DEVNULL on computer_use subprocess calls dropped in simplification Teknium 2026-09-02 17:48:26 -07:00
  • d77505c007 refactor(delegate): extract toolset resolution + task validation modules, move runtime resolution to config Teknium 2026-09-02 17:44:45 -07:00
  • 135973b5b6 Merge branch 'simp/r2-state-b' into simp/r2-state Teknium 2026-09-02 17:35:13 -07:00
  • 1113b65f3e Merge branch 'simp/r2-state-c' into simp/r2-state Teknium 2026-09-02 17:34:33 -07:00
  • 37e0e1a76d refactor(kanban-cli): split the subcommand spec list so no function exceeds 300 LOC Teknium 2026-09-02 16:40:44 -07:00
  • f9f87d9876 refactor(kanban-cli): compact docstrings/comments in kanban.py keeping every rationale Teknium 2026-09-02 16:34:31 -07:00
  • 37b160d04e refactor(kanban-cli): extract dispatcher/maintenance verbs to kanban_ops; unify single-mutation ok/err reporting Teknium 2026-09-02 16:32:06 -07:00
  • c7f3578521 refactor(kanban-cli): extract boards cluster to kanban_boards; unify goal-gate, id/reason, run-state and config helpers across handlers Teknium 2026-09-02 16:29:40 -07:00
  • 62a1607fbf refactor(kanban-cli): extract data-driven argparse tree to kanban_parser and output helpers to kanban_output Teknium 2026-09-02 16:25:20 -07:00
  • 7dc43c94d1 refactor(turn): sub-split handle_api_error / check_api_response / run_tool_round so no new turn_* function exceeds 300 LOC Teknium 2026-09-02 17:28:22 -07:00
  • d52d8f988f Merge branch 'simp/r2-state-b' into simp/integration2 Teknium 2026-09-02 17:27:36 -07:00
  • 857cf925b3 Merge branch 'simp/r2-tools-a' into simp/integration2 Teknium 2026-09-02 17:27:36 -07:00
  • b1b171c0fe Merge branch 'simp/r2-gw-rest' into simp/integration2 Teknium 2026-09-02 17:27:35 -07:00
  • 464ee35248 refactor(kanban-db): compact docstrings/comments in the four split modules (AST-identical, every WHY kept) Teknium 2026-09-02 17:27:14 -07:00
  • 8dca2031d3 Merge branch 'simp/r2-cli-rest-setup' into simp/integration2 Teknium 2026-09-02 17:27:09 -07:00
  • e93960b47c Merge branch 'simp/r2-gw-rest-rooms' into simp/r2-gw-rest Teknium 2026-09-02 17:26:37 -07:00
  • 7d0f4ce3aa Merge branch 'simp/r2-state-b' into simp/integration2 Teknium 2026-09-02 17:26:25 -07:00
  • 70ef2d349f Merge branch 'simp/r2-tools-b-cua' into simp/r2-tools-b Teknium 2026-09-02 17:26:14 -07:00
  • bec99cea47 Merge branch 'simp/r2-tools-b-termhub' into simp/r2-tools-b Teknium 2026-09-02 17:26:14 -07:00
  • 5921275985 Merge branch 'simp/r2-tools-b-delegate' into simp/r2-tools-b Teknium 2026-09-02 17:26:14 -07:00
  • a85d0ef203 Merge branch 'simp/r2-tools-b-approval' into simp/r2-tools-b Teknium 2026-09-02 17:26:13 -07:00
  • d858b95945 Merge branch 'simp/r2a-mcp' into simp/r2-tools-a Teknium 2026-09-02 17:25:08 -07:00
  • 831f2e542c refactor(state): fold small get_messages/reaction/publish shapes; hug trailing closers (AST-identical) Teknium 2026-09-02 17:20:16 -07:00
  • 696662997b Revert "refactor(gateway/hosted_rooms): reflow multi-line SQL constants (whitespace-only, parity-verified)" Teknium 2026-09-02 17:18:13 -07:00
  • 921362cbfa Merge branches 'simp/r2-rooms-v1', 'simp/r2-rooms-v2' and 'simp/r2-rooms-v3' into simp/r2-gw-rest-rooms Teknium 2026-09-02 17:17:31 -07:00
  • ae04a3d62d Merge simp/r2-update-cmd-sub: update_cmd.py deep split + god-method lifts Teknium 2026-09-02 17:17:27 -07:00
  • 1c281abfd5 refactor(kanban-db): lift decompose children validation into _validate_children_graph Teknium 2026-09-02 17:17:21 -07:00
  • 1991695511 refactor(state): _cooldown_row shape helper; per-model usage kwargs via field set; small folds Teknium 2026-09-02 17:17:16 -07:00
  • 52a3543d3b refactor(kanban-db): compact hook/constant/TTL docstrings and comments in origin (AST-identical) Teknium 2026-09-02 17:16:23 -07:00
  • 75512a8a36 Merge simp/r2m-flows into simp/r2-models-runtime Teknium 2026-09-02 17:15:41 -07:00
  • 513e7fa910 Merge simp/r2m-switch into simp/r2-models-runtime Teknium 2026-09-02 17:15:41 -07:00
  • 6a26640907 refactor(kanban-db): compact path/board/run accessor docstrings in origin (AST-identical) Teknium 2026-09-02 17:15:02 -07:00
  • 6cfed45fde Merge branch 'simp/r2a-mcp-oauth' into simp/r2a-mcp Teknium 2026-09-02 17:14:56 -07:00
  • 3bfb199bde Merge branch 'simp/r2a-mcp-transport' into simp/r2a-mcp Teknium 2026-09-02 17:14:55 -07:00
  • 598065384d refactor(gateway/hosted_rooms): driver generation-transition spec table + run-fence transition helper; replicas ingest_page row-state/store extraction Teknium 2026-09-02 17:14:41 -07:00
  • 6a7e7aaa03 refactor(gateway/hosted_rooms): structural dedupe — _reload, _read_one, _non_negative, _remote_run_schema_current; split _append_authority_claim/_disband_replay; table-driven _migrate_legacy_columns; fold _event_storage_bytes/_assert_event_capacity into _prepare_event Teknium 2026-09-02 17:14:28 -07:00
  • 86a548935e refactor(gateway/hosted_rooms): extract checkpoint _settled_message, table-drive discussion event/actor checks, partial-ize peer _exact_fields (structural only, parity-neutral) Teknium 2026-09-02 17:12:48 -07:00
  • d77f3ad79b refactor(state): single INSERT shape in _clone_message_rows; fold small closures/conditions Teknium 2026-09-02 17:12:13 -07:00
  • 440200a7e4 Merge branch 'simp/r2-cua-tool2' into simp/r2-tools-b-cua Teknium 2026-09-02 17:12:01 -07:00
  • 0b60cceb0d refactor(computer_use): wrap wide lines, fold approval verdict branches and drag arg parsing (898->897 LOC) Teknium 2026-09-02 17:10:39 -07:00
  • 741886e576 refactor(computer_use): dict-literal action payload/escalation, single capture call in follow-up, drop unused noop state (912->898 LOC) Teknium 2026-09-02 17:09:06 -07:00
  • 74b87bd426 refactor(approval): _yolo_active helper for the 4 yolo bypass sites; inline _APPROVED Teknium 2026-09-02 17:08:40 -07:00
  • 493c3841ed refactor(mcp): handlers — fold utility on_failure into an inline lambda, single guard in reconnectable lookup (602 -> 598) Teknium 2026-09-02 17:07:42 -07:00
  • 013c528ef8 refactor(tool_executor): inline memory_manager_executor into resolve_invoke_tool_executor Teknium 2026-09-02 16:51:42 -07:00
  • c6136d946f refactor(tool_executor): split execute_tool_calls_concurrent into _ConcurrentBatch + shared result helpers Teknium 2026-09-02 16:51:42 -07:00
  • 0c27101562 refactor(turn): split finalize_turn into phase helpers (576 -> 264 LOC) Teknium 2026-09-02 16:46:33 -07:00
  • a0b0ae9ce3 refactor(turn): split recover_from_overflow into per-error handlers on a _Recovery state (501-LOC function -> max 76) Teknium 2026-09-02 15:29:36 -07:00
  • caa29fb43a Merge branch 'simp/r2-tools-a' into simp/integration2 Teknium 2026-09-02 17:07:24 -07:00
  • 5a8ffa5179 refactor(mcp): health — recycle reason via next(), change-list comprehension in _refresh_tools, docstrings compacted by hand (380 -> 316) Teknium 2026-09-02 17:07:08 -07:00
  • 388fe39f55 refactor(state): compact messages docstrings (WHY kept); append_message builds msg from its own kwargs Teknium 2026-09-02 17:06:57 -07:00
  • 6360d3d9c4 Merge branch 'simp/r2-gw-rest' into simp/integration2 Teknium 2026-09-02 17:06:54 -07:00
  • 770ad1f28d refactor(computer_use): single staged try in aux-vision routing, lambda summaries, tighter docstrings (929->912 LOC) Teknium 2026-09-02 17:06:42 -07:00
  • acd1bc7766 chore(delegate): drop accidentally committed MagicMock test debris Teknium 2026-09-02 17:06:22 -07:00