M0: Test coverage expansion (151 → 321 tests, 61% → 66% lines) - normalizeKnowledge CRLF/LF normalization fix - gooseReviewer: 11 tests, 97.35% coverage - r2 storage: 22 tests, 100% coverage - triage processor: 11 tests, exported buildTriagePrompt/labelName - webhook processor: 35 tests, 72.39% coverage - conflict resolver: 12 tests - review processor: 7 tests M1: Reliability hardening - Smart retry with jitter, maxTotalTimeoutMs, custom retryable predicate - MergeGuard: in-memory merge dedup tracker (100% coverage) - failureMessages: 7-category failure classifier (100% coverage) M2: Observability - MetricsCollector: Actions-run metrics with snapshot/markdown/reset - 11 tests, 100% coverage New files: 12 test files, 3 source modules All gates: typecheck ✓ lint ✓ format ✓ 321/321 tests ✓ build ✓
---
|
||
title: Rule Title Here
|
||
impact: CRITICAL|HIGH|MEDIUM-HIGH|MEDIUM|LOW-MEDIUM|LOW
|
||
impactDescription: Quantified impact (e.g., "2-10× improvement", "prevents runtime crashes")
|
||
tags: section-prefix, technique, tool, related-concepts
|
||
---
|
||
|
||
## Rule Title Here
|
||
|
||
1-3 sentences explaining WHY this matters. Focus on validation implications and cascade effects.
|
||
|
||
**Incorrect (what's wrong):**
|
||
|
||
```typescript
|
||
// Bad code example - production-realistic, not strawman
|
||
// Comments explaining the cost
|
||
```
|
||
|
||
**Correct (what's right):**
|
||
|
||
```typescript
|
||
// Good code example - minimal diff from incorrect
|
||
// Comments explaining the benefit
|
||
```
|
||
|
||
**When NOT to use this pattern:**
|
||
|
||
- Exception 1
|
||
- Exception 2
|
||
|
||
Reference: [Reference Title](URL)
|