STEP 2211 — Signature drift 自動検出

2026-09-23 · rei-aios-59 · 2nd batch of 6 items sequential #3 · STEP 2208 defer item 対応
Summary: STEP 2208 で defer した 「Signature drift 自動検出: canonical Niu abs HTML fixture + 一致 unit test」 実装。 WITHDRAWAL_SIGNATURES (arxiv-withdrawal.ts、 STEP 2208 で shared module 化) が arxiv HTML markup 変更 で silently invalid になった 時 の 検出経路 land。 fm-signature-drift-goes-undetected 対応。

Fm addressed

fm-signature-drift-goes-undetected: STEP 2208 shared module 化 は 「1 箇所 update すれば 両 caller 反映」 の structural fix、 但し arxiv 側 が markup 変更 したら 4 signatures 全 miss して silent = fetcher output で 撤回 paper が active 扱い、 STEP 2202 で emerge した fm-radar-withdrawn-paper-not-flagged と 同型 の 再発 risk。 本 STEP は drift detection 経路 を land。

Implementation

File: scripts/research-radar/signature-drift-check.ts (~110 line)

Two modes

Exit codes

Test 実測

Offline mode (300ms):

▶ Source: embedded OFFLINE_FIXTURE (270 chars)
  Signatures tried: 4
  ✓ withdrawal signature matched: "paper has been withdrawn by"
  Verdict: no drift (at least one signature still fires against this fixture).

= detection logic self-test PASS、 embedded fixture と 4 regex の 同期 confirmed。

Live mode: 本 session 未実行 (arxiv HTTP budget 保持)、 STEP 2202 WebFetch verify で 同 markup 存在 confirmed で next 実行 PASS 予測。

Effect

未来 arxiv HTML markup 変更 の early warning:

Honest scope