// What a decision kind is, in a few words after the piece's title: the Inbox's // card line ("Quartering diet ยท claims never ruled") and a piece page's Next // card. Pure, browser-safe. /** @type {Record} */ export const WHAT = { "research-proposal": "research proposal", "iteration-failed": "run failed", "iteration-ready": "iteration ready", "drafts-unreviewed": "drafts to review", "verdict-proposed": "verdicts proposed", "unreadable-proposals": "verdicts.proposed.json does not read", "open-note": "open notes", "unreadable-notes": "notes.json does not read", "link-ambiguous": "video not linked", "looks-done": "looks done", "tick-failed": "tick failed", "tick-held": "tick held by a cap", "tick-partial": "tick partial", "edition-ready": "edition ready", "worth-researching": "worth researching", "refresh-available": "new recordings match", "refresh-held": "refresh held by the cap", "sources-complete": "sources complete: re-sweep", "claim-unadjudicated": "claims never ruled", "claim-incoherent": "claims that don't hold together", "clip-no-cues": "clips with no cues", "clip-unfetchable": "clips can't be fetched", "clip-unchecked": "sources not checked", "clip-mid-sentence": "clips end mid-sentence", "clip-cue-gap": "clips over a cue gap", "clip-cut-outside": "cuts outside the window", "clip-gap-invalid": "gaps the build refuses", "clip-incorrect": "clips marked incorrect", "clip-rejected": "rejected clips still in the cut", "window-overlap": "windows overlap", "clip-cite-off": "clock or QR off the clip", "patch-markers-stale": "take patch names clips that are gone", "link-dead": "QR links that don't open", "links-unverified": "links not verified", "links-unchecked": "links not checked", "site-deploy-behind": "a cited site's deploy is behind the cut", "clip-link-policy": "QR links that break the link policy", "no-punctuation": "windows without punctuation", "manifest-invalid": "manifest invalid", "stale-build": "video out of date", unbuilt: "never built", "storage-unreachable": "media drive unreachable", "storage-mismatch": "storage disagrees", "source-status-stale": "source status not current", "unjudged-variant": "variants not judged", "missing-cut": "cuts missing", "stale-recipe": "recipes out of date", "no-recipe": "no recipe", "spec-problem": "spec problem", "no-plan": "plans unnamed", unattributed: "variants unattributed", "thumb-unaccepted": "no cover accepted", loudness: "loudness off target", "shadowed-name": "no address of its own", "unroutable-name": "no address of its own", "ambiguous-project": "two kinds match", "machine-tool": "a required tool is missing", "machine-disk": "disk nearly full", "version-unjudged": "versions to judge", "clips-unwalked": "clips not walked", "quote-check-stale": "quote checks out of date", "case-new-cues": "new transcripts since the last scan", "x-jar-stale": "X's cookies are stale and X work waits", "clip-quote-moved": "quotes heard away from the cut", "clip-quote-missing": "quotes not heard in the cut", }; /** A kind's words; an unknown kind reads as its id with spaces. */ export const whatOf = (kind) => WHAT[kind] ?? kind.replace(/-/g, " ");