kelai141/dsh-github-watchdog0

@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.

AI Analysis

核心用途是作为 GitHub 仓库监视器,自动分析 PR、CI 及 Issue。适合需要 AI 辅助进行代码安全审查和项目动态监控的开发者。

Package
@dsh-external/dsh-github-watchdog
Version
0.0.1
License
MIT
Last updated
Aug 18, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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

KeyTypeDefaultMeaning
repositoriesarray[]Explicit { repository, workspace? } whitelist
tokenEnvstringDSH_GITHUB_WATCHDOG_TOKENEnv var holding the GitHub token
intervalMsnumber120000Poll interval (60 000–3 600 000 ms)
comments.enabledbooleanfalsePublish automated analysis comments to PRs
comments.maxPerHournumber4Per-repository hourly comment budget (1–20)
stateFilestring~/.dsh/github-watchdog/state.jsonDeduplication/snapshot state
diagnostics.enabledbooleantrueWrite the rotating diagnostic log
diagnostics.logFilestringnext to config, watchdog.logDiagnostic log path

The configuration is read on every poll, so edits apply without restarting.