{
  "commit": "003250d015547b0dfac2e11bb64fb138e5fde827",
  "environment": "Real Linux T3 Code server; loopback HTTP MCP; fresh isolated database; synthetic existing unregistered workspaces; identical driver on both commits",
  "calls": [
    {
      "tool": "t3_project_create",
      "arguments": {
        "title": "Repro Bad",
        "workspaceRoot": "<isolated-data>/workspaces/repro-bad",
        "scripts": [
          {
            "id": "bad.id",
            "name": "Lint",
            "command": "echo lint",
            "icon": "configure",
            "runOnWorktreeCreate": false
          }
        ]
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 3,
        "result": {
          "_meta": {
            "website.effect/toolError": {
              "kind": "failure",
              "tag": "OrchestratorMcpFailure"
            }
          },
          "content": [
            {
              "type": "text",
              "text": "{\"_tag\":\"OrchestratorMcpFailure\",\"code\":\"invalid_request\",\"message\":\"Script IDs must be 1-24 lowercase letters, digits or hyphens, starting with a letter or digit (got 6 characters).\"}"
            }
          ],
          "isError": true
        }
      }
    },
    {
      "tool": "t3_project_create",
      "arguments": {
        "title": "Repro Good",
        "workspaceRoot": "<isolated-data>/workspaces/repro-good",
        "scripts": [
          {
            "id": "lint",
            "name": "Lint",
            "command": "echo lint",
            "icon": "configure",
            "runOnWorktreeCreate": false
          }
        ]
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 4,
        "result": {
          "content": [
            {
              "type": "text",
              "text": "{\"id\":\"mcp:d3c3ffca-7106-443f-8597-00353b391ab3\",\"title\":\"Repro Good\",\"workspaceRoot\":\"<isolated-data>/workspaces/repro-good\",\"repositoryIdentity\":null,\"faviconPath\":null,\"projectIcon\":null,\"defaultModelSelection\":null,\"defaultThreadEnvMode\":null,\"autoPull\":false,\"scripts\":[{\"id\":\"lint\",\"name\":\"Lint\",\"command\":\"echo lint\",\"icon\":\"configure\",\"runOnWorktreeCreate\":false}],\"trackedFolders\":[],\"pinnedAt\":null,\"archivedAt\":null,\"createdAt\":\"2026-12-04T12:58:11.111Z\",\"updatedAt\":\"2026-12-04T12:58:11.111Z\",\"deletedAt\":null}"
            }
          ],
          "structuredContent": {
            "id": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3",
            "title": "Repro Good",
            "workspaceRoot": "<isolated-data>/workspaces/repro-good",
            "repositoryIdentity": null,
            "faviconPath": null,
            "projectIcon": null,
            "defaultModelSelection": null,
            "defaultThreadEnvMode": null,
            "autoPull": false,
            "scripts": [
              {
                "id": "lint",
                "name": "Lint",
                "command": "echo lint",
                "icon": "configure",
                "runOnWorktreeCreate": false
              }
            ],
            "trackedFolders": [],
            "pinnedAt": null,
            "archivedAt": null,
            "createdAt": "2026-12-04T12:58:11.111Z",
            "updatedAt": "2026-12-04T12:58:11.111Z",
            "deletedAt": null
          },
          "isError": false
        }
      }
    },
    {
      "tool": "t3_project_read",
      "arguments": {
        "projectId": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3"
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 5,
        "result": {
          "content": [
            {
              "type": "text",
              "text": "{\"id\":\"mcp:d3c3ffca-7106-443f-8597-00353b391ab3\",\"title\":\"Repro Good\",\"workspaceRoot\":\"<isolated-data>/workspaces/repro-good\",\"repositoryIdentity\":null,\"faviconPath\":null,\"projectIcon\":null,\"defaultModelSelection\":null,\"defaultThreadEnvMode\":null,\"autoPull\":false,\"scripts\":[{\"id\":\"lint\",\"name\":\"Lint\",\"command\":\"echo lint\",\"icon\":\"configure\",\"runOnWorktreeCreate\":false}],\"trackedFolders\":[],\"pinnedAt\":null,\"archivedAt\":null,\"createdAt\":\"2026-12-04T12:58:11.111Z\",\"updatedAt\":\"2026-12-04T12:58:11.111Z\",\"deletedAt\":null}"
            }
          ],
          "structuredContent": {
            "id": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3",
            "title": "Repro Good",
            "workspaceRoot": "<isolated-data>/workspaces/repro-good",
            "repositoryIdentity": null,
            "faviconPath": null,
            "projectIcon": null,
            "defaultModelSelection": null,
            "defaultThreadEnvMode": null,
            "autoPull": false,
            "scripts": [
              {
                "id": "lint",
                "name": "Lint",
                "command": "echo lint",
                "icon": "configure",
                "runOnWorktreeCreate": false
              }
            ],
            "trackedFolders": [],
            "pinnedAt": null,
            "archivedAt": null,
            "createdAt": "2026-12-04T12:58:11.111Z",
            "updatedAt": "2026-12-04T12:58:11.111Z",
            "deletedAt": null
          },
          "isError": false
        }
      }
    },
    {
      "tool": "t3_project_update",
      "arguments": {
        "projectId": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3",
        "scripts": [
          {
            "id": "lint",
            "name": "Lint",
            "command": "echo lint",
            "icon": "configure",
            "runOnWorktreeCreate": false
          },
          {
            "id": "bad.id",
            "name": "Lint",
            "command": "echo lint",
            "icon": "configure",
            "runOnWorktreeCreate": false
          }
        ]
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 6,
        "result": {
          "_meta": {
            "website.effect/toolError": {
              "kind": "failure",
              "tag": "OrchestratorMcpFailure"
            }
          },
          "content": [
            {
              "type": "text",
              "text": "{\"_tag\":\"OrchestratorMcpFailure\",\"code\":\"invalid_request\",\"message\":\"Script IDs must be 1-24 lowercase letters, digits or hyphens, starting with a letter or digit (got 6 characters).\"}"
            }
          ],
          "isError": true
        }
      }
    },
    {
      "tool": "t3_project_list",
      "arguments": {},
      "response": {
        "jsonrpc": "2.0",
        "id": 7,
        "result": {
          "content": [
            {
              "type": "text",
              "text": "{\"projects\":[{\"id\":\"mcp:d3c3ffca-7106-443f-8597-00353b391ab3\",\"title\":\"Repro Good\",\"workspaceRoot\":\"<isolated-data>/workspaces/repro-good\",\"repositoryIdentity\":null,\"faviconPath\":null,\"projectIcon\":null,\"defaultModelSelection\":null,\"defaultThreadEnvMode\":null,\"autoPull\":false,\"scripts\":[{\"id\":\"lint\",\"name\":\"Lint\",\"command\":\"echo lint\",\"icon\":\"configure\",\"runOnWorktreeCreate\":false}],\"trackedFolders\":[],\"pinnedAt\":null,\"archivedAt\":null,\"createdAt\":\"2026-12-04T12:58:11.111Z\",\"updatedAt\":\"2026-12-04T12:58:11.111Z\",\"deletedAt\":null}],\"nextCursor\":null}"
            }
          ],
          "structuredContent": {
            "projects": [
              {
                "id": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3",
                "title": "Repro Good",
                "workspaceRoot": "<isolated-data>/workspaces/repro-good",
                "repositoryIdentity": null,
                "faviconPath": null,
                "projectIcon": null,
                "defaultModelSelection": null,
                "defaultThreadEnvMode": null,
                "autoPull": false,
                "scripts": [
                  {
                    "id": "lint",
                    "name": "Lint",
                    "command": "echo lint",
                    "icon": "configure",
                    "runOnWorktreeCreate": false
                  }
                ],
                "trackedFolders": [],
                "pinnedAt": null,
                "archivedAt": null,
                "createdAt": "2026-12-04T12:58:11.111Z",
                "updatedAt": "2026-12-04T12:58:11.111Z",
                "deletedAt": null
              }
            ],
            "nextCursor": null
          },
          "isError": false
        }
      }
    }
  ],
  "database": {
    "projects": [
      {
        "project_id": "mcp:d3c3ffca-7106-443f-8597-00353b391ab3",
        "title": "Repro Good",
        "scripts_json": "[{\"id\":\"lint\",\"name\":\"Lint\",\"command\":\"echo lint\",\"icon\":\"configure\",\"runOnWorktreeCreate\":false}]"
      }
    ],
    "created_events": [
      {
        "sequence": 1,
        "event_type": "project.created",
        "payload_json": "{\"projectId\":\"mcp:d3c3ffca-7106-443f-8597-00353b391ab3\",\"title\":\"Repro Good\",\"workspaceRoot\":\"<isolated-data>/workspaces/repro-good\",\"defaultModelSelection\":null,\"faviconPath\":null,\"projectIcon\":null,\"scripts\":[{\"id\":\"lint\",\"name\":\"Lint\",\"command\":\"echo lint\",\"icon\":\"configure\",\"runOnWorktreeCreate\":false}],\"createdAt\":\"2026-12-04T12:58:11.111Z\",\"updatedAt\":\"2026-12-04T12:58:11.111Z\"}"
      }
    ]
  },
  "savedScriptOverrides": {
    "projectScriptOverrides": {
      "mcp:d3c3ffca-7106-443f-8597-00353b391ab3": [
        {
          "id": "lint",
          "name": "Lint",
          "command": "echo lint",
          "icon": "configure",
          "runOnWorktreeCreate": false
        }
      ]
    },
    "projectSettingsOverrides": {
      "mcp:d3c3ffca-7106-443f-8597-00353b391ab3": {
        "defaultProjectScripts": [
          {
            "id": "lint",
            "name": "Lint",
            "command": "echo lint",
            "icon": "configure",
            "runOnWorktreeCreate": false
          }
        ]
      }
    }
  }
}
