# `core/quests/sources/index.ts`

<p class="generated-note">Generated from the exports of <a href="https://github.com/altasystem-ai/alta/blob/main/core/quests/sources/index.ts"><code>core/quests/sources/index.ts</code></a> · <code>npm run docs:gen</code></p>

Generated quests (lot Q2): pure functions that turn the map, the server's probes and the owner's tasks into generated branches ("_repair", "_system", "_personal"). The client registers them as quest sources (client/features/generated); the core plays them like any other branch.

**Standards that cite this file**: No standard page cites this file yet.

## Exports

### export … 
```ts
export * from "./common";
```

### export … 
```ts
export * from "./repair";
```

### export … 
```ts
export * from "./system";
```

### export … 
```ts
export * from "./personal";
```

### `ServerSources` 
What the server sends for the sources (GET /api/game, `sources`).

```ts
interface ServerSources { probes?: Probe[]; tasks?: TaskSource }
```

### `generatedBranches` 
Every generated branch for one evaluation (tests and tools; the client registers each source on its own).

```ts
function generatedBranches(ctx: { world: WorldState; save: Save; now: number; server: ServerSources }, say: Say): Branch[]
```
