← Back to Pull requests

README: initial proposal #1

Open
pawelzalewski-capablehub opened this pull request with 92 lines diff across 1 files
View on GitHub
pawelzalewski-capablehub pawelzalewski-capablehub commented on Jan 08, 2026 10:25 UTC
Author

No description provided by author.

Diff: 92 lines (+92 / -0) across 1 files Reviewer: heshamelmatary Review duration: 389348m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.37) × (1 − Review Confidence (0.87)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 92 lines diff across 1 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 3 substantive comment(s)
0.89
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
87%
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.271
Real PR Conversation Timeline
4 items
pawelzalewski-capablehub pawelzalewski-capablehub commented on Jan 08, 2026 10:27 UTC
Author

This is an initial proposal and is expected to be challenged and changed.

jrtc27 jrtc27 commented on Jan 08, 2026 14:18 UTC
Contributor

Some thoughts:

CheriBSD has a pre-existing versioning scheme that isn't going to change
Morello and non-Morello support exist in different LLVM repositories so there is no "one" LLVM, let alone the fact that CTSRD-CHERI LLVM exists and will continue to exist. The current proposal mentions this, but basically just says "we'll define a version number but it's irrelevant because you have to go look up what that version number actually means for each toolchain". Might as well just give a git hash at that point, saves having to look up what it is.
LLVM 17/19/21 is not a helpful version number to use for CHERI toolchains. That's the upstream LLVM they're based on, but does nothing to capture the CHERI part of the version, other than give a window of git commits that you could be referring to (i.e. a version >= merging upstream LLVM N and < merging upstream LLVM N+1)
We're not going to teach cheribuild to do anything to try and enforce this stuff
On the Cambridge side, we make sure that newer toolchain versions can build all CheriBSD branches still supported, and any branches no longer supported should not be used because (a) we will not ensure they keep building, whether due to toolchain updates, host OS updates, or anything else (b) they will not see any security fixes
From a CheriBSD perspective, users shouldn't have to care about this. We ship our releases as binary artefacts that can be installed, and toolchains are provided via the system package manager. Those packages are produced by us, so we ensure the toolchain is compatible with the version of the system in use.

  • For CheriBSD, we sometimes update the version of the toolchain during the lifetime of the release. In particular, when the next release requires an updated toolchain to build it, we ensure that the current release's toolchain is updated to that version, so that people who wish to update from source can do so.
  • The TL;DR is I don't think this is at all useful for us at Cambridge and will be totally ignored. We will continue to do what makes sense for us and our users.

    Where did the current policy, and perceived requirement to have such a policy, come from?

    heshamelmatary heshamelmatary commented on code on Jan 08, 2026 17:26 UTC
    Code Review
    REAMDE.md:1
    @@ -0,0 +1,92 @@
    +# CHERI release specification
    +
    +Repo for hosting the release specification for the CHERI environment.
    +
    +## Why we need it
    +
    +To reduce confusion the naming convention in the 'CHERI' environment, first and foremost the convention should address the
    +compatibility issues - as in looking at release of 'Zephyr/Linux' one should instantly know which version
    +of 'LLVM' to use and what target this should be running on - this is until LLVM with 'CHERI' support gets unified and then later upstreamed. 

    We might also need to specify which RVY specification all of these tools and SW stack supports/assumes

    Assignees
    pawelzalewski-capablehub pawelzalewski-capablehub
    Labels
    risk: low confidence: 87.1% 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: 37.1% (MEDIUM) · Higher = larger blast radius
    37.1%
    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: 87.1% · Lower = rushed or shallow review
    87.1%
    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: 4.8% · Safe to merge
    4.8%