levineuwirth.org/build
Levi Neuwirth b856911279 Archive: close out the audit-pass refinements
Six follow-ups from the link-archive audit, all the items with a
code-shaped fix. Behaviour verified per feature (stubbed + live where a
network or browser was needed); ARCHIVE.md status notes updated alongside.

- suggest: `archive.py suggest` + `make archive-suggest` print works
  cited in data/*.bib (url wins, DOI-only resolves to doi.org/...) but
  absent from the manifest, as manifest-ready lines. Read-only, offline.

- aliases: optional `aliases:` manifest field for equivalent URLs no
  normalisation can derive (DOI vs. landing URL). Enforced like canonical
  URLs on both sides (archive.py pre-scan + Archive.hs validator);
  ArchiveIndex drops alias keys matching a takedown. FIPS 203 now carries
  its DOI form, so the simd paper's DOI citation resolves.

- check scheduling: systemd user timer (systemd/archive-check.{service,
  timer}, symlink-installed) runs the rot scan daily. cmd_check gains an
  offline canary guard so an unattended scan on an offline machine leaves
  state untouched instead of mass-flipping entries to rotted.

- Wayback fallback: an original already dead at first fetch falls back to
  its most recent existing Wayback capture (raw id_ bytes through the
  normal pipeline), honouring a preserved X-Archive-Orig noarchive and
  recording `fetched-from`. Dead-only, never during refresh.

- bibliography annotation: Filters.Archive exports annotateBlock;
  Citations.hs applies it to each CSL-rendered entry, so bibliography
  links get the same affordance / rotted-flip as body links.

- search-UI filter: archive "exclude/only" + "link status" filters on the
  search page, backed by a new data/archive-meta.json. Scoped apart from
  the epistemic `status` filter (own state, classes, labels) rather than
  renamed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 16:23:14 -04:00
..
Filters Archive: close out the audit-pass refinements 2026-06-19 16:23:14 -04:00
Archive.hs Archive: close out the audit-pass refinements 2026-06-19 16:23:14 -04:00
ArchiveIndex.hs Archive: close out the audit-pass refinements 2026-06-19 16:23:14 -04:00
Authors.hs more prominent related pages 2026-05-03 14:01:14 -04:00
Backlinks.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
BibExtras.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
Catalog.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
Citations.hs Archive: close out the audit-pass refinements 2026-06-19 16:23:14 -04:00
Commonplace.hs Fix audit HIGHs/MEDs in build code 2026-06-10 09:21:30 -04:00
Compilers.hs Spec dilemma 2026-05-01 21:22:01 -04:00
Contexts.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00
Dingbat.hs major visual changes - dingbats, footer, etc 2026-04-17 12:48:22 -04:00
Filters.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Main.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Marks.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
Now.hs Current rework 2026-04-26 19:42:47 -04:00
Pagination.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00
Patterns.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00
Photography.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
SimilarLinks.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
Site.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00
Stability.hs Fix audit MEDs in feature modules 2026-06-10 09:43:25 -04:00
Stats.hs Feature modules: URL normalization, Maybe-trust, proper medians 2026-06-10 11:13:34 -04:00
Tags.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00
Utils.hs Core build cleanups: guards, pattern unification, noResult hygiene 2026-06-10 11:13:08 -04:00