kelai141/dsh-github-watchdog ↗★ 0
@dsh-external/dsh-github-watchdog
A DeepSeek Harness Agent Preset plugin: session-scoped, read/comment-only GitHub repository watchdog that observes pull requests, CI, commits, and issues, then produces deduplicated security-aware preliminary analysis.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗3. Create the configuration
mkdir -p ~/.dsh/github-watchdog
Create ~/.dsh/github-watchdog/config.json:
{
"repositories": [
{ "repository": "owner/repository", "workspace": "D:/path/to/local/checkout" }
],
"tokenEnv": "GH_TOKEN",
"intervalMs": 120000,
"comments": { "enabled": false, "maxPerHour": 4 }
}
repositories may be an empty array at first — the model will discover candidates from the
conversation workspace and ask you which to track.
Configuration reference
| Key | Type | Default | Meaning |
|---|---|---|---|
repositories | array | [] | Explicit { repository, workspace? } whitelist |
tokenEnv | string | DSH_GITHUB_WATCHDOG_TOKEN | Env var holding the GitHub token |
intervalMs | number | 120000 | Poll interval (60 000–3 600 000 ms) |
comments.enabled | boolean | false | Publish automated analysis comments to PRs |
comments.maxPerHour | number | 4 | Per-repository hourly comment budget (1–20) |
stateFile | string | ~/.dsh/github-watchdog/state.json | Deduplication/snapshot state |
diagnostics.enabled | boolean | true | Write the rotating diagnostic log |
diagnostics.logFile | string | next to config, watchdog.log | Diagnostic log path |
The configuration is read on every poll, so edits apply without restarting.