feat(runtime): search retained tool-result references with Grep #6128
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.37) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 223 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.324
Real PR Conversation Timeline
1 comments
"Review active on #6128"
general
weight: 0.35
Astro-Han
Summary
Agents can use
Grepon amaka://runtime/tool-results/...address to locate evidence before expanding it withRead, instead of paging through unrelated output or repeating the source operation. Searches reuse the Session-authenticated readable result, retain exact completed-search line counts within a 7,500-byte JSON response, and supply digest-bound Read hints for clipped Unicode/JSON lines. Conversation copies remap generated addresses while preserving matched source text.Counts cover retained content; execution metadata preserves known upstream output truncation. Existing preview/storage policy and filesystem searches continue through their existing paths.
Fixes #6127
Verification
@maka/runtimesuite: 3,940 passed, 14 platform-specific skips, zero failures; final targeted search, Read/Grep, ledger, copy and provider-loop regressions also pass.AI use
Tool(s) and scope: OpenAI Codex assisted with implementation, regression tests, documentation and this description. The commit includes a
Generated-by: OpenAI Codextrailer.Checklist
Does this PR entail a change in behavior?