7 Commits

Author SHA1 Message Date
Teknium 8d5d5f9ca2 refactor(gateway): third pass on scale_to_zero/wake/status_phrases/runtime_footer/systemd_notify 2026-09-02 21:14:22 -07:00
Teknium 5c140be056 refactor(gateway): drop intra-function blank lines in g1-status files 2026-09-02 20:15:20 -07:00
Teknium 9e2cdc816b refactor(gateway): pack short call arguments (AST-identical) 2026-09-02 20:11:22 -07:00
Teknium 5025182f4e refactor(gateway): trim footer/phrases/scale-to-zero/wake/systemd helpers 2026-09-02 18:51:08 -07:00
Teknium 3c7069bdcb refactor(gateway): dead-code removal, helper unification, defensive-layer collapse and rationale-preserving comment compaction across 40 modules
authz_mixin, browser_control_broker, delivery, delivery_ledger, display_config, drain_control,
hosted_room_links/peer/policy_checkpoint, hosted_rooms, platform_registry, relay/__init__,
relay/ws_transport, run.py and slash_commands.py (comments), session_context, session_state,
streaming_tts_consumer, turn_lease and small modules.

- HostedRoomPolicyCheckpoint._apply_event -> per-kind handler table
- WebSocketRelayTransport._handle_frame -> frame-handler table
- GatewayAuthorizationMixin: unified adapter setting/flag/extra readers
- dead symbols removed (verified zero references): RoomLinkProbe/select_room_link,
  relay_bot_username, is_restart_loop_tripped, debug_rows, DeadTargetRegistry.all_dead,
  BrowserControlBroker.detach_owner/_prune_tickets, StreamingTTSConsumer.started/_enqueue_done/
  _iter_stream_chunks/_next_stream_chunk, RecoverableHandleCache.status_for, _auth_env,
  _copy_default_catalog, _parse_timestamp_prefix, _present_* helpers, _send_result_error_kind,
  _truthy_env, SessionFieldView/TurnLeaseTokenView dunder shims, and their orphaned tests.
- lost WHY/invariant text from the earlier compaction restored compactly (541 hunks audited)
2026-09-02 13:30:50 -07:00
devatnull fddc95f4c2 chore: limit generic status phrases to long-running notifications 2026-07-05 06:29:26 -07:00
devatnull 4bf5b563bd feat: add generic gateway status phrases 2026-07-05 06:29:26 -07:00