feat(discovery): extend platform discovery to cc-switch and the Hermes GUI launcher - #115
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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(orCC_SWITCH_HOME) configroot, 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.vbsunder$HERMES_HOME/launchersor%APPDATA%\hermes\launchers). When the CLI exists, the launcher shares itsrealpath so the identity resolver yields
ALIAS_DUPLICATE(two launchers,one install) instead of a false
DUAL_INSTALLATION..vbsbodies arenever parsed.
resolve_current_platform():probednow reportshermes_gui_launcherand
cc_switch_config_rootcoverage.Verification
test_workflow_governance89 passed / 5 skipped;
py_compileclean;CURRENT_STATE_FRESHNESS_PASS