Commit Graph

28235 Commits

Author SHA1 Message Date
Teknium a522df03ed refactor(acp): tools.py walrus-fold guard prologues, _more overflow trailer helper, inline single-use heading/polished-content helpers, drop redundant diff-flush guards 2026-09-02 19:45:18 -07:00
Teknium dde39d51cd refactor(acp): new/load/resume share _attach_session_mcp; replay guard folded into _session_response_fields 2026-09-02 19:32:09 -07:00
Teknium a26343bbcd refactor(acp): model_catalog entry field access via one local accessor; declared ids via dict.fromkeys 2026-09-02 19:27:29 -07:00
Teknium 756724c32c refactor(acp): model_catalog row loop guards merged; named-catalog description assembled in one list 2026-09-02 19:25:26 -07:00
Teknium 6411b856f9 refactor(acp): content._attr collapses repeated getattr/str/strip ladders 2026-09-02 19:23:18 -07:00
Teknium e98ac7408c refactor(acp): tools._first replaces chained .get() or .get() key ladders 2026-09-02 19:11:56 -07:00
Teknium 7544333906 refactor(acp): flatten /context threshold and auto-compaction branches 2026-09-02 19:10:38 -07:00
Teknium 07ae6d4b16 refactor(acp): AST-neutral bracket packing pass 2 (118 cols) + docstring closer folds 2026-09-02 19:06:54 -07:00
Teknium 4bba2400f5 refactor(acp): history replay as a pure generator (_history_replay_updates); sender loop shrinks to 3 lines 2026-09-02 19:01:24 -07:00
Teknium 624e4975a3 refactor(acp): flatten multi-line boolean guards in server turn paths 2026-09-02 18:56:05 -07:00
Teknium ec9bfbba68 refactor(acp): start-content builders return text/blocks, wrapped once in _build_tool_start 2026-09-02 18:53:02 -07:00
Teknium 8c07b50f99 refactor(acp): unify permission awaiting (permissions.await_permission) across approval + edit-approval bridges 2026-09-02 18:38:36 -07:00
Teknium ecbd2cc855 refactor(acp): extract commands.py (SlashCommandsMixin, /help../version handlers) out of server.py 2026-09-02 18:33:03 -07:00
Teknium 41e861bf71 refactor(acp): unify tool-arg coercion (coerce_tool_args) across events/server; inline history chunk factory; flatten cancel/reset/queue paths; entry flag dispatch 2026-09-02 18:29:26 -07:00
Teknium cbd2011900 refactor(acp): move picker assembly into model_catalog.build_model_state; server keeps only the fallback row 2026-09-02 18:25:53 -07:00
Teknium e75ae38ff5 refactor(acp): extract content.py (prompt blocks -> OpenAI content) and model_catalog.py (picker rows) out of server.py 2026-09-02 18:22:51 -07:00
Teknium 492967f86c refactor(acp): AST-neutral bracket packing/hugging across acp_adapter 2026-09-02 18:18:21 -07:00
Teknium 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 2026-09-02 18:13:29 -07:00
Teknium 425a9d10b6 refactor(acp): tools.py _structured formatter decorator; server.py ExitStack turn bindings, _take_interrupted_prompt, dedupe catalog/model-state locals 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
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