You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 06eea06
Browse filesBrowse the repository at this point in the historyBrowse files
fix(launcher): adopt legacy unmarked context-icon patch; Windows precise walk-up
Codex audit follow-ups, folded into the reconcile mechanism so md-copy builds
on a clean base.
Finding 1 (legacy bare-101): the old launcher/standalone wrote a bare,
unmarked `>=101)return null}`. The marker-only undo treated that as foreign, so
every default launch warned "context-icon anchor not found (extension
changed?)" and `CC_PATCH_CONTEXT_ICON=0` could not revert it (breaking the
migration table). undo now recognizes the bare form as a second ownership
fingerprint (`>=101` is dead upstream code, so it only ever appears as our own
output). A legacy bundle now self-heals: a default launch reverts bare -> `>=50`
then re-applies the marked form, capturing the correct pristine snapshot, with
no warning; a disabled launch reverts cleanly. The genuine "extension changed"
warning still fires for an unrecognized bundle.
Finding 2 (Windows precise discovery): reconcile was called with only
wrapperBin, ignoring the resolved `claude` (CLAUDE_REAL_BIN / autodetected).
An extension whose root sits outside the HOME fallback scan was left unpatched
on a terminal launch, contradicting the documented discovery model and bash's
walk from REAL_CLAUDE. Now reconcile(wrapperBin || claude), at parity with bash.
Tests: replace the obsolete "bare-101 is upstream" assertion with legacy
adoption + stderr-quiet coverage (upgrade-when-enabled, revert-when-disabled,
revert-by-master-switch, unrecognized-still-warns) across bash and node, plus a
precise-walk-up test with an extension root outside the fallback scan on both
platforms. 24 -> 32 tests, all green; bash -n / shellcheck --severity=warning /
node --check / py_compile clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments