[19.0][FIX] base_tier_validation: bypass approval only for consecutive tiers #36
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 116 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.285
Real PR Conversation Timeline
1 comments
"Review active on #36"
general
weight: 0.35
bofiltd
Summary
Forward-port of OCA/server-ux#1141 (authored by @Saran440 / Ecosoft) onto 19.0.
approve_sequence_bypassis supposed to skip a tier's approval only when the previous (consecutive) tier was already validated by the same reviewer. The current logic instead bypasses whenever the same reviewer appears anywhere in the earlier tiers — even with gaps. With multi-tier workflows where the same person sits on tier 1 and tier 3 but a third party owns tier 2, that lets the workflow auto-approve tier 3 the moment tier 1 is signed, before tier 2 even gets a chance.This forward-port restricts the bypass to the immediately previous sequence so non-consecutive overlaps no longer auto-approve.
Credit
Original commit:
48049458by @Saran440 / Ecosoft. Cherry-picked unchanged onto 19.0; the surrounding code was identical to 18.0 so no resolution was needed.