--- name: citation-needed description: Provide live, verifiable links when a factual claim is challenged with "citation needed", or when asserting a fact likely to be challenged; when writing an outline or article that may be published, with a References or sources section, a CSL-JSON sidecar, or a Zotero collection. Formats citations as blockquote markup with the page title as the link and a date. Not for code references or repo-local docs. --- # Citation Needed As established by Wikipedia, [citation needed](https://en.wikipedia.org/wiki/Wikipedia:Citation_needed) is a convention for requesting a citation to back a claim. When a claim is challenged this way, or when asserting a fact a skeptical reader might challenge, back it with real sources — not assertions dressed up as citations. ## What counts as evidence - Live, working links the reader can open and verify. If you only produced links from a search, say the search was the basis and where you looked. - Be honest about strength. If every source is a consumer how-to and there is no rigorous study, say so. Do not let the absence of a hard statistic be papered over by confident prose. - Retract the parts you cannot support. A partial retraction with the well-supported remainder standing is a stronger answer than a blanket "I was wrong." ## Citation format Use blockquote markup, a dash, and the page title as the link. Never paste raw in-your-face URLs. - Prefer the page title as the link text. - Give the date the source made the claim. - Month + year is the default. Within the last month or two, add the day. - Within the last day or so, add the time as well. - If the date is unknown, say "date unknown" rather than inventing one. ``` > "quote of the claim being cited." > — [Source Page Title](https://example.com/path), Site Name, Sep 23, 2026 ``` In madmode.com posts, the dash is `--`: `> -- [Page Title](https://example.com/path), Author or Site, Mon YYYY`. ## Writing for publication Anything that may be shared publicly cites public sources only: never unpublished notes, private LLM chats, or local-only links such as `zotero://select`. A claim that rests on one of those either becomes the author's own words or gets flagged ⚠️ until a real source turns up. - **Primary sources first.** Cite the W3C workshop paper, not a post about it. The author's own blog post on the topic goes in parentheses after it, as an inline link. - **Every reference gets a date**, so none pile up undated at the end of a newest-first list: software by a release from around when it became well known, web pages "as of" the month you read them, statutes by enactment. - **Outlines:** use Markdown footnotes (`[^key]`) collected in one `## References` section at the end, newest first, with no subheadings (Obsidian moves footnote definitions to the bottom, leaving subheadings empty). - **CSL-JSON sidecar:** keep ` - references.json` next to the outline, in the same order, with `id` equal to the footnote key. It's the data behind everything else. - **Published posts:** don't hand-write the sources list. Put `bib: - references.json` in the post's front matter, and the madmode site renders it with the xhlt91 bibliography conventions (`templates/_bib.html`, `tools/csl_bib.py`). Notes starting "TODO" or "placeholder" stay out of the published list. - **Zotero:** `tools/zotero_import_csl.py` in madmode-blog imports the sidecar into a collection named for the post (precedent: fs86, ai-scrape26). The public library syncs, so importing is publishing. Follow the library's existing conventions for each item type; RFCs, for example, are reports with type "Request for Comments" and institution "Internet Engineering Task Force", so the IETF RFCs saved search finds them. - **Links the fetcher can't read** (403, bot wall, JS-only): mark them 🙋 in the draft with the link; the author fetches the page by hand and saves a Zotero snapshot, which can then be read from `~/Zotero/storage`. - **Keep a copy of anything you quote, starting with the first fetch.** Checking exact wording later means fetching again, and fetches fail: PDFs come back as undecodable bytes, sites return 202 or 403. Save the fetched file (e.g. under `.tmp/snapshots/`) and queue it for the author in a 🙋 checklist (` - snapshots.md`) with each source's link and the words quoted from it. The author, acting as a human HTTP proxy, attaches it in Zotero or saves a snapshot. Agents can't attach files to existing Zotero items without a local API key. ## Search hygiene If you are the one asserting a fact, do a quick search before stating it as certain. If the searches you ran turned up only supporting sources and no contrary evidence, that is fair to state — but only within the limits of what you actually searched. ## Scope This governs factual claims and their citations. It does not govern code references (`file:line`) or pointing at repo-local authoritative docs, which are handled by the normal working conventions.