Welcome, traveler, to the inner workings of The Human Pattern Lab main site.
This section explains how everything functions, but, you know… in gremlin.
This repo now has real structure.
SCMS (Systems, Chaos & Meta-Structures) fought for its life to make sure things are where they claim to be.
- /src — The heart of the Lab. Components, pages, layouts, and chaos.
- /departments — Home of the CJO, SCMS, OOD, AOE, DUE, FELINE, RBS, and EWU.
Each has its own lore, responsibilities, and mascot supervisor. - /pages — Site routes (Home, About, Lab Notes, Videos, etc).
- /components — Reusable UI widgets and questionable React ideas.
- /lib — Infrastructure magic. Probably important. We should label it someday.
- /assets — Shiny objects Stan collected. Also fonts and images.
- /public — Static files that refuse to be organized.
- /tests — Where Vitest silently judges your code (Carmel joins in).
If something isn’t listed:
- It is either in progress,
- in hiding,
- or in the claws of Nemmi.
If you want the gremlins to forge this site into existence:
npm install
npm run buildThis produces the holy /dist folder.
Treat it with respect.
Or don’t — Vite will rebuild it anyway.
Thanks to GitHub Actions:
- You push to
master - The build runs
- Carmel judges it
- DreamHost gets the updated site
- A mascot somewhere high-fives another mascot
No more manual deployments.
Unless things break.
(They will.)
Main sections include:
- /departments/ — Explore each division of the Lab
(Judgment, Chaos, Anomalies, Emotional Weather, Raccoon Science… all the essentials.) - /docs/ — The Lab Archives (via Docusaurus)
- /lab-notes/ — Thoughts, diagrams, lore, and the occasional fox rant
- /videos/ — Archive of content for future humans
- /mascots/ — The real executives of the organization
If you see a 404:
Congratulations.
You’ve discovered a new department.
Vitest + Happy DOM ensures:
- Pages render
- Routes map correctly
- Departments don’t spontaneously explode
- The codebase remains slightly less cursed
Run them with:
npm run testFor coverage:
npm run test:coverageCarmel will judge the numbers from her neon Codecov throne.
Your repo is now monitored by three powerful forces:
- Carmel — Approves builds
- Vitest — Judges your logic
- Codecov — Exposes your sins via percentage
Perfect synergy.
You may contribute if you are:
- Gremlin-coded
- Mascot-approved
- Comfortable shipping features at 3am
- Aware that Stan may steal your code mid-PR
- Prepared to be silently judged by Carmel
Pull requests should include:
- Working code
- Minimal fires
- Snacks for Professor McChonk
- Respect for Drizzle’s emotional climate
- Zero leading-space filenames (we do not speak of it)
This repo is held together by:
- Curiosity
- Pattern recognition
- Mascot energy
- Coffee
- Chaos
- Vibes
- Several untracked miracles
If something breaks:
Stan touched it.
If something works:
Carmel allowed it.
Proceed with caution.
And snacks.
Always snacks.