Commit Graph

28227 Commits

Author SHA1 Message Date
Teknium 1bc8337bd0 refactor(agent/background_review,anthropic_*): inline request-phase finisher, walrus pin/prefill folds, drop intra-function padding 2026-09-02 20:27:46 -07:00
Teknium 03bf62ae39 refactor(agent/anthropic_adapter,message_convert): fold stream/create kwarg filtering, tool-result content resolution, replay helpers; drop blank-line padding inside builders 2026-09-02 20:17:22 -07:00
Teknium 45e070d23e refactor(agent/background_review): prompt-scope dispatch table, _tool_messages iterator, fold metadata/usage builders, compact docstrings 2026-09-02 20:11:43 -07:00
Teknium 5dc9c223e1 refactor(agent/anthropic_adapter,message_convert): compact tables and docstrings, _assistant_block_lists iterator, _carry_cache_control copy mode, collapse predicate ladders 2026-09-02 20:01:36 -07:00
Teknium 429b7895e6 refactor(agent/background_review): factor shared do-not-capture prompt tail into _DO_NOT_CAPTURE_BLOCK (assembled bytes verified identical), compact fork attribute setup 2026-09-02 19:45:48 -07:00
Teknium 09eb9c01eb refactor(agent/background_review): repack review prompt literals at sentence/paragraph boundaries (bytes verified identical) 2026-09-02 19:35:20 -07:00
Teknium bfd8f12c13 refactor(agent/anthropic_*,background_review): tool_choice table, shared block helpers (_split_blank_text_blocks, _carry_cache_control, _block_ids), predicate collapse in endpoints, suppress() for swallow-all guards 2026-09-02 19:26:25 -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 776220640f refactor(agent/anthropic_adapter): _auth_style classifier replaces header ladder, extract _stream_final_message, trim re-export block to externally used names 2026-09-02 19:03:53 -07:00
Teknium 5eb0f4f7d1 refactor(agent/anthropic_message_convert): share _strip_thinking, extract latest-turn thinking filter, compact docstrings; endpoints docstrings 2026-09-02 19:03:50 -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 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
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 7dc43c94d1 refactor(turn): sub-split handle_api_error / check_api_response / run_tool_round so no new turn_* function exceeds 300 LOC 2026-09-02 17:28:22 -07:00
Teknium d52d8f988f Merge branch 'simp/r2-state-b' into simp/integration2 2026-09-02 17:27:36 -07:00
Teknium 857cf925b3 Merge branch 'simp/r2-tools-a' into simp/integration2 2026-09-02 17:27:36 -07:00
Teknium b1b171c0fe Merge branch 'simp/r2-gw-rest' into simp/integration2 2026-09-02 17:27:35 -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 e93960b47c Merge branch 'simp/r2-gw-rest-rooms' into simp/r2-gw-rest 2026-09-02 17:26:37 -07:00
Teknium 7d0f4ce3aa Merge branch 'simp/r2-state-b' into simp/integration2
# Conflicts:
#	hermes_state_messages.py
2026-09-02 17:26:25 -07:00
Teknium d858b95945 Merge branch 'simp/r2a-mcp' into simp/r2-tools-a 2026-09-02 17:25:08 -07:00
Teknium 831f2e542c refactor(state): fold small get_messages/reaction/publish shapes; hug trailing closers (AST-identical) 2026-09-02 17:20:16 -07:00
Teknium 696662997b Revert "refactor(gateway/hosted_rooms): reflow multi-line SQL constants (whitespace-only, parity-verified)"
This reverts commit fa827f596e.
2026-09-02 17:18:13 -07:00
Teknium 921362cbfa Merge branches 'simp/r2-rooms-v1', 'simp/r2-rooms-v2' and 'simp/r2-rooms-v3' into simp/r2-gw-rest-rooms 2026-09-02 17:17:31 -07:00
Teknium ae04a3d62d Merge simp/r2-update-cmd-sub: update_cmd.py deep split + god-method lifts 2026-09-02 17:17:27 -07:00
Teknium 1c281abfd5 refactor(kanban-db): lift decompose children validation into _validate_children_graph 2026-09-02 17:17:21 -07:00
Teknium 1991695511 refactor(state): _cooldown_row shape helper; per-model usage kwargs via field set; small folds 2026-09-02 17:17:16 -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 75512a8a36 Merge simp/r2m-flows into simp/r2-models-runtime 2026-09-02 17:15:41 -07:00
Teknium 513e7fa910 Merge simp/r2m-switch into simp/r2-models-runtime 2026-09-02 17:15:41 -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 6cfed45fde Merge branch 'simp/r2a-mcp-oauth' into simp/r2a-mcp 2026-09-02 17:14:56 -07:00
Teknium 3bfb199bde Merge branch 'simp/r2a-mcp-transport' into simp/r2a-mcp 2026-09-02 17:14:55 -07:00
Teknium 598065384d refactor(gateway/hosted_rooms): driver generation-transition spec table + run-fence transition helper; replicas ingest_page row-state/store extraction 2026-09-02 17:14:41 -07:00
Teknium 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 2026-09-02 17:14:28 -07:00
Teknium 86a548935e refactor(gateway/hosted_rooms): extract checkpoint _settled_message, table-drive discussion event/actor checks, partial-ize peer _exact_fields (structural only, parity-neutral) 2026-09-02 17:12:48 -07:00
Teknium d77f3ad79b refactor(state): single INSERT shape in _clone_message_rows; fold small closures/conditions 2026-09-02 17:12:13 -07:00
Teknium 493c3841ed refactor(mcp): handlers — fold utility on_failure into an inline lambda, single guard in reconnectable lookup (602 -> 598) 2026-09-02 17:07:42 -07:00