# Design decisions

> The choices behind Sypnia Learn, and why each one was made.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://learn.docs.sypnia.com/reference/decisions/

For agents: Learn design decisions: use cases first in every course; one level profile shared with Agent (no second test); lessons bind to the learner's project, sample La Espiga otherwise; exercises on a branch learn/<lesson>, never merged automatically; done only from passing checks, never by hand or by an agent; questions, deletion, level, publishing are person-only; progress private by default, shared per organization; memory notes in the account memory; offers rare (1/h, 3/day) and once per trigger; courses in Spanish and English (video, captions, transcripts, text); every Sypnia course and its certificate free, self-paced, no live classes, 16 or older; code names English in both languages; open lesson format (MIT) + engine AGPL-3.0, engine in TypeScript sharing the parser with the CLI; checks run in a sandbox outside the engine; no rankings, streaks or public profiles.

| #  | Decision                           | What Sypnia Learn does, and why                                                                                                                                                                                |
| -- | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1  | **Use cases first**                | Every course follows [the Sypnia way](https://learn.docs.sypnia.com/paths/the-sypnia-way): the map before the screens, the data and the code. It is how Sypnia's own products are built.                       |
| 2  | **One level, one test**            | Learn reads the level from the same profile as Agent and Cases. Nobody takes two tests, and the agent's explanations grow with the lessons.                                                                    |
| 3  | **Your project is the material**   | Lessons take their examples from the learner's own map, tables and traces; the sample bakery fills in when there is no match. People learn faster about what they care about.                                  |
| 4  | **Exercises on a branch**          | Every exercise lives on `learn/<lesson>`, and Learn never merges it. Learning never breaks a working app.                                                                                                      |
| 5  | **Only checks mark a lesson done** | Not a person by hand and not an agent. Progress means something only if it was proven.                                                                                                                         |
| 6  | **Some things are for people**     | Answering questions, deleting progress, changing the level and publishing courses refuse an agent's token (`403 person_required`). An agent is a tutor, not a substitute.                                      |
| 7  | **Private progress**               | Progress belongs to the learner; an organization sees what a member shares, and only lessons done.                                                                                                             |
| 8  | **Memory notes**                   | A finished lesson leaves one note in the learner's memory, visible and deletable like any other, so the agent knows what they know.                                                                            |
| 9  | **Offers are rare**                | Once per trigger, at most one an hour and three a day, never during an approval or a running task. Learning in the moment should help, not nag.                                                                |
| 10 | **Spanish and English**            | Sypnia's courses are in Spanish and in English, video, captions, transcripts and text, so nobody learns in a second language. Code names stay in English in both.                                              |
| 11 | **Free, like an academy**          | Every Sypnia course and its certificate are free, and courses are self-paced, with no live classes. Learning the Sypnia way should cost nothing and fit around a working day. Learn is for people 16 or older. |
| 11 | **An open format**                 | Lessons are Markdown files in a format under MIT; the engine is AGPL-3.0, like Sypnia's other engines. Anyone can read a lesson, and anyone can run their own courses.                                         |
| 12 | **TypeScript engine**              | The engine shares the lesson parser with the CLI and the console, so a lesson renders the same everywhere.                                                                                                     |
| 13 | **Checks outside the engine**      | A learner's code runs only in a sandbox with the branch and nothing else.                                                                                                                                      |
| 14 | **No race**                        | No rankings, streaks or public profiles. People learn at their own pace.                                                                                                                                       |
