* refactor(ida): launch stdio registrations through the owned MCP transport
IDA stdio servers now run as an owned process group (POSIX) or job (Windows) through OwnedMcpStdioTransport instead of the SDK's unowned child. Windows bare commands resolve against the registration PATH/PATHEXT and .cmd/.bat launchers run through the shared WindowsBatchCommand cmd.exe invocation. The frame limit is classified from the transport's typed OwnedMcpOutputLimitError instead of parsing SDK error text, detach no longer reaches into the SDK's private _process, and the per-operation byte budget is optional.
* fix(ida): keep owned stdio cleanup observable and resolve Windows interpreter paths
- StructuredContentMcpClient observes SDK-initiated closes like OwnedMcpClient,
so a failed handshake with incomplete owned cleanup cannot reject unhandled.
- OwnedMcpStdioTransport attaches an owner-redacted captured output to cleanup
failures; IDA passes its retained stderr tail.
- findWindowsExecutable resolves path-qualified commands at their own location
with PATHEXT; IDA routes every Windows registration through it and refuses
non-drive paths with an actionable remedy before the owned launcher.
* fix(process): end a stalled stdio launch when the owned MCP transport closes
OwnedMcpStdioTransport passes the launcher a signal it aborts with OwnerCancellation.ownerClosed when it stops, so IDA's Windows PATH/PATHEXT lookup stalled on an unreachable directory no longer holds close() open; IDA reports the interrupted lookup by its abort reason. The IDA environment tests use createTestTempDirectory for owned temporary roots.
* fix(ida): bound the Windows command lookup by the registration timeout
The PATH/PATHEXT search for a stdio registration now runs under a ProviderStartupDeadline of the registration's timeoutMs that also follows the transport's close signal. A lookup stalled on an unreachable PATH directory ends as an AnalysisTimeoutError (phase windows_path_lookup) instead of leaving connect() pending, matching Apktool's Windows lookup.
* test(ida): stub REA's PATH again now that process inspection runs ps from fixed locations
* test(ida): pass the required registration protocol in owned-stdio fixtures
* fix(ida): report an uninspectable Windows command candidate with its path and code
* refactor(ida): take the host platform from composition, not an ambient read
* fix(verify): pass the host platform to the real IDA upstream check
* fix(process): keep a failed launch's preparation cleanup owned by the stdio transport's close
OwnedMcpStdioTransport discarded the launch rejection before a supervisor
existed, so an ownership-helper preparation that transferred a cleanup owner
(or reported a cleanup failure without one) was dropped and close() reported
success. The transport's close now closes each transferred owner from
processInspectionCleanupFailures, and reports a ProviderCleanupError naming the
preparation resource until it does; a later close retries it.
* refactor(process): give POSIX PATH search order one owner
Program lookup, the packet-tool locator and Jadx's Java lookup each split
PATH and resolved empty and relative entries themselves. They now take the
candidates from posixPathCandidates in src/process/executableSearch and keep
only their own probe and failure reporting. A counted architecture guard
keeps new PATH splits from returning; the remaining Windows and Ghidra
searches are baselined.
* refactor(process): move the colon-split PATH searches onto the search owner
REA's launcher-alias lookup and Ghidra's macOS Java lookup split PATH on
":" and skipped relative entries themselves; they now use
posixPathCandidates with relativeEntries: "skip", and the guard counts
colon splits of PATH as well.
* fix(process): produce PATH candidates lazily so an unused entry cannot fail an earlier match
* refactor(process): give Windows PATH/PATHEXT search order the executable search owner (#10916)
* refactor(process): give Windows PATH/PATHEXT search order the executable search owner
* fix(process): keep later PATH entries searchable after a stray quote or a removed working directory
* fix(reverse): refuse a Windows objdump or Rizin command that PATH does not find (#10953)
* fix(reverse): refuse an objdump or Rizin command Windows PATH does not find instead of launching the bare name
* fix(reverse): report a Windows lookup refusal after cancellation and to capability discovery
* fix(desktop): search a Windows host's PATH as Windows does when doctor looks up a program
programOnPath sent every host through the POSIX PATH search, so on Windows a
relative PATH entry reached absoluteCallerPath with platform linux and the
Windows working directory, which resolved against itself until the stack
overflowed. programOnPath now searches PATH and PATHEXT through
windowsPathCandidates on a Windows host, and absoluteCallerPath refuses a
non-POSIX working directory with a TypeError instead of recursing.
* refactor(errors): give caller aborts a typed reason at the adapters
Squashes 908813551f, 87858de4dc (fix(mcp): preserve cancellation reasons in handlers) and fa151dc3f6 (test(server): race handler-entry gates against the triggering tool call) onto main without #10566's pre-squash commits.
* refactor(errors): give owner-initiated aborts a typed reason outside the browser adapters (#10692)
* refactor(errors): give owner-initiated aborts a typed reason outside the browser adapters
* refactor(verify): keep the abort-reason scan receiver-independent
Playwright's route.abort takes a network error code; the one call site now names its default code instead of the guard exempting a variable name.
* refactor(browser): give owner-initiated CDP aborts typed reasons (#10706)
* refactor(browser): give owner-initiated CDP aborts typed reasons
* fix(browser): give the page-side request fetch page-native abort reasons
The request callback runs in the page through page.evaluate and cannot
reach REA's modules. Define its deadline and cleanup reasons as
DOMExceptions inside the callback, and make the test fake evaluate the
callback from its source so module imports are unavailable, as in a page.
* test(process): expect the reader close's typed owner reason
Closing the Darwin run-token reader aborts its compilation with OwnerCancellation.ownerClosed since the owner-abort change in this PR; the boundary test still expected the default DOMException.
* fix(server): report HTTP session replacement and shutdown to pending tools as an owner close
Resolve Windows ADB, Apktool and update commands against the selected
PATH/PATHEXT before launch. Keep explicit paths and relative PATH choices,
report lookup failures, and reuse absolute batch invocation and ownership.
Add native launch/argv regressions, real npm metadata probes and focused
CI ownership so these boundaries retain Windows verification on the fast tier.
Fixes#7724
Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage)
Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Assisted-by: Yukari (gensokyo-skills:yukari-boundary-analysis)