# 🎯 How Taskr Actually Works

## 3.1 Projects - Your AI's Different Workspaces

### The Simple Version

Think of projects like different notebooks on your desk. When you're working on your recipe app in one notebook and your workout tracker in another, you don't want the pages getting mixed up. Projects work the same way for your AI.

### What Actually Happens

Every project gets a unique ID that looks like this: `PR_ABC123XYZ...` (PR stands for "Project"). Your AI uses this ID to know which "notebook" it's working in.

**Real example from your project:**
- When you create a project for "My Recipe App", Taskr generates: `PR_01JGYVYMA0Q0K8OOFK12345678`
- All tasks for recipes go in this project
- Your workout tracker gets its own ID: `PR_01JGYVYMA0Q0K8OOFK87654321`
- They never mix!

### Why This Matters

**Without project isolation:**
- Your AI might add "Do 50 pushups" to your recipe app 😅
- Tasks from different projects would get jumbled
- You'd lose track of what belongs where

**With project isolation:**
- Each project is a clean slate
- Your AI focuses on one thing at a time
- Switch projects = switch context completely

### Behind the Scenes

In the database, every task, note, and piece of data has a `project_id` field that ties it to your project. It's like a label on every page saying which notebook it belongs to. The system uses PostgreSQL's Row Level Security (RLS) to ensure data never leaks between projects—even at the database level!

---
