Skip to content

docs: sync documentation with 2026-04-13 merges (PRs #1-#8) - #9

Merged
HongmingWang-Rabbit merged 2 commits into
mainfrom
docs/sync-2026-04-13
Apr 14, 2026
Merged

docs: sync documentation with 2026-04-13 merges (PRs #1-#8)#9
HongmingWang-Rabbit merged 2 commits into
mainfrom
docs/sync-2026-04-13

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

Sync all project documentation with the quality + infra pass that landed today as PRs #1#8 (all merged to main). No code changes — this PR only updates docs.

  • CLAUDE.md: refreshed test counts (Go 536, canvas 357, SDK 121, MCP 97, workspace 1084); documented the MCP per-domain refactor (`index.ts` 1697 → 89 lines, 87 tools, new `src/api.ts`); added a handler-decomposition section for the four split functions (`proxyA2ARequest`, `Delegate`, `Discover`, `SessionSearch`); Phase 30.1 / 30.6 auth callout near the registry docs; new CI jobs (`e2e-api`, `shellcheck`).
  • PLAN.md: Phase 31 Quality + Infra Pass marked shipped with a bulleted list mirroring PR scope; test totals updated (2,295 total).
  • README.zh-CN.md: license badge MIT → BSL 1.1, matching English.
  • docs/api-protocol/platform-api.md: registry table gains an Auth column with Phase 30.1 bearer-token / Phase 30.6 X-Workspace-ID requirements spelled out (these tripped up the E2E tests because nothing documented them).
  • docs/development/local-development.md: stale test counts fixed; new CI jobs listed; pointer to `testing-e2e.md`.
  • docs/development/testing-e2e.md (new): per-script reference, auth prerequisites, local-run commands, CI coverage, adding-a-new-check checklist.
  • docs/edit-history/2026-04-13.md: comprehensive top-of-file summary spanning PRs chore: rebrand icons + LICENSE cleanup + HANDOFF.md #1fix(e2e): make provisioning-status assertions robust to CI #8; existing per-feature entries preserved below.

Test plan

  • Skim CLAUDE.md for accuracy — especially the handler-decomposition and MCP-refactor sections.
  • Verify PLAN.md Phase 31 bullets match the eight shipped PRs.
  • Check registry auth table in platform-api.md against `platform/internal/handlers/registry.go` and `discovery.go`.
  • Read testing-e2e.md end-to-end — is anything load-bearing missing for a new contributor?
  • Confirm README.zh-CN.md license block reads naturally in Chinese.

🤖 Generated with Claude Code

Hongming Wang and others added 2 commits April 13, 2026 17:46
Covers today's quality + infra pass: brand/structural cleanup, MCP
per-domain refactor (1697 -> 89 lines, 87 tools), canvas ConfirmDialog
unification, 4 platform handler decompositions (+47 Go tests), E2E
hardening for Phase 30.1/30.6 auth, and two new CI jobs (e2e-api +
shellcheck).

- CLAUDE.md: updated test counts (Go 536, canvas 357, SDK 121, MCP 97,
  workspace 1084); documented MCP per-domain split + new api.ts; added
  handler-decomposition section; Phase 30.1/30.6 auth callout; new
  CI jobs; env vars cross-ref.
- PLAN.md: Phase 31 "Quality + Infra Pass" marked shipped; test totals
  refreshed to 2,295.
- README.zh-CN.md: license badge MIT -> BSL 1.1; added BSL license block.
- docs/api-protocol/platform-api.md: registry table gains Auth column
  documenting Phase 30.1 bearer-token and Phase 30.6 X-Workspace-ID
  requirements on heartbeat/update-card/discover/peers.
- docs/development/local-development.md: updated stale test counts;
  added e2e-api + shellcheck CI jobs; pointer to new testing-e2e.md.
- docs/development/testing-e2e.md: new — per-script reference, auth
  prerequisites, local run, CI coverage, adding-a-new-check checklist.
- docs/edit-history/2026-04-13.md: top-of-file summary section added
  spanning PRs #1-#8; preserves existing per-feature entries below.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Subagent used old CLAUDE.md baselines instead of measuring actuals.
Verified counts via pytest --collect-only and go test -v:

- Go platform: 536 → 695 (+159 off)
- Python workspace-template: 1084 → 1140 (+56 off)
- SDK python: 121 → 132 (+11 off)
- Canvas vitest: 357 (already correct)
- MCP jest: 97 (already correct)

Files updated:
- CLAUDE.md (Unit Tests block)
- PLAN.md (Test Coverage table + totals: 2,295 → 2,421)
- docs/development/local-development.md
- docs/edit-history/2026-04-13.md (session test-count table +
  explanatory note about why the Python and SDK counts didn't
  change today)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit 26992d6 into main Apr 14, 2026
6 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the docs/sync-2026-04-13 branch April 14, 2026 00:52
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
Subagent used old CLAUDE.md baselines instead of measuring actuals.
Verified counts via pytest --collect-only and go test -v:

- Go platform: 536 → 695 (+159 off)
- Python workspace-template: 1084 → 1140 (+56 off)
- SDK python: 121 → 132 (+11 off)
- Canvas vitest: 357 (already correct)
- MCP jest: 97 (already correct)

Files updated:
- CLAUDE.md (Unit Tests block)
- PLAN.md (Test Coverage table + totals: 2,295 → 2,421)
- docs/development/local-development.md
- docs/edit-history/2026-04-13.md (session test-count table +
  explanatory note about why the Python and SDK counts didn't
  change today)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
docs: sync documentation with 2026-04-13 merges (PRs #1-#8)
HongmingWang-Rabbit pushed a commit that referenced this pull request Apr 27, 2026
…on gemini-cli image rebuild)

DRAFT — do NOT merge until gemini-cli template image rebuilds with
its local cli_executor.py copy (template PR #9 just merged at
07:59 UTC; image build kicks off now).

Final adapter-specific deletion from molecule-runtime, completing #87
for the priority adapters (claude-code via PR #2156, plus gemini-cli
via this PR + template #9).

Deletes:
  - workspace/cli_executor.py (461 LOC) — CLIAgentExecutor + the
    RUNTIME_PRESETS dict for codex / ollama / gemini-cli. The file
    moved to molecule-ai-workspace-template-gemini-cli (PR #9, merged).
  - workspace/tests/test_agent_base_urls.py — only consumer of
    CLIAgentExecutor in the test suite. Tests for the executor
    behavior live in the template repo now.

Updates:
  - workspace/tests/test_executor_helpers.py — docstring refresh:
    executor_helpers.py is the runtime-agnostic shared helpers; the
    executor classes themselves live in template repos post-#87.

Codex / ollama presets disappear naturally with the file. They never
had template repos, so no production path could invoke them anyway —
this is dead-code removal as a side effect of the move.

Verified-safe-to-delete:
  - heartbeat.py: doesn't import cli_executor
  - claude_sdk_executor.py: deleted by PR #2156 (in flight)
  - preflight.py: only references runtime names by string; no import
  - main.py: doesn't import cli_executor (uses adapter discovery via
    ADAPTER_MODULE; the template's adapter constructs the executor)
  - Only test_agent_base_urls.py + test_executor_helpers.py docstring
    referenced cli_executor

Verification:
  - 1249/1249 workspace pytest pass (was 1251; -2 = test_agent_base_urls.py
    cases — exact match)
  - No live import of cli_executor anywhere in molecule-core after deletion
    (grep verified)

Sequencing:
  1. ✅ Template PR #9 (gemini-cli local copy) — MERGED
  2. ⏳ Template image rebuild — running
  3. THIS PR — wait until image is published, then mark ready-for-review

Closes #87 for the priority adapters: workspace/ is now adapter-
agnostic except for adapter discovery (ADAPTER_MODULE) + the
runtime_wedge primitive.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant