levineuwirth.org/build/Filters
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
..
Aftermatter.hs visual enhancements 2026-04-15 22:25:38 -04:00
Archive.hs Archive: close out the audit-pass refinements 2026-06-19 16:23:14 -04:00
Code.hs initial deploy! whoop 2026-03-17 21:56:14 -04:00
Dropcaps.hs initial deploy! whoop 2026-03-17 21:56:14 -04:00
EmbedPdf.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Images.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Links.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Math.hs initial deploy! whoop 2026-03-17 21:56:14 -04:00
Score.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Sidenotes.hs Sidenotes: emit the section.footnotes fallback the CSS expects 2026-06-10 10:37:28 -04:00
Smallcaps.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
SourceRefs.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Transclusion.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Typography.hs audit: Haskell build system correctness + Patterns.hs + Stats blaze rewrite 2026-04-10 17:41:13 -04:00
Viz.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00
Wikilinks.hs Filters: fence/code-span awareness, host matching, nested-header skip 2026-06-10 11:13:08 -04:00