fix(hermes): point hermes-agent fork install at Gitea (post-suspension)
All checks were successful
CI / Shell unit tests (push) Successful in 1m33s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 16s
CI / Shell unit tests (pull_request) Successful in 1m45s
CI / validate (pull_request) Successful in 8m58s
CI / validate (push) Successful in 9m11s

The github.com personal account HongmingWang-Rabbit was suspended on
2026-05-06 along with the Molecule-AI org, so the previous Dockerfile
URL is 404. Image rebuilds have been broken since.

Migrates the install source to the new Gitea-canonical home:
  https://git.moleculesai.app/molecule-ai/hermes-agent

Both branches (main, feat/platform-adapter-plugins) and 9 release tags
were pushed from the local clone preserving full history. The
HERMES_FORK_REF default (feat/platform-adapter-plugins) is unchanged
and resolves to the same SHA (18e4849e) as before.

Aligns with feedback_per_agent_gitea_identity_default and
reference_post_suspension_pipeline. Tracked in molecule-ai/internal#72.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
devops-engineer 2026-05-07 16:56:52 -07:00
parent 33a885efab
commit 330da12b5e

View File

@ -71,13 +71,16 @@ ENV PATH="/home/agent/.local/bin:${PATH}"
# Until upstream PR #18775 merges, the fork is the only place the patch
# exists. Once merged + released, the fork install can be dropped and the
# plugin will load against the official wheel unchanged.
#
# moved to git.moleculesai.app/molecule-ai/hermes-agent (post-suspension migration; see internal#72)
# Previously: github.com/HongmingWang-Rabbit/hermes-agent (account suspended 2026-05-06).
ARG HERMES_FORK_REF=feat/platform-adapter-plugins
ARG HERMES_PLATFORM_MOLECULE_A2A_REF=main
# The hermes installer uses uv to create the venv and doesn't seed pip
# into it. Bootstrap pip first via ensurepip, then install both wheels.
RUN /home/agent/.hermes/hermes-agent/venv/bin/python3 -m ensurepip --upgrade && \
/home/agent/.hermes/hermes-agent/venv/bin/python3 -m pip install --no-cache-dir --force-reinstall \
"git+https://github.com/HongmingWang-Rabbit/hermes-agent.git@${HERMES_FORK_REF}#egg=hermes-agent" && \
"git+https://git.moleculesai.app/molecule-ai/hermes-agent.git@${HERMES_FORK_REF}#egg=hermes-agent" && \
/home/agent/.hermes/hermes-agent/venv/bin/python3 -m pip install --no-cache-dir \
"git+https://git.moleculesai.app/molecule-ai/hermes-platform-molecule-a2a.git@${HERMES_PLATFORM_MOLECULE_A2A_REF}#egg=hermes-platform-molecule-a2a"