fix(substrate): keep control-plane text out of fork refusals #277
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.67) × (1 − Review Confidence (0.62)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 828 lines diff across 9 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.45 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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.400
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 item
"Review active on #277"
general
weight: 0.35
aramase
When a Substrate fork is refused, the error that
forkErrorpublishes as FAILED_PRECONDITION or ABORTED included the control plane's own error text (for example from a failedTagActorafter the parent is gone). That text should not reach API clients.hiddenCauseerror type, modelled oncomputeFailure: the message is the typed reason plus the parent, tag, clone or child involved, whileerrors.Isanderrors.Asstill reach the original error.STATELESS_REPLAYchild. A failed clone teardown now reports only its error kind in the message; the full error is still logged.Tested with new runtime tests and gRPC tests that inject a sentinel string into the control client error and assert it is absent from the status message for FAILED_PRECONDITION and ABORTED (stateful and replay forks), while the cause stays reachable from Go.
go test -race ./runtime/substrate/ ./session/ ./placement/passes.