/* RFC-0364: Fallback text normalizer — normalize line endings and hash. Do not introduce app-specific runtime composition or deployment behavior into this reusable package source file. RFC-0364: initial text normalizer. */ import { byteHash } from "@warpgogol/werkstatt-shared/fingerprint"; export function normalizeText(content: string): string { const normalized = content.replace(/\r\n/g, "\n"); return byteHash(normalized); }