SPB Git

Repository Public MIT Research preview

CONTRIBUTING.md 2.8 KB

# Contributing to ATLAS IA

Technical documentation is in English; everything a learner reads, hears or sees is in Canadian French (fr-CA). Read CLAUDE.md first: it is the specification of this repository.

# Ground rules

  1. Truthful status. Never mark something compiled, tested, verified or reviewed unless it was. Status labels (planned, draft, implemented, validated) are checked by tools/validate_structure.py.
  2. Single sources of truth. Course identity, author, language and curriculum live in course.yaml. Quiz explanations and alt texts are generated from YAML. Figure numbers come from code. Do not edit generated files (they say so in their first lines).
  3. Original figures only. Every figure is TikZ/PGFPlots (or hand-authored SVG) in its own source file, declared in figures/manifest.yaml with caption, rationale and alt text. No stock images, no AI-generated raster art, no borrowed diagrams.
  4. Semantic colours. Use atlasFlow, atlasValid, atlasUncertain, atlasHazard, never hard-coded colours. See docs/visual-design-system.md.
  5. One teaching idea per slide. Do not shrink text to make content fit: split the slide.
  6. Sources. Each technical claim cites a registered source (docs/source-verification.md). Vendor-specific facts are verified against primary documentation on the day they are written, with the access date recorded.
  7. Safety. No secrets, no personal data, no destructive commands in student material (SECURITY.md).

# Workflow

bash
make setup                     # check the toolchain (installs nothing)
make slides SESSION=S01        # compile one deck
make preview SESSION=S01       # render slide images and contact sheets, then LOOK at them
make test SESSION=S01          # run tests
make lint                      # all objective quality gates
make qa                        # everything, plus status reports

Work on a branch, one session or one tool per branch. Do not let two people (or two agents) edit the same files concurrently. Before asking for review: make qa passes, the visual review is recorded in sessions/SXX/qa/results.json with reviewer and date, and reports/STATUS.md is regenerated.

# Adding or completing a session

  1. Outcomes, title and prerequisites are edited in course.yaml only; run make sync.
  2. Set status: draft in the session metadata.yaml and build the deliverables listed in CLAUDE.md §3, using S01 as the reference implementation.
  3. Promote to implemented when make lint and make test pass; to validated only when every criterion of CLAUDE.md §16 is met, including a recorded visual review and a passing CI run.

# Commit messages

Imperative mood, scoped: S03: add attention figure with checked numbers, theme: fix footer contrast in print mode.

Files main
Menu

Theme