Skip to content

fix(harbor): register local browser MCP and assess upstream compatibility - #360

Open
reacher-z wants to merge 1 commit into
mainfrom
codex/harbor-local-mcp
Open

reacher-z wants to merge 1 commit into
mainfrom
codex/harbor-local-mcp

Conversation

@reacher-z

Copy link
Copy Markdown
Collaborator

What does this PR do?

Default local-browser tasks advertised a CDP URL but did not register browser MCP tools; Kernel tasks already did. Register the same pinned Playwright MCP server against the existing recorded browser for both modes, so Harbor agents that consume task MCP configuration (including stock Claude Code and Codex) receive browser tools by default.

The full V2 loader test now covers local and Kernel modes and checks that Harbor preserves the MCP command and CDP target. Record installed/documented versions without skipping a successful version report on newer Harbor releases.

Includes a source-linked compatibility assessment in docs/harbor-compatibility-2026-09-13.md: runtime support versus upstream acceptance, current PR ownership, provider cleanup defects, and the oracle/parity decision still required for live websites. The documentation retains the Harbor 0.22.0 run baseline and identifies 0.23.0 coverage specifically as loader validation. Includes the required changelog entry.

Corpus

  • v2
  • v1
  • both
  • not applicable

Test plan

  • uv run --frozen pytest -q — 283 passed, 3 skipped.
  • uv run --with harbor==0.22.0 pytest tests/test_harbor_version_compatibility.py -q — 3 passed; full V2 corpus, local + Kernel.
  • uv run --with harbor==0.23.0 pytest tests/test_harbor_version_compatibility.py -q — 3 passed; same coverage.
  • Ruff check and format check on changed Python files; uv run --frozen pyright — no errors.
  • Markdown link check — all 161 repo-relative links resolve; git diff --check.

Docker is not installed on this host, so no browser/provider end-to-end or model/parity experiment is claimed. Agents that do not consume task MCP configuration still need their own CDP integration. This does not claim browser-policy enforcement or official Harbor dataset registration.

Related issues

Fixes #357. Related to #331; follow-up findings tracked in #358 and #359.

Independent of #353 (schema/staging/judge status) and #346 (readiness); neither PR is folded into this change. Respects the decisions to defer mandatory CI (#350) and image publication (#331).

@Perry2004 please review the local-browser MCP default, the loader coverage, and the compatibility assessment's remaining acceptance criteria.

This branch has not been deployed

No deployments
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.

Harbor: register browser MCP tools for the default local runtime

1 participant