Skip to content

test(windows): prove the packaged MCP path on Windows - #79

Merged
abruption merged 1 commit into
mainfrom
test/78-windows-mcp-poc
Nov 21, 2026
Merged

abruption merged 1 commit into
mainfrom
test/78-windows-mcp-poc

Conversation

@abruption

@abruption abruption commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Issue

Closes #78

Problem and result

Add a Windows proof of concept for the packaged Rebut CLI and local MCP. It packs and installs the archive in a disposable fixture, checks the local npm command shim, and starts the command and arguments produced by Codex and Claude Code registration. It uses a fresh settings directory and one mocked provider response to verify collection, stdio, SQLite restart, metadata-only status, same-ID deduplication, and conflicting input.

The fixture also checks that persistent settings reads and writes still fail closed on Windows. It neither enables Windows settings nor exercises Codex or Claude Code application behavior, Worker mode, other credential stores, or live providers. Windows support would still require validated ACL ownership and path checks for settings, SQLite data, and host configuration.

Validation

  • Local macOS harness, typecheck, CLI and Worker dry-run build, 262 tests, and package smoke passed.
  • Native Windows x64 (Windows 2025 runner image, Node 24.22.3) passed the installed command shim, generated launcher arguments, stdio, persisted SQLite metadata, same-ID deduplication and conflict tests. Existing config.json reads and writes were rejected as expected. The provider call was synthetic. Windows run

Physical Windows verification

  • Ran the PoC on a physical Windows 10 x64 machine (build 19045), with Node 24.22.1 and npm 11.19.1.
  • Verified the transferred source archive's SHA-256, then built, packed, and installed PR head dea1acb in a disposable directory.
  • The installed rebut.cmd ran. Generated Codex and Claude Code launcher arguments initialized MCP stdio. After restart, SQLite returned the original request metadata. A repeated bundle did not call the synthetic provider again, and a changed bundle with the same ID returned conflict.
  • Persistent settings reads and writes were rejected as expected. The fixture used synthetic credentials and responses, and was removed after the run. This tested the generated launcher arguments rather than the interactive host applications.

Review

Claude Code (Opus 5.5) and Antigravity (Gemini 4 Argon medium) independently reviewed the fixture. Expanded checks for metadata, same-ID conflict, credential output, and cleanup, then reran the local harness.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 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-21T01:49:04.664293Z dea1acb Draft marked ready
🔒 Security Review ✅ Completed 2026-11-21T01:50:41.375806Z dea1acb Draft marked ready
ℹ️ 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.

@abruption
abruption merged commit b450c53 into main Nov 21, 2026
11 checks passed
@abruption
abruption deleted the test/78-windows-mcp-poc branch November 21, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(windows): prove the packaged MCP path on Windows

1 participant