Commit Graph
9 Commits
Author SHA1 Message Date
montjeffrey cefc906288 fix(grok): compare worktree roots with native realpath on Windows
GitHub Windows runners use an 8.3 short path for os.tmpdir()
(C:\Users\RUNNER~1\...). git rev-parse --show-toplevel returns the long
path, but JS fs.realpathSync does not expand 8.3 short names, so
isGitWorkTreeRoot compared unequal for a valid worktree and source
preparation fell through to the registry branch and threw.

Prefer fs.realpathSync.native (falling back to realpathSync for injected
fakes) in isGitWorkTreeRoot and findRegistrySource. Fail-closed behavior
is unchanged. Adds cross-platform and Windows-only regression tests.

Fixes the windows npm/full lane on #3882.
2026-11-09 22:07:06 -05:00
MistyStar d363c04261 fix: normalize Grok roots and isolate adapter transforms 2026-10-20 12:14:22 +08:00
MistyStar 4dc322a288 fix: preserve Grok repair receipt and marketplace identity 2026-10-20 11:50:57 +08:00
MistyStar d1fd275f48 fix: restrict Grok transports and preserve Windows config identity 2026-10-20 10:36:34 +08:00
MistyStar 3749c2be9a fix: address Grok review findings 2026-10-20 10:35:37 +08:00
MistyStar 61728d61b1 fix: preserve pinned Grok source semantics 2026-10-20 10:35:37 +08:00
MistyStar 3e65fde572 fix: preserve pinned Grok rollback version identity 2026-10-20 10:35:37 +08:00
MistyStar f69f945398 refactor: route Grok installs through canonical adapter 2026-10-20 10:35:37 +08:00
MistyStar 4b350af276 feat: prove Grok source identity and install lifecycle
Copy Grok installs from git archive of the marketplace pin, keep
per-server MCP attach on applyInstall, and make uninstall/rollback
own the managed version trees.
2026-10-20 10:33:37 +08:00