← Back to Pull requests

feat: detached agent runs and binary store payloads #107

Open
unknown opened this pull request with 135 lines diff across 1 files
View on GitHub
unknown unknown commented on Oct 28, 2026 22:03 UTC
Author

Depends on #100 (Dapr SDK 1.19, approved). This branch is built on #100's exact commits. Until #100 merges, GitHub also shows them here; this PR's own changes are the last two commits.

Combines #101 and #102 into one PR, one commit each. Both are Dapr 1.19 workflow features. Those PRs are closed in favour of this one.

Changes

| Commit | Change |
|---|---|
| feat: start detached agent runs from a workflow | context.StartAgentRunDetachedAsync(agent, message) starts an agent run from a workflow without waiting for it, and returns its instance id. A failed run does not fail the caller. Needs a 1.19 sidecar. |
| feat: keep large agent payloads in a Dapr binary store | WithBinaryStorePayloads("store") keeps workflow payloads above a threshold (64 KiB by default) in a Dapr binary store, with only a reference in the history. |

Verification

  • Release build: 0 warnings (net8/9/10).

  • Unit tests: 359/359 on net9.0 and net10.0.

  • Integration against daprd 1.19.0: 68 passed, 1 skipped (the binary store test, which runs with DAPR_BINARY_STORE_PAYLOADS=1).
  • Diff: 135 lines (+101 / -34) across 1 files Reviewer: yaron2 Review duration: 53772m
    All Vouch review confidence checks passed
    Residual risk 0.35 = Change Risk (0.63) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 135 lines diff across 1 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.294
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #107"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.7% reviewed sensitive_module
    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: 62.6% (MEDIUM) · Higher = larger blast radius
    62.6%
    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: 44.7% · Lower = rushed or shallow review
    44.7%
    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: 34.6% · Safe to merge
    34.6%