NRCU roster import
Source of truth: 123mikeyd/Nous_Research_Cinematic_Universe — characters/*.md
profiles and images/previews/*.webp. 35 characters as of 2026-11-07, including
Turbo Fit / Sovthpaw.
The tool
bashpython bots/kart-racer/scripts/roster.py build --out bots/kart-racer/assets/roster.json \ --cache-dir .cache/nrcu # add --offline once the cache is warm python bots/kart-racer/scripts/roster.py validate bots/kart-racer/assets/roster.json
build reads characters/README.md for the cast, each characters/<slug>.md for
the profile, and writes roster.json (schema nrcu-kart.roster/v1). Weight class
comes from build hints in the profile and records its reason in source_note;
stats are derived from a hash of the slug so a re-run never reshuffles a character.
Entries with "locked": true are never overwritten. validate fails on duplicate
slugs, a missing field, a bad weight class, stats outside 1-10, or a roster with no
Turbo Fit / Sovthpaw entry.
Procedure
- Fetch the character directory and each profile's front matter (display name, tags, any stated role/allegiance).
- Emit
Assets/Roster/roster.json:json{"slug":"sovthpaw","display":"Turbo Fit / Sovthpaw","portrait":"Roster/Portraits/sovthpaw.webp", "weight":"medium","stats":{"speed":7,"accel":6,"handling":8,"weight":6}, "credit":"Character by sovthpaw; art credits per NRCU CREDITS.md"} - Weight classes: light / medium / heavy, assigned from the profile's stated
build or role, not from guesswork. Keep a
source_noteper entry so a human can audit why a character is heavy. - Never overwrite an entry with
"locked": true— those are hand-tuned. - Copy portraits into
Assets/Roster/Portraits/, convert to the URP texture settings, and generate aCredits.mdin the project listing every artist. - Validate: 35 entries, unique slugs, every portrait path exists, every entry has a credit string.
Rules
- A character whose art is uncredited does not ship. Ask, don't assume.
- Never invent lore or abilities not implied by the profile.
- Keep
sovthpawin the public spelling; "Turbo Fit" is the character's name in the NRCU, "sovthpaw" is the person to credit.


