Commit Graph

6 Commits

Author SHA1 Message Date
Teknium 7e1d6f1ca6 refactor(gateway): run_inbound — compact helper docstrings 2026-09-02 19:04:10 -07:00
Teknium 68318b8776 refactor(gateway): run_inbound — AST-neutral bracket packing 2026-09-02 18:55:29 -07:00
Teknium cca4b89724 refactor(gateway): run_inbound — _handle_message phase helpers, shared STT echo, plugin-injection/vision/reply-context compaction 2026-09-02 18:50:20 -07:00
Teknium 8a323df49f refactor(gateway): run_inbound — unify attachment notes, STT prefix/failure notes, context-length resolver helper 2026-09-02 18:31:03 -07:00
Teknium 2f2a860676 refactor(gateway): run_inbound — split admit/estop/busy/canonical-command god methods into phase helpers, dict dispatch for canonical + slash-confirm 2026-09-02 18:27:35 -07:00
Teknium 66366d3dab refactor(gateway): split GatewayRunner into 13 run_* mixins + TurnRunner module (run.py 31332 -> 6957)
AST-driven, body-identical move of 359 GatewayRunner methods into cohesive
mixin modules (gateway/run_{voice,adapters,topics,turn,shutdown,busy,
config_loaders,startup,watchers,notifications,inbound,goals,agent_cache}.py)
plus TurnRunner -> gateway/run_turn_runner.py. run.py-internal symbols are
imported lazily inside method bodies so patch('gateway.run.X') keeps
intercepting; neutral deps are top-level; logger name stays 'gateway.run'.
_UNSET moved to leaf gateway/run_common.py (def-time default-arg sentinel).
Whole-module inspect.getsource(gateway_run) AST-walker tests repointed to
the module that now holds the walked code.
2026-09-02 16:11:50 -07:00