# Add server-side orchestration engine with event sourcing · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/483a1ae3718e39269075e99ea84e437d4cfad591)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 483a1ae3718e39269075e99ea84e437d4cfad591

Requested commit: 483a1ae3718e39269075e99ea84e437d4cfad591

Commit: 483a1ae3718e39269075e99ea84e437d4cfad591

Tree: 65661a7e3c4a3b207504479fd72c9e766e87ea04

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add server-side orchestration engine with event sourcing

Move state management from client to server using an event-sourced architecture:
- Add SQLite-backed event store with append-only event log
- Add orchestration engine with command queue, reducer, and read model
- Add Effect-based PubSub for real-time read model updates to clients
- Define orchestration schemas in contracts (commands, events, read model)
- Simplify client-side store by removing persistence layer
- Remove obsolete client-side persistence tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

```

## Parents

- [781006f0054f3e40ec7f7eadd612b037ea52f5ff](https://git.cafe/screen/t3code-personal/commit/781006f0054f3e40ec7f7eadd612b037ea52f5ff?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/483a1ae3718e39269075e99ea84e437d4cfad591?format=markdown)
