@muggleai/works 5.27.0-staging.236 → 5.27.0-staging.238

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@
9
9
  "name": "muggleai",
10
10
  "source": "./plugin",
11
11
  "description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
12
- "version": "5.27.0-staging.236"
12
+ "version": "5.27.0-staging.238"
13
13
  }
14
14
  ]
15
15
  }
package/README.md CHANGED
@@ -165,7 +165,7 @@ Nested GitLab namespaces of any depth are handled — the project path is everyt
165
165
 
166
166
  ### The pull-request walkthrough check
167
167
 
168
- When a PR is opened from a session running this plugin, Muggle reserves a comment for the acceptance walkthrough and holds the turn open until it's settled — by the walkthrough, or by a stated reason acceptance testing doesn't apply.
168
+ When a PR is opened from a session running this plugin, Muggle reserves a comment for the acceptance walkthrough and holds the turn open until it's settled — by the walkthrough, or by a stated reason acceptance testing doesn't apply. A PR that changes only docs, tests, lint/format config, or CI config needs neither: its comment opens already settled as skipped.
169
169
 
170
170
  A PR opened any other way — the web UI, a teammate without the plugin — never passes through that session, so the same check also runs in GitHub Actions. It fails while the comment is still empty, and whenever the walkthrough reports a failed or inconclusive test case; the check's summary names each one with its failing step and a link to the run. While a new E2E run is underway on the PR, the check stays in progress until that run's walkthrough replaces the previous one. When the Muggle PR watcher sees it red, it repairs the cases, re-runs the whole suite, and re-settles the comment.
171
171
 
@@ -3163,6 +3163,22 @@ var E2eSkipCode = /* @__PURE__ */ ((E2eSkipCode2) => {
3163
3163
 
3164
3164
  // src/e2e-skip/constants.ts
3165
3165
  Object.values(E2eSkipCode);
3166
+ var NON_APP_PATH_SUMMARY = "docs, tests, lint/format config, or CI config";
3167
+ var NON_APP_PATH_PATTERNS = [
3168
+ /\.(md|markdown|rst)$/i,
3169
+ /(^|\/)[^/]+\.(test|spec)\.[^/]+$/,
3170
+ /(^|\/)(__tests__|__snapshots__|__mocks__)\//,
3171
+ /(^|\/)test_[^/]+\.py$/,
3172
+ /(^|\/)[^/]+_test\.(py|go)$/,
3173
+ /^tests?\//,
3174
+ /(^|\/)\.(eslintrc|prettierrc|stylelintrc)(\.[a-z]+)?$/,
3175
+ /(^|\/)(eslint|prettier|stylelint)\.config\.[cm]?[jt]s$/,
3176
+ /(^|\/)\.(eslint|prettier|stylelint)ignore$/,
3177
+ /(^|\/)\.markdownlint[^/]*$/,
3178
+ /(^|\/)(biome\.jsonc?|\.editorconfig)$/,
3179
+ /^\.github\/workflows\//,
3180
+ /^\.gitlab-ci\.yml$/
3181
+ ];
3166
3182
 
3167
3183
  // src/pr-walkthrough/constants.ts
3168
3184
  var REPORT_SENTINEL = "muggle-pr-section";
@@ -3170,6 +3186,7 @@ var WALKTHROUGH_SLOT_MARKER = "<!-- muggle-pr-walkthrough:v1 -->";
3170
3186
  var WALKTHROUGH_SKIPPED_MARKER = "<!-- muggle-pr-walkthrough-status:skipped -->";
3171
3187
  var WALKTHROUGH_COMMENT_HEADING = "### Muggle AI \u2014 PR visual walkthrough";
3172
3188
  var RERUN_NOTICE_OPENING = "<!-- muggle-pr-walkthrough-rerun -->";
3189
+ var SHORT_SHA_LENGTH = 7;
3173
3190
  var GH_COMMENT_TIMEOUT_MS = 1e4;
3174
3191
  var DEPENDENCY_BOT_LOGINS = ["dependabot[bot]", "renovate[bot]"];
3175
3192
 
@@ -3187,6 +3204,23 @@ ${WALKTHROUGH_COMMENT_HEADING}
3187
3204
 
3188
3205
  **No E2E run \u2014 not applicable.** A dependency update opened by \`${login}\`; no coding session ran on it.`;
3189
3206
  }
3207
+ var shortSha = (sha) => sha.slice(0, SHORT_SHA_LENGTH);
3208
+ function renderNoAppLogicChangeComment(declared, headSha, lastFullRun) {
3209
+ const cycleStart = declared.preCycleSha.toLowerCase();
3210
+ const head = headSha?.toLowerCase() ?? null;
3211
+ const isHeadPastCycleStart = head !== null && !head.startsWith(cycleStart) && !cycleStart.startsWith(head);
3212
+ const qualifier = "";
3213
+ const evidence = "_No full E2E run is on record for this PR._";
3214
+ const headline = isHeadPastCycleStart ? `**E2E skipped \u2014 no app-logic change in \`${shortSha(head)}\`.**` : `**E2E skipped \u2014 no app-logic change since \`${shortSha(cycleStart)}\`.**`;
3215
+ const verdict = `${headline} Muggle verified \`${"NO_APP_LOGIC_CHANGE" /* NoAppLogicChange */}\` \u2014 every path changed since \`${shortSha(cycleStart)}\` is ${NON_APP_PATH_SUMMARY}${qualifier}.`;
3216
+ return `${WALKTHROUGH_SLOT_MARKER}
3217
+ ${WALKTHROUGH_SKIPPED_MARKER}
3218
+ ${WALKTHROUGH_COMMENT_HEADING}
3219
+
3220
+ ${verdict}
3221
+
3222
+ ` + evidence;
3223
+ }
3190
3224
  function hasRerunNotice(body) {
3191
3225
  return body.includes(RERUN_NOTICE_OPENING);
3192
3226
  }
@@ -3259,6 +3293,35 @@ function readPrHeadSha(pr, run) {
3259
3293
  return null;
3260
3294
  }
3261
3295
  }
3296
+ function readPrDiffPaths(pr, run) {
3297
+ try {
3298
+ const refs = JSON.parse(
3299
+ run([
3300
+ "api",
3301
+ `repos/${pr.repo}/pulls/${pr.prNumber}`,
3302
+ "--jq",
3303
+ "{base: .base.sha, head: .head.sha, changedFiles: .changed_files}"
3304
+ ]) ?? "null"
3305
+ );
3306
+ if (!refs?.base || !refs.head) return null;
3307
+ const diff = JSON.parse(
3308
+ run([
3309
+ "api",
3310
+ `repos/${pr.repo}/compare/${refs.base}...${refs.head}`,
3311
+ "--jq",
3312
+ "{mergeBase: .merge_base_commit.sha, files: [.files[] | {path: .filename, previousPath: .previous_filename}]}"
3313
+ ]) ?? "null"
3314
+ );
3315
+ if (!diff?.mergeBase || !Array.isArray(diff.files) || diff.files.length !== refs.changedFiles) return null;
3316
+ return {
3317
+ mergeBaseSha: diff.mergeBase,
3318
+ headSha: refs.head,
3319
+ changedPaths: diff.files.flatMap((file) => file.previousPath ? [file.path, file.previousPath] : [file.path])
3320
+ };
3321
+ } catch {
3322
+ return null;
3323
+ }
3324
+ }
3262
3325
  function readPrAuthorLogin(pr, run) {
3263
3326
  try {
3264
3327
  return run(["api", `repos/${pr.repo}/pulls/${pr.prNumber}`, "--jq", ".user.login"])?.trim() || null;
@@ -3297,6 +3360,11 @@ function createCheckRun(repo, checkRun, run) {
3297
3360
  }, run);
3298
3361
  }
3299
3362
 
3363
+ // src/e2e-skip/noAppLogicChange.ts
3364
+ function isNonAppPath(repoRelativePath) {
3365
+ return NON_APP_PATH_PATTERNS.some((pattern) => pattern.test(repoRelativePath));
3366
+ }
3367
+
3300
3368
  // src/pr-walkthrough/reserve.ts
3301
3369
  function commentWithStatus(comments, status) {
3302
3370
  return comments.find((comment) => classifyComment(comment.body) === status);
@@ -3304,9 +3372,19 @@ function commentWithStatus(comments, status) {
3304
3372
  function designatedComment(comments) {
3305
3373
  return comments.find((comment) => classifyComment(comment.body) !== "not-designated" /* NotDesignated */);
3306
3374
  }
3375
+ function openingCommentBody(pr, run) {
3376
+ const diff = readPrDiffPaths(pr, run);
3377
+ if (!diff || diff.changedPaths.length === 0 || !diff.changedPaths.every(isNonAppPath)) {
3378
+ return renderReservedComment();
3379
+ }
3380
+ return renderNoAppLogicChangeComment(
3381
+ { preCycleSha: diff.mergeBaseSha},
3382
+ diff.headSha);
3383
+ }
3307
3384
  function reserveComment(pr, comments, run) {
3308
- if (designatedComment(comments)) return false;
3309
- return postPrComment(pr, renderReservedComment(), run);
3385
+ if (designatedComment(comments)) return null;
3386
+ const body = openingCommentBody(pr, run);
3387
+ return postPrComment(pr, body, run) ? body : null;
3310
3388
  }
3311
3389
  function settleDependencyBotComment(pr, comments, login, run) {
3312
3390
  const body = renderDependencyBotComment(login);
@@ -3369,7 +3447,8 @@ function judgeComments(pr, comments, run) {
3369
3447
  };
3370
3448
  }
3371
3449
  }
3372
- if (verdict === "missing" /* Missing */) reserveComment(pr, comments, run);
3450
+ const reservedBody = verdict === "missing" /* Missing */ ? reserveComment(pr, comments, run) : null;
3451
+ const verdictNow = reservedBody === null ? verdict : walkthroughVerdict([...bodies, reservedBody]);
3373
3452
  if (isRerunInProgress(bodies)) {
3374
3453
  return {
3375
3454
  outcome: "rerun-in-progress" /* RerunInProgress */,
@@ -3380,7 +3459,7 @@ function judgeComments(pr, comments, run) {
3380
3459
  if (record && record.unpassed.length > 0) {
3381
3460
  return { outcome: "e2e-not-passing" /* E2eNotPassing */, summary: renderNotPassingSummary(record) };
3382
3461
  }
3383
- const outcome = verdict === "satisfied" /* Satisfied */ ? "settled" /* Settled */ : "unsettled" /* Unsettled */;
3462
+ const outcome = verdictNow === "satisfied" /* Satisfied */ ? "settled" /* Settled */ : "unsettled" /* Unsettled */;
3384
3463
  return { outcome, summary: FIXED_SUMMARIES[outcome] };
3385
3464
  }
3386
3465
  async function runPrWalkthroughCheck(options, run = defaultGhRunner) {
@@ -3894,8 +3973,8 @@ function renderStackClaimSummary(report) {
3894
3973
  if (report.verdict === "GRANTED" /* Granted */) {
3895
3974
  const lines2 = [`${report.verdict}: the stack is this checkout's to use (${report.cwd})`];
3896
3975
  for (const port of report.plan) {
3897
- const current = port.current ? ` \u2014 now ${port.current.dir} @ ${shortSha(port.current.headSha)} (PID ${port.current.pid})` : "";
3898
- lines2.push(`${port.action} ${port.port}: ${port.runDir} @ ${shortSha(port.headSha)}${current}`);
3976
+ const current = port.current ? ` \u2014 now ${port.current.dir} @ ${shortSha2(port.current.headSha)} (PID ${port.current.pid})` : "";
3977
+ lines2.push(`${port.action} ${port.port}: ${port.runDir} @ ${shortSha2(port.headSha)}${current}`);
3899
3978
  }
3900
3979
  for (const peer of report.sharedWith) lines2.push(`shared with: ${peer}`);
3901
3980
  lines2.push(...report.stoppedServices.map(describeStoppedService));
@@ -3906,7 +3985,7 @@ function renderStackClaimSummary(report) {
3906
3985
  const who = blocker.blockingLabel ? `${blocker.blockingLabel} (${blocker.blockingCwd})` : blocker.blockingCwd;
3907
3986
  const how = blocker.isQueuedAhead ? "is ahead in line for" : "holds";
3908
3987
  const heldFor = blocker.isQueuedAhead ? "" : ` (for ${seconds(blocker.heldForMs ?? 0)})`;
3909
- lines.push(`port ${blocker.port}: ${who} ${how} ${blocker.needsRunDir} @ ${shortSha(blocker.needsHeadSha)}${heldFor}`);
3988
+ lines.push(`port ${blocker.port}: ${who} ${how} ${blocker.needsRunDir} @ ${shortSha2(blocker.needsHeadSha)}${heldFor}`);
3910
3989
  }
3911
3990
  lines.push(...report.stoppedServices.map(describeStoppedService));
3912
3991
  lines.push(`retry in ~${seconds(report.retryAfterMs ?? 0)}; your place is kept while you keep asking`);
@@ -3923,7 +4002,7 @@ function renderStackStatusSummary(report) {
3923
4002
  const lines = [`generation ${report.generation}`];
3924
4003
  if (report.leases.length === 0) lines.push("leases: none");
3925
4004
  for (const lease of report.leases) {
3926
- const ports = lease.needs.map((need) => `${need.port}=${need.runDir}@${shortSha(need.headSha)}`).join(", ");
4005
+ const ports = lease.needs.map((need) => `${need.port}=${need.runDir}@${shortSha2(need.headSha)}`).join(", ");
3927
4006
  lines.push(`lease: ${lease.label ?? lease.cwd} \u2014 ${ports} (held ${seconds(now - lease.grantedAt)}, renewed ${seconds(now - lease.lastSeenAt)} ago)`);
3928
4007
  }
3929
4008
  report.queue.forEach((ticket, index) => {
@@ -3931,7 +4010,7 @@ function renderStackStatusSummary(report) {
3931
4010
  lines.push(`waiting ${index + 1}: ${ticket.label ?? ticket.cwd} \u2014 port ${ports} (asked ${seconds(now - ticket.lastSeenAt)} ago)`);
3932
4011
  });
3933
4012
  for (const service of report.services) {
3934
- lines.push(`service: ${service.port} ${service.name} \u2014 ${service.dir} @ ${shortSha(service.headSha)} (PID ${service.pid})`);
4013
+ lines.push(`service: ${service.port} ${service.name} \u2014 ${service.dir} @ ${shortSha2(service.headSha)} (PID ${service.pid})`);
3935
4014
  }
3936
4015
  return lines.join("\n");
3937
4016
  }
@@ -3971,7 +4050,7 @@ function describeStoppedService(service) {
3971
4050
  const what = service.name ?? (service.commandLine || "untracked listener");
3972
4051
  return `stopped ${service.port}: ${what} (PID ${service.pid}) \u2014 no lease needs it any more`;
3973
4052
  }
3974
- function shortSha(sha) {
4053
+ function shortSha2(sha) {
3975
4054
  return sha ? sha.slice(0, 7) : "unknown";
3976
4055
  }
3977
4056
  function seconds(ms) {
@@ -4320,7 +4399,7 @@ function formatDuration(durationMs) {
4320
4399
  function shortSessionId(sessionId) {
4321
4400
  return sessionId.slice(0, 8);
4322
4401
  }
4323
- function shortSha2(sha) {
4402
+ function shortSha3(sha) {
4324
4403
  return sha ? sha.slice(0, 8) : "?";
4325
4404
  }
4326
4405
 
@@ -4781,7 +4860,7 @@ function watcherFinding(assessment, subject) {
4781
4860
  }
4782
4861
  function prStateFindings(assessment, live, subject) {
4783
4862
  const prFindings = [];
4784
- const head = shortSha2(live.headSha);
4863
+ const head = shortSha3(live.headSha);
4785
4864
  if (live.ciRollup === "FAILURE" /* Failure */ || live.ciRollup === "ERROR" /* Error */) {
4786
4865
  prFindings.push(finding(
4787
4866
  "CI_FAILING" /* CiFailing */,
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { runCli } from './chunk-KR7MX7M5.js';
2
+ import { runCli } from './chunk-GCWJMRYJ.js';
3
3
  import './chunk-WRYPWI33.js';
4
4
 
5
5
  // src/cli/main.ts
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-KR7MX7M5.js';
1
+ export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-GCWJMRYJ.js';
2
2
  export { createChildLogger, e2e_exports as e2e, getConfig, getLocalQaTools, getLogger, getQaTools, local_exports as localQa, mcp_exports as mcp, e2e_exports as qa, src_exports as shared } from './chunk-WRYPWI33.js';
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "muggle",
3
3
  "description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
4
- "version": "5.27.0-staging.236",
4
+ "version": "5.27.0-staging.238",
5
5
  "author": {
6
6
  "name": "Muggle AI",
7
7
  "email": "support@muggle-ai.com"
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.27.0-staging.236",
7
+ "@muggleai/works@5.27.0-staging.238",
8
8
  "serve"
9
9
  ],
10
10
  "env": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muggle",
3
- "version": "5.27.0-staging.236",
3
+ "version": "5.27.0-staging.238",
4
4
  "description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
5
5
  "author": {
6
6
  "name": "Muggle AI",
@@ -2,7 +2,7 @@
2
2
  "name": "muggle",
3
3
  "displayName": "Muggle AI",
4
4
  "description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
5
- "version": "5.27.0-staging.236",
5
+ "version": "5.27.0-staging.238",
6
6
  "author": {
7
7
  "name": "Muggle AI",
8
8
  "email": "support@muggle-ai.com"
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@muggleai/works@5.27.0-staging.236",
7
+ "@muggleai/works@5.27.0-staging.238",
8
8
  "serve"
9
9
  ]
10
10
  }
@@ -30,7 +30,7 @@ Each guardrail is a bash gate script in `../scripts/` holding a `guardrail_wants
30
30
 
31
31
  Every `hooks.json` command enters through `../scripts/hook-entry.sh`, with the hook's script and arguments set as positional parameters first: `set -- guardrail-dispatch.sh guardrail-e2e-gate.sh …; . "${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh"`. Claude Code runs a hook command through Git Bash on Windows and through `/bin/sh` elsewhere. Inside Git Bash the entry sources the script into that same shell, so a hook costs the one Git Bash start Claude Code makes rather than a second `bash` with its own MSYS runtime init — measured at 0.3–1.2 s per firing on a loaded box. Anywhere else `/bin/sh` may be dash, so the entry is POSIX sh and hands the script to a bash of its own, as `bash "<script>"` did. A gate script tells it is the hook's own script — not one `guardrail-dispatch.sh` sourced for its pre-filter — through `guardrail_is_hook_script`, which reads the script path the entry records, or `$0` when bash ran the script.
32
32
 
33
- Pre-filters are bash builtins only (`guardrail-lib.sh`), so an irrelevant event starts no process at all. A pre-filter reads only the payload fields its subcommand judges (`guardrail_fields_match`: the command, the tool's name, the path read, the prompt), never the whole payload — a tool's output or a read file's contents would otherwise start Node whenever they merely mention a trigger. The PreToolUse deny gates go one step further: Claude Code's `if` rules (`Bash(*gh *)`, `Bash(*glab *)` and their `PowerShell` twins) launch them only for a command naming `gh` or `glab`, so every other shell call starts no hook process. A rule's leading `*` is load-bearing: it is what reaches a `gh` inside `bash -c "…"`. A gate that has spent its block budget stamps a `<gate>Released` flag, which its wrapper then pre-filters on — without it a released gate keeps cold-starting Node on every remaining turn end to answer `{}`, and the walkthrough gate keeps queuing provider scans to do it. That pre-filter is a second, looser copy of what `guardrails.mjs` matches, and it is the one place a guardrail can fail *silently*: a payload it drops — a skip marker, a reopen line, a comment edit — reaches no recorder, and the gate keeps demanding an action the user already took. Over-matching is free; under-matching is a dead escape hatch. `src/test/guardrails/hook-prefilter.test.ts` pins every payload each subcommand acts on against the wrapper guarding it, and derives the skip-marker tokens from source so a new marker is covered the moment it exists.
33
+ Pre-filters are bash builtins only (`guardrail-lib.sh`), so an irrelevant event starts no process at all. A pre-filter reads only the payload fields its subcommand judges (`guardrail_fields_match`: the command, the tool's name, the path read, the prompt), never the whole payload — a tool's output or a read file's contents would otherwise start Node whenever they merely mention a trigger. The PreToolUse deny gates go one step further: Claude Code's `if` rules (`Bash(*gh *)`, `Bash(*glab *)` and their `PowerShell` twins) launch them only for a command naming `gh` or `glab`, so every other shell call starts no hook process. A rule's leading `*` is load-bearing: it is what reaches a `gh` inside `bash -c "…"`. The shell recorders after a `PowerShell` call are gated the same way, one rule per trigger a recorder acts on (`*gh pr *`, `*gh api *`, `*glab *`, `*pr-watch-*`, the test runners, `*MUGGLE_*`, `*.md*`, and the thread and reply paths a non-`gh` client names); Claude Code matches PowerShell commands ignoring case and sees into script blocks. After a `Bash` call they run on every command (`if: "Bash"`): Claude Code's Bash parser gives up on a command it cannot read statically — an unresolved `$VAR`, a `$(…)` argument, a loop over one, about a sixth of real commands — and then launches every `if` variant, so a rule per trigger would start more processes than it saves. Since one call can launch several variants at once, the dispatcher claims the call by its `tool_use_id` (a noclobber file under `~/.muggle-ai/guardrails/claims/`) before Node starts, and only the launch holding the claim runs it; the rest answer `{}` in-shell. A gate that has spent its block budget stamps a `<gate>Released` flag, which its wrapper then pre-filters on — without it a released gate keeps cold-starting Node on every remaining turn end to answer `{}`, and the walkthrough gate keeps queuing provider scans to do it. That pre-filter is a second, looser copy of what `guardrails.mjs` matches, and it is the one place a guardrail can fail *silently*: a payload it drops — a skip marker, a reopen line, a comment edit — reaches no recorder, and the gate keeps demanding an action the user already took. Over-matching is free; under-matching is a dead escape hatch. `src/test/guardrails/hook-prefilter.test.ts` pins every payload each subcommand acts on against the wrapper guarding it, and derives the skip-marker tokens from source so a new marker is covered the moment it exists.
34
34
 
35
35
  ## Guardrails
36
36
 
@@ -66,7 +66,7 @@ Codex runs Claude Code-format plugin hooks, from `codex-hooks.json` rather than
66
66
  - **Host stamp.** Codex exports `CLAUDE_PLUGIN_ROOT` to plugin hooks for compatibility, so nothing in the environment tells a guardrail it is not in Claude Code. Every command runs under `env MUGGLE_HOOK_HOST=codex`, and the guardrails word their instructions for Codex (`$muggle:muggle-test`, not `/muggle:muggle-test`).
67
67
  - **Tool names.** A matcher naming a Claude Code tool becomes the Codex tool that plays its part — `AskUserQuestion` → `request_user_input` — and a group whose tools Codex lacks is dropped: Codex reports every shell call as `Bash`, opens files and skills through the shell, and delivers a background command's output as that command's own `Bash` event, so `PowerShell`, `Read`, `Skill` and `Monitor` never fire. An MCP tool reaches a Codex hook as `mcp__muggle__<tool>` with every character outside `[A-Za-z0-9_]` turned into `_` (`mcp__muggle__muggle_local_execute_replay`), so the MCP matchers are respelled; the wrappers' pre-filters and the guardrails' own tool checks accept either spelling.
68
68
  - **Windows.** Codex runs `commandWindows` through the session shell — PowerShell, or cmd.exe as a fallback — so every hook also gets one that starts with a bare `node` (both shells parse it alike; a quoted path there is a PowerShell syntax error) and hands the same script to Git Bash through `../scripts/codex-hook-windows.mjs`. It looks for Git Bash beside `git.exe`, then in the default install paths; `MUGGLE_HOOK_BASH` names one it would not find. With no Git Bash the launcher prints `{}` and succeeds — the same allow-by-default every guardrail falls back to.
69
- - **No `if` rules.** Codex has no counterpart to Claude Code's `if`, so the rule is dropped and the identical commands its variants leave collapse into one: under Codex the deny gates run on every shell call and their in-shell pre-filters decide.
69
+ - **No `if` rules.** Codex has no counterpart to Claude Code's `if`, so the rule is dropped and the identical commands its variants leave collapse into one: under Codex the deny gates and the shell recorders each run once on every shell call and their in-shell pre-filters decide.
70
70
  - **No hook entry.** Codex starts every command as a process — `env` stamps the host, and on Windows the `node` launcher hands the script to Git Bash — so there is no shell to source into, and each Codex command names its script directly: `bash "<script>" <args>`.
71
71
 
72
72
  What Codex sends differs too, and the guardrails read either shape: a shell result arrives as the bare output string (normalized to `tool_response.output` in `hookInput.ts`), with no exit code; the Stop payload carries the closing message as `last_assistant_message`, which the capability-claim gate judges in place of the transcript, whose format is not Claude Code's; and a stage file opened with `cat` or `sed -n` counts as read, since there is no `Read` tool. With no structured question in Codex's default mode, a turn that closes on a question to the user is the post-merge offer there — under Codex only.
@@ -90,6 +90,7 @@ The nudge counts only slots **this session owns**, and reports the rest as orpha
90
90
  `scripts/gc-state.sh`, run by the upkeep — prunes ephemeral state that nothing else garbage-collects, so it doesn't grow without bound (the per-session guardrails files and finalized watcher slots otherwise accumulate one-per-session forever). Collection is keyed on **inactivity, never creation age**, so state a long-lived session still relies on is never deleted out from under it:
91
91
 
92
92
  - `~/.muggle-ai/guardrails/*.json` (one per session, plus its walkthrough-scan sidecar) is pruned only after 14 days of **no activity**. An in-use session keeps rewriting its file (`guardrails.mjs` on every guarded tool call) and `ensure-electron-app.sh` refreshes it on every resume, so its mtime tracks last activity — a session that runs for months stays live indefinitely, and only one that has genuinely gone quiet for the whole window (i.e. ended) is collected.
93
+ - `~/.muggle-ai/guardrails/claims/*`, the dispatcher's one-per-call claims, are pruned an hour after the call: only the launches Claude Code starts together for that call ever read one.
93
94
  - Finalized watcher slots (`result.md` present) are pruned 30 days after finalize; their `followup.log` is forensic-only. An **open** slot — a PR watched for any length of time — has no `result.md` and is never touched.
94
95
 
95
96
  Both windows are overridable (`MUGGLE_GUARDRAILS_TTL_DAYS`, `MUGGLE_SLOT_TTL_DAYS`). TTL-gated to once per day via a `~/.cache/muggle/state-gc-checked` marker; silent and best-effort. It refreshes the current session's own state before sweeping, so never collects it, and never touches an open slot.
@@ -100,13 +101,13 @@ Every hook here fires on every tool call, prompt or turn end in every open sessi
100
101
 
101
102
  | Cap | Limit |
102
103
  | :-- | :-- |
103
- | Hook commands an irrelevant event launches per busy slot (PostToolUse on `Bash` and `Read`, Stop, UserPromptSubmit) | 1 (PreToolUse on `Bash`: 0, its `if` rules launch nothing for a command naming neither `gh` nor `glab`) |
104
+ | Hook commands an irrelevant event launches per busy slot (PostToolUse on `Bash` and `Read`, Stop, UserPromptSubmit) | 1 (PreToolUse on `Bash` and PostToolUse on `PowerShell`: 0, their `if` rules launch nothing for a command naming no trigger) |
104
105
  | A hook's own `bash` launch inside Git Bash, where `hook-entry.sh` runs the script in place | 0 (elsewhere 1 per command) |
105
106
  | Programs started beyond each hook's own launch on an irrelevant event | 0 (Stop: 1, a transcript `tail` until the capability-claim gate has nudged; bash cannot seek) |
106
107
  | `node`, `gh`, `python` on that path | 0 |
107
108
  | Median wall time of one irrelevant firing, Linux/macOS | 100 ms |
108
109
  | Distinct hook commands in the whole manifest (a command's `if` variants count once) | 13 |
109
- | Hook timeout | declared on every hook; 1 s each, 2 s summed over the hooks one firing launches; SessionStart 5 s each, 10 s summed |
110
+ | Hook timeout | declared on every hook; 1 s each, 2 s summed over the hooks one firing launches, a command's `if` variants counted once since they start together and one claims the call; SessionStart 5 s each, 10 s summed |
110
111
  | Median wall time of each hook, on every scenario in `HOOK_RUNTIME_SCENARIOS`, every platform | 1 s |
111
112
  | Summed median wall time of the hooks one firing launches | 2 s |
112
113
 
@@ -71,6 +71,98 @@
71
71
  "hooks": [
72
72
  {
73
73
  "type": "command",
74
+ "if": "Bash",
75
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
76
+ "async": false,
77
+ "timeout": 1
78
+ },
79
+ {
80
+ "type": "command",
81
+ "if": "PowerShell(*gh pr *)",
82
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
83
+ "async": false,
84
+ "timeout": 1
85
+ },
86
+ {
87
+ "type": "command",
88
+ "if": "PowerShell(*gh api *)",
89
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
90
+ "async": false,
91
+ "timeout": 1
92
+ },
93
+ {
94
+ "type": "command",
95
+ "if": "PowerShell(*glab *)",
96
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
97
+ "async": false,
98
+ "timeout": 1
99
+ },
100
+ {
101
+ "type": "command",
102
+ "if": "PowerShell(*pr-watch-*)",
103
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
104
+ "async": false,
105
+ "timeout": 1
106
+ },
107
+ {
108
+ "type": "command",
109
+ "if": "PowerShell(* test*)",
110
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
111
+ "async": false,
112
+ "timeout": 1
113
+ },
114
+ {
115
+ "type": "command",
116
+ "if": "PowerShell(*jest*)",
117
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
118
+ "async": false,
119
+ "timeout": 1
120
+ },
121
+ {
122
+ "type": "command",
123
+ "if": "PowerShell(*vitest*)",
124
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
125
+ "async": false,
126
+ "timeout": 1
127
+ },
128
+ {
129
+ "type": "command",
130
+ "if": "PowerShell(*pytest*)",
131
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
132
+ "async": false,
133
+ "timeout": 1
134
+ },
135
+ {
136
+ "type": "command",
137
+ "if": "PowerShell(*MUGGLE_*)",
138
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
139
+ "async": false,
140
+ "timeout": 1
141
+ },
142
+ {
143
+ "type": "command",
144
+ "if": "PowerShell(*.md*)",
145
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
146
+ "async": false,
147
+ "timeout": 1
148
+ },
149
+ {
150
+ "type": "command",
151
+ "if": "PowerShell(*reviewThreads*)",
152
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
153
+ "async": false,
154
+ "timeout": 1
155
+ },
156
+ {
157
+ "type": "command",
158
+ "if": "PowerShell(*discussions*)",
159
+ "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
160
+ "async": false,
161
+ "timeout": 1
162
+ },
163
+ {
164
+ "type": "command",
165
+ "if": "PowerShell(*/replies*)",
74
166
  "command": "set -- guardrail-dispatch.sh guardrail-pr-opened.sh guardrail-record-tests.sh guardrail-pr-terminal.sh guardrail-record-stage-signals.sh guardrail-record-comment-replies.sh guardrail-record-stage-read.sh; . \"${CLAUDE_PLUGIN_ROOT}/scripts/hook-entry.sh\"",
75
167
  "async": false,
76
168
  "timeout": 1
@@ -14,6 +14,9 @@ set -uo pipefail
14
14
  # rewriting it (guardrails.mjs on every guarded tool call) and refreshes it
15
15
  # on resume (below), so its mtime tracks last activity — only a session gone
16
16
  # quiet for the whole window is collected, and by then it has ended.
17
+ # guardrails/claims/<event>-<tool call> one per guarded tool call that started
18
+ # Node. Only the launches Claude Code starts together for that one call ever
19
+ # read it, so a claim an hour old is dead.
17
20
  # muggle-do/sessions/<slug>/ a PR-follow-up slot. Pruned only once finalized
18
21
  # (result.md present — the terminal marker); an OPEN slot, a PR watched for
19
22
  # any length of time, has no result.md and is never touched.
@@ -23,6 +26,7 @@ set -uo pipefail
23
26
 
24
27
  home="${HOME}"
25
28
  guardrails_dir="${home}/.muggle-ai/guardrails"
29
+ claims_dir="${guardrails_dir}/claims"
26
30
  sessions_dir="${home}/.muggle-ai/muggle-do/sessions"
27
31
  marker_dir="${home}/.cache/muggle"
28
32
  marker="${marker_dir}/state-gc-checked"
@@ -51,6 +55,10 @@ if [ -d "$guardrails_dir" ]; then
51
55
  -mtime "+${guardrails_ttl_days}" -delete 2>/dev/null || true
52
56
  fi
53
57
 
58
+ if [ -d "$claims_dir" ]; then
59
+ find "$claims_dir" -maxdepth 1 -type f -mmin +60 -delete 2>/dev/null || true
60
+ fi
61
+
54
62
  if [ -d "$sessions_dir" ]; then
55
63
  for slot in "$sessions_dir"/*/; do
56
64
  [ -d "$slot" ] || continue
@@ -10,7 +10,9 @@ set -uo pipefail
10
10
  # GUARDRAIL_SUBCOMMAND without running it), and asks every pre-filter in this one process.
11
11
  # Irrelevant events — nearly all of them — end here with {} and no process started. When any
12
12
  # gate could fire, Node runs once for all of them (`guardrails.mjs run <gates...>`), merging
13
- # their outputs the way the harness merged separate hooks.
13
+ # their outputs the way the harness merged separate hooks. A tool event's `if` variants can launch
14
+ # this several times for one call, so before Node starts the launch claims the call, and only the
15
+ # launch holding the claim runs it.
14
16
 
15
17
  guardrail_script_dir="${BASH_SOURCE[0]%/*}"
16
18
  [[ $guardrail_script_dir == "${BASH_SOURCE[0]}" ]] && guardrail_script_dir=.
@@ -27,7 +29,7 @@ for gate_script in "$@"; do
27
29
  fi
28
30
  done
29
31
 
30
- if [[ ${#firing_subcommands[@]} -eq 0 ]]; then
32
+ if [[ ${#firing_subcommands[@]} -eq 0 ]] || ! guardrail_claim_tool_call; then
31
33
  printf '{}'
32
34
  exit 0
33
35
  fi
@@ -114,6 +114,33 @@ guardrail_is_hook_script() {
114
114
  [[ ${BASH_SOURCE[1]} == "${MUGGLE_HOOK_SCRIPT:-$0}" ]]
115
115
  }
116
116
 
117
+ # Claims this event's tool call for the calling launch; returns 1 when a sibling launch already holds it.
118
+ # Claude Code starts a hook once per `if` variant whose rule matches the call — every variant when it cannot
119
+ # parse the command — all at once and with the same payload, so without a claim one `gh pr create --body-file
120
+ # notes.md` would record and announce itself twice. The claim is a file created under noclobber, which bash
121
+ # opens O_EXCL, so exactly one concurrent launch wins it. A payload with no tool_use_id (a turn end, a host
122
+ # that sends none) has no sibling to race, and a claim that cannot be written leaves the call unclaimed:
123
+ # recording a call twice beats not recording it. Noclobber is put back as found, since hook-entry.sh may have
124
+ # sourced this into the shell Claude Code started.
125
+ guardrail_claim_tool_call() {
126
+ local tool_use_id_pattern='"tool_use_id"[[:space:]]*:[[:space:]]*"([^"]+)"'
127
+ [[ $GUARDRAIL_PAYLOAD =~ $tool_use_id_pattern ]] || return 0
128
+ local claim_name="${BASH_REMATCH[1]//[^A-Za-z0-9_-]/_}"
129
+ guardrail_payload_field hook_event_name && claim_name="${GUARDRAIL_FIELD_VALUE//[^A-Za-z0-9_-]/_}-$claim_name"
130
+ guardrail_resolve_home
131
+ local claims_dir="$GUARDRAIL_HOME/.muggle-ai/guardrails/claims"
132
+ [[ -d $claims_dir ]] || mkdir -p "$claims_dir" 2>/dev/null
133
+ local claim_file="$claims_dir/$claim_name"
134
+ local is_create_failed=""
135
+ local was_noclobber=""
136
+ [[ -o noclobber ]] && was_noclobber=1
137
+ set -C
138
+ { : >"$claim_file"; } 2>/dev/null || is_create_failed=1
139
+ [[ -n $was_noclobber ]] || set +C
140
+ [[ -n $is_create_failed && -e $claim_file ]] && return 1
141
+ return 0
142
+ }
143
+
117
144
  # Runs guardrails.mjs on the payload. Never blocks a turn: any failure degrades to {}.
118
145
  # A here-string rather than a pipe, so the fallback hears only Node's exit status: a pipe's writer dies of SIGPIPE
119
146
  # when Node exits before reading all of its stdin, and pipefail would count that as Node failing and print a second
@@ -667,6 +667,35 @@ function readPrHeadSha(pr, run) {
667
667
  return null;
668
668
  }
669
669
  }
670
+ function readPrDiffPaths(pr, run) {
671
+ try {
672
+ const refs = JSON.parse(
673
+ run([
674
+ "api",
675
+ `repos/${pr.repo}/pulls/${pr.prNumber}`,
676
+ "--jq",
677
+ "{base: .base.sha, head: .head.sha, changedFiles: .changed_files}"
678
+ ]) ?? "null"
679
+ );
680
+ if (!refs?.base || !refs.head) return null;
681
+ const diff = JSON.parse(
682
+ run([
683
+ "api",
684
+ `repos/${pr.repo}/compare/${refs.base}...${refs.head}`,
685
+ "--jq",
686
+ "{mergeBase: .merge_base_commit.sha, files: [.files[] | {path: .filename, previousPath: .previous_filename}]}"
687
+ ]) ?? "null"
688
+ );
689
+ if (!diff?.mergeBase || !Array.isArray(diff.files) || diff.files.length !== refs.changedFiles) return null;
690
+ return {
691
+ mergeBaseSha: diff.mergeBase,
692
+ headSha: refs.head,
693
+ changedPaths: diff.files.flatMap((file) => file.previousPath ? [file.path, file.previousPath] : [file.path])
694
+ };
695
+ } catch {
696
+ return null;
697
+ }
698
+ }
670
699
  function writeJson(args, payload, run) {
671
700
  try {
672
701
  return run(args, JSON.stringify(payload)) !== null;
@@ -1876,16 +1905,28 @@ function commentWithStatus(comments, status) {
1876
1905
  function designatedComment(comments) {
1877
1906
  return comments.find((comment) => classifyComment(comment.body) !== "not-designated" /* NotDesignated */);
1878
1907
  }
1908
+ function openingCommentBody(pr, run) {
1909
+ const diff = readPrDiffPaths(pr, run);
1910
+ if (!diff || diff.changedPaths.length === 0 || !diff.changedPaths.every(isNonAppPath)) {
1911
+ return renderReservedComment();
1912
+ }
1913
+ return renderNoAppLogicChangeComment(
1914
+ { preCycleSha: diff.mergeBaseSha, baseTipSha: null, reason: "" },
1915
+ diff.headSha,
1916
+ null
1917
+ );
1918
+ }
1879
1919
  function reserveComment(pr, comments, run) {
1880
- if (designatedComment(comments)) return false;
1881
- return postPrComment(pr, renderReservedComment(), run);
1920
+ if (designatedComment(comments)) return null;
1921
+ const body = openingCommentBody(pr, run);
1922
+ return postPrComment(pr, body, run) ? body : null;
1882
1923
  }
1883
1924
  function reserveWalkthroughComment(prUrl, run = defaultGhRunner) {
1884
1925
  const pr = parsePrUrl(prUrl);
1885
1926
  if (!pr) return false;
1886
1927
  const comments = listPrComments(pr, run);
1887
1928
  if (comments === null) return false;
1888
- return reserveComment(pr, comments, run);
1929
+ return reserveComment(pr, comments, run) !== null;
1889
1930
  }
1890
1931
  function isWalkthroughSettledOnPr(prUrl, run = defaultGhRunner) {
1891
1932
  const pr = parsePrUrl(prUrl);
@@ -2537,7 +2578,7 @@ function prOpened() {
2537
2578
  startBackgroundJob("scan-walkthroughs" /* ScanWalkthroughs */, [sessionId], input.cwd);
2538
2579
  }
2539
2580
  const slotNote = declaredSkip ? `Its Muggle AI visual-walkthrough comment is being settled with the E2E skip already recorded this session (${declaredSkip.code}); the turn cannot end until the PR shows it.
2540
- ` : `Its Muggle AI visual-walkthrough comment is reserved and empty \u2014 settle it with the E2E run of this PR's own change (a wave's PRs share one run; any other PR gets its own), or by recording why E2E does not apply from this PR's working tree.
2581
+ ` : `Its Muggle AI visual-walkthrough comment is being reserved. When every path the PR changes is ${NON_APP_PATH_SUMMARY}, it opens already settled as skipped (${"NO_APP_LOGIC_CHANGE" /* NoAppLogicChange */}) and needs nothing more. Otherwise settle it with the E2E run of this PR's own change (a wave's PRs share one run; any other PR gets its own), or by recording why E2E does not apply from this PR's working tree.
2541
2582
  `;
2542
2583
  const ctx = `A pull request was just opened: ${url}
2543
2584
  ` + slotNote + `Per the autoWatchPR preference, a muggle-pr-followup watcher should handle its incoming reviews. If autoWatchPR=always, start it now by invoking ${muggleSkill("/muggle:muggle-pr-followup")} with the PR URL; if =ask, offer it to the user; if =never, do nothing.`;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "release": "5.26.0",
3
- "buildId": "run-236-1",
4
- "commitSha": "9188a0adb34bfc61b130249b28c8bc5ecd88eac5",
5
- "buildTime": "2026-10-27T07:32:07Z",
3
+ "buildId": "run-238-1",
4
+ "commitSha": "b5d15a58423110e00559791cfbbc3b2e262e5421",
5
+ "buildTime": "2026-10-27T19:40:52Z",
6
6
  "serviceName": "muggle-ai-works-mcp"
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@muggleai/works",
3
3
  "mcpName": "io.github.multiplex-ai/muggle",
4
- "version": "5.27.0-staging.236",
4
+ "version": "5.27.0-staging.238",
5
5
  "description": "13 years of Microsoft hyperscale engineering, packaged as a harness for your AI coding agent.",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -17,6 +17,7 @@
17
17
  "scripts/claude-marketplace-sync.mjs",
18
18
  "scripts/electron-app-install-dir.mjs",
19
19
  "scripts/onboarding-backfill.mjs",
20
+ "scripts/running-studio-installs.mjs",
20
21
  "scripts/release-integrity",
21
22
  "scripts/muggle-watch",
22
23
  "config/runtime-targets.json"