Commit Graph

27821 Commits

Author SHA1 Message Date
Teknium
db87f06c80 refactor(terminal): compact terminal_tool_sudo docstrings/comments (WHY/invariants kept) 2026-09-02 20:26:02 -07:00
Teknium
5ef79fa8af refactor(terminal): regex shell tokenizer, compact scanner/prompt/nopasswd probe (fuzz-proven identical) 2026-09-02 20:18:22 -07:00
Teknium
87f3a068b2 refactor(terminal): unify sudo/compound-background rewriters on one _scan_shell scanner (fuzz-proven identical) 2026-09-02 20:13:29 -07:00
Teknium
a651429cf4 Merge branch 'simp/r2-tools-b-delegate2' into simp/r2-tools-b 2026-09-02 19:33:01 -07:00
Teknium
0315f8ec7f refactor(delegate): routing-filter defaults inline in child runtime kwargs 2026-09-02 19:30:17 -07:00
Teknium
defca3639a refactor(delegate): reflow comments/docstrings to 118 cols (word-identical, AST-identical) 2026-09-02 19:25:04 -07:00
Teknium
657628f64d refactor(delegate): child_run — worktree setup via _quiet, packed registry record, diag header table 2026-09-02 19:21:01 -07:00
Teknium
24ef289225 refactor(delegate): schema properties via _p() table (byte-identical schema) 2026-09-02 19:18:35 -07:00
Teknium
1283ccd855 refactor(delegate): docstring compaction by hand (every rule/why kept) 2026-09-02 19:16:07 -07:00
Teknium
aa31f83995 refactor(delegate): origin — packed AIAgent kwargs, override table in _build_children, tighter preamble 2026-09-02 19:11:48 -07:00
Teknium
eabec2ff50 refactor(delegate): AST-identical re-layout pass 2 2026-09-02 19:04:50 -07:00
Teknium
660235a228 refactor(delegate): child_run diagnostic sections via one helper; tighter heartbeat/result-entry bodies 2026-09-02 19:02:55 -07:00
Teknium
61f32ec330 refactor(delegate): drop unreferenced re-exports from origin (refs.py-verified) 2026-09-02 18:59:41 -07:00
Teknium
089d1aa296 refactor(delegate): dispatch — _Batch.run_child, one future-entry resolver, inline transcript finalize 2026-09-02 18:52:58 -07:00
Teknium
940681711e refactor(delegate): progress relay — tighter identity/relay/normalize paths 2026-09-02 18:41:25 -07:00
Teknium
5a3cbf51aa refactor(delegate): compact task validation + toolset resolution (inline MCP preservation, single strip) 2026-09-02 18:35:40 -07:00
Teknium
4ccd766254 refactor(delegate): config knobs share _knob/_warn_once 2026-09-02 18:31:01 -07:00
Teknium
fe9c26ee5d refactor(delegate): _ChildRun dataclass replaces _WorktreeReporter/_ChildWorkspace/_ChildFailure plumbing 2026-09-02 18:27:59 -07:00
Teknium
ce19685282 refactor(delegate): merge single-caller _handle_child_wait_failure into _await_child; _diag_section helper 2026-09-02 18:22:16 -07:00
Teknium
c484f0b513 refactor(delegate): registry — inline recent-stub retention, extract _list_payload, compact docstrings 2026-09-02 18:18:34 -07:00
Teknium
52fdc02dfe refactor(delegate): results module — one input-summary builder, tighter output-tail/trim helpers 2026-09-02 18:10:42 -07:00
Teknium
d1e533729a refactor(delegate): credential bundle factory; one try/except for both pool branches 2026-09-02 18:07:41 -07:00
Teknium
378692be4f refactor(delegate): fold _construct_child_agent/_announce_child_spawn into _build_child_agent; _quiet best-effort sites 2026-09-02 18:04:43 -07:00
Teknium
b18228f377 refactor(delegate): AST-identical re-layout (pack signatures/call args, join split literals) 2026-09-02 17:59:28 -07:00
Teknium
901ba7db6f refactor(delegate): child_run best-effort blocks via _quiet; shared failure-entry tail 2026-09-02 17:54:08 -07:00
Teknium
64957b7e02 refactor(delegate): _Batch dataclass owns batch execution/dispatch; _quiet best-effort contextmanager 2026-09-02 17:50:16 -07:00
Teknium
d77505c007 refactor(delegate): extract toolset resolution + task validation modules, move runtime resolution to config 2026-09-02 17:44:45 -07:00
Teknium
70ef2d349f Merge branch 'simp/r2-tools-b-cua' into simp/r2-tools-b 2026-09-02 17:26:14 -07:00
Teknium
bec99cea47 Merge branch 'simp/r2-tools-b-termhub' into simp/r2-tools-b 2026-09-02 17:26:14 -07:00
Teknium
5921275985 Merge branch 'simp/r2-tools-b-delegate' into simp/r2-tools-b 2026-09-02 17:26:14 -07:00
Teknium
a85d0ef203 Merge branch 'simp/r2-tools-b-approval' into simp/r2-tools-b 2026-09-02 17:26:13 -07:00
Teknium
440200a7e4 Merge branch 'simp/r2-cua-tool2' into simp/r2-tools-b-cua 2026-09-02 17:12:01 -07:00
Teknium
0b60cceb0d refactor(computer_use): wrap wide lines, fold approval verdict branches and drag arg parsing (898->897 LOC) 2026-09-02 17:10:39 -07:00
Teknium
741886e576 refactor(computer_use): dict-literal action payload/escalation, single capture call in follow-up, drop unused noop state (912->898 LOC) 2026-09-02 17:09:06 -07:00
Teknium
74b87bd426 refactor(approval): _yolo_active helper for the 4 yolo bypass sites; inline _APPROVED 2026-09-02 17:08:40 -07:00
Teknium
770ad1f28d refactor(computer_use): single staged try in aux-vision routing, lambda summaries, tighter docstrings (929->912 LOC) 2026-09-02 17:06:42 -07:00
Teknium
acd1bc7766 chore(delegate): drop accidentally committed MagicMock test debris 2026-09-02 17:06:22 -07:00
Teknium
3da2ff88e3 refactor(delegate): pack re-import block; single blank line between top-level defs (AST-identical) 2026-09-02 17:03:55 -07:00
Teknium
0223eeca66 refactor(computer_use): walrus-fold guard checks, wrap wide lines (931->929 LOC) 2026-09-02 17:03:36 -07:00
Teknium
987bc82574 refactor(delegate): compact docstrings/comments by hand (every WHY kept); collapse orchestrator toolset branches 2026-09-02 17:03:05 -07:00
Teknium
21372a16b2 refactor(computer_use): compact response helpers, NoopBackend recorder, docstrings/comments (976->931 LOC) 2026-09-02 17:00:40 -07:00
Teknium
016f31375d refactor(delegate): join wrapped logical lines that fit in 120 cols (AST-identical) 2026-09-02 16:59:26 -07:00
Teknium
e204008f10 refactor(delegate): _knob() unifies config>env>default int/float knobs; timeout diagnostic sections -> _diag_sizes/_diag_threads + attr table; drop dead _handle_child_wait_failure re-import 2026-09-02 16:57:22 -07:00
Teknium
8c86804dc4 refactor(approval_detection): compact option tables; drop stale section banner in approval.py 2026-09-02 16:54:57 -07:00
Teknium
884c697291 refactor(delegate): split _finalize_child_results (memory/hooks/cost rollup), lift _create_isolated_worktree and _report_child_done, collapse dead worktree-attach import fallback 2026-09-02 16:54:15 -07:00
Teknium
015639a6d7 refactor(computer_use): compact capture mixin (name helper, flat signatures/log calls) 2026-09-02 16:53:14 -07:00
Teknium
18fa584366 refactor(computer_use): _CaptureView shares capture-derived facts across response branches; _detach_locked, _bounds_hints, _best_effort_write dedupe (997->976 LOC) 2026-09-02 16:52:47 -07:00
Teknium
338da30a45 refactor(delegate): _resolve_child_runtime returns AIAgent kwargs (drop _ChildRuntime; routing-filter table); dispatch reuses _detach_child/_signal_child_stop; control actions -> _CONTROL_OUTCOMES table; attribution lookup dedupe 2026-09-02 16:50:57 -07:00
Teknium
6f38d64b7a refactor(approval): module docstring for the split, blank-line hygiene 2026-09-02 16:50:44 -07:00
Teknium
d43ad31c4d refactor(approval): table-drive interpreter families, fold home-prefix rewriters, compact re-export blocks, drop dead _SHELL_PUNCTUATION 2026-09-02 16:49:10 -07:00