Skip to content

fix(cutter): explain empty discovery when Cutter 2.5.0 rejects the plugin - #10310

Merged
morluto merged 14 commits into
morluto:mainfrom
SandstromPL:fix/cutter-2-5-plugin-rejection
Nov 18, 2026
Merged

morluto merged 14 commits into
morluto:mainfrom
SandstromPL:fix/cutter-2-5-plugin-rejection

Conversation

@SandstromPL

@SandstromPL SandstromPL commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refs #10299 (communication part; the plugin rejection itself is upstream in rizinorg/cutter#3659).

Official Cutter 2.5.0 builds have been observed to reject Python plugins at startup, including REA's Cutter bridge. No bridge session is published, so list_cutter_sessions returns no_live_bridge_found. Nothing in the result, the tool contract or the docs pointed at the Cutter release, and REA's docs did not say where to install the plugin.

Now a no_live_bridge_found discovery carries a limitations entry, in both the CLI and MCP results. It names the causes discovery cannot tell apart, including the observed 2.5.0 rejection. Discovery also counts descriptor candidates it could not read and published sessions that did not answer, so a partial result does not look complete. The Cutter bridge docs describe:

  • getting the version-matched plugin, including for npx installations;
  • the log lines Cutter prints when it rejects a plugin;
  • that 2.4.1 loaded the bridge in the reported check.

Problem and expected behavior

  • Smallest trigger: start official Cutter 2.5.0 with rea_bridge.py in its Python plugin directory, then run rea list-cutter-sessions.
  • Observed (reported in [Bug] Cutter 2.5.0 rejects the REA Python bridge on macOS arm64 #10299, macOS arm64): Cutter logs Plugin's create_cutter_plugin() function did not return an instance of CutterPlugin: "rea_bridge" and Loaded 0 plugin(s); discovery returns no_live_bridge_found. A minimal independent plugin fails the same way. Cutter 2.4.1 on the same host loads the bridge.
  • Upstream: Can't load plugins in new 2.5 version rizinorg/cutter#3659 (open) reproduces it with Cutter's own unmodified sample plugin in the official 2.5.0 Linux AppImage. The cause is unconfirmed.
  • Expected from REA: say what an empty discovery means and point at the known Cutter 2.5.0 rejection, without claiming a bridge-side fix.

Change and scope

  • Discovery result (src/domain/cutterDiscovery.ts, src/cutter/CutterBridgeClient.ts):
    • cutterDiscoverySchema gains limitations: string[], owned by cutterDiscoveryLimitations(status, unlisted).

    • For no_live_bridge_found, the limitation says discovery cannot tell which of these happened:

      • Cutter is not running;
      • Cutter did not load the REA Python plugin;
      • Cutter loaded it but the bridge could not publish a session (for example, an unwritable or full bridge directory), which the bridge does not log;
      • Cutter uses another REA_CUTTER_BRIDGE_DIR.

      It also says Cutter's startup log shows whether the plugin loaded, and that official Cutter 2.5.0 builds have been observed to reject Python plugins, including this one (Can't load plugins in new 2.5 version rizinorg/cutter#3659).

    • For sessions_found and no_live_bridge_found, it counts what discovery examined but could not list:

      • descriptor candidates the loader could not read (removed, not a private regular file, unreadable, oversized, malformed, or not matching its file name), stating that whether they describe Cutter sessions is unknown;
      • readable descriptors whose session did not return a valid status (stale after Cutter exited, unresponsive, or an incompatible bridge version).

      A sessions_found with nothing unlisted and the bridge-directory error statuses return [].

    • CutterBridgeClient.#loadDescriptors returns its unreadable count, and listSessions sets the limitation on both return paths, so the CLI and MCP project the same text.

  • Tool description: unchanged from main. An earlier commit put the guidance there, but the CLI never shows it, and the result carries it only when it applies.
  • Docs (docs/reverse-engineering-tools.md, Cutter bridge):
    • how to get the plugin: use the copy from the REA version you run. Because npx keeps the package in npm's cache, extract it from the published package with npm pack rea-agents@<version> and tar -xzf rea-agents-<version>.tgz package/bridge/cutter/rea_bridge.py, using npm.cmd in Windows PowerShell;
    • where to put it: the python subdirectory of Cutter's plugin directory, shown under Edit > Preferences > Plugins (per Cutter's plugin docs), then restart Cutter;
    • the 2.5.0 rejection, its log lines, the upstream issue, and that 2.4.1 loaded the bridge on the reported macOS arm64 host;
    • that other hosts and builds have not been checked.
  • Why not change the bridge: a minimal independent plugin fails the same way, and the issue asks not to assume a bridge-only fix.
  • Intentionally not included:
    • No Cutter version detection. When the plugin is not loaded, no descriptor is published, so REA cannot observe the Cutter version.
    • A new discovery status for published but unlisted descriptors. The counts in limitations show them without changing the status enum.

Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.

Contract and boundary impact

  • Semantic owner and earliest changed stage: cutterDiscoveryLimitations in src/domain/cutterDiscovery.ts owns what each discovery status cannot establish. The descriptor loader owns the unreadable count and the status probe the unanswered count. CutterBridgeClient.listSessions attaches the result, and the CLI and MCP adapters project it unchanged. Superseded: the description sentence from the first commit.
  • Contribution scope fit and linked maintainer decision: an ordinary result-guidance and documentation fix within the existing Cutter bridge, so not applicable.
  • CLI and MCP/tool-catalog contract: the list_cutter_sessions output schema adds required limitations: string[]. It is additive; discovery results are not retained Evidence, so no historical records need it. The description and input schema are unchanged.
  • Provider, bridge, target-format, or platform compatibility: documents an observed incompatibility with official Cutter 2.5.0 builds. The bridge and client are unchanged.
  • Evidence, artifact, provenance, or reconstruction contract: none.
  • Target selection, authority, upstream behavior, and cleanup details (if applicable): none.
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs and skills/; edit authored instructions in .agents/skills/reverse-engineer-anything/ and never commit build outputs): the generated tool catalog carries the new description, and the committed advertised-schema summary scripts/verify/advertised-schemas/tools/list_cutter_sessions.json records the new output compact schema hash.

Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.

  • Read existing files or captured data.
  • Launch or attach to a process.
  • Inject instrumentation or run scripts/code.
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction. (discovery result guidance and docs; no new target interaction)
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated (assertions compare with cutterDiscoveryLimitations rather than freezing its wording):
    • tests/boundary/cli/cutterCommands.test.ts (public CLI): rea list-cutter-sessions --json on an empty bridge directory returns no_live_bridge_found with the owner's non-empty limitation.
    • tests/boundary/mcp/cutterCancellationMcp.test.ts (MCP, real client): the recovered no_live_bridge_found discovery carries the same limitation.
    • tests/boundary/mcp/cutterMcp.test.ts (MCP): a found session returns limitations: [].
    • tests/boundary/providers/cutterBridgeRequestLimit.test.ts: one answering session beside one stale published session returns sessions_found with the owner's limitation for one unanswered session.
    • tests/boundary/providers/CutterBridgeClient.test.ts:
      • the mixed invalid-descriptor case (one answering session beside a truncated, an empty and a misnamed descriptor) returns sessions_found with the limitation for three unreadable descriptor candidates;
      • a published session whose status endpoint is dead returns no_live_bridge_found with one unanswered session.
    • Discovery fakes in the cutterCancellationMcp, CutterBridgeService, CutterBridgeClient and commandFinalizationCancellation tests now include the required field.
  • Base reproduction or other evidence: source-derived and from the linked reports. The Cutter 2.5.0 rejection and the 2.4.1 comparison come from [Bug] Cutter 2.5.0 rejects the REA Python bridge on macOS arm64 #10299 (macOS arm64) and Can't load plugins in new 2.5 version rizinorg/cutter#3659 (Linux AppImage). The install location comes from Cutter's plugin docs, and the packaged path from package.json files and scripts/verify-packed-bridge.mjs.
  • User-visible CLI/MCP output (if applicable): rea list-cutter-sessions --json with no live bridge now includes "limitations": ["No REA bridge session in bridge_directory answered. Discovery cannot tell whether Cutter is not running, did not load the REA Python plugin, loaded it but could not publish a session (for example, an unwritable or full bridge directory), or uses another REA_CUTTER_BRIDGE_DIR. Cutter's startup log shows whether the plugin loaded; the bridge does not log a publication failure. Official Cutter 2.5.0 builds have been observed to reject Python plugins, including this one (rizinorg/cutter#3659)."]. A found session beside two unreadable descriptors includes "2 descriptor candidates in bridge_directory could not be read (removed, not a private regular file, unreadable, oversized, malformed, or not matching its file name). Whether they describe Cutter sessions is unknown."
  • Remaining proof gaps:
    • No Cutter install was available here. Neither the 2.5.0 rejection nor the 2.4.1 load was reproduced for this PR.
    • The limitation lists possible causes and counts unreadable descriptors and unanswered sessions. It does not say which descriptor was skipped or which probe failed, or why; that would need a new structured field.
    • The bridge still does not log a failure to publish its session. Changing that would change the Python plugin, so it is left out of this PR.
    • npm pack against the registry was not run. The tar member path matches the packed layout that scripts/verify-packed-bridge.mjs checks, and the extraction command was run on a local mock archive with that layout.
    • Windows and other Cutter builds are unverified, as the docs say.
    • When a Cutter release loads Python plugins again, the 2.5.0 sentence needs a follow-up.

For boundary fixes, identify the applicable boundary regressions
and lifecycle regressions
covered by the evidence above, and explain relevant gaps.

  • Public success and error delivery: the limitation is asserted through the public CLI and through MCP with the real client.
  • Missing, empty, and unknown values: no_live_bridge_found now states which causes stay unknown instead of returning a bare empty list. Both statuses count unreadable and unanswered descriptors; sessions_found returns [] only when nothing was left unlisted.
  • Lifecycle: no cleanup or ownership changes. The Cutter cancellation and request-limit tests pass.

For evidence-bearing changes:

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

Run on Linux with Node 24.22.1 (.nvmrc) and npm 11.19.1 (packageManager pins 11.16.0), on upstream/main 54906fd:

  • npm run test:focused -- tests/boundary/mcp/cutterMcp.test.ts tests/boundary/mcp/cutterCancellationMcp.test.ts tests/boundary/providers/cutterBridgeRequestLimit.test.ts tests/boundary/mcp/compactInputSchemaMcp.test.ts tests/boundary/mcp/toolSchemaValidity.test.ts tests/boundary/mcp/mcpSchemaValidation.test.ts tests/conformance/contracts/mcpInputSchemaProfile.test.ts tests/conformance/contracts/mcpOutputSchemaProfile.test.ts tests/conformance/contracts/mcpResponseBudget.test.ts tests/conformance/contracts/mcpToolFamilies.test.ts: 10 files, 91 tests passed.
  • npm run test:local -- src/application/CapabilityInventory.test.ts src/application/AnalysisSettings.test.ts src/config/bridgeMaxRequestBytes.test.ts src/domain/resourceConstraintReattribution.test.ts src/contracts/toolEffects.test.ts: 5 files, 94 tests passed.
  • npx tsc --noEmit -p ., npm run check:fast and npm run docs:check passed.
  • npx oxfmt --check and npx oxlint on the changed files, and git diff --check: clean.
  • Follow-up a4e4ac6d7 (Codex review: CLI guidance and npx plugin source):
    • npm run test:focused on all 14 Cutter test files (providers, CLI, MCP): 114 tests passed.
    • npm run test:focused on the MCP schema and catalog-profile tests: 7 files, 70 tests passed. npm run test:local -- src/application/CapabilityInventory.test.ts src/contracts/toolEffects.test.ts: 66 tests passed.
    • npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check, npx oxlint on the changed files and git diff --check passed. CutterBridgeClient.ts keeps main's existing lint warnings.
    • Without the client wiring the build fails, because limitations is required.
  • Follow-up cf559c35b (Codex review: failed status probes): all 14 Cutter test files passed (114 tests), and npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed.
  • CI fix ee95bf8b5: shard 4 failed the five final-close cases in tests/process-global/commandFinalizationCancellation.test.ts. Its discovery fixture is parsed at runtime through the output schema, so the typecheck did not flag the missing limitations. After the fix, npm run test:focused on every test file that mentions Cutter (36 files) passed: 983 tests, 2 skipped.
  • Follow-up f745d3030 (Codex review: partial discovery):
    • All 36 test files that mention Cutter passed (983 tests, 2 skipped).
    • The mixed-case test fails when the client passes 0 instead of the unanswered count.
    • npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed. CutterBridgeClient.ts keeps main's 8 lint warnings, and listSessions stays within the function-length limit.
  • Follow-up cd4103109 (Codex review: unpublished sessions): all 36 test files that mention Cutter passed (983 tests, 2 skipped), and npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed.
  • Follow-up 40ff18204 (Codex review: unreadable descriptors):
    • All 36 test files that mention Cutter passed (984 tests, 2 skipped).
    • The new found-plus-unreadable test and the mixed invalid-descriptor test fail when the loader reports 0 unreadable descriptors.
    • npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed. CutterBridgeClient.ts keeps main's 8 lint warnings.
  • Follow-up 17b8ca6fe (Codex review: unreadable candidates do not establish sessions): all 36 test files that mention Cutter passed (984 tests, 2 skipped), and npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed.
  • Merge 0539370a3 (conflict with refactor: remove legacy seams and consolidate resource ownership #10349, which removed listDescriptors and made the mixed invalid-descriptor case answer): that case now asserts the limitation for three unreadable candidates, replacing this branch's separate test of the same scenario. On upstream/main bbe2bcc, all 36 test files that mention Cutter passed (983 tests, 2 skipped). The mixed case fails when the loader reports 0 unreadable candidates. npx tsc --noEmit -p ., npm run check:fast, npm run docs:check, npx oxfmt --check and npx oxlint passed, and CutterBridgeClient.ts keeps main's 8 lint warnings.
  • Merge 5d640f92f (conflict with feat(cutter): name the plugin re-copy recovery for sessions whose plugin source is unknown or modified #10950, which added each session's bridge_source and its recovery to discovery): kept both docs paragraphs and both test imports. On upstream/main 4126698, npm run test:focused on the 29 test files that mention Cutter passed (874 tests, 1 skipped), and npm run test:local on the 9 source test files that mention Cutter passed (129 tests, 1 skipped). npx tsc --noEmit -p ., npm run docs:check, npx oxfmt --check and npx oxlint on the changed files, and git diff --check passed. npm run check:fast was not run for this merge. CutterBridgeClient.ts has the same 9 lint warnings as main; listSessions is already over the function-length limit on main (105 lines) and is 110 lines here.
  • Merge d650e41d7 (no conflicts; brings in fix(setup): read MCPorter's XDG folder in the client configuration-root owner #11193, test(mcp): accept compact-profile guidance after the JavaScript analysis description #11195 and fix(process): relay a start abort missed during listener registration and expect owner-closed Rizin starts #11200, which fix the main test failures reported in [Bug] ClientConfigRoots.test.ts fails on main since #10698: SupportedClients.ts reads XDG_CONFIG_HOME for MCPorter #11145, [Bug] javascriptAnalysisResources.test.ts fails on main since #10632: the compact profile appends its reduced-form note to the tool description #11146 and [Bug] RizinDebugSessionCoverage.part1.test.ts fails on main since #11020: closeAll now aborts in-flight starts #11147): on upstream/main 8b7829e, npm run test:focused on the 29 test files that mention Cutter plus javascriptAnalysisResources.test.ts, RizinDebugSessionCoverage.part1.test.ts and RizinTtyCleanup.test.ts passed (32 files, 895 tests, 1 skipped), and npm run test:local on ClientConfigRoots.test.ts and the 11 source test files that mention Cutter passed (284 tests, 1 skipped). npx oxfmt --check and npx oxlint on the changed files, git diff --check and the pre-push architecture guards passed. npx tsc --noEmit -p ., npm run check:fast and npm run docs:check were not run for this merge. CutterBridgeClient.ts has the same 9 lint warnings as main; listSessions (105 lines on main, 110 here) and #loadDescriptors (168 on main, 178 here) are already over the function-length limit on main.
  • Follow-up 16799b99b (CI "Build package": the per-tool advertised-schema summary that test(mcp): record the advertised-schema summary per tool #11192 added was stale for list_cutter_sessions): records the output compact schema hash that CI printed for d650e41d7. node scripts/verify-advertised-schemas.mjs passed against the local build of d650e41d7; it verified the v8, Go RE2 and Python re engines, and the RE2 C++ and Rust engines are not installed here.
  • Merge 641493b3c (no conflicts; brings in test(environment): read an omitted advertised required list as empty #11391, which fixes the environmentServeWritesMcp.test.ts failure that came from main): on upstream/main 3676ec6, after npm ci, npm run test:focused on the 31 test files that mention Cutter plus environmentServeWritesMcp.test.ts passed (32 files, 1972 tests, 2 skipped), and npm run test:local on the 11 source test files that mention Cutter passed (258 tests, 1 skipped). node scripts/verify-advertised-schemas.mjs passed with the committed list_cutter_sessions summary (v8, Go RE2 and Python re engines). npx oxfmt --check and npx oxlint on the changed files, git diff --check and the pre-push architecture guards passed. npx tsc --noEmit -p ., npm run check:fast and npm run docs:check were not run for this merge. CutterBridgeClient.ts has the same 9 lint warnings as main; listSessions (105 lines on main, 110 here) and #loadDescriptors (168 on main, 178 here) are already over the function-length limit on main.
  • Merge 73efeafbe (conflict with 48e27e1, which pruned this file's packagedCutterPluginPath import beside the cutterDiscoveryLimitations import added here): kept this branch's import and dropped the unused one. On upstream/main 61f7484, npm run test:focused on the 31 test files that mention Cutter passed (2005 tests, 2 skipped), and npm run test:local on the 10 source test files that mention Cutter passed (256 tests, 1 skipped). node scripts/verify-advertised-schemas.mjs passed with the committed list_cutter_sessions summary. npx oxfmt --check and npx oxlint on the changed files, git diff --check and the pre-push architecture guards passed. npx tsc --noEmit -p ., npm run check:fast and npm run docs:check were not run for this merge. CutterBridgeClient.ts is unchanged by this merge and keeps the same 9 lint warnings.
  • Not run: npm run check:pr, or any real Cutter release.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: none; no Cutter release was run.
  • Package or release metadata impact: none beyond the generated tool output schema.
  • Security, privacy, process, or containment review: none. The limitation is fixed text and adds no target or environment data.

Author readiness

Human owner: @SandstromPL

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🤖 Generated with Claude Code

…ugin

Official Cutter 2.5.0 builds have been observed to reject Python plugins at
startup, including Cutter's own sample plugin and REA's bridge
(rizinorg/cutter#3659). No session is published, and list_cutter_sessions
returns no_live_bridge_found with nothing pointing at the Cutter release.

The list_cutter_sessions contract now says what no_live_bridge_found means
and names the observed 2.5.0 rejection. The Cutter bridge docs describe
installing the plugin, the startup log lines Cutter prints when it rejects
it, and that 2.4.1 loaded the bridge in the reported check. A minimal
independent plugin fails the same way, so the bridge itself is unchanged.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T03:52:58.168510Z 73efeaf New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Medium impact] This PR appears safe to merge; no blocking issues were found.

Summary

This PR adds shared guidance for empty or incomplete Cutter discovery and explains how to install the matching plugin.

  • Cutter discovery results explain when sessions may be missing or unlisted.
  • The Cutter guide shows how to install the bridge and read plugin startup logs.

No actionable issues found. The changes remain distinct from the target branch. This review was source-based; tests and real Cutter were not run.

Reviews (14) · Last reviewed commit: "Merge upstream/main into fix/cutter-2-5-..." · Reviewed by Greptile

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1c2ab947a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/contracts/cutterToolContracts.ts Resolved
Comment thread docs/reverse-engineering-tools.md Resolved
The guidance lived only in the MCP tool description, which
`rea list-cutter-sessions` never shows. The docs also assumed a known package
folder, which npx installations do not have.

The discovery result now carries limitations, owned by
cutterDiscoveryLimitations in the domain. For no_live_bridge_found they list
the causes discovery cannot tell apart, including the observed Cutter 2.5.0
Python-plugin rejection (rizinorg/cutter#3659). CLI and MCP project the same
text, and the tool description returns to its previous wording. The docs now
take the plugin from the published package of the matching version with
npm pack.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a4e4ac6d7b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/domain/cutterDiscovery.ts Resolved
SandstromPL and others added 2 commits November 13, 2026 11:23
no_live_bridge_found also covers a published session whose status probe
fails: a stale descriptor after Cutter exited, an unresponsive bridge, or
an incompatible bridge version. The limitation named only process,
plugin-loading and directory causes. It now lists these too, and the
dead-status-endpoint test asserts that such a discovery carries it.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>
commandFinalizationCancellation builds a Cutter discovery through the
list_cutter_sessions output schema, which now requires limitations. CI
shard 4 failed all five final-close cases with a ZodError. The fixture
now takes the owner's empty limitations for sessions_found.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ee95bf8b55

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/domain/cutterDiscovery.ts Resolved
When one session answered and another published session failed its status
probe, discovery returned sessions_found with no limitation. The partial
result looked complete. The client already throws for live ceiling
mismatches, so every other descriptor without a session is a failed probe.
It now passes that count to cutterDiscoveryLimitations, which reports the
unlisted sessions for sessions_found. The stale-descriptor case in
cutterBridgeRequestLimit asserts it.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f745d30308

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/domain/cutterDiscovery.ts Resolved
When Cutter loads the plugin but the bridge cannot write its session
descriptor, for example in an unwritable or full bridge directory,
_BridgeServer.run closes the socket without logging. Cutter's log then shows
the plugin as loaded, yet discovery finds nothing. The no-live limitation now
names that cause and says the bridge does not log it. The Cutter docs say to
check the bridge directory when the plugin is loaded but no session appears.

Refs morluto#10299

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cd4103109f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/cutter/CutterBridgeClient.ts Resolved
The descriptor loader dropped filename-matching candidates it could not read
before listSessions counted unanswered sessions, so a found session beside a
malformed, oversized, non-private or misnamed descriptor reported no
limitation. The loader now returns its unreadable count, and the discovery
limitation owner reports it beside failed status probes for both
sessions_found and no_live_bridge_found. The no-live text keeps only the
causes that leave nothing published; published sessions are now counted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 40ff18204d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/domain/cutterDiscovery.ts Resolved
SandstromPL and others added 3 commits November 13, 2026 12:34
A filename-matching candidate the loader could not read does not establish
that any session exists: it may be malformed, misnamed or removed while
reading. The limitation now counts unreadable descriptor candidates and
says whether they describe Cutter sessions is unknown, instead of saying
their sessions are not listed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve the CutterBridgeClient test conflict with morluto#10349, which removed
listDescriptors and made the mixed invalid-descriptor case discover its
answering session. That case now asserts the sessions_found limitation for
three unreadable candidates, replacing this branch's separate
found-plus-unreadable test, which covered the same scenario.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@morluto
morluto merged commit cb8096d into morluto:main Nov 18, 2026
43 checks passed
@morluto morluto added bug Something isn't working provider: cutter Analysis provider / engine: cutter labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working provider: cutter Analysis provider / engine: cutter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants