Skip to content

MCP project script writes are ignored after settings folding #609

Open

Description

@lastobelus

On checkpoint 0.1.8-nightly.20261105.4218, registering a project through t3_project_create with an opted-in script returns that script in the project record, but list_project_actions in a child of the same project returns an empty list. The child correctly refuses to launch anything.

The observed settings have projectSettingsFolded: true, no projectSettingsOverrides[projectId].defaultProjectScripts, and an empty global defaultProjectScripts. resolveProjectScripts therefore ignores the newly stored project.scripts. The project and child have the same exact project ID and workspace, so this is not a wrong-project lookup.

A project-specific canonical Action override makes the Action available. Creating/updating scripts through MCP should update the effective configuration or clearly reject an ineffective write. It should not return apparent success while leaving no usable Action. Preserve other projects and the folded-settings rule.

Relevant owners: apps/server/src/project/ProjectService.ts create/update, apps/server/src/mcp/toolkits/project/handlers.ts, and packages/shared/src/projectScripts.ts. Extend the existing project mutation coverage with folded settings and verify the effective script result, rather than weakening the resolver.

Found during the isolated matching-client work for #482/#594. This is a configuration/API issue; no failed Action execution or lost continuation is established by it.

Activity

  1. lastobelus commented on Nov 17, 2026

    @lastobelus
    OwnerAuthor

    Reproduced on 0.1.10-nightly.20261116.4774 during a browser recovery eval. t3_project_update accepted and returned a new opted-in script, but list_project_actions continued returning only an existing project override. The settings were folded and the project had a canonical defaultProjectScripts override. This is the same ineffective-write problem with a nonempty override. The trial script was removed from the project record afterward; no Action was launched and no existing Action was changed.

    The smallest fix still belongs in the MCP project mutation path: update effective project script settings or reject the ineffective write, and return the effective result. The browser eval is proceeding with a bounded direct runner while this issue remains open.

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