Skip to content

feat(discovery): extend platform discovery to cc-switch and the Hermes GUI launcher - #115

Merged
DTALEX66 merged 4 commits into
mainfrom
feat/wl3-710-discovery-coverage
Aug 15, 2026
Merged

feat(discovery): extend platform discovery to cc-switch and the Hermes GUI launcher#115
DTALEX66 merged 4 commits into
mainfrom
feat/wl3-710-discovery-coverage

Conversation

@DTALEX66

Copy link
Copy Markdown
Owner

Summary

WL3-710 — widen the real platform probe so identity classification sees more
than the PATH-only codex/hermes pair (research subagent gap: "detection
surface far thinner than the classification surface").

Changes

  • discover_cc_switch(): probes ~/.cc-switch (or CC_SWITCH_HOME) config
    root, PATH executable, active process; source config-root / missing
    (read-only; never touches routing/auth files).
  • discover_hermes(): adds a managed desktop-launcher observation
    (Hermes_Desktop.vbs under $HERMES_HOME/launchers or
    %APPDATA%\hermes\launchers). When the CLI exists, the launcher shares its
    realpath so the identity resolver yields ALIAS_DUPLICATE (two launchers,
    one install) instead of a false DUAL_INSTALLATION. .vbs bodies are
    never parsed.
  • resolve_current_platform(): probed now reports hermes_gui_launcher
    and cc_switch_config_root coverage.

Verification

  • 11 passed (6 new discovery tests + 5 identity tests); test_workflow_governance
    89 passed / 5 skipped; py_compile clean; CURRENT_STATE_FRESHNESS_PASS

…s GUI launcher

- discover_cc_switch(): config root (~/.cc-switch / CC_SWITCH_HOME), PATH
  executable, active process, source config-root|missing
- discover_hermes(): add the managed desktop launcher (Hermes_Desktop.vbs)
  observation; when the CLI exists the launcher shares its realpath so the
  identity layer resolves ALIAS_DUPLICATE (two launchers, one install) and
  never a false DUAL_INSTALLATION; .vbs bodies are never parsed
- resolve_current_platform(): probed map now reports hermes_gui_launcher
  and cc_switch_config_root coverage
- tests: 6 new tests for cc-switch discovery, GUI launcher observation,
  alias-duplicate resolution, and probe coverage
@DTALEX66
DTALEX66 merged commit c01e408 into main Aug 15, 2026
14 checks passed
@DTALEX66
DTALEX66 deleted the feat/wl3-710-discovery-coverage branch August 15, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant