Narrative comment.
A multi-line comment block that walks through what the function does in prose. The signature already says it; the prose is decorative.
// This function takes a user ID and a list of orders,
// filters the orders to only those belonging to the user,
// then sums the total amount across them and returns it.
function sumUserOrders(userId: string, orders: Order[]): number {
return orders
.filter(o => o.userId === userId)
.reduce((sum, o) => sum + o.amount, 0)
} function sumUserOrders(userId: string, orders: Order[]): number {
return orders
.filter(o => o.userId === userId)
.reduce((sum, o) => sum + o.amount, 0)
} Agents are trained to "explain" code. They pad function bodies with explanatory preambles even when the signature, parameter names, and operator chain already tell the same story.
How this rule is justified.
ai-slop/narrative-comment
ai-slop
Deterministic comment-block parse: flags consecutive comment lines that paraphrase the immediately following declaration.
WHY comments, license headers, doc comments documenting public API contracts, and comments stating a non-obvious constraint are not flagged.
Verbosity signals derive from SlopCodeBench, which measured comment padding in long-horizon coding tasks, and recurred across the first public scan batch.