levineuwirth.org/build
Levi Neuwirth 7ca937d98c Fix audit HIGHs/MEDs in build code
- ArchiveIndex: guard rawIndex/rawState with doesFileExist so a fresh
  clone (gitignored data/ JSONs absent) degrades to empty instead of
  crashing — the behavior the module doc already promised (AUDIT §1.2)
- Commonplace: decode YAML via encodeUtf8, not Char8.pack, which
  truncates codepoints above 0x7F (AUDIT §3.2)
- Stats: DayOfWeek is ISO-numbered (Mon=1..Sun=7); dowOf and weekStart
  assumed Mon=0..Sun=6, clipping every Sunday cell outside the heatmap
  viewBox and starting weeks on Sunday (AUDIT §3.1)
- Site: epistemicEntry now honors the proved/proven confidence sentinel
  like Contexts.overallScoreField (AUDIT §2.6)
- Contexts: affiliationField returns noResult instead of an empty list,
  so essays without affiliation no longer render an empty meta row
  (AUDIT §2.7)

Verified: full site build passes; proved page gets score=100 in
epistemic-meta.json; empty .meta-affiliation gone; heatmap rows
y=22..94 all inside the 104-high viewBox.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 09:21:30 -04:00
..
Filters Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
Archive.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
ArchiveIndex.hs Fix audit HIGHs/MEDs in build code 2026-06-10 09:21:30 -04:00
Authors.hs more prominent related pages 2026-05-03 14:01:14 -04:00
Backlinks.hs Add link archive system: snapshots, backlinks, link-rot 2026-05-23 10:06:33 -04:00
BibExtras.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Catalog.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Citations.hs Navigation refactor 2026-04-19 14:35:41 -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 Fix audit HIGHs/MEDs in build code 2026-06-10 09:21:30 -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 Marks II: broader monogram coverage + audit-marks tool 2026-05-23 12:05:08 -04:00
Now.hs Current rework 2026-04-26 19:42:47 -04:00
Pagination.hs Navigation refactor 2026-04-19 14:35:41 -04:00
Patterns.hs Spec dilemma 2026-05-01 21:22:01 -04:00
Photography.hs more prominent related pages 2026-05-03 14:01:14 -04:00
SimilarLinks.hs major visual changes - dingbats, footer, etc 2026-04-17 12:48:22 -04:00
Site.hs Fix audit HIGHs/MEDs in build code 2026-06-10 09:21:30 -04:00
Stability.hs Marks I 2026-05-07 23:51:14 -04:00
Stats.hs Fix audit HIGHs/MEDs in build code 2026-06-10 09:21:30 -04:00
Tags.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00
Utils.hs Tighten partial patterns and switch to strict file reads in build/ 2026-05-07 15:08:47 -04:00