← Back to Pull requests

Document that readme_pattern is unset by default #81

Merged
azmi2409 merged 1 files (3 lines) on Oct 07, 2026 18:30 UTC
View on GitHub
azmi2409 azmi2409 commented on Oct 07, 2026 15:27 UTC
Author

Fixes #80

The Configuration section's copy-paste defaults block listed readme_pattern: nil. YAML has no nil keyword, so that parses as the string "nil", which the generator turns into the case-insensitive regex /nil/i — matching no README, producing no index page, and no warning.

This removes the readme_pattern line from the defaults block and adds a sentence noting the option is unset by default (pointing at the "Custom README pattern" section). Pasting the updated defaults into a site with only README.md now yields index.html via the default detection pattern.

Docs-only change; bundle exec rspec passes (126 examples, 0 failures).

Diff: 3 lines (+2 / -1) across 1 files Reviewer: benbalter Review duration: 182m
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.11) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.11 · 3 lines diff across 1 files
0.11
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
0.35
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
67%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.083
Real PR Conversation Timeline
2 items
benbalter benbalter approved these changes on Oct 07, 2026 18:30 UTC
Approved Reviewer

Great catch, @azmi2409. A YAML nil quietly turning into a regex that matches the string "nil" is a subtle one. Thanks for the clear write-up.

Reviewers
Assignees
azmi2409 azmi2409
Labels
risk: low confidence: 67.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 11.3% (LOW) · Higher = larger blast radius
11.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 67.5% · Lower = rushed or shallow review
67.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 3.7% · Safe to merge
3.7%