# 5.17 — simplify skill pass (REFACTOR)

Phase: 5 — Chat + Rate Limiter (Surface D)
Stage: REFACTOR

Depends on: [5.7](5.7-api-chat.md), [5.13](5.13-frontend-chat-component.md)

- [ ] `simplify` pass on the mock SSE chat route + frontend chat component

## Verify

```bash
pnpm test:e2e chat.e2e.ts   # required, must pass before merge
```

## Done — Next.js portfolio surfaces shipped (mock-backed)

- [ ] Fabricated stats gone, real numbers or removed ([3.10](3.10-landing-page-cleanup.md))
- [ ] All four cluster surfaces (topology, delivery, terminal, chat) fetch from `/api/*` mock routes, not static `clusterMock` imports
- [ ] `pnpm test` and `pnpm test:e2e` both pass
- [ ] See [REQUIREMENTS.md](REQUIREMENTS.md) for what a real backend needs to implement before these mocks can be swapped for the genuine atlas service
