#!/usr/bin/env node
import { runRunnerIssueVisibilityPreflight } from "./src/runner-issue-visibility-preflight.mjs";

try {
  const result = await runRunnerIssueVisibilityPreflight(process.argv.slice(2));
  console.log(JSON.stringify(result, null, 2));
} catch (error) {
  console.log(JSON.stringify({
    reportKind: "runner-gh-visibility-preflight",
    issue: "pikasTech/HWLAB#51",
    conclusion: "blocked",
    error: error instanceof Error ? error.message : String(error)
  }, null, 2));
  process.exitCode = 1;
}

