Testing
WorldFork uses focused local commands plus one optional live smoke.
Maintained Test Sweep
./scripts/run_tests.sh all
That runs:
root regression tests and backend unit tests
CLI package tests
integration tests
e2e tests that do not require live providers
Run a focused layer:
./scripts/run_tests.sh unit
./scripts/run_tests.sh cli
./scripts/run_tests.sh integration
./scripts/run_tests.sh e2e
Static Checks
make lint
docker compose config --quiet
Live Smoke
worldfork smoke live
This command uses real API credits. It should use the configured audited model split: OpenRouter deepseek/deepseek-v4-flash for cohort, hero, action, event-summary, predicate, and single-report work, and OpenAI Codex gpt-5.4 for initializer, God-review, endpoint-ledger, report fallback, and final multiverse report synthesis.
Redis Cleanup
If a local test run leaves queue state behind before a live smoke, clear Redis:
docker compose exec -T redis redis-cli FLUSHALL
Do not run this against shared or production Redis instances.