## Source

`TODO`: "The previews of projects on `/editor`, don't match the content"

## Current state

`apps/web/src/collab/projects.ts` maps every local/guest project to:

```ts
source: DEFAULT_PROJECT_SOURCE
```

`ProjectPreview` renders `props.project.source`. So a local project with edited source always shows the starter program in its card, regardless of what the project contains.

## Acceptance

- [ ] Reproduce with a guest/local project whose source differs from the starter, then return to `/editor` and confirm the card shows the wrong preview.
- [x] Decision: a card shows the **first lines of the project's actual source**.
- [ ] Local project cards render the project's actual source (loaded from its stored snapshot or an equivalent lightweight preview field).
- [ ] Server-backed projects still render their current source after an edit and reload.
- [ ] The fix does not load the full collaborative document into the project list's first bundle.
- [ ] Add a regression assertion to the projects journey.


<sub>Generated on _MrBeast_ using _opencode/deepseek-v4.1-flash_ in _ses_e8326e581ffeJviTmSkomwnKES_</sub>

