# gsbdarc/rf-bootcamp-2026 architecture

> Architecture diagram of the GitHub repository gsbdarc/rf-bootcamp-2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-07-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gsbdarc/rf-bootcamp-2026
- Repository: https://github.com/gsbdarc/rf-bootcamp-2026

## Overview

#### Purpose and Delivery Model
This repository is a fork-per-student, four-day research-computing bootcamp presented as a gated “dungeon.” Students complete instructional rooms, commit Boss Gate artifacts, and receive automated progression feedback. Its primary product is a personalized static course site deployed from each fork.

Core course structure lives in `docs/day1/`, `docs/day2/`, `docs/day3/`, and `docs/day4/`; the site landing page is `docs/index.md`.

#### Entry Points and User Journey
Students fork the repository, enable GitHub Actions and Pages, then clone their fork to the Yens cluster. The browser entry point is the GitHub Pages site; the operational entry point is the cloned repository, where students create and push required submission files.

Progression is organized by floor indexes and Boss Gate pages:
- `docs/day1/index.md`, `docs/day1/boss-gate-1.md`
- `docs/day2/index.md`, `docs/day2/boss-gate-2.md`
- `docs/day3/index.md`, `docs/day3/boss-gate-3.md`
- `docs/day4/index.md`, `docs/day4/boss-gate-4.md`

#### Static Course-Site Layer
Jekyll builds `docs/` into the GitHub Pages site. Site-wide presentation and floor navigation are defined through the custom layout and metadata:
- `docs/_layouts/floor.html`
- `docs/_data/progress.yml`
- `docs/_data/site_meta.yml`

Student-specific state is represented in `docs/_data/students.yml`, while progression data drives what floors/quests appear unlocked. This is a static rendering boundary: Jekyll consumes repository content and data during build rather than a runtime application backend.

#### Interactive Dungeon UI
Custom client-side JavaScript and CSS add the dungeon/game experience on top of static Jekyll pages:
- `docs/assets/js/quest-log.js`
- `docs/assets/js/bot.js`
- `docs/assets/css/dungeon.css`

These assets are browser runtime components. They complement, rather than replace, repository-committed progress and GitHub Actions grading as the authoritative workflow.

#### Boss-Gate Grading and Unlock Flow
A GitHub Actions grader evaluates commits pushed to student forks and updates/validates course progression. The central workflow boundary is:
- `.github/workflows/grade.yml`
- `.instructor/check_boss_gates.py`
- `.instructor/boss-gate-1.key.md`

The grader checks for gate-specific deliverables such as a signature file, JSON results, SLURM submission scripts, CSV outputs, and README updates. Pushes to the student fork trigger automated assessment; successful submissions unlock subsequent instructional floors through the site’s progress model.

#### Research-Computing Curriculum Pipeline
The instructional path moves from local/remote shell and Git work to cluster execution and GPU/LLM workloads:
1. Command line, SSH, Yens filesystem, Git, and AI coding tools: `docs/day1/command-spire.md`, `docs/day1/ssh-gate.md`.
2. Jupyter/Python environments, API keys, structured LLM use, and privacy: `docs/day2/venv-forge.md`, `docs/day2/key-vault.md`.
3. SLURM jobs, resource sizing, monitoring, and data-processing tasks: `docs/day3/kitchen.md`, `docs/day3/ticket-rail.md`.
4. Job arrays, H200 GPUs, local/OpenAI-compatible LLM APIs, and evaluation: `docs/day4/array-cavern.md`, `docs/day4/h200-chamber.md`.

#### Infrastructure and Maintainer Operations
Material external infrastructure includes GitHub forks, Actions, and Pages; the Yens compute cluster; SLURM; JupyterHub; GPU resources; and LLM/API services. Pages deployment is defined in `.github/workflows/pages.yml`; Jekyll’s Ruby dependencies/configuration are under `docs/Gemfile` and `docs/_config.yml`.

Instructor-only automation supports key generation, content packaging, and fork synchronization:
- `.instructor/generate_grimoire.py`
- `.instructor/sync_forks_to_students.py`
- `docs/assets/data/grimoire.zip`

Main entry points: [`docs/day1/index.md`](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/index.md) (Floor indexes), [`.github/workflows/grade.yml`](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.github/workflows/grade.yml) (Boss Gate grader), [`docs/index.md`](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/index.md) (Course landing), [`docs/day1/command-spire.md`](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/command-spire.md) (Research-computing lessons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_course["Course Site"]
  node_landing["Course landing<br/>Jekyll content<br/>[index.md]"]
  node_floors["Floor indexes<br/>Jekyll content<br/>[index.md]"]
  node_boss_pages["Boss Gate pages<br/>Jekyll content<br/>[boss-gate-1.md]"]
  node_curriculum["Research-computing lessons<br/>course content<br/>[command-spire.md]"]
  node_floor_layout["Floor layout<br/>Jekyll layout<br/>[floor.html]"]
  node_progress_model["Progress model<br/>Jekyll data<br/>[progress.yml]"]
  node_student_state["Student state<br/>Jekyll data<br/>[students.yml]"]
end

subgraph group_runtime["Student Runtime"]
  node_dungeon_ui["Dungeon UI<br/>browser assets<br/>[quest-log.js]"]
  node_github_fork[("Student fork<br/>GitHub repository")]
  node_student_workspace["Yens clone<br/>cluster workspace"]
  node_yens_cluster{{"Yens cluster<br/>compute infrastructure"}}
  node_slurm_gpu{{"SLURM and GPUs<br/>batch compute"}}
  node_llm_services{{"LLM/API services<br/>external API"}}
end

subgraph group_automation["GitHub Automation"]
  node_pages_workflow["Pages deployment<br/>GitHub Actions workflow<br/>[pages.yml]"]
  node_pages_site["GitHub Pages site<br/>static site"]
  node_grader_workflow["Boss Gate grader<br/>GitHub Actions workflow<br/>[grade.yml]"]
  node_gate_checker["Gate checker<br/>Python grader"]
  node_gate_key["Gate key<br/>grading specification<br/>[boss-gate-1.key.md]"]
end

subgraph group_maintainer["Instructor Operations"]
  node_grimoire_builder["Grimoire builder<br/>instructor tool"]
  node_grimoire_package["Grimoire package<br/>course artifact<br/>[grimoire.zip]"]
  node_fork_sync["Fork synchronizer<br/>instructor tool"]
end

node_landing -->|"routes to"| node_floors
node_floors -->|"organizes"| node_curriculum
node_floors -->|"ends at"| node_boss_pages
node_floor_layout -->|"renders"| node_floors
node_progress_model -->|"drives navigation"| node_floor_layout
node_student_state -->|"personalizes"| node_progress_model
node_dungeon_ui -->|"runs in"| node_pages_site
node_github_fork -->|"cloned to"| node_student_workspace
node_student_workspace -->|"pushes artifacts"| node_github_fork
node_curriculum -->|"teaches use of"| node_yens_cluster
node_yens_cluster -->|"provides"| node_slurm_gpu
node_slurm_gpu -->|"runs workloads against"| node_llm_services
node_github_fork -->|"push triggers"| node_grader_workflow
node_grader_workflow -->|"executes"| node_gate_checker
node_gate_checker -->|"checks against"| node_gate_key
node_grader_workflow -->|"validates progression"| node_student_state
node_github_fork -->|"deploys from"| node_pages_workflow
node_pages_workflow -->|"publishes"| node_pages_site
node_pages_site -->|"serves"| node_landing
node_grimoire_builder -->|"generates"| node_grimoire_package
node_fork_sync -.->|"synchronizes"| node_github_fork

click node_landing "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/index.md"
click node_floors "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/index.md"
click node_boss_pages "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/boss-gate-1.md"
click node_curriculum "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/command-spire.md"
click node_floor_layout "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_layouts/floor.html"
click node_progress_model "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_data/progress.yml"
click node_student_state "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_data/students.yml"
click node_dungeon_ui "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/assets/js/quest-log.js"
click node_pages_workflow "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.github/workflows/pages.yml"
click node_grader_workflow "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.github/workflows/grade.yml"
click node_gate_checker "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/check_boss_gates.py"
click node_gate_key "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/boss-gate-1.key.md"
click node_grimoire_builder "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/generate_grimoire.py"
click node_grimoire_package "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/assets/data/grimoire.zip"
click node_fork_sync "https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/sync_forks_to_students.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_landing,node_floors,node_boss_pages,node_curriculum,node_floor_layout,node_progress_model,node_student_state toneBlue
class node_dungeon_ui,node_github_fork,node_student_workspace,node_yens_cluster,node_slurm_gpu,node_llm_services toneAmber
class node_pages_workflow,node_pages_site,node_grader_workflow,node_gate_checker,node_gate_key toneMint
class node_grimoire_builder,node_grimoire_package,node_fork_sync toneRose
```

## Components

### Course Site

Static Jekyll curriculum and student progress.

- [Course landing](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/index.md): Jekyll content · `docs/index.md`
- [Floor indexes](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/index.md): Jekyll content · Four day-level instructional entry points. · `docs/day1/index.md`
- [Boss Gate pages](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/boss-gate-1.md): Jekyll content · Gate instructions for all four course days. · `docs/day1/boss-gate-1.md`
- [Research-computing lessons](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/day1/command-spire.md): course content · Shell through SLURM, GPUs, and LLM evaluation. · `docs/day1/command-spire.md`
- [Floor layout](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_layouts/floor.html): Jekyll layout · `docs/_layouts/floor.html`
- [Progress model](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_data/progress.yml): Jekyll data · Controls visible and unlocked floors and quests. · `docs/_data/progress.yml`
- [Student state](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/_data/students.yml): Jekyll data · `docs/_data/students.yml`

### Student Runtime

Browser and cluster-based learning workflow.

- [Dungeon UI](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/assets/js/quest-log.js): browser assets · Quest log, bot, and game styling atop static pages. · `docs/assets/js/quest-log.js`
- **Student fork**: GitHub repository · Personalized source of course content and submissions.
- **Yens clone**: cluster workspace · Where students create and push Boss Gate artifacts.
- **Yens cluster**: compute infrastructure · Hosts shell, Jupyter, SLURM, and GPU work.
- **SLURM and GPUs**: batch compute · Runs jobs, arrays, and H200 workloads.
- **LLM/API services**: external API · Local and OpenAI-compatible model workloads.

### GitHub Automation

Deployment and Boss Gate assessment.

- [Pages deployment](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.github/workflows/pages.yml): GitHub Actions workflow · `.github/workflows/pages.yml`
- **GitHub Pages site**: static site · Browser delivery of each student's course fork.
- [Boss Gate grader](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.github/workflows/grade.yml): GitHub Actions workflow · Runs on student-fork pushes. · `.github/workflows/grade.yml`
- [Gate checker](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/check_boss_gates.py): Python grader · Validates required submission artifacts. · `.instructor/check_boss_gates.py`
- [Gate key](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/boss-gate-1.key.md): grading specification · `.instructor/boss-gate-1.key.md`

### Instructor Operations

Packaging and fork-management tools.

- [Grimoire builder](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/generate_grimoire.py): instructor tool · Generates packaged course resources. · `.instructor/generate_grimoire.py`
- [Grimoire package](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/docs/assets/data/grimoire.zip): course artifact · `docs/assets/data/grimoire.zip`
- [Fork synchronizer](https://github.com/gsbdarc/rf-bootcamp-2026/blob/main/.instructor/sync_forks_to_students.py): instructor tool · Synchronizes course changes to student forks. · `.instructor/sync_forks_to_students.py`

## Connections

- Course landing → Floor indexes: routes to
- Floor indexes → Research-computing lessons: organizes
- Floor indexes → Boss Gate pages: ends at
- Floor layout → Floor indexes: renders
- Progress model → Floor layout: drives navigation
- Student state → Progress model: personalizes
- Dungeon UI → GitHub Pages site: runs in
- Student fork → Yens clone: cloned to
- Yens clone → Student fork: pushes artifacts
- Research-computing lessons → Yens cluster: teaches use of
- Yens cluster → SLURM and GPUs: provides
- SLURM and GPUs → LLM/API services: runs workloads against
- Student fork → Boss Gate grader: push triggers
- Boss Gate grader → Gate checker: executes
- Gate checker → Gate key: checks against
- Boss Gate grader → Student state: validates progression
- Student fork → Pages deployment: deploys from
- Pages deployment → GitHub Pages site: publishes
- GitHub Pages site → Course landing: serves
- Grimoire builder → Grimoire package: generates
- Fork synchronizer → Student fork: synchronizes
