docs: explain controlled model retries #7
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 279 lines diff across 3 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.337
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7"
general
weight: 0.35
Aias00
Purpose
Covers the Model retries item of agentic-ai-java/argi#372 (Core agentic-ai-java/argi#356, issue agentic-ai-java/argi#313). Docs-only; no Core runtime changes.
What's changed
frameworks/agent-framework/model-retry: module and package ownership, recommended configuration, defaults, failure categories and classifiers (type-based vs. the legacy message predicate), backoff, the order of the cancellation / non-retryable / attempt / deadline decisions, what the caller sees when retries stop, ordering withModelFallbackInterceptor, and the streaming boundary.examples/model-retry/: an offline example compiled against Corec6e453f20that drives the independentReActAgentwith a scriptedChatClientand checks six scenarios (transient recovery, attempt bound,UNKNOWNnot retried, legacy predicate retrying on message text, customRATE_LIMITEDclassifier, deadline stop).hooks-interceptors.Validation
Details are in
examples/model-retry/README.md. In short, on macOS arm64 with Temurin JDK 21 (release target 17) and Maven 3.9.9:c6e453f20installed; targeted Core tests passed:ModelRetry*Test+ModelFallbackSwitchBoundaryTest(50) andModelRetryControllerTest(12).compile exec:javapassed, and again with-o.npm run typecheck,lint,verify:contractandbuild(zh-Hans + en) passed.Reviewer notes
ModelRetryInterceptorlives inargi-agent-framework, so the independent ReActAgent path also needs that module; the guide states this.getCause()rather than branching on the message.ReactAgentpath is described from source only: neither the example nor the upstream retry tests run through it.hooks-interceptorsuses a route link (./model-retry) instead of./model-retry.md: that page has no English translation, and in theenbuild a.mdlink to a translated page does not resolve.🤖 Generated with Claude Code