rembric-smoke-testslisted
Install: claude install-skill susomejias/rembric
# Rembric smoke pattern
Real-stack verification of a change before opening the PR. Read `docker-compose.dev.yml`, `apps/server/Dockerfile`, and `package.json::dev:docker:up` for the source of truth on ports, mounts, and the dev target — this file gives you only the pattern that survives those changing.
## 1. Bring up from the change's worktree
```bash
cd <your-worktree>
[ -f .env ] || cp <main-worktree>/.env .env
pnpm run dev:docker:up # background OK
```
## 2. Verify YOUR source is mounted
The compose project name is global across worktrees, so `docker compose up` will silently attach to a stack another worktree already owns. Always confirm:
```bash
docker inspect rembric-dev --format '{{range .Mounts}}{{.Source}} -> {{.Destination}}{{println}}{{end}}'
```
Sources must point to the current worktree. If they don't, `docker compose -f docker-compose.yml -f docker-compose.dev.yml down --remove-orphans` from the owning worktree path, then up again from yours.
## 3. Wait healthy
```bash
until docker ps --filter name=rembric-dev --filter health=healthy --format '{{.Names}}' | grep -q rembric-dev; do sleep 3; done
```
## 4. Read port + bearer from sources of truth
- Container port: from `docker-compose.dev.yml::ports`.
- Admin bearer: `grep '^REMBRIC_ADMIN_TOKEN=' .env | cut -d= -f2-`. **Never `cat .env`** — the harness blocks it to keep secrets out of the transcript.
- Default seeded project slug: from `apps/server/src/scripts/seed-dev.ts`.
## 5. Probe the chan