/**
* Installs stuck on the Git Bash hook-check false positive (#3088, #3100) run
* their own old updater and old /gstack-upgrade text, so code on main cannot
* reach them; the troubleshooting page their held-update and setup messages
* link to can. Both anchors name the false positive and give one copy-paste
* recovery, which also covers /gstack-upgrade's "is not a gstack checkout".
*/
import { describe, expect, test } from 'bun:test';
import * as fs from 'node:fs';
import * as path from 'node:path';
const ROOT = path.resolve(import.meta.dir, '..');
const DOC = fs.readFileSync(path.join(ROOT, 'docs/troubleshooting.md'), 'utf8');
const RECOVERY = 'cd ~/.claude/skills/gstack && git pull --ff-only --autostash && ./setup';
function section(anchor: string): string {
const start = DOC.indexOf(``);
expect(start).toBeGreaterThan(-1);
const next = DOC.indexOf('`);
});
});