verifylisted
Install: claude install-skill vladar107/claudescope
# Verifying Claudescope changes
## Sandboxed launch (never touch real agent homes or ~/.claudescope)
Every data source and state dir is env-overridable (`packages/server/src/config.ts`).
Build, then run the server against a scratch dir:
```bash
npm run build # shared → web → server; server serves the built SPA
SB=$(mktemp -d) # sandbox: fixtures + app state
mkdir -p $SB/home $SB/projects/-tmp-demo $SB/empty
# Claude Code fixture format: see writeFixtures() in packages/server/test/api.integration.test.ts
cd packages/server
CLAUDESCOPE_HOME=$SB/home CLAUDE_PROJECTS_DIR=$SB/projects \
CODEX_SESSIONS_DIR=$SB/empty JUNIE_SESSIONS_DIR=$SB/empty PI_SESSIONS_DIR=$SB/empty \
OPENCODE_DATA_DIR=$SB/empty COPILOT_SESSIONS_DIR=$SB/empty \
ANTIGRAVITY_CLI_DIR=$SB/empty ANTIGRAVITY_DIR=$SB/empty \
PORT=4390 REINDEX_INTERVAL_MS=3000 node dist/index.js &
```
- Use a non-default port (**not** 4317 — the user's real daemon may hold it).
- `REINDEX_INTERVAL_MS=3000` makes auto-reindex fast enough to observe.
- API surface: `curl http://127.0.0.1:4390/api/...` (health, sessions, search).
- **Kill the server when done** (kill the PID you started).
## Driving the UI
Playwright is already a dev dependency (perf suite). From a script anywhere:
```js
import { chromium } from '<repo>/node_modules/playwright/index.mjs';
```
Gotchas learned the hard way:
- Playwright fires `framenavigated` for SPA pushState too — to prove "no page
reload", set `window.__marker = 1` after load and check i