// src/cli/commands/ft-repair.ts
// DO NOT RE-ENABLE — see CLAUDE.md "no-global-settings-injection".
// `fewtok repair` re-applied global mutations on demand — same anti-pattern as
// install/on. To scrub legacy state, run `fewtok uninstall`.

export async function cmdFtRepair(_positional: string[], verbose: boolean): Promise<number> {
  const msg =
    "fewtok repair is disabled — ft does not mutate ~/.claude/settings.json. " +
    "If legacy receipts or sessionstart patches need cleanup, run: fewtok uninstall.";
  if (verbose) console.log(msg);
  else console.log("err=disabled use=fewtok-uninstall");
  return 1;
}
