Skip to the content.

SF-015 · Stale reference: citations rot when the cited state moves

Status: candidate v1.1(外审侧审阅通过带三条修改,v1.1 已按意见修订;待外审终审后转 accepted) | Family: E · Process & Environment | Confidence: high(三实例实取) | as of 2026-10-23

One line. A document cites an external object’s state (issue open/closed, version, link alive) but carries no re-check mechanism, so the citation silently inverts its meaning when the cited state changes.

v1.1 changelog(2026-10-23,按外审三条意见): ① split into two subtypes — rot (true at write time, decays after) vs defect (incomplete at write time); ② re-check cadence now tiered by cited-object volatility instead of one-size-fits-all; ③ explicit scope statement — the linter covers governance-plane assets only, long-tail assets must cite facts, never bare states.

Symptom

A glossary README says:

opened as an open question in [themes#33] (2026-10-01)

Twenty-three days later, the cited issue is closed (closed 2026-10-02, wontfix, one day after the citation was written). The README still presents a dead question as a live one. Nobody notices, because nothing in the citing document watches the cited object.

The inversion is the same shape as SF-013’s temporal inversion, but with a different mechanism: there, the environment served a stale copy to correct logic; here, the citation itself is the stale copy, and the environment never pushes an update.

Two distinct harms compound:

  1. Wrong status claimed to readers. “Open question” invites contribution and debate; the thread is actually closed by a maintainer decision (wontfix). A reader who engages is acting on false information.
  2. Evidence chain contaminated downstream. Anything that cited the citation (machine files, other READMEs, review reports) inherits the rot without knowing it. Stale references compose.

A third variant observed the same day, from the reviewer side: a reviewer cites “PR #2 and #4 exist in repo X” from partial memory; the repo actually holds #2, #3 and #4. Partial enumeration presented as complete enumeration is the same disease with a different organ — the citation omitted checking before citing.

Why it is silent

The cited object changing state produces no event in the citing document. GitHub closes the issue; the README is a static file on another host; nothing bridges the two. The citation was true when written, which is exactly what makes it dangerous: every check that trusts “it was true then” passes, and the failure has no log, no alert, no diff.

Citations with state are liabilities, not facts. A fact (“SF-014 has a minimal reproduction”) decays slowly; a state (“#33 is open”) can decay in one day. Documents that treat the two identically accumulate rot at the speed of the fastest decaying thing they cite.

Minimal reproduction

# Day 1: document cites a live issue
echo "see the open question in <repo>/issues/33" >> README.md
# Day 2 (elsewhere, by someone else): the issue is closed wontfix
# Day 24: reader follows the citation expecting an open discussion
# → finds a closed thread; the README has been wrong for 23 days
#   with zero warnings in the citing repo

Observed: three instances within one week (see Evidence). Expected with the fix: the citing doc either carries a re-check record or does not cite the state at all.

Evidence(三个实立例,全部一手核实)

# 引用方 被引对象 写入时 实查时 亚型
1 lgd-glossary/README.md “opened as an open question” FG-TIDA/themes#33 2026-10-01 closed(2026-10-02,wontfix) 腐烂型
2 FG-TIDA/use-cases README 提交索引表 本仓 use-case #14(SynomosAI/MedXpert) 2026-10 初 #14 已 CLOSED(2026-10-05,labels=[]——无任何标签的静默关单,实查 API 返回空标签数组) 腐烂型
3 外审侧回执 “PR #2、#4 已开” FG-TIDA/wg1-ra-aai PR 列表 2026-10-23 实为 #2/#3/#4 三个 残缺型

Instance #2 note: the maintainer closed #14 leaving zero labels — not even a closing marker. The README index (line 21, verified 2026-10-23) still lists it. This makes instance #2 more typical than #1: the rot happened with no trace at either end.

Subtypes(v1.1,按外审意见分型——药不同)

亚型 机理 实例 药
腐烂型 rot 写入时正确;其后被引对象状态变化,引用未跟进 #1、#2 复查周期(Fix §2)+ linter 状态比对(Fix §3)
残缺型 defect 写入时即不完整/不正确——枚举不全、行号错、版本记错 #3 引用当时全量拉源(自查 §4;写入流程拉源,不靠记忆)

混型的代价:残缺型套用复查周期等于拿错药——复查只会重复确认一个从写入那天起就错的数字。两型必须分诊。

Self-check

对全部引用(两型通用):

  1. Does the sentence assert a state, or a fact? States use verbs like is open / is live / is current / has been submitted. Those need a check date or no assertion.
  2. Would the sentence still be true if the cited object changed yesterday? If the document cannot answer that, it is asserting state without liability control.

对腐烂型(写时正确、其后会变):

  1. Does the citation carry (a) status-at-citation, (b) a re-check cadence matched to the volatility tier (see below), (c) a fallback wording if the state flipped? Missing any one = this bug.

对残缺型(枚举/计数/行号):

  1. Was the enumeration pulled from the source at writing time, or from memory? Memory-written enumerations are suspect by default. The pull must be complete (list the whole set, not spot-check members) — instance #3 failed precisely because a spot-check of #2/#4 was presented as the full list.

Volatility tiers & re-check cadence(v1.1,按外审意见分级——防告警洪水)

One-size-fits-all re-check cadence produces alert floods; flood warnings get muted wholesale, and alert fatigue is a sibling of silent failure — the anti-rot tool must not rot first. Cadence follows the cited object’s volatility:

Tier 被引对象 变化速度 复查周期
高 issue/PR 状态、分支 HEAD、”当前最新版”措辞 以天计 以周计(如 14 天);或事件触发(发布前、投稿前强制查)
中 版本号、文件行号、目录结构、commit hash 以月计 以月计(如 90 天)
低 已发布标准(RFC/ITU-T Rec.)、存档 DOI、正式公报记录 以年计或不更新 免例行复查;仅在上下游迁移时顺手验

写入 cites.recheck 时必须带 tier 标注;linter 按 tier 取默认周期,条目可覆盖但不得低于 tier 下限。

Scope of coverage(v1.1,按外审意见写明射程——防「全生态已防住」错觉)

This catalog’s tooling has a bounded reach, and the entry must not overstate it:

Fix

Three layers, strongest first.

1. Cite facts, not states — or date-stamp the state. Rewritable in one line:

<!-- not this -->
opened as an open question in <repo>/issues/33

<!-- this: fact, survives any state change -->
raised in <repo>/issues/33 (2026-10-01); closed as wontfix 2026-10-02 — see the
thread for the maintainer's stated reasons

If the status matters, the closure is the finding. A citation that survives its subject’s state change carries more information, not less.

2. Attach a re-check trigger to any unavoidable state citation. Machine-readable at minimum:

cites:
  - ref: "FG-TIDA/themes#33"
    state_at_citation: open
    tier: high                    # volatility tier (see table) — required
    recheck: 14d                  # default per tier; may override upward only
    fallback: "closed without adoption (wontfix, 2026-10-02)"

The fallback pre-writes the post-rot wording, so updating is a one-line flip instead of a rewrite. The tier drives the default cadence — high volatility gets weeks, medium gets months, low gets none.

3. Linter: pull cited states at build time and diff. The catalog’s self-testing linter gains one rule: extract issue/PR/DOI/release links, resolve their current state, compare against state_at_citation; emit a finding on mismatch. Where the network is unavailable, degrade to “citation older than N days and never re-verified” instead of silently passing. Scope: governance-plane assets only (see Scope of coverage).

Negative control Expected result
Cite a closed issue as “open question” (variant of instance #1) linter flags the mismatch
Cite the same issue with closure date included (fix style) linter passes; sentence stays true after closure
Enumeration written from memory (instance #3 style) self-check question 4 triggers; enumeration re-pulled before citing

中文要点