watchdog

Solid

Generic watchdog for stuck or stale automation. Inspects one or more action classes, determines whether they are merely slow vs actually stuck/stale, and takes the smallest safe completion action. Includes the autopilot draft-PR watchdog: stale draft PRs should be completed and marked ready for review, not merely surfaced as merge nudges.

AI & Automation 38 stars 3 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Watchdog Generic watchdog for automation that can get stuck between observable states. It is intentionally broader than the old autopilot-specific health nudge: each watchdog action must define (1) objective stuck/stale signals, (2) safe allowed mutations, and (3) a terminal verification state. ## When to Use Use `/watchdog` when an automation loop or long-running action may be wedged: - heartbeat/cron pulses checking for stuck work - draft PRs that should have been completed by an autonomous loop - tmux sessions frozen at usage-limit/resume prompts - future watchdog classes with similarly objective signals Default target repo for Open Harness automation: `mifunedev/openharness`. Override with `--repo owner/name` for tests or forks. ## Arguments Parse `$ARGUMENTS`: | Flag | Default | Meaning | |------|---------|---------| | `--repo <owner/name>` | `mifunedev/openharness` | GitHub repo to inspect/mutate | | `--stale-hours <n>` | `2` | Age threshold for draft PR limbo | | `--action <...>` | `all` | `autopilot-drafts`, `sessions`, or `all` | | `--dry-run` | false | Report intended actions only | ```bash WATCHDOG_REPO="${WATCHDOG_REPO:-mifunedev/openharness}" WATCHDOG_STALE_HOURS="${WATCHDOG_STALE_HOURS:-2}" WATCHDOG_ACTION="${WATCHDOG_ACTION:-all}" AUDIT_ROOT="${AUDIT_ROOT:-$(git rev-parse --show-toplevel)}" AUDIT_ROOT=$(cd "$AUDIT_ROOT" && pwd -P) export AUDIT_ROOT ``` ## Action: autopilot draft PRs Goal: determine whether draft PRs are stuck or stale, complete the...

Details

Author
mifunedev
Repository
mifunedev/openharness
Created
5 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

autopilot

Self-improvement loop: each hourly run implements the oldest open issue labeled `autopilot` that has no open PR. When the queue is empty it runs first-principles `/audit harness` research, files its own `autopilot` ticket from the top-ranked finding, and builds that. Decomposes via the pm agent, then runs `/ship-spec --issue`, which owns the build end-to-end (the two compacts bracketing implement, a worktree Advisor, `/delegate` workers running `.oh/scripts/ralph.sh`, the `/eval` gate, and the `/audit pr` promotable undraft) through to a ready-for-review PR whose description states why this item was selected. Harness-infra only (skills/rules/docs/scripts/crons/wiki) — never sandbox application code. Runs in its own per-run tmux session. Caps: 6 open autopilot PRs created per UTC day AND 10 total open; never auto-merges. TRIGGER when: the hourly .oh/crons/autopilot.md fires, or invoked manually on demand (e.g. /autopilot --dry-run to preview the next selection).

38 Updated today
mifunedev
AI & Automation Listed

wise-pr-watch-auto

Autonomous variant of `/wise-pr-watch` — drive the current branch's PR to merge in bulk rounds with NO prompts. Each round: one linear 2-minute poll until CI is terminal and every review bot that is going to review the head (Copilot, CodeRabbit) has done so; gather every failing check, every unresolved bot thread (outdated ones included), every open Sonar issue; fix the whole set in one pass, resolve every handled thread immediately, one commit, one push; wait one 2-minute re-review window to see what the push triggered (the push IS the trigger — no `@coderabbitai review` while a bot is auto-reviewing); settle again. Converges on the first head with nothing actionable, or after two nit-only rounds (remaining nits accepted and resolved, no push), or at the round cap. Reads the base branch's rules up front (thread-resolution rule, required approvals), re-reads the PR state at every tick so a PR merged or closed from outside ends the run, and keeps its state under the PR so a re-invocation resumes. A stuck bot g

4 Updated today
e1024kb
AI & Automation Listed

goalforge-watchdog

goalforge-internal — use entry commands; do not auto-trigger Semantic spec-vs-diff gap audit for an SDD work package. Invoked by goalforge-verify AFTER acceptance criteria pass: reconstructs the WP goal/contract, reads the changed files plus their neighbors, and reports gaps — claimed-vs-implemented mismatches, missing tests/docs at changed seams, and deviations from the spec constraints/boundaries. Light summary by default (into findings.md; material gaps recorded as recap.md loop-backs via goalforge-recap); deep verify-gap.md report on opt-in. Advisory only — never blocks or rewrites goalforge-verify's status-advance authority. Trigger: goalforge-verify delegates a gap audit for a WP, or a user asks to audit a WP diff against its spec.

0 Updated 3 days ago
Truncuso