Teknium
7a33369e81
simplify(compat): interrupt — drop _ThreadAwareEventProxy/_interrupt_event legacy alias, repoint 2 test files
...
No runtime consumer read the proxy (terminal_tool/environments call is_interrupted()/set_interrupt()
directly); its only users were tests patching tools.interrupt._interrupt_event, which had no effect on
the code under test. tools/terminal_tool.py's own re-export of the name is owned by another worker.
2026-09-03 14:00:59 -07:00
Teknium
c93ace77c2
simplify(compat): config/runtime_provider/plugins/commands/secrets_cli/kanban — drop 96 re-exports (incl. PEP 562 facades) + 3 aliases (get_pre_tool_call_directive/_block_message, get_telegram_handler_factories), repoint 56 callers + 50 test files
2026-09-03 14:00:17 -07:00
Teknium
e83816a4d1
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
...
For each issue anchor present in BASE 63279301bc non-test .py and absent on HEAD, the BASE comment/docstring block was re-attached at the HEAD location of the code it explained (matched by the distinctive code line / enclosing def). Sentences already covered by an existing HEAD comment were deduped; the issue number always survives. Insert-only: no code lines changed.
2026-09-03 09:44:26 -07:00
Teknium
dc85c79f98
refactor(hermes_cli): commands_completion — _completion() factory (7 sites), @_quiet on tools completer, score table; completion — inline single-use locals
2026-09-03 00:06:54 -07:00
Teknium
e1a22b7845
refactor(hermes_cli): group C — pack short keyword-argument lists
2026-09-02 22:52:11 -07:00
Teknium
3ab50d7ddb
refactor(hermes_cli): commands_completion — drop unreferenced staticmethod re-exports
2026-09-02 22:43:12 -07:00
Teknium
711bec9219
refactor(hermes_cli): commands_completion — _quiet generator decorator; completion — single profile-action source
2026-09-02 22:39:57 -07:00
Teknium
381d88f433
refactor(hermes_cli): group C — drop blank lines after function-local imports
2026-09-02 21:36:19 -07:00
Teknium
41ab6c5e10
refactor(hermes_cli): commands_completion — flatten argument routing, inline single-use helpers, compact docstrings
2026-09-02 20:52:08 -07:00
Teknium
8eeb79aade
refactor(cli/commands): extract completer + platform derivations into commands_completion/commands_platforms with lazy re-exports
...
- hermes_cli/commands.py keeps CommandDef, COMMAND_REGISTRY, derived lookups, gateway helpers;
all moved names resolve via PEP 562 __getattr__ so imports and patch targets keep working
- completer: per-command _<x>_completions -> module functions sharing _prefix_completions /
_split_args; static refs table; SlashCommandAutoSuggest shares _allowed/_history_suggestion
- platforms: telegram/discord/slack derivations, _nested_mapping + _dedupe_sanitized_names
folded into _telegram_command_menu_config / _sanitized_rank
- COMMAND_REGISTRY + telegram/discord/slack derivations + completer output byte-identical vs base
2026-09-02 15:35:08 -07:00