# Lesson Forge

**lesson-forge.infinity-sdg.com** — curriculum content built with AI and released by people.

```
course → unit → lesson (AI- or author-drafted)
  ├─ alignments to standards (CCSS, NGSS …)
  ├─ activities: warm-up → instruction → practice → exit ticket
  └─ assessment items, each aligned to a standard, answer keys verified by a person
draft → submit → in review ⇄ changes requested → approved → published → retired
nightly: AI drafts untouched for 30 days are discarded
```

## What it enforces

| Rule | Why |
|---|---|
| No submission without a standards alignment | Every lesson teaches something specific |
| No submission without an exit ticket | Every lesson checks for understanding |
| AI-drafted lessons record the model that drafted them | Provenance for every piece of content |
| Nobody reviews their own lesson | Independent review |
| Approval needs passing **accuracy** and **accessibility** reviews | Wrong or inaccessible content never reaches students |
| AI-drafted lessons also need a passing **bias** review | The specific risk of generated content gets its own check |
| Every answer key is verified by a named person before approval | AI answer keys are wrong often enough to matter |
| Failing reviews must say what to fix; requests for changes carry feedback | Review notes become author and prompt feedback |
| Stale AI drafts are discarded after 30 days | The library doesn't fill with unreviewed text |

Every resource is audited. Lessons keep a readable history of each review decision.

## Resources, views, roles

- **Resources:**
  - Catalog structure: standard, course, unit
  - The lesson itself
  - Lesson records: alignment, activity, item, review
- **Views:**
  - `reviewQueue`
  - `unverifiedItems`
  - `failedReviews`: the feedback loop for authors and prompt tuning
  - `catalog`
- **Roles:**
  - `author`: drafts and prompts
  - `reviewer`: accuracy, accessibility, bias, pedagogy
  - `editor`: publishing and the catalog
  - `admin`

## Demo data

The catalog has 10 courses and 12 units. Three units are built out: Grade 6 Ratios and Rates, Middle School Matter and Its Interactions, and Grade 6 Citing Textual Evidence. Together they hold 17 lessons, at least one in every state:

- 6 published, mixing AI- and author-drafted lessons
- 1 retired
- 2 approved, awaiting publication
- 3 in review
- 2 sent back, one for accuracy (it called dissolving a chemical change) and one for bias (stereotyped example passages)
- 2 drafts
- 1 stale AI draft that was discarded

One lesson in review is held because a reviewer caught an AI answer key that multiplied by the wrong rate.

The demo uses real CCSS and NGSS standard codes. Their summaries are paraphrased, not quoted. People are invented. To regenerate the data, run `python3 seeds/gen_seed.py`.

## Run it

```bash
scripts/kalos.sh validate    # static checks
scripts/kalos.sh start       # kalosd on :9215
scripts/kalos.sh verify      # live checks
```

By default, `KALOS_REPO` is `../kalos`.

Sign in with `admin` / `Admin123!`. The other users are `author1`, `reviewer1` and `editor1`, all with password `Demo123!`.

## Reselling

This is an original ISDG product for curriculum publishers, edtech companies and school districts. It has no student data and no third-party branding.
