Fix places where grammar.md doesn't match the parser #635
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.32) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 133 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.293
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #635"
general
weight: 0.35
juntyr
Fixes #614
Updates
docs/grammar.mdso it matches what the parser actually accepts. I checked each case againstDeserializer::from_str+IgnoredAny+end()on master.\always starts an escape, so"a\c"is rejected. The plain character class now excludes the backslash too.\u{41}works and\u0041doesn't. Also added a note that it takes 1 to 6 hex digits and has to be a valid scalar value.'\n','\x41','\u{41}'all parse), just without line continuations, and a\xescape in a char has to be ASCII...or..=(1 .. 2and.. 5are rejected), so I dropped thewsfrom those rules.#![enable(...)], soRONnow starts withws.I left out the bare
'''char and the1e_+0exponent cases from the issue, since they look more like parser quirks than something the grammar should promise.CHANGELOG.md