Skip to content

Configuration ​

HiveScanner stores all configuration in ~/.hivescanner/config.json. You can edit this file directly or use the /hive wizard.

Config Structure ​

json
{
  "version": 2,
  "poll_interval_seconds": 300,
  "queue_retention_days": 7,
  "user": {
    "username": "YOUR_USERNAME",
    "email": ""
  },
  "autonomy": {
    "enabled": false,
    "oncall_groups": [],
    "transports": {},
    "group_policies": {}
  },
  "scanners": {
    "github": { ... },
    "slack": { ... },
    "calendar": { ... },
    "git_status": { ... }
  }
}

Global Settings ​

FieldDefaultDescription
poll_interval_seconds300How often workers poll for updates (in seconds)
queue_retention_days7How long acknowledged/acted pollen is retained before pruning
user.username—Your username (used for filtering @mentions)
user.email—Your email (used for calendar matching)

Autonomy Settings ​

Triage autonomy is off by default. See Triage Autonomy for details.

FieldDefaultDescription
autonomy.enabledfalseGlobal kill switch for confirmed triage posts
autonomy.oncall_groups[]Exact destination IDs that may receive a confirmed post
autonomy.transports{}Trusted destination-to-transport configuration (currently Slack)
autonomy.group_policies{}Exact source/group matching, triage enablement, triggers, templates, and cooldown policy

Scanner Configuration ​

Each scanner has its own configuration block under scanners. See individual scanner pages for details:

Environment Variables ​

HiveScanner uses environment variables for secrets. Tokens are never stored in config files — only the env var name is saved.

VariableScannerHow to Get It
GITHUB_TOKENGitHubOptional override for the required gh CLI; use gh auth login or create a PAT
SLACK_TOKENSlackCreate a Slack App
LINEAR_API_KEYLinearLinear API Settings
JIRA_TOKENJiraAtlassian API Tokens
GITLAB_TOKENGitLabGitLab Personal Access Tokens
PAGERDUTY_TOKENPagerDutyPagerDuty API Access Keys
SENTRY_TOKENSentrySentry Auth Tokens
NOTION_TOKENNotionNotion Integrations
TELEGRAM_BOT_TOKENTelegram@BotFather on Telegram
DISCORD_BOT_TOKENDiscordDiscord Developer Portal

Set them in your shell profile (e.g., ~/.zshrc):

bash
export GITHUB_TOKEN="ghp_xxxxxxxxxxxx"
export SLACK_TOKEN="xoxb-xxxxxxxxxxxx"

Released under the Apache 2.0 + Commons Clause License.