/* RFC-0364: JSONC normalizer using jsonc-parser — strip comments, stable stringify. Do not introduce app-specific runtime composition or deployment behavior into this reusable package source file. RFC-0364: initial JSONC normalizer. */ import { parse as parseJsonc } from "jsonc-parser"; import { stableJsonHash } from "@warpgogol/werkstatt-shared/fingerprint"; export function normalizeJsonc(content: string): string { const parsed = parseJsonc(content); return stableJsonHash(parsed); }