# PR #1339 — Windows Fix + CC 2.1.105 Adoption

v7.42.0 · Closes #1338

38 Files Fixed
140+Subprocess Calls
1 New Hook
7594 Tests Passing
173 Total Hooks

## Windows CMD Window Fix

Added `windowsHide: true` to every `execFileSync`/`execSync` call across 38 source files:

File | Calls | Frequency
--- | --- | ---
`lib/git.ts` | 10 | 10-50x/session — highest impact
`posttool/auto-lint.ts` | 9 | per Write/Edit
`notification/sound.ts` | 3 | per notification
`notification/desktop.ts` | 3 | per notification
34 other files | ~80 | varies

## CC 2.1.105 Adoption

Feature | Change
--- | ---
NEW PreCompact guard | New `lifecycle/pre-compact-guard` hook blocks compaction when background agents are active
NEW PermissionDenied retry | `denial-notification` returns `{retry: true}` on isolated denials
NEW HookResult fields | Added `decision: 'block' | 'approve'` and `retry: boolean`
BUMP CC floor | 2.1.94 → 2.1.105 across marketplace, CLAUDE.md, README, CI
BREAK TaskOutput | Removed from 5 skills (deprecated CC 2.1.83)

## PreCompact Guard Behavior

    elapsed since last agent spawn < 5min  →  BLOCK compaction
    elapsed >= 5min OR no spawns            →  ALLOW
    CLAUDE_CODE_ALLOW_COMPACT_DURING_AGENTS=1 →  ALLOW (override)