Skip to content
Developer toolsNew techTop 12% of today's analysed ideas

Bug-to-file prediction as a triage API

Package a bug-to-file localization model as an API or IDE/CI plugin that, given a bug report or stack trace, predicts which files in a repo need to change. Sell it to engineering teams as a triage accelerator, or bundle it into code review and bug tracker tools (Jira, Linear, GitHub Issues) to auto-suggest owners and files for incoming bugs, cutting time spent hunting through large codebases.

Original post

What to build

A CLI/IDE extension for solo developers and small teams that takes a bug report or stack trace and predicts which files in the repo need to change, using a bug-localization model — shippable as a VS Code extension or GitHub Action that comments on issues with suggested files.

Bug triage eats hours hunting through unfamiliar codebases; a model trained on real-world fix history can shortcut that search and turn a bug report straight into a ranked file list.

Demand

Solo devs and small teams maintaining large or inherited codebases want faster triage, and AI coding assistants have primed users to expect this kind of automated code navigation.

  • Hacker NewsAnnouncement

    Show HN: Wn – find the files a bug touches, trained on 1.1M real fixes — 6 points, 0 comments on HN.

Stack

  • OpenAI/Claude API for report parsing
  • Sentence embeddings (e.g. sentence-transformers)
  • GitHub Issues/Actions API
  • VS Code Extension API
  • Postgres or SQLite for repo file index
  • Supabase

Solo + AI difficulty

The hard part is the ML model itself (already built by the original project, so a builder could fork/wrap it rather than retrain); the easy part is wiring a GitHub Action or VS Code extension around an existing API. Time-to-MVP is roughly 1-2 weeks if reusing the open-source model, versus months if training a proprietary one.

Entry threshold
Model training on 1.1M fixes is already done by the original author, so a builder would need to wrap it as a hosted API, VS Code extension, or GitHub App with repo indexing; a usable MVP wrapper is a few weeks of work but real integration into CI or issue trackers to be reliable takes more iteration.
Window
3-6 months

Where to find first users

  • Show HN follow-up post
  • GitHub Marketplace listing for the Action
  • r/programming and r/devops
  • Indie hacker / build-in-public communities

Competitors

  • Wn (where-next, the original open-source project)

Counter-signals & risks

  • Bug localization accuracy trained on public/open-source fix datasets may not generalize well to proprietary, large, or monorepo codebases with different architectures and conventions

  • Existing bug tracker and IDE ecosystems (e.g., GitHub Copilot, Sentry, Jira integrations) may add similar file-prediction features natively, reducing the market for a standalone tool

  • Show HN traction and a novel model do not guarantee enterprise adoption, since engineering teams may be cautious about trusting automated triage suggestions without strong precision/recall guarantees

Original title: Show HN: Wn – find the files a bug touches, trained on 1.1M real fixes

  • Developer tools#1

    Paid hosted layer for the new open-source Petal tool

    Fork and host Petal (the new open-source CoScreen/ScreenHero successor) as a managed cloud SaaS with SSO, team admin, billing, and uptime guarantees, aimed at remote engineering teams who want pair-programming screen sharing without running their own servers. Target companies burned by the repeated shutdowns of CoScreen, Around, and Multi who want a reliable paid alternative backed by a vendor, not just a self-hosted repo.

    Demand
    6/10
    measured
    Buildability
    8/10
    est.
    Competition
    6/10
    est.
    via Hacker News
    33 competitors
  • Developer tools#2

    Guardrails to stop AI coding agents from looping

    Build a lightweight guardrail layer for AI coding agents (Claude Code, Cursor, Copilot, Windsurf) that checks generated changes against lightweight specs or invariants before they land, flagging contract violations early instead of letting agents loop through costly rework. Target developers and teams running heavy agentic coding workflows who are frustrated by agents breaking things repeatedly on the same task.

    Demand
    1/10
    measured
    Buildability
    5/10
    est.
    Competition
    10/10
    est.
    via Hacker News
    0No named competitors
  • Developer tools#7

    Shared spec-of-record to stop agent drift

    Build a lightweight spec-and-plan-of-record tool for solo devs using coding agents (Claude Code, Codex, Cursor): a single source of truth for the project plan, synced over MCP so every agent session reads the same spec instead of being re-briefed, plus a drift checker that diffs agent output against the spec before marking anything done. Sell to indie hackers and solo builders who are already losing hours to agents silently diverging from requested scope.

    Demand
    5/10
    est.
    Buildability
    7/10
    est.
    Competition
    10/10
    est.
    via Reddit
    0No named competitors
Bug-to-file prediction as a triage API — Nichr