Skip to content

fix(agents): registration enables a browser MCP that fails to initialize without a browser session #121

Closed

Description

@ElbertePlinio

Found in the 0.4.0-beta.1 soak (published-beta1/soak/REPORT.md, D2) and confirmed in the harness pass (Claude Code's generated browser bridge failed the same way, as it did in alpha.2).

pickforge-lab agents install claude-code|codex|pi --json reports registered:true and writes a pickforge-lab browser devtools-mcp server entry. On a fresh install that command exits 1 at MCP initialize with error: No live browser session for this project; create one with: pickforge-lab session create --type browser. Every newly configured harness starts with one failed server before any browser use was requested. Reproduced in all 15 generated configs.

  • Decide: opt-in registration flag, lazy startup that idles until a session exists, or an explicit prerequisite warning at registration time.
  • Cover the fresh-install path in tests.

Refs #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions