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 |
|
Teknium
|
013c528ef8
|
refactor(tool_executor): inline memory_manager_executor into resolve_invoke_tool_executor
Single-caller factory replaced by the equivalent closure; comment compaction only
otherwise.
|
2026-09-02 17:07:36 -07:00 |
|
Teknium
|
c6136d946f
|
refactor(tool_executor): split execute_tool_calls_concurrent into _ConcurrentBatch + shared result helpers
Behavior-neutral extraction of the 686-LOC concurrent executor and the 429-LOC
sequential executor into focused helpers:
- _ConcurrentBatch (run_worker / submit_all / await_completion / run) and
_StartOrderGate replace the nested closures + nonlocal counters; _ToolOutcome
replaces the 7-tuple result slots; _ParsedCall/_parse_tool_call replaces the
6-tuple parsed-call rows in both executors (-> 2 sites).
- _append_skipped_tool_results unifies the four cancelled/skipped-result loops
(concurrent pre-flight, sequential pre-tool interrupt, sequential
KeyboardInterrupt, sequential post-tool interrupt) -> 4 sites; absorbs
_append_cancelled_tool_results.
- _observe_tool_result / _commit_tool_result / _finalize_tool_batch /
_print_tool_completed / _tool_progress_enabled unify the post-execution
guardrail-observe -> append+flush -> tool.completed -> budget -> /steer tail
shared by the concurrent, sequential and segmented paths (-> 2-3 sites each).
- _unfinished_tool_result, _blocked_tool_result, _abandoned_sequential_result
collapse the duplicated synthesize-result + terminal post_tool_call blocks.
- _registered_tool_worker / _interrupt_worker_tids unify worker tid tracking and
interrupt fan-out between the two middleware runners (-> 2 / 3 sites).
- _run_with_activity_heartbeat extracts the heartbeat thread wrapper.
- _resolve_sequential_dispatch + _SequentialDispatch turn the 5-branch
inline/delegate/context-engine/memory/registry if/elif into a resolver with
per-branch spinner/error/KeyboardInterrupt policy, preserving branch order.
- _cancelled_tool_result and _managed_values inlined (single caller each).
Public signatures (execute_tool_calls_concurrent/sequential/segmented, both
middleware runners, every symbol imported by run_agent.py/agent/tests) are
unchanged; middleware/hook/persistence/progress-callback order is identical.
|
2026-09-02 17:07:35 -07:00 |
|
Teknium
|
0c27101562
|
refactor(turn): split finalize_turn into phase helpers (576 -> 264 LOC)
|
2026-09-02 17:07:35 -07:00 |
|
Teknium
|
a0b0ae9ce3
|
refactor(turn): split recover_from_overflow into per-error handlers on a _Recovery state (501-LOC function -> max 76)
|
2026-09-02 17:07:35 -07:00 |
|
Teknium
|
caa29fb43a
|
Merge branch 'simp/r2-tools-a' into simp/integration2
# Conflicts:
# tests/test_managed_runtime_resolution.py
|
2026-09-02 17:07:24 -07:00 |
|
Teknium
|
5a8ffa5179
|
refactor(mcp): health — recycle reason via next(), change-list comprehension in _refresh_tools, docstrings compacted by hand (380 -> 316)
|
2026-09-02 17:07:08 -07:00 |
|
Teknium
|
388fe39f55
|
refactor(state): compact messages docstrings (WHY kept); append_message builds msg from its own kwargs
|
2026-09-02 17:06:57 -07:00 |
|
Teknium
|
6360d3d9c4
|
Merge branch 'simp/r2-gw-rest' into simp/integration2
# Conflicts:
# tests/gateway/test_48031_model_switch_after_auto_reset.py
|
2026-09-02 17:06:54 -07:00 |
|
Teknium
|
607a5b711e
|
refactor(mcp): errors — one _jsonrpc_matches for both code/marker classifiers, one _exc_children walk for connect-error rendering, docstrings compacted by hand (455 -> 384; differential fuzz 20k cases identical)
|
2026-09-02 17:05:28 -07:00 |
|
Teknium
|
885c476b65
|
Merge branch 'simp/r2-cli-rest-sessions' into simp/integration2
|
2026-09-02 17:05:28 -07:00 |
|
Teknium
|
e51bfa0672
|
Merge branch 'simp/r2-cli-rest-commands' into simp/integration2
|
2026-09-02 17:05:27 -07:00 |
|
Teknium
|
38e0bbbc43
|
Merge branch 'simp/r2-tools-b-delegate' into simp/integration2
|
2026-09-02 17:05:27 -07:00 |
|
Teknium
|
2647a1da03
|
Merge branch 'simp/r2-tools-b-approval' into simp/integration2
|
2026-09-02 17:05:26 -07:00 |
|
Teknium
|
70f42ed4f3
|
Merge branch 'simp/r2-cli-rest-plugins' into simp/integration2
|
2026-09-02 17:05:26 -07:00 |
|
Teknium
|
8f2d511228
|
Merge branch 'simp/r2-tools-b-termhub' into simp/integration2
|
2026-09-02 17:05:25 -07:00 |
|
Teknium
|
97fe0e35d8
|
Merge branch 'simp/r2-config-defaults' into simp/integration2
|
2026-09-02 17:05:25 -07:00 |
|
Teknium
|
74bc9e9d6e
|
Merge branch 'simp/r2a-mcp-transport' into simp/integration2
|
2026-09-02 17:05:24 -07:00 |
|
Teknium
|
5e7ff3d8fc
|
Merge branch 'simp/r2-update-cmd-sub' into simp/integration2
|
2026-09-02 17:05:23 -07:00 |
|
Teknium
|
4b9d0f43c8
|
Merge branch 'simp/r2-models-runtime' into simp/integration2
|
2026-09-02 17:05:23 -07:00 |
|
Teknium
|
6e1089a23c
|
refactor(mcp): compact mcp_oauth_manager docstrings/comments by hand; flatten single-use call sites
|
2026-09-02 17:05:22 -07:00 |
|
Teknium
|
02fb8fb5bf
|
Merge branch 'simp/r2-gw-rest-stream' into simp/integration2
|
2026-09-02 17:05:22 -07:00 |
|
Teknium
|
d48a0e604f
|
Merge branch 'simp/r2-gw-rest-config' into simp/integration2
|
2026-09-02 17:05:22 -07:00 |
|
Teknium
|
a3b6d91302
|
Merge branch 'simp/r2-update-doctor' into simp/integration2
|
2026-09-02 17:05:20 -07:00 |
|
Teknium
|
c92f5a3685
|
Merge branch 'simp/r2-gw-rest-sess' into simp/integration2
|
2026-09-02 17:05:19 -07:00 |
|
Teknium
|
74b4d698fc
|
Merge branch 'simp/r2-config-tools' into simp/integration2
|
2026-09-02 17:05:18 -07:00 |
|
Teknium
|
1b29d9fe81
|
Merge branch 'simp/r2-tools-b-cua' into simp/integration2
|
2026-09-02 17:05:18 -07:00 |
|
Teknium
|
fec2922d60
|
Merge branch 'simp/r2a-mcp-oauth' into simp/integration2
|
2026-09-02 17:05:17 -07:00 |
|
Teknium
|
42ed0b4d5c
|
Merge branch 'simp/r2-kanban-cli' into simp/integration2
|
2026-09-02 17:05:17 -07:00 |
|
Teknium
|
d6f56549c0
|
Merge branch 'simp/r2-webserver' into simp/integration2
|
2026-09-02 17:05:16 -07:00 |
|
Teknium
|
75e19f3836
|
Merge branch 'simp/r2-cua-tool2' into simp/integration2
|
2026-09-02 17:05:15 -07:00 |
|
Teknium
|
f1a3a75a03
|
Merge branch 'simp/r2m-runtime' into simp/integration2
|
2026-09-02 17:05:15 -07:00 |
|
Teknium
|
33928b0a80
|
Merge branch 'simp/r2-rooms-v1' into simp/integration2
|
2026-09-02 17:05:13 -07:00 |
|
Teknium
|
656f1c1c13
|
Merge branch 'simp/r2-loop-tex' into simp/integration2
|
2026-09-02 17:05:13 -07:00 |
|
Teknium
|
eb807c026f
|
Merge branch 'simp/r2-loop-fin' into simp/integration2
|
2026-09-02 17:05:12 -07:00 |
|