DESIGN.md@scripts/watchdogA
DESIGN.md@scripts/watchdog from asheshgoplani/agent-deck is a DESIGN.md file: the design rules coding agents follow in that repo.
mdr add asheshgoplani/agent-deck/scripts/watchdog/DESIGN.md@git:20260726.02bf768Pins git:20260726.02bf768 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- DESIGN.md file
- Repository
- asheshgoplani/agent-deck
- Path
scripts/watchdog/DESIGN.md- Versions recorded
- 2
- Latest version
- git:20260726.02bf768, committed Jul 26, 2026
- First version recorded
- Apr 23, 2026
- Size
- 12,059 bytes
- Repository stars
- 1,233
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Auto-Restart Watchdog for Critical Agent-Deck Sessions Date: 2026-04-19 (initial design) · 2026-04-22 (lift-and-shift into repo for v1.7.63) Target: agent-deck v1.7.63 ## Problem Conductor sessions (`conductor-innotrade`, `conductor-travel`, `conductor-opengraphdb`, etc.) are the brain of the orchestration system. A single SSH logout or tmux hiccup can flip them to `error`, and they stay there until a human manually runs `agent-deck session restart`. Today there is no automatic recovery for this class of session. The existing reviver (`internal/session/reviver.go`) only revives `ClassErrored` (tmux alive, control pipe dead). Sessions where tmux itself died are `ClassDead` and are deliberately NOT auto-revived by design (disambiguation between intentional kill and crash). The missing piece: **something external** that, for a small allow-list of critical sessions, WILL restart them when they flip to error — with rate limits, cascade guards, and escalation. ## Non-goals - Auto-restart arbitrary worker sessions (keep opt-in explicit) - Replace the existing transition-notifier daemon (reuse it as a signal source) ## Status note (v1.7.63, 2026-04-22) …
Read the whole file at its exact version.
How to install
mdr add asheshgoplani/agent-deck/scripts/watchdog/DESIGN.md@sha256:7129e64e0e24f238The line at the top of this page pins the label git:20260726.02bf768, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3xjxxoyleoktpk3p)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 23, 2026 and Jul 26, 2026, about one every 95 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260726.02bf768 latest | 2026-07-26 | 02bf768 | 12,059 B | A | view · diff |
| git:20260423.2b3e428 | 2026-04-23 | 2b3e428 | 9,171 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (12059 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
asheshgoplani/agent-deck · 1,233 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3xjxxoyleoktpk3p GET https://markdownregistry.com/api/v1/resolve?ref=asheshgoplani/agent-deck/scripts/watchdog/DESIGN.md GET https://markdownregistry.com/api/v1/blob/7129e64e0e24f238420429abf8214128b875e474e40bd4e29a6a2f1e472f48fb
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: what DESIGN.md is and how agents use it · which agent file does what.