← Back to Pull requests

feat(a2asrv): apply TaskView to returned tasks #661

Merged
polchernikova-w merged 10 files (365 lines) on Dec 04, 2026 14:54 UTC
View on GitHub
polchernikova-w polchernikova-w commented on Dec 02, 2026 11:15 UTC
Author

Part of the A2A v1.1 work. Targets release/v1.1.

v1.1 spec changes implemented

  • TaskView (§3.2.9): TASK_VIEW_SUMMARY leaves out artifacts, history and timeline. TASK_VIEW_FULL returns all fields.

  • - GetTaskRequest.view and SendMessageConfiguration.task_view (non-streaming and streaming): default FULL.
    - ListTasksRequest.view: when unset, the compatibility behavior stays (includeArtifacts / historyLength, no timeline). When set, includeArtifacts is ignored (§3.1.4).

    Changes

  • The handler applies the view for every store.

  • New optional taskstore.ViewGetter interface and taskstore.GetView helper, so a store can skip loading the fields left out for summary reads (e.g. a store that rebuilds tasks from events).

  • Summary reads are also used for push config ownership checks and cluster frontend existence and state checks.
  • Requests without a view behave as before. Existing Store implementations need no change.

    Diff: 365 lines (+345 / -20) across 10 files Reviewer: yarolegovich Review duration: 3099m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.52) × (1 − Review Confidence (0.48)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 365 lines diff across 10 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.00 · 1 substantive comment(s)
    0.00
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    48%
    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
    Diff Size diff_size
    0.353
    Shallow Review Depth shallow_review_depth
    0.350
    Real PR Conversation Timeline
    2 items
    yarolegovich yarolegovich approved these changes on Dec 02, 2026 16:15 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    polchernikova-w polchernikova-w
    Labels
    risk: low confidence: 48.5% reviewed
    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: 51.5% (MEDIUM) · Higher = larger blast radius
    51.5%
    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: 48.5% · Lower = rushed or shallow review
    48.5%
    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: 26.5% · Safe to merge
    26.5%