Skip to content

Wrap Claude and Codex setup adapters#75

Merged
cafitac merged 1 commit into
mainfrom
refactor/claude-codex-adapter-wrappers
May 1, 2026
Merged

Wrap Claude and Codex setup adapters#75
cafitac merged 1 commit into
mainfrom
refactor/claude-codex-adapter-wrappers

Conversation

@cafitac

@cafitac cafitac commented May 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • add thin Claude Code and Codex setup/health adapter wrappers on the existing orchestrator-neutral DTO layer
  • keep task submission/event/reply/cancel lifecycle methods explicitly unsupported so existing MCP/channel runtime paths remain unchanged
  • document PR-04 status and update the adapter architecture roadmap/changelog

Status mapping

  • Claude print-only -> AdapterInstallStatus.PRINTED; fix -> REGISTERED / UNCHANGED / FAILED; health -> PASS / WARN / FAIL from existing MCP registration inspection
  • Codex print-only -> AdapterInstallStatus.SKIPPED; fix delegates to codex-channels, marketplace, MCP registration, and legacy hook cleanup helpers, then maps to REGISTERED / UNCHANGED / FAILED; health -> runtime version PASS or missing-runtime WARN

Runtime 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 -> pass
  • git diff --check -> pass

@cafitac cafitac merged commit 79edc01 into main May 1, 2026
3 checks passed
@cafitac cafitac deleted the refactor/claude-codex-adapter-wrappers branch May 1, 2026 12:48
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