6 Commits

Author SHA1 Message Date
Teknium 187e35950d refactor(tui_gateway): predicate-collapse hosted proof, table-driven receipt status, compact attachment staging 2026-09-03 02:36:02 -07:00
Teknium 1fe670403e refactor(tui_gateway): inline single-use turn phases, merge truncation persist, WHY-only docstrings in prompt modules 2026-09-03 02:31:16 -07:00
Teknium cb0352d6db refactor(tui_gateway): AST-neutral layout compaction + docstring tightening for prompt modules 2026-09-02 23:21:59 -07:00
Teknium f80e2c77c1 refactor(tui_gateway): split prompt turn/submit god functions into phase helpers, unify side-agent + followup dispatch 2026-09-02 23:14:19 -07:00
Teknium 99433742dc refactor(tui): extract the prompt turn into prompt_turn.py; compact methods_*/session_*/agent_callbacks; split _start_agent_build into scope/wiring helpers
- server.py 7663 -> 5319: _run_prompt_submit and its goal/loop/voice/scope
  phases move to tui_gateway/prompt_turn.py (bound via method_ctx.bind_module);
  _start_agent_build split into _bind/_release_build_profile_scopes,
  _deferred_build_agent_kwargs, _wire_session_agent, _start_session_services;
  _load_enabled_toolsets split (_enabled_mcp_server_names, _resolve_explicit_toolsets).
- methods_slash: _LIVE_SLASH_OUTPUT dispatch table; methods_tools: _SLASH_BUILTINS,
  _guarded; tool_progress: _PROGRESS_HANDLERS; methods_config_set:
  _REASONING_DISPLAY_WORDS; methods_voice: _VOICE_TOGGLE_ACTIONS.
- Unified: _denied_source (methods_session) replaces _WORKER_SOURCES in
  methods_profiles; _compress_live_with_feedback / _compute_host_slash shared by
  the slash mirror and /compress; _end_voice_chat shared by stop-phrase paths;
  _watcher_mtime_ns; _reaper_session_is_detached_idle; _notif_* helpers.
- Dead: _profile_dir_or_err, _resume_info, _slash_builtin_table (refs.py: 0 hits).
- acp_adapter/server.py: docstring compaction only (AST-identical).
- Every file semantically reviewed hunk-by-hunk for wire/log/lock/order parity.
2026-09-02 14:09:13 -07:00
Teknium c9312b6eee refactor(tui): split notification poller and prompt attachment staging out of server.py 2026-09-02 14:09:10 -07:00