← Back to Pull requests

Clarify that reserved metadata values depend on implemented extensions #1252

Merged
arichardson merged 1 files (3 lines) on Sep 15, 2026 05:47 UTC
View on GitHub
arichardson arichardson commented on Sep 14, 2026 05:51 UTC
Author

Addresses ARC review comment:
"These rules are too strict and will break when future extensions make
use of reserved encodings. The text should make clearer that future
extensions will make reserved encodings legal."

Add a note explicitly points out that future extensions may allocate values.

Partially fixes #1240

Signed-off-by: Alex Richardson <alexrichardson@google.com>

Diff: 3 lines (+2 / -1) across 1 files Reviewer: tariqkurd-repo Review duration: 1436m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.11) × (1 − Review Confidence (0.80)). 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.79 · 1 substantive comment(s)
0.79
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
80%
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
3 items
tariqkurd-repo tariqkurd-repo approved these changes on Sep 14, 2026 09:20 UTC
Approved Reviewer

Approved these changes.

kasanovic kasanovic commented on code on Sep 23, 2026 23:50 UTC
Code Review
src/cheri/riscv-unpriv-integration.adoc:1
@@ -631,9 +631,10 @@ NOTE: For {cheri_base64_ext_name}, the number of spare bits in the capability-en
 CHERI defines the following integrity check rules:
 
 . The bounds are not malformed (a capability encoding format-specific check; see xref:section_cap_malformed[xrefstyle=short] for {rv64y_uni_base_name}).
-. The capability metadata does not have any bits, or fields, set to a reserved value.
+. The capability metadata does not have any bits, or fields, set to a value reserved by the implemented extensions.

This is just saying the same thing which is a problem for future standard extensions. "The capability metadata does not have any bits, or fields, set to a value that is not valid for the implemented extensions"

Assignees
arichardson arichardson
Labels
risk: low confidence: 80.2% 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: 80.2% · Lower = rushed or shallow review
80.2%
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: 2.2% · Safe to merge
2.2%