Repository Public License Research preview
1# Visual design system23The rules every ATLAS IA slide and figure follows. Implemented in `brand/`, `latex/` and checked, where a rule is objective, by `tools/validate_accessibility.py` and `tools/validate_latex.py`.45## 1. Canvas and grid67- **Format:** 16:9, 160 mm × 90 mm (Beamer `aspectratio=169`).8- **Margins:** 9 mm left and right (`\AtlasMargin`). Text block: 142 mm wide.9- **Vertical zones:** kicker + title + accent rule (top 20 mm) · content (about 60 mm) · footer (bottom 8 mm).10- **Figures** are drawn in millimetres (`[x=1mm, y=1mm]`) at most 142 mm × 52 mm so that a caption fits below.1112## 2. Colour: meaning first1314Colours are **semantic**. A figure never uses a raw colour name; it uses the meaning.1516| Semantic name | Meaning | Dark (projection) | Print (handout) |17|---|---|---|---|18| `atlasBg` | canvas | `#0B1426` midnight navy | `#FFFFFF` |19| `atlasFg` | primary text | `#F5F1E6` ivory | `#0B1426` |20| `atlasPanel` | panel fill | `#16233F` | `#EEF2F8` |21| `atlasCodeBg` | code and terminal fill | `#060B16` near-black | `#E4EAF3` |22| `atlasRule` | structure lines, neutral outlines | `#34476E` | `#8A97AD` |23| `atlasMuted` | secondary text, notes, captions | `#AEB9CC` | `#4A566B` |24| `atlasFlow` | **information flow**; the object under study | `#4C9AFF` vivid blue | `#1756C2` |25| `atlasValid` | **validated output**, success | `#2FCBAA` teal | `#0B7A63` |26| `atlasUncertain` | **uncertainty**, decision, question | `#FFB938` amber | `#8F5A00` |27| `atlasHazard` | **error or hazard**, trust boundary | `#FF7466` coral | `#C2301F` |2829Rules:30311. One meaning per colour, across all 24 sessions. Blue arrows carry information; teal marks what has been checked; amber marks what is uncertain or must be decided; coral marks what is wrong or dangerous.322. **Never colour alone.** Every coloured signal is doubled by a word, a symbol or a shape: boxes carry a text label ("Définition", "Attention", "À retenir"); verdicts use ✓/✗ marks plus the word; decisions are diamonds; trust boundaries are dashed coral lines; course levels are dot counts.333. No gradients, no drop shadows, no transparency effects beyond flat tints: figures stay portable vector art.344. Measured contrast (WCAG 2.x), both modes: primary text ≥ 7:1; secondary text and accents ≥ 4.5:1. Current values are in `reports/accessibility.json`.3536Print mode is selected by the class option `print` (used by `make handouts`); the same sources produce both.3738## 3. Typography3940| Role | Macro | Size on the 160 mm page | Equivalent on a 13.33 in slide |41|---|---|---|---|42| Section and title-slide display | — | 21 pt | ≈ 44 pt |43| Frame title | `\AtlasSizeTitle` | 16 pt | ≈ 34 pt |44| Lead sentence | `\AtlasSizeLead` | 13 pt | ≈ 28 pt |45| **Body** | `\AtlasSizeBody` | **11 pt** | **≈ 23 pt** |46| Tables, secondary text | `\AtlasSizeSmall` | 9.5 pt | ≈ 20 pt |47| Figure labels | `\AtlasSizeLabel` | 8.5 pt | ≈ 18 pt |48| Captions, kicker, footer, figure notes | `\AtlasSizeTiny` | 7.2 pt | ≈ 15 pt |4950Beamer pages are small, so point sizes look low: multiply by 2.117 to compare with presentation software. Body text therefore exceeds the 20 pt minimum of `CLAUDE.md` §4. Sizes below body are reserved for labelled details (tables, figure labels, captions, code). The absolute floor is 6 pt (≈ 13 pt), used only in the course map tiles; validators reject anything smaller, and `\tiny`/`\scriptsize` are forbidden in decks.5152- **Fonts:** Fira Sans (text), Fira Mono (code), Fira Math (formulas), loaded by file name from TeX Live; fallback Latin Modern. See `assets/fonts-manifest.md`.53- **Alignment:** ragged right everywhere. Justified text in narrow columns creates rivers.54- **Hyphenation:** disabled in titles and figure labels.55- **French typography:** `babel` (french) inserts the proper spaces before `: ; ! ?` and inside « ». Type guillemets directly; do not add manual thin spaces.56- **Never shrink text to make content fit.** Split the slide.5758## 4. Frame anatomy5960```text61S01 • Section name kicker: module ID + section (7.2 pt, muted)62Frame title 16 pt bold, never hyphenated63▬▬▬ accent rule (atlasFlow)64content …65Simon-Pierre Boucher · UQO ATLAS IA S01 • 7/38 discreet footer attribution + module ID66████████░░░░░░░░░░░░░░░░░░░░░░░░ progress bar67```6869Structural frames: `\AtlasTitleSlide` (course, module ID, session title, instructor and affiliation prominently), `\AtlasSection`, `\AtlasRoadmap`, `\AtlasReferences`, `\AtlasClosingSlide` (instructor and affiliation again).7071## 5. Components7273| Component | Use | Signal |74|---|---|---|75| `AtlasDefinition{term}` | one definition | blue rule + "Définition" |76| `AtlasConcept{label}` | neutral panel, worked statement | grey rule + free label |77| `AtlasWarning{label}` | pitfall, limit, fictional example | coral rule + "Attention" |78| `AtlasTakeaway` | the sentence to remember | teal rule + "À retenir" |79| `AtlasQuiz{label}` | question to the audience | amber rule + "Question" |80| `AtlasDemo{label}` | guided demonstration | blue rule + "Démonstration" |81| `\AtlasCompare[c1][c2]{…}{…}{…}{…}` | two panels of equal height | |82| `\AtlasTriple{…}×6` | three neutral panels of equal height | |83| `AtlasCode{language}{label}`, `AtlasTerminal{label}` | code; real terminal output | frames must be `[fragile]` |84| `\AtlasDiagram[skip]{ID}{file}{caption}` | a figure with its visible caption and ID | |85| `\AtlasLead`, `\AtlasKey`, `\AtlasSource`, `\AtlasTerm`, `\AtlasEn`, `\AtlasYes/No/Caution` | lead sentence, key term, source line, bilingual term, status marks | |8687Slide rhythm (`CLAUDE.md` §14): question → visual intuition → mechanism → worked example → failure mode → practice → takeaway. One primary teaching idea per slide. Vary compositions: full-width diagram, split comparison, table, numerical walkthrough, terminal/result pair.8889## 6. Figure grammar9091Strokes: hairline 0.5 pt (grids), regular 0.9 pt (shapes), emphasis 1.4 pt (the object under study, boundaries). Round caps and joins. Arrowheads: Stealth.9293| Concept | Motif | TikZ |94|---|---|---|95| LLM component, processing step | rounded compute block | `atlas block`, `atlas block flow/valid/uncertain/hazard/strong` |96| Token stream | monospace chips in a row | `atlas token`, `atlas token ghost` (not yet produced), `\AtlasTokenRow` |97| Context window | bounded horizontal band with segments | `\AtlasContextBand`, `\AtlasBandSegment` |98| Persistent storage | cylinder | `atlas store`, pic `atlas db` |99| Information flow | solid blue arrow; dashed grey when optional | `atlas arrow`, `atlas arrow optional`, `atlas arrow valid/hazard/muted` |100| Decision, stop condition, approval gate | amber diamond | `atlas gate` |101| Trust boundary | thick dashed coral line | `atlas boundary` |102| Region, scope, set | thin rounded outline with a tag | `atlas region`, `atlas tag=<colour>` |103| Ordered steps | numbered circles | `atlas step` |104| Text | `atlas heading`, `atlas label`, `atlas note` | |105| Quantities | PGFPlots | `atlas axis`, `atlas probability bars`, `atlas bar flow/valid/…` |106| Icons (14, original) | document, storage, person, tool, gear, terminal, speech, spark, label, shield, check, cross, warning, logo | pics `atlas doc`, `atlas db`, … — sheet: `assets/original-icons/` |107108Rules for every figure:1091101. One file per figure, named `SXX-Fnn-slug.tex`, with a header comment stating the idea it conveys. Shared figures: `assets/shared-diagrams/ATLAS-Fnn-slug.tex`.1112. Declared in `figures/manifest.yaml`: purpose, design rationale, caption, source facts, validation of quantities, alt text.1123. Every number shown comes from code or a documented hand calculation, and is covered by a test. Data files (`*-donnees.tex`) are generated.1134. A figure communicates one insight that prose conveys poorly. No decoration, no clip art.1145. Complex systems are shown as a sequence of views before the full diagram.1156. Illustrative or schematic content is labelled as such in the caption.1167. Third-party screenshots are forbidden by default; if indispensable, they need provenance, licence check, date, an explicit "capture d'écran de tiers" label and alt text.117118## 7. Hero diagrams119120`CLAUDE.md` §5 lists 26 mandatory hero diagrams. Status is tracked in each manifest through `hero_diagram`.121122| # | Diagram | Session | Status |123|---|---|---|---|124| 1 | AI → ML → deep learning → generative AI → LLM taxonomy | S01 (`S01-F01`) | implemented |125| 2 | Tokenization and autoregressive generation | S02 (`S02-F01`) | implemented |126| 3 | Training vs inference pipeline | S02 (`S02-F02`) | implemented |127| 4 | Transformer attention, Q/K/V and causal mask, checked miniature | S03 (`S03-F01`, `S03-F02`) | implemented |128| 5 | Sampling distribution with temperature (computed) | S02 (`S02-F03`) | implemented |129| 6 | Prompt structure and instruction/data trust boundary | S04 (`S04-F01`) | implemented |130| 7 | Context window allocation, overflow and compaction | S05 (`S05-F01`) | implemented |131| 8 | Short-term context vs persistent memory vs external knowledge | S06 (`S06-F01`; introduced in `S01-F05`) | implemented |132| 9 | Embedding space and semantic retrieval (illustrative) | S07 (`S07-F01`) | implemented |133| 10 | RAG pipeline with retrieval, citation and failure points | S07 (`S07-F02`) | implemented |134| 26 | Course-wide knowledge map | shared (`ATLAS-F26`) | implemented |135| 11 | Multimodal input-processing flow | S08 (`S08-F01`) | implemented |136| 12 | Chatbot vs deterministic workflow vs agent | S09 (`S09-F01`) | implemented |137| 13 | Agent loop with tools, observations, approvals and termination | S09 (`S09-F02`) | implemented |138| 14 | Tool-call schema and response lifecycle | S10 (`S10-F01`) | implemented |139| 15 | API/MCP architecture with roles and trust boundaries | S10 (`S10-F02`) | implemented |140| 16 | Terminal → shell → process → filesystem | S11 (`S11-F01`) | implemented |141| 17 | Sandboxed vs host execution | S11 (`S11-F04`) | implemented |142| 18 | Orchestrator/subagent tree with parallelism and merge | S12 (`S12-F01`) | implemented |143| 19 | Multi-agent shared-state race condition and mitigation | S12 (`S12-F03`) | implemented |144| 20 | Claude Code project workflow | S13 (`S13-F01`) | implemented |145| 21 | Codex project workflow | S15 (`S15-F01`) | implemented |146| 22 | Git branching, diffs, review and CI loop | S17 (`S17-F01`) | implemented |147| 23 | Agent evaluation matrix: quality / cost / latency / reliability | S19 (`S19-F01`) | implemented |148| 24 | Prompt injection threat path and blocked boundary | S20 (`S20-F01`) | implemented |149| 25 | End-to-end agent application reference architecture | S23 | with its session |150151The authoritative per-figure record is the `hero_diagram` field of each session's `figures/manifest.yaml`.152153## 8. Review procedure154155`make preview` renders every slide and contact sheets. A person inspects them for clipping, overflow, overlaps, font substitution, contrast and broken glyphs, fixes what is found, and records reviewer, date, method and remaining issues in `sessions/SXX/qa/results.json`. No deck is called reviewed without that record.156