# Lessons in the moment

> Short lessons offered when something happens that they explain, never forced, and easy to turn off.

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

For agents: Offers: Learn listens to events of the person's projects (first scope error, first failed Cases check, first migration proposal, first production deploy approval, first Telemetry problem on a case they own, first failed test of an ending, first design check finding) and, if a lesson covers it and it is not done, App shows one quiet offer: «2-minute lesson: why this was a scope error?» with Watch / Later / Don't offer this. Rules: never blocks or interrupts an approval or a running task; at most one offer an hour and three a day; each trigger once per person; off entirely in Account → Learn → Offers, or per project. GET /v1/offers, POST /v1/offers/{id}/dismiss.

Some things are easier to learn right when they happen. When you meet one of them for the first time, App can offer a short lesson about it.

## When an offer appears

| The first time…                                                 | The offer                                            |
| --------------------------------------------------------------- | ---------------------------------------------------- |
| someone tried something that is not on your map (a scope error) | «Why this is a scope error, and how to add the case» |
| the Cases check fails                                           | «What the check looks at»                            |
| the agent proposes a change to your tables                      | «What a migration is, and why it asks you first»     |
| you approve a deploy to production                              | «Preview and production»                             |
| Telemetry finds a problem in a case of yours                    | «Reading a problem»                                  |
| a test of a failure fails                                       | «Testing every ending»                               |
| `design check` reports a finding                                | «Why the guide wins»                                 |

Each offer appears **once**, only when a lesson covers it and you have not done that lesson yet.

## The rules

- **Never in the way.** An offer is a quiet line under the conversation. It never appears in the middle of an approval or while a task is running.
- **Rarely.** At most one offer an hour, and three a day.
- **Your choice.** **Watch** opens the lesson in the side panel, **Later** keeps it in **Learn → For later**, **Don't offer this** never shows that one again.
- **Off with one switch.** Turn offers off in **Account → Learn → Offers**, for every project or for one.
