Skip to content

Allow editing projects while Studio Pro stays open (SQLite write-lock blocks develop→verify cycle) #620

@ako

Description

@ako

Problem

Studio Pro must be closed before mxcli can modify a project, which makes the develop-then-verify cycle cumbersome: every change requires close SP → run mxcli → reopen SP to verify.

Why this happens

For MPR v1 (single SQLite file) two writers are guaranteed to conflict; even for v2 (mprcontents/) both processes must update the shared SQLite _units table. mxcli already mitigates lock contention on its own side (sdk/mpr/reader.go:95-100: SetMaxOpenConns(1) + PRAGMA busy_timeout=5000), but it cannot coexist with a Studio Pro write lock. See docs/11-proposals/PROPOSAL_concurrent_access.md.

Request

Allow model edits while Studio Pro stays open — or expose mxcli / Claude from Studio Pro's chat interface.

Status / path forward

This is the motivation for the MCP backend (docs/11-proposals/PROPOSAL_mcp_backend.md, Phase 0 complete, Phases 1–3 pending): route writes through Studio Pro's MCP server (http://localhost:7782/mcp, 11.11+) so SP itself serializes the BSON and stays open. This issue tracks the user-facing requirement; the proposal tracks the implementation.


Source: customer feedback batch (2026-06). Reporter: Miwa. Reporter severity: 5/5.
Filed after codebase investigation at 297e0b0a.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions