Commit Graph

27840 Commits

Author SHA1 Message Date
Teknium bcb9c63fc1 refactor(approval): AST-identical re-layout of leaf modules to 118 cols 2026-09-02 23:11:37 -07:00
Teknium f35aab4921 refactor(approval): _Unattended mode getter by name, inline hint(); packed re-export blocks 2026-09-02 23:09:19 -07:00
Teknium 8eddb14f35 refactor(approval): single-line section banners 2026-09-02 23:01:44 -07:00
Teknium 146323d2a1 refactor(approval): reflow comment blocks to 118 cols (word-identical, AST-identical) 2026-09-02 22:56:13 -07:00
Teknium 89a68c1238 refactor(approval): one _set_session_yolo, set-union is_approved, two-branch _persist_choice; PEP8 blank lines in detection 2026-09-02 22:50:22 -07:00
Teknium 7ed74c6874 Merge branch 'simp/r2-tools-b-approval2-gate' into simp/r2-tools-b-approval2 2026-09-02 22:21:44 -07:00
Teknium f264615126 Merge branch 'simp/r2-tools-b-approval2-det' into simp/r2-tools-b-approval2 2026-09-02 22:21:43 -07:00
Teknium 8b146bc8bd refactor(approval): hand-compacted docstrings/comments, gathered option tables, packed scanner core 2026-09-02 22:16:45 -07:00
Teknium b001c4ab07 refactor(approval): share activity_heartbeat across gateway/transport waits, fold prompt inner wrapper, compact readers and block-result literals (1310->1274) 2026-09-02 22:14:55 -07:00
Teknium 4a37db2269 refactor(approval): compact leaf docstrings/comments by hand, keep every invariant (1375->1310) 2026-09-02 21:51:25 -07:00
Teknium be68090b39 refactor(approval): AST-identical re-layout to 118 cols; docstrings/comments compacted by hand (every rule/why kept) 2026-09-02 21:34:17 -07:00
Teknium 16056b5d51 refactor(approval): densify leaf call sites and signatures, drop single-pass prompt loop (1462->1375) 2026-09-02 21:27:32 -07:00
Teknium d6d443972c refactor(approval): one alias-building loop, packed frozen option/regex tables, compact variant generator 2026-09-02 21:22:23 -07:00
Teknium ecb383b0d1 refactor(approval): table-driven unattended deny messages in _run_approval_gate; compact result builders, _unattended_deny, tirith helpers 2026-09-02 21:21:10 -07:00
Teknium d60e01dcb3 refactor(approval): unify gateway post-hook/decision shape, compact human-wait eviction (222+158->194+152) 2026-09-02 21:12:22 -07:00
Teknium 2163c031c0 refactor(approval): smart step folded into _human_decision; inline single-caller _gateway_refusal/_prompt_cli_with_hooks; lazy pending body 2026-09-02 21:09:42 -07:00
Teknium aad348ce5e refactor(approval): share hardline RECOVERY prefix, fold allowlist scanner branches, inline smart observer hooks (249+211->228+164) 2026-09-02 21:06:19 -07:00
Teknium 328ea5d0e6 refactor(approval): compact detection helpers, inline single-use wrappers, one _splice rebuild helper 2026-09-02 21:04:46 -07:00
Teknium db5fef39cd refactor(approval): table-drive CLI prompt menu, unify transport attempt/consent helpers (428->374) 2026-09-02 21:01:26 -07:00
Teknium 9a9a4fa490 refactor(approval): compact approval_context predicates and config readers (394->343) 2026-09-02 20:55:32 -07:00
Teknium b2adc05d78 refactor(approval): one pending-result builder driven by _GateSpec; _presence() shared by the three gates; drop unreferenced re-exports 2026-09-02 20:51:40 -07:00
Teknium 02d2d52efe refactor(approval): one _scan_shell primitive behind all quote-aware detection scanners 2026-09-02 20:45:20 -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