← Corpus / dididecks-ai / sitemap
/data-assets/companies — reviewer audit of portfolio-company metadata + brand assets across every engagement layout
Static reviewer audit page that globs every `<consumer>/data/**/portfolio/*.md` and renders one row per portfolio company — name, slug, sector, homepage, the colocated trademark + favicon previews, confidence/status pills, and links into upstream sources. Companies are distinguished from People (which also live under `portfolio/`) by the *absence* of a `role_class` frontmatter field. Adapts to all three known data layouts: calmstorm's `data/firms/{firm}/portfolio/`, chroma's `data/investors/{firm}/portfolio/`, and humain's flat `data/portfolio/` operating-company variant. SSR'd (`prerender = false`) so it routes through the consumer's auth middleware — protects portfolio graphs from being public-by-accident.
- Path
- sitemap/routes/data-assets-companies.md
- Authors
- Michael Staton
/data-assets/companies
Data flow
- Build-/request-time globs
<consumer>/data/**/portfolio/*.mdviaimport.meta.glob({eager: true, query: "?raw", import: "default"}) - Parses frontmatter; filters to rows where
role_classis unset (Persons are the inverse filter — seedata-assets-people) - Parallel asset glob
*.{png,jpg,jpeg,webp,avif,svg,ico}colocated with each.mddiscovers the row’strademark__/favicon__files - Renders one table row per company with: slug, name, homepage (link), sector, brand-asset previews (trademark + favicon), confidence pill, status pill, source-URLs row
Render guards
prerender = false— every request goes through the consumer’s auth middleware. Audit pages contain portfolio graphs that should stay private. (Patched at the shell tier per theRefactor-Data-Assets-Audit-for-Brand-Quality-Ratings-and-Render-Guardsplan.)- No CSS overflow trap on
.table-wrap(a prior version trapped sticky table headers; one-line fix dropped the overflow). On narrow viewports the table pushes the page horizontally instead.
Layout compatibility
| Consumer layout | Glob result |
|---|---|
data/firms/{firm}/portfolio/ (calmstorm) | matched |
data/investors/{firm}/portfolio/ (chroma) | matched |
data/portfolio/ (humain flat operating-company variant) | matched |
Identical render path; only the firm-grouping in the table varies.
Status
- ✅ Shipped
- ✅ SSR-gated 2026-05-17
- ✅ Sticky-header trap fixed 2026-05-17
Related
- [[data-assets-people]] — sibling route over
data/**/{team,portfolio}/filtered torole_class != null - [[../components/DeckStatsPanel]] — landing-page tile that links here
- [[../components/DeckMatrix]] — landing matrix that surfaces the same data in audit-rating form
- [[../../models/Company-Data-Model]] — full schema documentation
- [[../../plans/Refactor-Data-Assets-Audit-for-Brand-Quality-Ratings-and-Render-Guards]]