export declare const DRIFT_INVERSE_FIX_SH = "WP_BRANCH=\"$(git -C \"$ROOT\" branch --show-current 2>/dev/null)\"\n WP_PIN_EDIT=\"edit $ROOT/pnpm-workspace.yaml - the catalog line for $DRIFT_PKG, or that dependency in $ROOT/package.json if this repo pins directly - and set it to $DRIFT_INSTALLED, then run 'pnpm install'\"\n if [ -z \"$WP_BRANCH\" ]; then\n WP_FIX=\" Fix Option 1: (preferred) HEAD is DETACHED here, so a pin edit would belong to no branch - get onto main instead, whose pin is already at or ahead of what is installed, so the drift clears with no edit at all${NL} run EXACTLY: 'git checkout main && git pull origin main', then 'pnpm install'${NL} Fix Option 2: you mean to stay on this exact commit - the downgrade to $DRIFT_DECLARED is the point${NL} run EXACTLY: 'pnpm install'\"\n elif [ \"$WP_BRANCH\" = main ]; then\n WP_FIX=\" Fix Option 1: (preferred) go FORWARD - keep what is installed and raise the pin to match it${NL} ${WP_PIN_EDIT}${NL} That edit is ALLOWED while this block is up, and the install then only rewrites the lock - nothing is downgraded, because the pin now names what is already on disk.${NL} Fix Option 2: you are on main and want what origin pins instead${NL} run EXACTLY: 'git checkout main && git pull origin main', then 'pnpm install'\"\n else\n WP_FIX=\" Fix Option 1: (preferred) go FORWARD - keep what is installed and raise THIS branch's pin to match it${NL} ${WP_PIN_EDIT}${NL} That edit is ALLOWED while this block is up, and the install then only rewrites the lock - nothing is downgraded, because the pin now names what is already on disk.${NL} Fix Option 2: you mean to align node_modules to YOUR branch pin - that is a DOWNGRADE to $DRIFT_DECLARED, so pick it only if you meant to${NL} run EXACTLY: 'pnpm install'${NL} Do NOT reach for 'git pull origin main': pulling main into a feature branch destroys the fork point the build gate --base and the PR review diff are computed from, and the guards block it.\"\n fi";