fix(examples): correct stale import path in remote-agent/run.py #22

Closed
sdk-dev wants to merge 1 commits from fix/examples-remote-agent-stale-import-path into main
Member

Summary

Fix the local-dev import path in examples/remote-agent/run.py. The old
path sdk/python/ no longer exists in the standalone molecule-sdk-python
repo. The fix adds the repo root to sys.path, which correctly resolves
molecule_agent when running the script from a checkout.

Also updates the Usage section (correct relative path) and the "What it
doesn't do" docstring to reflect that Phase 30.8b (inbound A2A) is
now shipped.

Test plan

  • Import verification (python3 -c "from molecule_agent import RemoteAgentClient") passes
  • pytest tests: 308 passed, 1 skipped

🤖 Generated with Claude Code

## Summary Fix the local-dev import path in `examples/remote-agent/run.py`. The old path `sdk/python/` no longer exists in the standalone `molecule-sdk-python` repo. The fix adds the repo root to `sys.path`, which correctly resolves `molecule_agent` when running the script from a checkout. Also updates the Usage section (correct relative path) and the "What it doesn't do" docstring to reflect that Phase 30.8b (inbound A2A) is now shipped. ## Test plan - [x] Import verification (`python3 -c "from molecule_agent import RemoteAgentClient"`) passes - [x] pytest tests: 308 passed, 1 skipped 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sdk-dev added 1 commit 2026-05-16 20:36:47 +00:00
fix(examples): correct stale import path in remote-agent/run.py
[Do] Merge queue: CI checks green, merge queue ready
sop-checklist / all-items-acked SOP checklist acknowledged
Test / test (3.12) (pull_request) Successful in 1m30s
Test / test (3.11) (pull_request) Successful in 1m45s
Test / test (3.13) (pull_request) Successful in 1m33s
d6c2b701b6
The old path `sdk/python/` no longer exists in the standalone
molecule-sdk-python repo. Update the local-dev import path to add
the repo root to sys.path, which correctly resolves molecule_agent
when running the script from a repo checkout.

Also update the Usage section to use the correct relative path
(`examples/remote-agent/run.py` instead of `python3 run.py`)
and update the "What it doesn't do" docstring to reflect that
Phase 30.8b (inbound A2A) is now shipped.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sdk-dev added the merge-queue label 2026-05-16 20:36:56 +00:00
sdk-dev closed this pull request 2026-05-16 20:47:24 +00:00
All checks were successful
[Do] Merge queue: CI checks green, merge queue ready
sop-checklist / all-items-acked SOP checklist acknowledged
Test / test (3.12) (pull_request) Successful in 1m30s
Required
Details
Test / test (3.11) (pull_request) Successful in 1m45s
Required
Details
Test / test (3.13) (pull_request) Successful in 1m33s
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-sdk-python#22