Repository navigation
Conversation
supportedClients() defaults its env lookup to process.env, so on Windows hosts with real clients under %APPDATA% (e.g. a Devin install) the exact assertions picked up entries outside the fixture home and failed. Pass an explicit empty environment so the asserted set is the fixture's own. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The manifest-directory containment walk compared dirname() output (always native separators, progressively stripped) against the caller's verbatim manifest_path. A Windows path written as D:/exports/... or a ./-prefixed relative path could never string-equal its own dirname chain, so every source selection failed with "no containing manifest directory". Resolve the manifest path once so the walk and the source join share normalized absolute coordinates; the caller's spelling is still echoed back for identity binding. Fixes #1067. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
On Windows, npx is a batch shim (npx.cmd) that shell-less MCP clients cannot spawn, so the registration written by `npx rea-agents setup` reported success but the server never started. Emit cmd /c npx -y rea-agents@<version> mcp on win32 instead, the documented spawnable form. Status checks, re-setup, and uninstall recognize both the wrapped and historical bare forms as REA-owned, so existing registrations are refreshed rather than orphaned. Fixes #1066. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The Linux and macOS install workflows joined host-side paths (archive, mount point, launcher path) with the platform-local join(), which on a Windows dev host produced backslash spellings like \tmp\rea test\hopper.deb for a Linux package manager. The host abstraction is POSIX-only, so join with posix semantics explicitly. Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…HAR boundaries z.json() rebuilds objects through the assignment surface, so an own __proto__ member either vanished or silently became the copy's prototype, and plist parsing dropped the member entirely. Replace the shared JSON boundary with check-plus-safe-clone (Object.fromEntries keeps __proto__ an ordinary own property and retains null prototypes), restore the XML plist placeholder member instead of omitting it, and recover object-valued __proto__ members that the binary plist decoder leaves on the dictionary prototype. Caller-visible evidence, entitlements, keyed archives, and Interface Builder results now round-trip the member. Fixes #1036 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
snapshotRoots stat-ed a root before entering visit(), so a pre-aborted signal was never observed when the root did not exist — traversal returned success instead of rejecting. Check the signal at the root loop so cancellation is honored regardless of root existence. Also widen the journal-settlement test's quiet window for Windows timer granularity. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- mkdtemp under os.tmpdir() instead of a hardcoded /tmp - inject linux into the Hopper availability probe; skip Unix-socket lease tests where Hopper itself is unsupported (Node binds named pipes on win32, so a filesystem .sock path cannot listen) - assert the real native-authority loader reason in Ghidra doctor tests rather than the canned constant - realpath the Ghidra extension fixture path; 8.3 short-name temp dirs differ from their canonical spelling - skip it.each rows whose decoded filename contains '?', which NTFS cannot create Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ddon Headless IDA sessions allocate a private workspace whose lifecycle on win32 requires the bundled native addon; source checkouts do not carry native/windows/build/manifest.json, so PrivateRuntimeRoot correctly refuses. Skip those suites via privateRuntimeRootCapability() instead of reporting failures the environment cannot satisfy; attached-mode and observation tests still run everywhere. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…nstraint A completed analysis whose serialized Evidence envelope exceeds the runtime's single-string limit surfaced as an unqualified "Invalid string length" exception. The text content and structuredContent members repeat the candidate inside one JSON-RPC message, so measure both serialized representations against MAX_STRING_LENGTH; on overflow return isError with a resource_constraint projection carrying the retained evidence_id so callers can continue through evidence-scoped tools or the CLI, which streams the complete result. Refs #1053 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
knip's husky plugin parses .husky/pre-commit but does not link the `npx --no-install lint-staged` invocation to the devDependency on this platform, reporting the hook binary as unlisted and the package as unused. Disable the husky plugin (the hook runs one tool) and list lint-staged as ignored; both checks were green before this machine's platform gap surfaced them. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The capture contract description no longer advertises the removed __proto__ omission, so the generated catalog and skill digests changed. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
supportedClients() renders config and marker paths for a caller-injected platform but built them with host-native join(), so on Windows every Linux/macOS location was mangled (\home\a\Library\...) and win32 targets mixed separators. Render with posix joins, normalize backslash separators in caller-supplied home and env inputs for win32 targets, and resolve() both sides of client-registration identity comparisons so verbatim and host-resolved spellings compare equal. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The hdiutil attach verification required mount points under
${mountRoot}/ with a literal forward slash, so on Windows the owned
mount (join() emits backslashes) was rejected as outside the root.
Compare with relative() and reject empty, parent-traversing, or
absolute results, preserving fail-closed behavior on both dialects.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The secret-free evidence parameter split only on '/', so a Windows executable like C:\tools\node.exe produced its whole path as the name and leaked directory detail the field was designed to omit. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
With core.autocrlf=true on Windows the otool/demangle/installer fixtures were checked out as CRLF; the CRLF test helper then produced \r\r\n and parsers misclassified symbols and lost Mach-O sections. Add a .gitattributes pinning fixture text types to LF and normalize the worktree, and make the helper normalize before converting. Also use process.execPath instead of /usr/bin/true in a resolver fixture that does not exist on Windows. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- cliSetup: extract balanced JSON after the marker (ConPTY emits control bytes), dedupe npm_command case-insensitively, and wait for the focused option hint before pressing Enter - jsonInputStatus: TOON default output escapes backslashes like JSON; only YAML emits them raw, so compare the per-format serialized path - electronMcp: match file_path for either separator and derive the alias from the platform basename - analysisSnapshot: Windows reports 0o666 where POSIX mode bits do not exist - dependencyInstall: do not wrap the turbo spawn in a shell; cmd cannot parse the unquoted "C:\Program Files\..." node path - javascriptRuntimeObservation: gate the POSIX-only unresolved-location case and compare serialized path spellings for the JSON format Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Skip suites whose prerequisites genuinely do not exist on this host instead of reporting them as failures: - O_NOFOLLOW reference-source reads: Node exposes no usable no-follow open on Windows, and readReferenceSource deliberately fails closed - Windows native authority: the packaged rea-windows-x64.node addon is absent until CI builds it; private-runtime-root, owned-process, Ghidra, historical capture, and source-map codec suites gate on privateRuntimeRootCapability()/hasWindowsNativeAuthority() - Unix sockets, bash installers, python3 (Store stub), Xvfb display probing, /proc file-descriptor counting, POSIX signals, chmod mode enforcement, and the 32KB CreateProcess argv limit are host-locked Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
N0zoM1z0
left a comment
There was a problem hiding this comment.
Holding this head: supportedClients() converts a UNC home such as \server\share\Users\analyst to //server/share/Users/analyst, then posix.join collapses it to /server/share/Users/analyst/.claude.json. Windows interprets that as a local rooted path, so setup would write a different location. Use the selected platform path implementation and cover UNC as well as drive paths. ProcessEvidence also splits legal POSIX backslashes as separators; basename must follow the actual host dialect. The branch currently has merge conflicts and no upstream checks, and still modifies generated outputs removed from main. The MCP transport work overlaps the separately owned #1065/#1053 effort; I will keep that out of this maintenance lane. Narrow fixes and capability gates need current-main integration and native Windows CI before merge.
Summary
Cross-domain sweep driven by real Windows failures and open issues:
cmd /c npxMCP registrations for Windows clients and recognize them as owned__proto__members through JSON/plist/HAR evidence boundaries (also closes a silent prototype-injection path in the previous setter-surface rebuild)resource_constrainterror carrying the retainedevidence_idand a recovery path instead of crashing withInvalid string length. The error is projected for transport and documents that the Evidence is retained for follow-up tools.supportedClients()renders config paths in the target platform's dialect instead of mangling them with hostjoin(); DMG mount-root containment usesrelative()instead of a POSIXstartsWith; registration identity resolves both sides;executable_nameis a basename in both dialects; fixtures emulating Unix tool output are pinned to LF via.gitattributesO_NOFOLLOWon Windows, the packaged native addon is absent until CI builds it, and unix sockets / bash //proc/ POSIX signals / 32KB argv limits are host-locked.Test plan
npm run test:run— 4437 passed, 0 failed, 532 skipped (capability-gated) on Windows 11, Node 24npm run check:fast(typecheck + lint) — cleannpm run check:prstatic gates — typecheck, lint, format, knip, metadata, docs:check, jscpd, scan:todos all greenreal-*lanes own those claims.windows-native-build(ubuntu-latest + MinGW) builds and verifies the artifact, andpackage-e2eexercises it on real Windows.Generated with Devin