Options & env vars
Resolution order: CLI flag > env var > ~/.senkani/config.json > default. Any toggle can be overridden at any level without touching other settings.
FCSIT — per-pane feature toggles
Env-var families
Budget caps
Daily + weekly spend ceilings enforced at the hook layer. SENKANI_BUDGET_DAILY, SENKANI_BUDGET_WEEKLY.
Security env vars
Prompt-injection guard, SSRF overrides, socket auth, structured JSON logs, retention tuning.
Web env vars
Overrides for the senkani_web SSRF guard, subresource blocklist, allowlisted hosts.
Compound-learning env
Confidence thresholds, recurrence gates, Gemma enrichment rate limits.
Config file
// ~/.senkani/config.json { "retention": { "token_events_days": 90, "sandboxed_results_hours": 24 }, "budget": { "daily_usd": 5.00, "weekly_usd": 25.00 } }