heavy-duty-watcher/config/watcher.env.example
grok-reviewer-andresmgsl 8d6f902209 Harden watcher: shared config, dual forge backends, safer discovery
- Add scripts/lib/common.sh (ORG/BOT/FORGE_BACKEND, logging, process_running)
- discover.sh: dedupe review-requested+assignee PRs; JSON+summary formats
- discover.sh: FORGE_BACKEND=forgejo via Forgejo API + stoke token
- Fix poll-loop process detection (basename, not install path)
- health-check: jq-safe JSON; backend-aware auth (gh or stoke)
- install-live: require rsync/jq/tmux; soft-warn missing gh/stoke
- self-test.sh offline smoke; restore/poll-once use shared config
- Docs: Forgejo table, watcher.env, OPERATIONS troubleshooting
2026-07-22 23:23:33 +00:00

17 lines
458 B
Text

# Copy to config/watcher.env (gitignored) for local overrides.
# Values below are defaults applied by scripts/lib/common.sh when unset.
# WATCHER_DIR=$HOME/heavy-duty-watcher
ORG=heavy-duty
BOT_LOGIN=grok-bot-andresmgsl
# github (default) | forgejo
FORGE_BACKEND=github
FORGEJO_URL=https://forgejo.heavyduty.builders
POLL_INTERVAL_SEC=900
HEALTH_INTERVAL_SEC=3600
STALE_POLL_MINUTES=45
TMUX_SESSION=heavy-duty-watcher
# LEGACY_TMUX=rig-watcher
# LIMIT=50