molecule-core/workspace-template/builtin_tools
molecule-ai[bot] c14f9f04d9
refactor(#741): extract medo.py from builtin_tools to plugins/molecule-medo
The Baidu MeDo hackathon integration was sitting in builtin_tools/ as dead
code — not imported by any loader but shipped with every workspace image,
misleadingly suggesting it was a core builtin.

Changes:
- Move builtin_tools/medo.py → plugins/molecule-medo/skills/medo-tools/scripts/medo.py
  (git detects this as a rename — no code changes, identical tool surface)
- Add plugins/molecule-medo/plugin.yaml (manifest: name, version, runtimes, tags)
- Add plugins/molecule-medo/skills/medo-tools/SKILL.md (frontmatter + setup docs)
- Move workspace-template/tests/test_medo.py → plugins/molecule-medo/tests/test_medo.py
  (update _MEDO_PATH to resolve from plugin root; add conftest.py for langchain mock)
- Update .gitignore: change /plugins/ blanket ignore to /plugins/* so this plugin
  can be tracked until it gets its own standalone repo

Acceptance criteria met:
- builtin_tools/medo.py removed from core
- plugins/molecule-medo/ created with identical tool surface (9/9 tests pass)
- cd workspace-template && pytest → 1021 passed, 2 xfailed (no regression)
- MEDO_API_KEY was never in default provisioning (.env.example / config.py clean)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 16:03:50 +00:00
..
__init__.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
a2a_tools.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
approval.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
audit.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
awareness_client.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
compliance.py fix(security): H3 github_pat_ redaction + M4 atomic token write (audit cycle 10) 2026-04-14 09:34:27 +00:00
delegation.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
governance.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
hitl.py fix(security): hitl task-id ownership + wire fail_open_if_no_scanner in loader (closes #265, #268) 2026-04-15 21:18:52 -07:00
memory.py fix(memory-tools): #215-class — auth_headers on commit_memory + search_memory HTTP fallback 2026-04-15 17:26:26 -07:00
sandbox.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
security_scan.py fix(security): hitl task-id ownership + wire fail_open_if_no_scanner in loader (closes #265, #268) 2026-04-15 21:18:52 -07:00
telemetry.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
temporal_workflow.py initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00