Skip to main content
Glama

watchdog

Destructive

Session review + environment optimization. action='dig' analyzes a session, a window of sessions, or the machine environment and returns severity-ranked findings with evidence and proposals (digests for agent reasoning, persisted to the…

Instructions

Session review + environment optimization. action='dig' analyzes a session, a window of sessions, or the machine environment and returns severity-ranked findings with evidence and proposals (digests for agent reasoning, persisted to the vault as watchdog notes). action='fix' applies approved repairs — dry-run by default; file reclamation is quarantined and reversible. action='status' lists past digs and pending findings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNoRestrict to a harness: opencode | claude-code | codex
applyNoaction=fix: actually perform changes (default false = dry-run)
countNoMax sessions in window (default 20)
scopeNodig scope (default session)
sinceNoWindow start for scope=window: 7d, 24h, or ISO date
actionYeswatchdog action
dismissNoaction=fix: mark dismissed instead of applied
persistNoPersist the dig report to the vault (default true)
projectNoProject slug (auto-detected when omitted)
categoriesNoFinding categories for action=fix; include 'leaked-tmp' to reclaim leaked .tmp files
session_idNoSession id, optionally tool:id (default: latest session in this project)
finding_idsNoFinding ids for action=fix
report_pathNoaction=fix: target a specific stored report path
all_projectsNoIgnore the current project filter; review sessions across all projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

Score is being calculated.