CLI startup performance via lazy loading
Cluster 74389 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #86763 on 15 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #86763. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address eager imports at CLI launch that add ~60ms overhead, with proposed fixes involving lazy re-exports of command modules and memoization of config/toolset lookups. The cluster is focused on reducing CLI startup time.
Open issues0
Open PRs0
Fixes on record
-
#86763 perf(cli): salvage startup/memoization cluster — lazy re-exports, config/root/toolset memos, TUI discovery skip
files:
contributors/emails/[redacted:email],hermes_cli/auth.py,hermes_cli/commands.py,hermes_cli/main.py,hermes_constants.py,run_agent.py,tests/hermes_cli/test_completer_config_reads.py,tests/hermes_cli/test_global_auth_store_memo.py,tests/hermes_cli/test_lazy_command_exports.py,tests/hermes_cli/test_tui_launcher_skips_plugin_discovery.py,tests/run_agent/test_file_mutation_verifier.py,tests/run_agent/test_turn_completion_explainer.py,tests/test_hermes_constants.py,tests/test_toolsets.py,toolsets.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#74390 perf(cli): re-export decomposed command modules lazily, ~60ms off every CLI start · merged via another change →
#86763
Closed issues · 1
- Closed#74389[Bug]: Every CLI launch eagerly imports the update/sessions/dashboard command modules (~60ms)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #86763
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 15 Aug 2026