Position the paper against prior automation, not against a topic. At ASE the question a reviewer holds is "what does this tool/technique do that the existing automated approaches do not?" — so related work is a delta argument, and the strongest deltas are stated against named, runnable prior tools you can (and often must) compare against empirically.
An automated-SE paper usually sits at the intersection of several lanes; name your position in each that applies:
Write each related-work cluster as: prior automation X does A; it cannot do B because C; we do B. Then, where B is comparable, compare against X empirically — ASE reviewers expect a head-to-head against the closest runnable baseline, not just a prose distinction.
[Cluster] spectrum-based fault localization
Prior: ranks statements by suspiciousness from pass/fail spectra.
Gap: assumes a fixed test suite; degrades when tests are flaky.
Delta: our technique estimates and corrects for flakiness before ranking.
Evidence of delta: head-to-head on the same faulty subjects, §5.2, Table 3.
Because automated-SE ideas appear across venues, position precisely: a testing-theory result may live at ISSTA, a broad empirical study at FSE, a language mechanism at a PL venue. When you cite across venues, make the ASE delta — the automation you add — explicit, so a reviewer does not read your contribution as a reheated sibling-venue result.
[Recency] at least the last 2-3 years of ASE/ICSE/FSE/ISSTA automation in your subarea cited?
[Closest baseline] is the single most similar runnable tool named AND compared, not just cited?
[Cross-venue] PL/ML/testing neighbors positioned so your automation delta is explicit?
[Anonymity] every self-citation in the third person; no repository ownership revealed?
[Honesty] any obvious competitor conspicuously missing? (a reviewer will notice)
[Lanes] which automated-SE lanes the paper touches
[Delta table] prior tool -> what it does -> gap -> your delta -> where the head-to-head lives
[Baseline fairness] closest runnable baseline named, version pinned, equal budget?
[Anonymity check] self-citations third-person, no repo owner revealed