The rule watcher (#7560)

The maintenance duty rule-watcher (src/maintain/duties/rule_watcher.ts) runs every 15 minutes and reads the check record. Each read is idempotent: one open issue per title, one comment per text.

Each run's findings and probes (each probe names the real query, to run again) are on /maintenance and, in the terminal, the "maintenance duty runs" screen (maintenance-runs, src/tui/screens/maintainruns.ts), which lists every duty including this one. The flake trend is said once a week, on the first run of the week, or when it files an issue.

Rule breaker comments are posted by the rule-watcher agent account (src/rules/bot.ts), never as the repository's owner. Issues the watcher files still go through the shared fileIssueOnce, authored by the owner as the check's own flake issues are.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs