Commit Graph

7 Commits

Author SHA1 Message Date
Teknium d99a63b645 fix: yield subagent monitor to incoming CLI prompts 2026-09-08 03:06:30 -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 6bf802d6b5 refactor(hermes_cli): table-drive MCP diff/tool-progress labels, compact modal docstrings 2026-09-02 21:14:52 -07:00
Teknium 9662be030c refactor(hermes_cli): fold overlay-drain try/except repeats into one local helper 2026-09-02 20:44:45 -07:00
Teknium 0a99ce8d5b refactor(hermes_cli): AST-neutral bracket packing in info/modal mixins and callbacks 2026-09-02 20:42:46 -07:00
Teknium 2bd2e75868 refactor(hermes_cli): unify modal queue polling + gated confirm, dedupe help/banner boilerplate in info mixin 2026-09-02 20:38:46 -07:00
Teknium eb74a00c71 refactor(cli): split HermesCLI into 10 cohesive mixins (cli.py 22,284 -> 9,150)
326 methods lifted by AST (bodies identical; ast.dump-verified) into
hermes_cli/cli_{tui,status_bar,voice,model_switch,session,stream,modal,
terminal,info,loops}_mixin.py. cli.py-internal symbols resolve via lazy
'from cli import ...' inside each method (no import cycle; patch('cli.X')
keeps working). The three 'global' writers (_skill_commands, _cli_wake_owner)
now write the cli module attribute explicitly so the origin's readers still
see them. Dropped imports left unused in cli.py; kept display_hermes_home /
build_welcome_banner as re-exports (mixins + tests resolve them via cli).
Repointed two AST change-detector tests to cli_tui_mixin.py; one test
fixture now keeps 'cli' in sys.modules across its patch.dict scope.
2026-09-02 15:42:24 -07:00