import AppShell from "@/components/shell/AppShell"; import ToolList, { PILE_WHAT, type ToolEntry } from "@/components/tools/ToolList"; import { benchHref, digestContextHref, facesHref, findHref, mixHref, phraseFinderHref, pileHref, postsLibraryHref, songToolsHref, sourcesHref, trimHref } from "@/lib/hrefs"; import { TRIM_SETS } from "@/lib/trim"; export const dynamic = "force-dynamic"; // TOOLS (plans/umtool-redesign.md, P3): every bench that is not a piece's own // -- the song tooling that was top-level (find, mix, the four piles) and the // pages only deep links reached (faces, trims, sources), plus release 28's // verdict bench. One lit list; the rail opens Tools into the same entries // while you are in one. export default function ToolsPage() { const song: ToolEntry[] = [ { href: songToolsHref(), name: "Song piles", what: "The four judging piles, one page", testid: "song" }, ...(["sort", "salvage", "verify", "keeps"] as const).map((m) => ({ href: pileHref(m), name: m, what: PILE_WHAT[m], testid: m })), { href: findHref(), name: "find", what: "Every occurrence of a word across the corpus", testid: "find" }, { href: mixHref(), name: "mix", what: "A body and its clips on lanes, rendered", testid: "mix" }, { href: facesHref(), name: "faces", what: "Judge the faces a cover is cut around", testid: "faces" }, { href: sourcesHref(), name: "sources", what: "Where the palette comes from, across every song", testid: "sources" }, ...Object.values(TRIM_SETS).map((t) => ({ href: trimHref(t.id), name: `trim: ${t.id}`, what: t.label, testid: `trim-${t.id}` })), ]; const articles: ToolEntry[] = [ { href: benchHref(), name: "verdict bench", what: "Could a model propose a fact-check verdict well enough to review", testid: "bench" }, ]; const montage: ToolEntry[] = [ { href: phraseFinderHref(), name: "phrases", what: "How often phrases were said, by year, and a montage from one", testid: "phrases" }, ]; const corpus: ToolEntry[] = [ { href: digestContextHref(), name: "context notes", what: "Each channel's suggested digest context note, its evidence, and your Yes or No", testid: "context" }, { href: postsLibraryHref(), name: "posts library", what: "A private trending library's topics and posts: keep, drop or later, watch a topic, purge what was dropped", testid: "library" }, ]; const n = song.length + articles.length + montage.length + corpus.length; return (
); }