Wrap Claude and Codex setup adapters#75
Merged
Merged
Conversation
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
Status mapping
AdapterInstallStatus.PRINTED; fix ->REGISTERED/UNCHANGED/FAILED; health ->PASS/WARN/FAILfrom existing MCP registration inspectionAdapterInstallStatus.SKIPPED; fix delegates to codex-channels, marketplace, MCP registration, and legacy hook cleanup helpers, then maps toREGISTERED/UNCHANGED/FAILED; health -> runtime versionPASSor missing-runtimeWARNRuntime scope
Wrapper-only. This does not rewire CLI dispatch, MCP server runtime, Claude channel notifications, codex-channels runtime delivery, or task lifecycle handling.
Validation
.venv/bin/python -m pytest tests/test_claude_orchestrator_adapter.py tests/test_codex_orchestrator_adapter.py -q->9 passed in 0.13s.venv/bin/python -m pytest tests/test_claude_orchestrator_adapter.py tests/test_codex_orchestrator_adapter.py tests/test_hermes_orchestrator_adapter.py tests/test_orchestrator_contracts.py tests/test_codex_channels_adapter.py tests/test_codex_channels_mcp_wiring.py tests/test_mcp_server.py -q->43 passed in 0.83s.venv/bin/python -m pytest tests/ -q->1080 passed in 32.85s.venv/bin/python -m py_compile hermit_agent/orchestrators/claude.py hermit_agent/orchestrators/codex.py hermit_agent/orchestrators/__init__.py tests/test_claude_orchestrator_adapter.py tests/test_codex_orchestrator_adapter.py-> passgit diff --check-> pass