← Corpus / dididecks-ai / sitemap

/toc/[deckSlug]/ — deck-level dual-surface review matrix (one row per slot × one column per variant)

The deck-level audit surface — distinct from `/toc/[deckSlug]/[variantSlug]/` which is the per-variant TOC. This route renders the full variants × slots matrix with dual-surface (Scroll + Play) ratings per cell, per-variant shippability rollups in the column headers, and a per-row drift indicator (`≠`) when scroll and play disagree. Effectively just embeds the `DeckMatrix` component with `showNav={true}` so the variant-chooser pills sit at the top. Reads from the same audits registry the per-slot SlideRankPill writes to — values match what reviewers actually clicked.

Path
sitemap/routes/toc-deck.md
Authors
Michael Staton

/toc/[deckSlug]/

Distinction from /toc/[deckSlug]/[variantSlug]/

RouteGranularityShape
/toc/[deckSlug]/ (this file)one deck, all variantsvariants × slots matrix; dual-surface ratings per cell
/toc/[deckSlug]/[variantSlug]/ (toc.md)one (deck, variant) pairsingle column of slots; per-slot rank pills + scaffold buttons

Both exist. The per-variant TOC is the older / day-to-day surface; the deck-level matrix is the cross-variant review surface that lets a reviewer see “is enhanced-v3 shippable yet” at a glance.

Data flow

  • getStaticPaths enumerates DECKS[*].slug for every deck
  • Render-time: passes deckSlug to <DeckMatrix> with showNav={true} (renders the DididecksNav variant-chooser pills above the matrix); the matrix internally reads loadAuditRegistry() + playableSlotsByVariant() + per-slide file existence
  • Optional ?variant={slug} query param highlights the column for that variant (passed through to DeckMatrix as focusVariant)

Status

  • ✅ Shipped
  • ✅ Embedded by consumer landings too — both chroma and humain mount <DeckMatrix> directly on src/pages/index.astro
  • [[toc]] — the per-variant sibling route
  • [[../components/DeckMatrix]] — the component this route is mostly a wrapper around
  • [[../components/DididecksNav]] — variant chooser pills (composed via DeckMatrix)
  • [[../../models/Slide-Audit-Registry-Data-Model]] — the audit registry that powers the matrix
  • [[../../plans/Redesign-TOC-as-Deck-Level-Dual-Surface-Review-Matrix]]