feat(Languages): Stateful Processes and Mech directory #754
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.32) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 126 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.290
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #754"
general
weight: 0.35
XYUnknown
This PR adds a first formalisation of Stateful Processes (for now without recursion), the textbook process calculus for reasoning about implementation of choreographies (syntactic descriptions of concurrent/distributed protocols). It includes both syntax and semantics of the calculus.
The semantics is split into symbolic (e.g.,
x := e; Pevolves toPby performing a transition with labelx := e) and concrete (which equips programs with memory and thus the same action would update variablexwith the value computed frome).One reason for this modularisation is future reuse: having a symbolic semantics is the basis to formulate extraction algorithms that infer the protocol executed by a network of process programs (choreography extraction in the literature). Another reason is that it is known to simplify some proofs of correctness for compilers from choreographies to processes, which is a future aim (see the README in
Mech).Choreographic languages will be part of future PRs.