molecule-ai-workspace-runtime/molecule_runtime/builtin_tools
Molecule AI Infra-Runtime-BE d21f8c2064
Some checks failed
ci / mirror-guard (pull_request) Failing after 5s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 7s
fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules
Unified the fallback default for PLATFORM_URL from `http://platform:8080`
(Docker Compose service name) to `http://host.docker.internal:8080`
across all 13 modules that declare it. This matches:
- The provisioner's default (buildContainerEnv injects PLATFORM_URL
  from cfg.PlatformURL, which defaults to host.docker.internal on the
  platform side — main.go:platformURL)
- The molecule-git-token-helper.sh script (already uses host.docker.internal)
- The MCP client (MOLECULE_URL injected by provisioner)

The provisioner always sets PLATFORM_URL in production containers, so
this is a development/Docker-only improvement: without this change,
a workspace started outside the Docker Compose network (e.g. via
`docker run` with `--network host`) would fail platform API calls
with "Connection refused" because `platform:8080` resolves nowhere.

13 modules updated: a2a_cli, a2a_client, a2a_mcp_server, adapters/base,
builtin_tools/a2a_tools, builtin_tools/approval, builtin_tools/delegation,
builtin_tools/hitl, builtin_tools/memory, consolidation, coordinator,
main, molecule_ai_status. All docstrings updated to match.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 03:34:24 +00:00
..
__init__.py feat: initial release of molecule-ai-workspace-runtime 0.1.0 2026-04-16 04:26:06 -07:00
a2a_tools.py fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules 2026-05-11 03:34:24 +00:00
approval.py fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules 2026-05-11 03:34:24 +00:00
audit.py fix(builtin_tools/audit): fail-secure RBAC — read-only default when config unavailable 2026-04-20 22:47:38 +00:00
awareness_client.py feat(builtin_tools/memory): add optional namespace param to commit_memory and search_memory 2026-04-20 23:12:32 +00:00
compliance.py feat: initial release of molecule-ai-workspace-runtime 0.1.0 2026-04-16 04:26:06 -07:00
delegation.py fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules 2026-05-11 03:34:24 +00:00
governance.py feat: initial release of molecule-ai-workspace-runtime 0.1.0 2026-04-16 04:26:06 -07:00
hitl.py fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules 2026-05-11 03:34:24 +00:00
medo.py feat: initial release of molecule-ai-workspace-runtime 0.1.0 2026-04-16 04:26:06 -07:00
memory.py fix(runtime): align PLATFORM_URL default to host.docker.internal across all modules 2026-05-11 03:34:24 +00:00
sandbox.py fix(cli_executor + sandbox): CWE-78 auth helper + subprocess warning 2026-04-20 23:05:57 +00:00
security_scan.py fix: add auth headers to skill promotion logs and improve pip-audit severity parsing 2026-04-20 05:03:22 +00:00
telemetry.py feat: initial release of molecule-ai-workspace-runtime 0.1.0 2026-04-16 04:26:06 -07:00
temporal_workflow.py fix: switch top-level from adapters import to absolute imports (#1) 2026-04-16 07:53:03 -07:00
validation.py test+fix(builtin_tools/validation): add test coverage + fix ".." bypass in regex 2026-04-21 00:55:08 +00:00