All rules

Chat citation residue

chat-citation-residueon by defaultJapanese / English

Marks a pasted chat answer leaves behind, such as "?utm_source=chatgpt.com"

Example

Flagged
The steps follow [the official guide](https://example.com/setup?utm_source=chatgpt.com).
What chaff prints
1:65 "utm_source=chatgpt.com" is left over from a chat answer
Fixed
The steps follow [the official guide](https://example.com/setup).
What chaff prints
no finding

How to fix

Open the link and check it supports the sentence. If it does, keep the link and drop the "?utm_source=…" at its end. Delete citation marks (oaicite, contentReference).

Why it matters

A link ending in "?utm_source=chatgpt.com" and a ":contentReference[oaicite:0]" are marks a chat answer leaves when it is pasted. This is not a matter of style: it shows the paste was never checked, and that nobody has confirmed the link supports the sentence it sits on.

What it does not flag

Code is not read (an article that explains the parameter in backticks). Other utm_source values (newsletter, twitter) are not counted.

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: chat-citation-residue — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax chat-citation-residue --why "reason"
Turn it off for the team (chaff.yaml)
rules: chat-citation-residue: off
Technical details
Layer
L2
Status
stable
Severity
warning
Languages
Japanese and English
Suited to
blog, business, technical, legal, docs, academic, literature, speech

Levels

Set a level for this rule under rules in chaff.yaml. With nothing set, it runs at the level its genre gives it (see By genre below).

strictreported once there are 1
normalreported once there are 1
relaxedreported once there are 2

By genre

Runs by default in
technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper, literature/fiction, literature/essay, literature/poetry, literature/play, speech/address, speech/transcript

Genres

Message

"{matched}" is left over from a chat answer

Rewrite depth (chaff fix-plan --depth): light — words and sentences; the structure and the voice stay

This page is built from the rule's definition file:packages/chaff/rules/chat-citation-residue.yaml