Documentation Index
Fetch the complete documentation index at: https://rokad-89d31590.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Production rollout
Dhal should be rolled out gradually.
Phase 1: install and monitor
npm install @rokadhq/dhal
npx dhal init
npx dhal doctor
Use global monitor mode:
Phase 2: observe events
Review:
- rule matches;
- would-block decisions;
- route distribution;
- health/preflight behavior;
- bot false positives;
- API client behavior.
Phase 3: create route profiles
Create profiles for high-risk routes.
{
"routes": {
"/api/login": {
"mode": "block"
}
}
}
Phase 4: replay false positives
npx dhal replay fixtures.replay.json --fail-on-block
Phase 5: distributed state
Move to Redis/Valkey for production multi-instance rate limits and signals.
Phase 6: observability
Enable redacted telemetry and signed webhooks.
Release discipline
During alpha, pin exact versions and upgrade intentionally.