How it works
When a PR is opened or updated:- Driftless fetches the changed files and matches them against every topic’s anchors (globs).
- Every PR↔topic match is recorded (it powers the dashboard’s PR activity), comment or not.
- If the workspace has the Auditor configured (a model key in Settings → Agents), the Auditor is queued: it reads the real diff against the matched topics’ recorded claims.
- Only if it finds something does it post a single sticky comment, updated in place on later commits, never re-posted.
What the comment delivers
Signal-only, by design
- No finding → no comment. Silence is the default, and it’s information too.
- No model key → no comment. The Auditor is BYOM; without a key the PR is still observed and recorded, just not commented.
- It informs; it never blocks. Findings land as Suggested edits in the Review Queue, and an owner/admin merges them. No coverage score, no homework.
- Gap-finding lives in the coverage map, not in PR comments:
driftless_context_coverageover the MCP, or the dashboard.
The comment respects governance: findings are Suggested edits, never auto-applied, and the context it surfaces distinguishes Knowledge from Notes. See Governance and Agents.
