feat: support Hermes-managed Codex OAuth - #62
Open
Jorik-creator wants to merge 3 commits into
Open
Conversation
Jorik-creator
force-pushed
the
feat/hermes-codex-oauth
branch
3 times, most recently
from
July 26, 2026 01:16
6213604 to
652889e
Compare
Jorik-creator
force-pushed
the
feat/hermes-codex-oauth
branch
from
July 26, 2026 01:22
652889e to
a0f5ab9
Compare
Jorik-creator
marked this pull request as ready for review
July 26, 2026 01:24
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
hermes-openai-codexas a first-class SkillClaw upstream backed by Hermes-managed ChatGPT/Codex OAuthcodex_responsestransport through a named loopback Hermes provider (custom:skillclaw-codex)response.completed/response.incomplete/response.failedpayloads for non-streaming callers200originator, CodexUser-Agent,ChatGPT-Account-ID)$HERMES_HOMEfor skills, diagnostics, profile-isolated backups, and restoreskillclaw-codexSecurity model
Hermes remains the sole owner of ChatGPT/Codex OAuth credentials and refresh locking. SkillClaw receives only a transient access token in memory for the upstream request. OAuth access/refresh tokens are not written to
~/.skillclaw/config.yaml, Hermes config, error metadata, or logs.The Hermes-to-SkillClaw hop uses a separate local proxy key. OAuth startup requires a loopback host. Resolver-supplied OAuth endpoints are restricted to
https://chatgpt.com/backend-api/codexbefore an Authorization header is sent.Merge gate / verification
Repository Actions currently run lint only, so this PR should not merge unless the following focused command passes:
uv run --extra test pytest -q tests/test_hermes_codex.py tests/test_setup_wizard.py tests/test_responses_native.pyVerified on this branch:
tests/test_dashboard.py:1504, missingevolve_status["status"]) reproduces on cleanorigin/mainuvx ruff@0.12.2 check .uvx ruff@0.12.2 format --check .python -m compileall -q skillclaw testsSKILLCLAW_HARDENED_NONSTREAM_OKSKILLCLAW_HARDENED_STREAM_OKplus terminalresponse.completedskillclaw doctor hermes: status ok,proxy_match: true