kshitijk4poor
c5ff900761
fix: resolve the 33 F821 undefined names outside tui_gateway / feishu / godmode
...
Sweep of `ruff check . --select F821 --target-version py311`: 2,234 hits. 2,201 are left
alone on purpose: tui_gateway (2,169; bind_module rebinds bodies onto server.py globals,
all names verified to resolve there), the Feishu adapter (27; globals().update() SDK
binding) and the godmode script (5; dead standalone script). The other 33 were all
genuine defects. No lint config change; no TYPE_CHECKING escape hatches — every
annotation names a real, imported type; ty on the touched files: 0 new diagnostics.
- gateway/slash_commands.py: HISTORY_UNREADABLE never imported after #102117
→ NameError on the /btw error branch (same one-liner as #102952 ).
- gateway/platforms/whatsapp_common.py: `-> Path` return annotation with no Path
import (the body uses `_Path`). Never raised at runtime thanks to
`from __future__ import annotations`, but `typing.get_type_hints()` and ty
both fail on it.
- gateway/run.py: ActivityProvenance imported at module level
(agent.session_activity has no gateway deps); stringly annotation and the
lazy in-function import are gone.
- tools/patch_parser.py: PatchResult imported at module level; real return
annotation. The "avoid circular import" lazy import guarded a cycle that
does not exist (file_operations_common never imports patch_parser).
- gateway/platforms/helpers.py: base.py imports helpers at module level, so
MessageEvent cannot be named here; TextBatchAggregator only reads .text and
.source, so it is typed by a BatchableEvent Protocol that MessageEvent
satisfies structurally.
- tools/mcp_tool_sampling.py: mcp_tool imports this module, so MCPServerTask
cannot be named here; ElicitationHandler only reads
owner._pending_call_context, typed by an ElicitationOwner Protocol.
- plugins/platforms/sms/adapter.py: aiohttp is an optional dep ([messaging] extra) →
module-level try/except ImportError binding `aiohttp = web = None`, the pattern the
homeassistant / webhook / whatsapp_cloud adapters already use. Retires three lazy
in-function imports and the `_aiohttp_available()` wrapper; `_handle_webhook` typed
`web.Request -> web.Response`.
- plugins/platforms/teams/summary_writer.py: plain module-level `import httpx` — httpx is a
hard core dependency (pyproject `httpx[socks]==0.28.1`), so the lazy import and the
"imported on every CLI start" docstring premise were both wrong (plugin discovery never
imports this module; it is reached only via the Teams adapter / meeting pipeline).
Tests:
- tests/hermes_cli/test_config.py: a test body orphaned by the wave-1 prune
(6b81590c55 ) sat inside the class as dead code with self/tmp_path unbound
— header restored, so the v11→12 custom_providers migration is covered.
- tests/tools/test_mcp_tool.py: @staticmethod recursing on `self` in the
win32 branch; call portalocker directly.
- tests/test_background_review_list_shapes.py: main() still ran 3 pruned tests.
- tests/agent/test_cursor_optimizations_parity.py: bench() used names only
imported inside a sibling test.
- GatewayRunner / FeishuAdapter / Dict / Optional: missing imports.
2026-09-07 22:47:33 +05:30
..
2026-09-04 07:17:00 -07:00
2026-09-03 02:27:52 +05:30
2026-09-01 12:07:52 -07:00
2026-08-23 20:07:21 -07:00
2026-09-03 13:30:27 -07:00
2026-09-07 08:13:38 -07:00
2026-09-03 13:49:57 -07:00
2026-08-20 05:26:37 -05:00
2026-08-18 21:06:18 -05:00
2026-09-03 13:49:57 -07:00
2026-09-05 18:08:00 +05:30
2026-09-05 06:07:21 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-08-23 18:25:19 -07:00
2026-09-05 06:12:37 -07:00
2026-09-07 06:46:54 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:49:57 -07:00
2026-08-23 03:57:43 -07:00
2026-08-24 00:57:15 +05:30
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-09-06 13:08:31 -07:00
2026-09-07 08:15:32 -07:00
2026-08-24 03:21:37 -07:00
2026-09-06 13:08:31 -07:00
2026-08-24 03:21:37 -07:00
2026-08-24 03:21:37 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:25:33 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-08-24 20:11:18 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-08-26 19:25:33 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-06 23:31:05 +05:30
2026-09-03 14:18:25 -07:00
2026-08-29 18:35:12 -07:00
2026-09-06 23:31:05 +05:30
2026-09-03 14:25:33 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 14:18:25 -07:00
2026-09-04 08:30:32 -07:00
2026-09-03 14:18:25 -07:00
2026-08-19 16:31:16 -07:00
2026-08-23 18:27:15 -07:00
2026-09-02 14:44:15 -07:00
2026-09-07 06:00:46 -07:00
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-08-26 16:42:44 -07:00
2026-09-07 07:05:59 -07:00
2026-09-03 13:49:57 -07:00
2026-08-28 23:10:01 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-05 18:46:53 +05:30
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-07 08:25:33 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 17:45:53 -07:00
2026-08-25 02:31:34 -07:00
2026-09-03 13:22:51 -07:00
2026-09-03 13:22:51 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:24:04 -07:00
2026-09-03 01:33:18 +05:30
2026-09-03 13:49:57 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-02 00:52:58 -07:00
2026-09-03 14:00:59 -07:00
2026-08-28 06:36:22 -07:00
2026-09-01 22:28:52 -07:00
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-09-03 13:33:47 -07:00
2026-09-06 05:03:20 -07:00
2026-08-27 07:38:53 -07:00
2026-08-30 05:16:10 -07:00
2026-09-06 02:20:49 -07:00
2026-09-06 10:36:08 -07:00
2026-09-03 02:35:37 -07:00
2026-09-07 05:57:26 -07:00
2026-09-07 08:08:41 -07:00
2026-09-07 07:10:28 -07:00
2026-08-31 01:02:42 -07:00
2026-09-07 06:15:43 -07:00
2026-09-05 06:18:41 -07:00
2026-09-01 12:07:52 -07:00
2026-09-07 06:15:43 -07:00
2026-09-03 19:33:28 -07:00
2026-08-29 18:23:07 -07:00
2026-08-31 21:11:11 -05:00
2026-09-02 06:16:54 -07:00
2026-09-05 21:00:19 +05:30
2026-09-05 18:32:44 +05:30
2026-09-03 13:24:04 -07:00
2026-09-05 21:07:14 +05:30
2026-08-20 05:26:37 -05:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-07 07:10:28 -07:00
2026-09-07 06:12:24 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 13:10:52 -07:00
2026-09-05 19:06:57 +05:30
2026-09-03 02:27:52 +05:30
2026-09-03 13:30:27 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:30:27 -07:00
2026-09-05 20:49:29 +05:30
2026-09-07 06:02:41 -07:00
2026-09-07 06:02:41 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:30:27 -07:00
2026-09-05 18:03:05 +05:30
2026-09-03 13:30:27 -07:00
2026-09-07 00:20:11 +05:30
2026-09-03 13:30:27 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:49:57 -07:00
2026-09-07 07:10:28 -07:00
2026-09-03 13:53:03 -07:00
2026-08-28 03:58:52 -07:00
2026-09-03 13:10:38 -07:00
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-09-02 14:45:15 -07:00
2026-09-03 04:56:59 +05:30
2026-09-03 13:48:14 -07:00
2026-09-07 07:10:28 -07:00
2026-09-03 13:48:14 -07:00
2026-09-03 13:48:14 -07:00
2026-09-07 06:05:51 -07:00
2026-09-02 00:03:55 -07:00
2026-09-03 13:30:27 -07:00
2026-08-31 20:43:00 -05:00
2026-09-03 14:00:59 -07:00
2026-09-03 14:00:59 -07:00
2026-08-25 01:34:56 +05:30
2026-08-28 07:50:33 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 14:18:25 -07:00
2026-09-02 16:44:12 -07:00
2026-09-02 22:12:25 -07:00
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-18 20:03:18 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-16 23:26:10 -07:00
2026-09-03 13:29:55 -07:00
2026-09-07 08:22:35 -07:00
2026-09-03 13:29:55 -07:00
2026-09-05 17:00:18 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-07 07:04:52 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-28 20:16:26 -07:00
2026-08-16 23:26:10 -07:00
2026-08-28 20:16:26 -07:00
2026-09-02 14:45:42 -07:00
2026-08-18 21:57:53 -07:00
2026-09-07 08:22:35 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-26 08:40:07 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-17 03:03:35 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-02 14:44:15 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-08-16 23:26:10 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-07 22:47:33 +05:30
2026-09-03 13:29:55 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:30:27 -07:00
2026-09-06 14:53:13 +05:30
2026-08-26 02:54:35 +05:30
2026-09-05 19:01:22 +05:30
2026-09-03 13:24:04 -07:00
2026-09-07 08:25:33 -07:00
2026-08-28 23:10:01 -07:00
2026-09-03 02:05:42 +05:30
2026-09-03 13:30:27 -07:00
2026-08-28 12:59:41 -07:00
2026-08-22 11:15:44 -07:00
2026-09-03 13:22:48 -07:00
2026-09-03 13:17:25 -07:00
2026-09-01 02:32:53 -07:00
2026-08-22 02:25:12 -04:00
2026-09-06 14:57:33 +05:30
2026-08-28 09:23:00 -07:00
2026-09-02 14:43:45 -07:00
2026-08-28 08:46:11 -07:00
2026-08-16 22:08:28 -07:00
2026-09-03 13:30:27 -07:00
2026-08-28 23:10:01 -07:00
2026-09-06 23:11:12 +05:30
2026-09-01 10:56:49 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:10:52 -07:00
2026-08-19 22:41:13 -07:00
2026-08-26 04:51:41 -07:00
2026-09-07 06:12:24 -07:00
2026-09-07 08:14:51 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 13:10:52 -07:00
2026-09-03 04:56:59 +05:30
2026-09-03 03:18:44 +05:30
2026-09-07 00:28:46 +05:30
2026-09-07 00:28:46 +05:30
2026-08-27 07:33:36 -07:00
2026-09-03 13:38:36 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:46:50 -07:00
2026-08-29 17:58:51 -07:00
2026-08-25 04:00:27 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:22:48 -07:00
2026-09-01 07:32:45 -07:00
2026-08-27 07:09:26 -07:00
2026-08-18 12:52:53 -07:00
2026-09-03 13:27:01 -07:00
2026-09-04 08:15:22 -07:00
2026-08-29 19:38:31 +05:30
2026-08-28 12:15:18 -07:00
2026-09-03 13:27:01 -07:00
2026-08-29 19:14:15 -07:00
2026-08-17 17:04:40 -07:00
2026-08-28 03:24:43 -07:00
2026-08-28 03:46:21 -07:00
2026-09-03 13:22:48 -07:00
2026-09-07 07:05:59 -07:00
2026-09-07 05:59:43 -07:00
2026-09-03 13:27:01 -07:00
2026-09-06 07:17:03 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:27:01 -07:00
2026-08-30 20:04:40 +05:30
2026-09-03 13:49:57 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-02 13:30:10 -07:00
2026-09-06 13:32:51 +05:30
2026-08-21 14:56:28 +10:00
2026-09-06 05:36:26 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:24:04 -07:00
2026-08-17 19:41:32 +05:30
2026-09-03 22:00:01 -07:00
2026-08-31 10:42:39 -07:00
2026-09-03 13:24:04 -07:00
2026-09-05 21:00:19 +05:30
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-05 06:30:33 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 13:24:04 -07:00
2026-09-03 14:42:20 -07:00
2026-09-03 13:24:04 -07:00
2026-09-05 18:04:00 +05:30
2026-08-17 10:03:36 -07:00
2026-09-03 13:24:04 -07:00
2026-09-05 13:51:06 -07:00
2026-09-03 13:24:04 -07:00
2026-09-07 07:09:30 -07:00
2026-09-05 13:51:06 -07:00
2026-09-03 13:24:04 -07:00
2026-08-29 20:39:31 -07:00
2026-09-01 21:49:14 -07:00
2026-09-02 23:19:42 -07:00
2026-08-29 07:25:12 -07:00
2026-08-28 08:58:12 -07:00
2026-08-29 18:40:51 -07:00
refactor(tools): first-wave simplification of tools/ (file ops split, lazy_deps, code_exec, approval, browser, delegate, mcp, skills, terminal, voice, media)
2026-09-02 14:43:45 -07:00
2026-09-03 13:33:47 -07:00
2026-09-03 13:33:47 -07:00
2026-09-01 21:50:19 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:17:25 -07:00
2026-09-03 13:17:25 -07:00
2026-09-07 08:09:20 -07:00
2026-09-05 18:46:16 +05:30
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 00:51:58 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-02 06:48:31 -07:00
2026-09-02 14:45:15 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-02 14:45:15 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-09-03 13:20:22 -07:00
2026-08-16 22:08:05 -07:00
2026-08-16 22:08:28 -07:00
2026-08-28 05:10:33 -07:00
2026-08-28 05:10:33 -07:00
2026-08-28 05:10:33 -07:00
2026-09-03 00:57:40 -07:00
2026-08-23 13:27:04 +05:30
2026-09-03 13:07:34 -07:00
2026-09-03 13:30:31 -07:00
2026-08-23 03:54:52 -07:00
2026-09-03 09:35:38 -07:00
2026-09-03 13:30:31 -07:00
2026-09-03 13:30:31 -07:00
2026-09-03 13:24:36 -07:00
2026-09-03 13:30:27 -07:00
2026-09-03 13:08:53 -07:00
2026-09-01 10:56:49 -07:00
2026-09-03 13:08:53 -07:00
2026-08-31 00:56:41 -07:00
2026-08-31 00:56:41 -07:00
2026-08-31 00:56:41 -07:00
2026-08-31 00:56:41 -07:00
2026-09-03 14:18:25 -07:00
2026-09-03 13:08:53 -07:00
2026-09-03 13:04:17 -07:00
2026-09-04 07:17:00 -07:00
2026-09-03 13:08:53 -07:00
2026-09-03 13:08:53 -07:00
2026-09-03 13:22:48 -07:00
2026-09-02 14:44:15 -07:00
2026-09-03 17:28:02 -07:00
2026-08-20 20:20:23 -07:00
2026-09-03 13:10:52 -07:00
2026-09-05 02:01:04 -07:00
2026-09-03 19:33:28 -07:00
2026-09-03 13:49:57 -07:00
2026-09-07 04:38:59 -07:00