refactor(acp): move acp_adapter/ → hermes_agent/acp/#14606
Conversation
|
@BugBot review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 420c4d0. Configure here.
PR #14606:
|
| File | Count | Nature |
|---|---|---|
AGENTS.md |
1 | Directory listing ├── acp_adapter/ |
website/docs/developer-guide/acp-internals.md |
15 | File paths, import paths, module references |
website/docs/developer-guide/architecture.md |
2 | Architecture diagram + directory listing |
website/docs/reference/cli-commands.md |
1 | python -m acp_adapter usage |
website/docs/user-guide/features/acp.md |
2 | python -m acp_adapter references |
Non-blocking (no runtime impact), but docs will be stale. Could be addressed in this PR or as an immediate follow-up.
Verdict
Clean, well-structured refactor. Code changes are mechanically correct — no bugs, no orphaned references, no backward compat issues. Cross-package imports (hermes_cli, tools, agent) correctly untouched. Safe to merge pending the docs update decision.
|
@kshitijk4poor updated docs |
Summary
acp_adapter/(9 files) intohermes_agent/acp/, creating thehermes_agent/top-level packagepatch()targets,monkeypatch.setattrstrings, and docstrings fromacp_adapter.*→hermes_agent.acp.*sys.pathhack fromentry.py(redundant with editable install)pyproject.tomlentry point andpackages.findThis is the canary PR for the restructure (#14182) — smallest possible move (1 external prod caller) to prove the workflow.
Commit strategy: Commit 1 is a pure
git mv(100% similarity for blame). Commit 2 is all import rewrites + infra.Closes #14586
Test plan
rg "acp_adapter" --type pyreturns 0 resultsrg "from \." hermes_agent/acp/ --type pyreturns 0 (no relative imports)pytest tests/acp/ -v)from hermes_agent.acp.server import HermesACPAgentresolveshermes-acpconsole script entry point resolveshermes_constants,hermes_cli,agent,tools,run_agent) preserved untouched