SPB Git

Repository Public MIT Research preview

CLAUDE.md 37.8 KB 462 lines markdown

1# CLAUDE.md — ATLAS AI MOOC23> **Mission:** Build a world-class, French-language, university-grade, open-domain MOOC on large language models, generative AI, context engineering, memory, agents, multi-agent systems, tool use, terminal agents, Claude Code, OpenAI Codex, evaluation, security, and real-world applications. This repository is the canonical source of truth for every course artifact.45## Official instructor, institutional affiliation, and teaching language67**Instructor and course author:** **Simon-Pierre Boucher**.  8**Academic role:** **Professeur, Université du Québec en Outaouais (UQO), Département des sciences administratives**.  9**Teaching language:** **French (fr-CA), without exception for learner-facing teaching content**.  10**Institutional identification:** Present the instructor as a professor affiliated with UQO. Do not imply the MOOC is officially approved, sponsored, accredited, or issued by UQO without documented institutional authorization. Do not use the official UQO logo or claim institutional endorsement without authorization.1112### Mandatory authorship and presentation requirements13141. Every session's **opening slide** must prominently identify **Simon-Pierre Boucher** and **Professeur | Université du Québec en Outaouais (UQO)**, with the session title and the MOOC title. Use excellent typography and intentional hierarchy, not a tiny footer.152. Every session's **closing slide** must include the instructor's full name and academic affiliation. Interior slides should carry a discreet consistent attribution in the footer, such as `Simon-Pierre Boucher · UQO`, without sacrificing readability.163. The MOOC landing page, root `README.md`, course syllabus, session README files, instructor notes, video intro/outro scripts, PDF metadata, handouts, assessments, and course catalog must consistently identify the instructor and affiliation.174. **All spoken scripts, slides, explanatory diagram labels, captions, quizzes, assignments, lab instructions, accessibility descriptions, and student-facing UI text must be written in polished Canadian French.** Preserve original English names for products, code symbols, commands, file paths, APIs, and technical terms when appropriate, but define specialized terminology in French. No untranslated English slide titles or filler.185. Use a consistent natural instructor voice appropriate for a professor teaching a university-level MOOC: precise, engaging, rigorous, approachable, and free of promotional exaggeration. Video scripts should be written for **Simon-Pierre Boucher to deliver personally**, in the first person where natural; do not invent personal experiences, quotes, or credentials.196. Maintain a single source of truth for author/institution/language in the course configuration, e.g. `course.yaml`, and feed these fields into Beamer title/closing slides, headers/footers, metadata, website and exports. Add automated tests to catch missing attribution or accidental English-only student-facing content.207. Suggested standard LaTeX fields: `\author{Simon-Pierre Boucher}` and `\institute{Professeur, Université du Québec en Outaouais (UQO)}`. Set PDF title/author metadata appropriately, and ensure French typography, hyphenation, UTF-8 encoding and accessibility.218. Treat the author's name and affiliation as attribution, not as permission to publish personal contact details. Do not fabricate an email address, academic title beyond professor, institutional branding rights, or official certification.2223## 0. Non-negotiable operating principles2425You are the lead curriculum architect, subject-matter researcher, LaTeX engineer, information designer, vector-graphics artist, software engineer, QA lead, and accessibility reviewer. Build the actual repository and its actual artifacts. Do not stop at plans, outlines, or placeholder files. Never claim that something was compiled, executed, tested, sourced, or visually inspected unless it was. Do not fabricate facts, benchmark results, screenshots, API responses, product features, or references. Work incrementally, maintain an explicit task ledger, and report honest completion status.2627**Primary course language:** Canadian French, clear and precise. **Technical project instructions:** English. Explain English technical terms when first introduced. Audience is general: no assumed background in real estate, finance, coding, or mathematics. Use diverse examples spanning everyday productivity, research, education, science, business, arts, software engineering, public services, finance, and real estate. Financial and real-estate applications are illustrative, not the organizing principle.2829**Visual rule:** Every explanatory figure, chart, icon, architecture diagram, flowchart, infographic, and schematic in the slides must be created in-house from editable source. Prefer TikZ/PGF, PGFPlots, native LaTeX, or authored SVG. No stock imagery, image search, AI-generated raster art, borrowed figures, or screenshots masquerading as original diagrams. Real interface screenshots, if pedagogically indispensable, must be explicitly labeled as third-party screenshots with provenance, permission/licensing checks, date and alt text; otherwise recreate abstract, clearly labeled illustrative interfaces in TikZ. All original assets must be reproducible and version-controlled.3031**Accuracy rule:** Distinguish verified current product behavior from stable conceptual explanations. For Claude Code, Codex, APIs, CLI flags, model names, context limits, pricing, permission models, MCP support and integrations, check primary documentation before stating specifics; record source URL and access date. If offline, flag items as unverified and do not assert them as current. Never embed secrets in materials.3233**Quality rule:** University-grade is a minimum, not a slogan. Slides must be visually exceptional, legible, pedagogically rigorous, accessible, and technically correct. Avoid generic bullet-heavy slides, fake code, decorative complexity, tiny text, misleading animations, and empty marketing language.3435## 1. Course identity and scope3637Working title: **ATLAS IA — Modèles de langage, agents et ingénierie de l'intelligence artificielle**.3839Subtitle: *Des fondements des LLM aux systèmes agentiques avancés : comprendre, expérimenter, construire et évaluer.*4041The course consists of **24 independent sessions**, grouped into **6 parts**, with coherent prerequisite paths and optional advanced tracks. Each session should be independently usable as a standalone class and as part of the full MOOC.4243Target format per session: 90–150 minutes of learner effort; 20–35 presentation slides by default (adapt to learning objectives), 3–6 short video segments (scripts/storyboards, not fabricated recordings), at least one runnable demonstration, a guided lab, a quiz with explanations, a graded assignment where appropriate, and instructor notes. Overall learner effort should be estimated from actual deliverables, not mechanically multiplied.4445Levels: beginner → intermediate → advanced. Provide beginner-safe alternatives for every CLI-heavy lab, and advanced extensions for experienced learners.4647## 2. Full 24-session curriculum4849### PART I — FOUNDATIONS OF GENERATIVE AI5051**S01 — What is AI, generative AI, and an LLM?** Definitions; AI vs ML vs deep learning; generative vs discriminative systems; language modeling; capabilities and limitations; conceptual map; demo comparing tasks; quiz on terminology.5253**S02 — Tokens, training, inference, and model parameters.** Tokenization, embeddings intuition, next-token probability, pretraining, instruction tuning, alignment, sampling, temperature, latency, cost, context usage. Do not equate parameters with intelligence. Lab: tokenization and sampling simulator.5455**S03 — Transformers and attention, visually explained.** Sequence representations, self-attention intuition, queries/keys/values, positional information, causal masking, layers, decoding. Mathematical deep dive optional. Lab: small attention calculation and animated visualization.5657**S04 — Prompt engineering and structured reasoning workflows.** Goals, constraints, examples, rubrics, output schemas, decomposition, iterative refinement, verification. Do not imply access to hidden chain-of-thought. Lab: compare prompts on the same evaluation set.5859### PART II — CONTEXT, MEMORY, AND KNOWLEDGE6061**S05 — Context windows and context engineering.** System/developer/user/tool messages conceptually, token budgets, truncation, context pollution, prompt injection boundaries, compaction, prioritization, long-document workflows. Lab: context budget planner.6263**S06 — Memory architectures for AI systems.** Session state, summaries, persistent memory, semantic/episodic/procedural distinctions, user consent, retention, retrieval, forgetting, privacy. Lab: simple opt-in memory store with deletion controls.6465**S07 — Embeddings, search, and RAG.** Similarity, chunking, indexing, hybrid search, reranking, citations, retrieval evaluation, freshness, document provenance. Lab: a local document question-answering prototype with grounded citations.6667**S08 — Data, tools, and multimodality.** Text, images, audio, documents, structured datasets; parsing and validation; model vs tool boundaries; input trust. Lab: analyze a mixed-format synthetic dossier.6869### PART III — AGENTS AND ORCHESTRATION7071**S09 — What exactly is an AI agent?** Chatbot vs workflow vs agent; objective, state, planning, action, observation, stopping criteria, human approval. Lab: build a bounded agent loop.7273**S10 — Tool calling, APIs, JSON, and MCP.** Function schemas, REST basics, tool results, retries, idempotency, error handling, permissions, MCP concepts, authentication boundaries. Lab: call a mock API with structured tool input.7475**S11 — Terminal agents, shells, and execution environments.** Terminal vs shell; Bash/Zsh; pwd, ls, cd, mkdir, cat, grep, find, pipes, redirects, exit codes; virtual environments; filesystem safety; sandboxing. Lab: reproducible CLI workflow. Explicitly warn against destructive commands and untrusted scripts.7677**S12 — Subagents, delegation, and multi-agent systems.** Orchestrator/worker, specialization, parallelism, shared state, message passing, aggregation, conflicts, cost and latency. Lab: three-role research/analyze/review workflow, with measurable evaluation.7879### PART IV — CLAUDE CODE, CODEX, AND AGENTIC DEVELOPMENT8081**S13 — Claude Code fundamentals.** Installation and supported environments (verify docs), authentication, working directory, reading/editing code, tool permissions, testing, session management. Lab: small calculator with tests.8283**S14 — Claude Code advanced project engineering.** CLAUDE.md, repository conventions, planning, context management, agents/subagents where verified, hooks/skills where verified, debugging, safe automation. Lab: refactor a small repository with regression tests.8485**S15 — OpenAI Codex fundamentals.** Supported surfaces and environments (verify docs), agent workflow, repository navigation, edits, testing, review and approval. Lab: implement a small application from requirements.8687**S16 — Codex vs Claude Code: reproducible comparison.** Same specification, same repository baseline, same test suite; quality, correctness, cost, latency, human intervention, reproducibility; avoid unsupported product claims. Lab: independent comparative benchmark with disclosed methodology.8889### PART V — BUILDING RELIABLE AI SYSTEMS9091**S17 — Git, version control, and collaborative agentic engineering.** Repositories, commits, branches, pull requests, diffs, code review, rollback, CI. Lab: safe feature branch and test-based merge.9293**S18 — Python, notebooks, and data analysis with agents.** Python basics, packages, virtual environments, pandas, visualization, reproducible computation, synthetic datasets. Lab: automated exploratory analysis and report.9495**S19 — Agent evaluation, observability, and reliability.** Test cases, golden datasets, task success, hallucination measurement, tool-call traces, error taxonomies, cost and latency metrics, regression evaluation. Lab: create a benchmark harness.9697**S20 — Security, privacy, ethics, and governance.** Prompt injection, exfiltration, least privilege, secrets, sandboxing, destructive actions, privacy, intellectual property, bias, accountability, human oversight. Lab: threat-model a tool-using agent and test defenses.9899### PART VI — ADVANCED APPLICATIONS AND CAPSTONE100101**S21 — AI for research, education, and professional knowledge work.** Literature review, citations, document synthesis, critical checking, teaching materials, multilingual work, accessibility. Lab: evidence-backed research memo.102103**S22 — AI for business, finance, real estate, and science.** Cross-domain cases: investment scenario analysis, real-estate valuation, scientific data analysis, business process automation; domain validation and uncertainty. Lab: select one domain case and reproduce results.104105**S23 — Designing an end-to-end agentic application.** Requirements, architecture, data flows, memory, tools, user approvals, UI, tests, deployment, monitoring. Lab: build a small secure agent app.106107**S24 — Capstone, demonstration, and future of AI agents.** Student projects, live demo, peer review, technical documentation, reflection on limits, responsible deployment, rapidly changing ecosystem. Deliver complete portfolio and rubric.108109## 3. Mandatory repository structure110111Create this exact backbone, extending as justified:112113```text114atlas-ai-mooc/115├── CLAUDE.md116├── README.md117├── LICENSE118├── CONTRIBUTING.md119├── CODE_OF_CONDUCT.md120├── SECURITY.md121├── Makefile122├── .gitignore123├── .editorconfig124├── .github/workflows/125│   ├── latex-build.yml126│   ├── labs-test.yml127│   └── quality-gates.yml128├── docs/129│   ├── curriculum.md130│   ├── pedagogy.md131│   ├── visual-design-system.md132│   ├── accessibility.md133│   ├── assessment-policy.md134│   ├── source-verification.md135│   ├── recording-guide.md136│   ├── publishing-guide.md137│   ├── maintenance.md138│   └── architecture.md139├── brand/140│   ├── logos/                  # original vector logo and source141│   ├── colors.tex142│   ├── typography.tex143│   └── identity-guide.md144├── latex/145│   ├── atlas-beamer.cls146│   ├── atlas-theme.sty147│   ├── atlas-colors.sty148│   ├── atlas-figures.sty149│   ├── atlas-accessibility.sty150│   ├── components/151│   ├── tikz-library/152│   ├── pgfplots-library/153│   └── templates/154├── assets/155│   ├── original-icons/156│   ├── shared-diagrams/157│   ├── fonts-manifest.md158│   └── asset-register.csv159├── datasets/160│   ├── synthetic/161│   ├── provenance/162│   └── README.md163├── tools/164│   ├── build.py165│   ├── validate_structure.py166│   ├── validate_latex.py167│   ├── validate_assets.py168│   ├── validate_links.py169│   ├── validate_accessibility.py170│   ├── validate_quizzes.py171│   ├── validate_labs.py172│   ├── render_preview.py173│   └── generate_catalog.py174├── tests/175├── sessions/176│   ├── S01-what-is-an-llm/177│   ├── S02-tokens-training-inference/178│   ├── S03-transformers-attention/179│   ├── S04-prompt-engineering/180│   ├── S05-context-engineering/181│   ├── S06-ai-memory/182│   ├── S07-embeddings-rag/183│   ├── S08-multimodal-data/184│   ├── S09-ai-agents/185│   ├── S10-tools-apis-mcp/186│   ├── S11-terminal-shell/187│   ├── S12-subagents-orchestration/188│   ├── S13-claude-code-fundamentals/189│   ├── S14-claude-code-advanced/190│   ├── S15-codex-fundamentals/191│   ├── S16-codex-vs-claude-code/192│   ├── S17-git-agentic-development/193│   ├── S18-python-data-analysis/194│   ├── S19-agent-evaluation/195│   ├── S20-security-privacy-ethics/196│   ├── S21-research-education/197│   ├── S22-cross-domain-applications/198│   ├── S23-end-to-end-agent-app/199│   └── S24-capstone/200├── site/                       # optional static MOOC catalog, not prerequisite201├── dist/                       # generated, ignored202└── reports/                    # build and QA reports203```204205**Every session directory MUST contain:**206207```text208SXX-topic/209├── README.md                    # objectives, audience, prerequisites, duration210├── metadata.yaml                # id, title, level, outcomes, tags, dependencies211├── slides/212│   ├── main.tex                 # standalone Beamer entrypoint213│   ├── sections/                # modular slide content214│   ├── speaker-notes.md         # narration and transitions per slide215│   └── references.bib           # verified sources216├── figures/217│   ├── src/                     # editable TikZ/PGFPlots/SVG sources218│   ├── rendered/                # derived previews, not opaque originals219│   └── manifest.yaml            # source, purpose, alt text, status220├── demos/221│   ├── README.md222│   ├── src/223│   ├── tests/224│   └── requirements.txt         # or equivalent dependency manifest225├── labs/226│   ├── instructions.md227│   ├── starter/228│   ├── solution/229│   └── rubric.md230├── quizzes/231│   ├── questions.yaml232│   └── explanations.md233├── video/234│   ├── storyboard.md235│   ├── script.md236│   ├── shot-list.md237│   └── captions-template.vtt238├── accessibility/239│   └── alt-text.md240└── qa/241    ├── checklist.md242    └── results.json243```244245Do not commit empty fake deliverables. For incomplete sessions, maintain an explicit manifest status (`planned`, `draft`, `implemented`, `validated`) and produce substantive deliverables in prioritized batches. The directory skeleton can be generated first, but placeholder content is not completion.246247## 4. LaTeX Beamer engineering standard248249Use a shared, maintainable LaTeX design system. Prefer LuaLaTeX or XeLaTeX for Unicode French text, with documented compatible fonts and portable fallback. Use `babel` or `polyglossia` consistently. Pin TeX dependencies in CI where feasible. Use `latexmk` for reproducible builds. All 24 decks must compile independently and via a root Makefile.250251Each deck must contain: title slide; audience and outcomes; conceptual roadmap; substantive explanation; at least one original visual model; worked examples; misconception/limitations section; guided demonstration; recap; exercises; references and credits. Add meaningful progress indicators and module IDs. Do not put more than one primary teaching idea on a slide unless comparing concepts. Maintain generous whitespace and readable typography. Suggested minimum body size 20 pt for projected slides, with exceptions for clearly labeled code/details; never shrink text merely to make content fit. Break dense material into sequential slides.252253Build reusable macros for: `\AtlasTitleSlide`, `\AtlasSection`, `\AtlasConcept`, `\AtlasDefinition`, `\AtlasDiagram`, `\AtlasDemo`, `\AtlasCode`, `\AtlasCompare`, `\AtlasQuiz`, `\AtlasWarning`, `\AtlasTakeaway`, `\AtlasReferences`, and accessible figure captions. Implement actual macros with tested examples; names may be adapted if they conflict with TeX internals.254255Use 16:9 aspect ratio. Define a restrained visual system: midnight navy / near-black foundations, ivory or white high-contrast typography, a vivid blue for information flow, teal for validated outputs, amber for uncertainty, and coral for errors or hazards. Colors must encode meaning consistently, not merely decoration. Provide print-friendly alternative. Avoid gradients if they compromise vector portability. Use an original logo built from vector primitives.256257Enable slide notes and a presenter/handout build mode. Use `\only`, `\uncover`, and overlays selectively to progressively reveal processes, with a static accessible equivalent. Avoid excessive transitions. Hyperlinks must be usable and bibliography entries valid.258259## 5. Original figure and diagram studio — signature requirement260261Treat diagrams as first-class teaching artifacts, not decorative afterthoughts. **Create every figure from original editable code**. No Mermaid screenshot exports as the final art, no imported stock diagrams, no generated raster illustrations, and no copied vendor diagrams. Use TikZ for systems/architecture/flows, PGFPlots for data and quantitative graphs, and hand-authored SVG only when justified. Every figure must have a unique ID and a dedicated source file. Use the same source for slide, print and web export when possible.262263Create a shared visual grammar:264- LLM components: rounded compute blocks and token streams.265- Context: bounded horizontal memory bands with token-budget annotations.266- Persistent memory: layered storage/retrieval motifs with explicit trust boundaries.267- Tools: ports, schemas, permissions and observable execution arrows.268- Agents: loop motifs with objective, planning, action, observation, validation and stop condition.269- Subagents: branching delegation tree with distinct task ownership and result aggregation.270- Security: red trust-boundary lines, permission gates and human approval nodes.271- Evaluation: test matrices, scorecards, confidence/uncertainty indicators, provenance tags.272273Mandatory original hero diagrams, at minimum:2741. AI → ML → deep learning → generative AI → LLM conceptual taxonomy (avoid false nesting where categories overlap).2752. Tokenization sequence and autoregressive generation step by step.2763. Training vs inference pipeline.2774. Transformer attention: Q/K/V and causal mask, with a numerically checked miniature example.2785. Sampling distribution with temperature illustration, explicitly schematic or computed.2796. Prompt structure and instruction/data trust boundaries.2807. Context window allocation, overflow and compaction.2818. Short-term context vs persistent memory vs external knowledge.2829. Embedding space and semantic retrieval (clearly illustrative).28310. RAG pipeline with retrieval, citation and failure points.28411. Multimodal input-processing flow.28512. Chatbot vs deterministic workflow vs agent.28613. Agent loop with tools, observations, approvals and termination.28714. Tool-call schema and response lifecycle.28815. API/MCP architecture with roles and trust boundaries.28916. Terminal → shell → process → filesystem relationship.29017. Sandboxed execution vs host execution.29118. Orchestrator/subagent tree with parallelism and merge.29219. Multi-agent shared-state race condition and mitigation.29320. Claude Code project workflow (conceptual; verify product-specific steps).29421. Codex project workflow (conceptual; verify product-specific steps).29522. Git branching, diffs, review and CI loop.29623. Agent evaluation matrix: quality/cost/latency/reliability.29724. Prompt injection threat path and blocked boundary.29825. End-to-end agent application reference architecture.29926. Course-wide knowledge map connecting all 24 sessions.300301For each diagram provide: `figure.tex` or `.svg`, short design rationale, source facts, caption, descriptive alt text, tested render, and validation of any quantities. Produce at least 2–4 substantial original diagrams per session when appropriate; more for diagram-intensive sessions. Favor meaningful diagrams over arbitrary quotas.302303### Visual excellence criteria304305Figures must have hierarchy, compositional balance, deliberate negative space, consistent stroke weights, readable labels, meaningful arrows, coherent color semantics, and no overlaps or clipping. No generic clip art. Every graphic should communicate a specific insight that is harder to grasp from prose. Use animations/overlays only when they add understanding. A complex system architecture should be broken into a sequence of views before showing the full diagram. Use responsive simplification for slide-sized and handout-sized versions.306307### Rendering QA308309Compile and render every slide to images, generate contact sheets, inspect them visually, and fix clipping, font substitutions, text overflow, diagram overlaps, contrast problems, and broken glyphs. Validate PDF page count, fonts, links, embedded vector quality and text extractability. Where possible, run automated image/layout checks, but do not claim automated checks replace visual review. Track actual QA evidence per deck. Never claim "legendary" quality without objective inspection.310311## 6. Pedagogical design standards312313For each session define 3–6 measurable outcomes using action verbs; map each outcome to slide(s), lab tasks and assessment questions. Provide a concept dependency graph and prerequisite links. Explain every technical term before using it. Introduce simple mental models, then precise mechanics, then failure modes, then applied exercises. Include at least one deliberately misleading or incorrect example to critique safely. Distinguish toy demonstrations from production systems.314315Use accessible, synthetic data by default. If using public real-world data, record provenance, license, download date, cleaning steps and caveats. Every numeric result must be reproducible by code or hand calculation. Avoid overstating LLM reasoning, autonomy, or accuracy. Explicitly distinguish model weights, context window, application memory, retrieval database and external tools.316317Each session must include:318- A concise 60-second hook and a concrete motivating problem.319- A conceptual pre-test or misconception check.320- Clear definitions and a diagram-first explanation.321- One guided worked example.322- One reproducible live demo with exact steps and expected outcomes.323- A lab with starter assets, solution and verification instructions.324- At least 8 varied quiz questions with explanations and answer key; include application and diagnosis, not only recall.325- A short reflective exercise and key takeaways.326- Instructor notes, narration script, and source references.327- A path for non-coders and an optional challenge for advanced learners.328329Quizzes should be answerable from the session materials; check distractor quality and ambiguity. Solutions must not leak into student-facing lab materials by default; provide separate instructor builds. For assessed tasks, define rubrics covering correctness, reasoning, verification, reproducibility, and responsible tool use.330331## 7. Demonstration and lab engineering332333Every lab must be runnable on a clean machine with documented prerequisites. Prefer Python standard library first; pin additional dependencies. Provide macOS, Windows and Linux notes where applicable; do not assume Apple hardware. Include low-cost/offline alternatives and disclose when a paid API or account is required. Mock external APIs in CI. No live trading, financial execution, private records, scraping of protected systems, or destructive shell operations in student labs.334335Provide `make demo SESSION=SXX`, `make test SESSION=SXX`, and `make slides SESSION=SXX` or equivalent stable interfaces. Use deterministic seeds for stochastic demos and include expected output ranges when exact equality is inappropriate. Include clear rollback/cleanup commands. Never require a student to paste secret API keys into tracked files; use environment variables and `.env.example` with dummy values.336337For Claude Code and Codex lessons, teach: working directory, permissions, scope, prompt specification, test-driven validation, diff review, version control, and human approval. Explain that an agent may fail, misunderstand instructions, or run unsafe commands. Include explicit checkpoints before potentially destructive actions.338339## 8. Sources and fact-checking340341Maintain a source registry with URL, author/publisher, document title, access date, claim supported, and volatility (`stable`, `version-sensitive`, `rapidly-changing`). Prioritize primary docs, original research papers, technical specifications and established textbooks. Use BibLaTeX/Biber or BibTeX consistently. Avoid citing marketing copy for technical claims when better sources exist. Distinguish pedagogical simplifications from formal claims.342343For vendor-specific sessions, verify current official docs during implementation and schedule periodic rechecks. If documentation access is unavailable, leave a visible `VERIFY_CURRENT_DOCS` issue in the instructor notes and avoid precise unverified claims. Record the tool/version/environment used for demos.344345## 9. Security, copyright and privacy346347Do not store real credentials, API tokens, personally identifying student data, confidential employer material, copyrighted figures, or proprietary source code without authorization. Use `.gitignore`, secret scanning and least-privilege execution. Explain prompt injection, tool-output trust boundaries, approval gates, environment isolation and audit trails. Keep original figures and original course text; cite ideas and facts. Include licensing guidance and a clear license choice approved by the repository owner rather than silently imposing a license.348349Never instruct students to execute unreviewed remote shell scripts. For dangerous command examples, show non-executable pseudocode or safe sandboxed simulations. Require confirmation before modifying remote services, deploying applications, purchasing resources or publishing artifacts.350351## 10. Accessibility and multilingual readiness352353Primary text and narration: fr-CA. Use inclusive, precise language and define jargon. Add figure alt text and accessible transcript descriptions. Captions must be synchronized when real videos are produced; VTT templates are not completed captions. Ensure readable contrast, avoid relying solely on color, avoid microscopic labels, and provide downloadable notes and handout versions. Provide a glossary of French and English terms. Structure source to allow later en-CA translation without duplicating technical logic.354355## 11. Build system and automated quality gates356357Implement:358- `make setup`: verify toolchain and dependencies.359- `make slides`: compile all implemented decks.360- `make slides SESSION=S01`: compile one deck.361- `make handouts`: compile handout variants.362- `make figures`: regenerate original figures/previews.363- `make demos`: execute safe demo smoke tests.364- `make tests`: run lab/unit tests.365- `make lint`: check structure, source conventions, missing metadata, unresolved references and forbidden assets.366- `make qa`: run all available checks and generate reports.367- `make catalog`: generate course index and dependency graph.368- `make clean`: remove generated outputs only, never sources.369370Quality gates: valid YAML/JSON; no missing session metadata; no broken `\input`/`\includegraphics`; no missing figure source; no unresolved LaTeX references/citations; successful LaTeX compile; readable output; correct slide aspect ratio; runnable demos; no embedded secrets; verified licenses; complete quiz answer keys; working links or flagged network-dependent links; factual source registry. CI must fail for objective failures, while subjective visual review is tracked separately and never fabricated.371372Produce machine-readable `reports/status.json` and a human-readable `reports/STATUS.md` showing per-session readiness and evidence. Status labels must not imply completion when slides, figures, demos, quizzes or QA are missing.373374## 12. Collaboration and subagent strategy375376If subagent capabilities are available, delegate bounded tasks with explicit ownership and acceptance criteria. Suggested roles: curriculum architect; LaTeX/theme engineer; TikZ/PGFPlots artist; demo/lab engineer; source verifier; QA/accessibility reviewer. Do not let agents edit the same files concurrently. Use a shared task ledger, isolated branches/worktrees when appropriate, and integrate via review. A lead agent remains accountable for correctness and consistency. Never assume parallelism is always faster; measure merge overhead and tool cost.377378Task contract for each delegated session:3791. Read this CLAUDE.md and the visual system.3802. Confirm objectives and dependencies.3813. Implement substantive slides, figures, lab, quiz, scripts and metadata.3824. Compile, test, render and inspect.3835. Record evidence, sources and limitations.3846. Return exact file paths and unresolved issues.385386## 13. Phased implementation plan387388### Phase 0 — Repository and specification389Create folder structure, complete curriculum map, learning outcomes, dependency graph, metadata schema, source registry, task ledger and Makefile skeleton. Check toolchain availability. Do not claim the MOOC is complete.390391### Phase 1 — Design system and golden session392Implement the Beamer theme, macros, TikZ/PGFPlots library, original logo, sample diagrams, QA scripts, CI and **S01 as a fully complete gold-standard session**. Compile and visually inspect every S01 slide. This is the quality benchmark for all subsequent sessions.393394### Phase 2 — Core technical foundations395Implement S02–S08 with full pedagogical assets and validated diagrams. Improve reusable components when patterns emerge.396397### Phase 3 — Agents and tools398Implement S09–S12 with safe, runnable terminal/API/agent demos.399400### Phase 4 — Coding agents401Implement S13–S16, checking current vendor documentation and documenting tool versions and limitations.402403### Phase 5 — Engineering and capstone404Implement S17–S24, cross-session projects, assessments and capstone rubrics.405406### Phase 6 — Release and maintenance407Perform complete compilation, figure audit, visual review, source verification, accessibility audit, reproducibility checks, packaging, release notes and publication guide.408409At every phase, finish a coherent increment. If time or token budget is limited, prioritize depth and validity over producing 24 superficial decks. Preserve an accurate backlog and a clear next-action list.410411## 14. Slide content production specification412413For each slide, document internally:414- Slide ID and precise teaching objective.415- One-sentence learner takeaway.416- Main visual concept and its source file.417- Supporting text, definitions, equations or code.418- Speaker notes with transitions and anticipated misconceptions.419- Source(s) supporting technical claims.420- Accessibility description.421422Recommended slide rhythm: conceptual question → visual intuition → formal mechanism → worked example → failure mode → practice → takeaway. Vary compositions: full-bleed vector diagram, annotated timeline, split comparison, staged system architecture, numerical walkthrough, code/result pair, interactive prompt exercise, and concise summary. Never use filler slides to hit a count.423424For diagrams with equations, derive and test numerical examples. For agent loops, include explicit stop conditions and failure branches. For context/memory visuals, depict the distinction between finite prompt context and external persisted state. For multi-agent figures, label which data and permissions are shared. For terminal diagrams, distinguish shell syntax from operating-system behavior.425426## 15. MOOC video production package427428Write French narration scripts suitable for natural spoken delivery, with approximate duration based on word count. Break each session into 3–6 logically coherent recordings. Provide scene-by-scene storyboards: slide number, voiceover, on-screen animation/overlay, terminal demo steps, zoom/crop suggestion, expected learner action, and accessibility caption. Mark all video files as `not recorded` until actual recordings exist. Do not fabricate `.mp4` files or claim captions are synchronized without source audio.429430Produce a recording checklist for audio quality, screen resolution, readable terminal font, cursor visibility, privacy redaction, rehearsal, pacing and export settings. Keep code demo terminal sessions deterministic where possible.431432## 16. Acceptance criteria433434A session is `validated` only when all are true:435- Objectives, prerequisites, glossary and timing documented.436- Complete, independently compiling LaTeX deck with no placeholder content.437- Original editable source for every explanatory figure.438- Rendered deck visually reviewed with recorded reviewer/date and issues resolved or disclosed.439- Narration notes and video storyboard complete (recording not implied).440- Runnable lab and tests with expected outputs.441- Quiz with answer key and explanations.442- Verified references or explicitly flagged unverified volatile claims.443- Accessibility checklist passed or exceptions recorded.444- CI quality checks passed.445446The repository is release-ready only when all 24 sessions satisfy the relevant criteria, licensing is approved, documentation is complete, and no critical issues remain. Publish a transparent completeness matrix.447448## 17. First execution instructions — act now4494501. Inspect the current directory and existing repository before modifying anything; preserve user work.4512. If empty, initialize the project structure and Git repository locally. Do not push to a remote unless explicitly authorized and configured.4523. Check `latexmk`, LuaLaTeX/XeLaTeX, TikZ, PGFPlots, Python and required utilities; document missing dependencies and install only when authorized.4534. Create `docs/curriculum.md`, `docs/visual-design-system.md`, `docs/architecture.md`, and `reports/STATUS.md` with substantive content.4545. Implement the shared Beamer theme and at least six reusable vector figure primitives.4556. Fully implement S01 with a coherent deck, at least three original meaningful diagrams, narration, lab, quiz and source registry.4567. Compile S01, render every slide, inspect, repair and record QA evidence. If compilation is impossible, state why and provide exact reproducible commands; never report success without evidence.4578. Create the remaining session directories and metadata, marking them honestly as planned until implemented.4589. Implement a working Makefile, basic validation scripts, and CI scaffolding.45910. Provide a concise final report: created files, successful checks, visual-review evidence, blockers, current completeness and prioritized next steps.460461**Do not ask broad clarification questions when sensible defaults are available. Build the best verifiable version possible, starting with the repository foundation and S01, then continue through the curriculum in well-tested increments.**462
Files main
Menu

Theme