← Back to Pull requests

fix(orchestrator): an escalation about some slices holds only them (L3, D1263) #244

Open
unknown opened this pull request with 210 lines diff across 2 files
View on GitHub
unknown unknown commented on Oct 23, 2026 11:02 UTC
Author

A guard the L3 long run routed around (docs/plans/agents.md#l3-a-long-run-d1261d1280).

Decision

  • D1263 — while the lead has an open ask to the owner, D1223 holds the whole mission unless a slice of it is blocked; then the ask is taken to be about the blocked slices (which wait for a decision anyway) and the rest goes on. missions.next gains held (additive); slices.handoff's ESCALATION_OPEN and the orchestrator's waiting outcome follow held; the waiting note tells the lead to block the slices an ask is about. D1223's text points to D1263.
  • What the run showed

    Mission 3 had eight items, one of them the owner's decision (deleting missions reverses D651). The lead escalated it as a plain agents_send, not an ask, and said why:

    I'm sending this as a message, not an ask: per D1223, an open ask of mine would hold the whole mission, including the seven items that don't need you.

    The lead read the rule right. The rule made the honest escalation the costly one, so the lead stepped around it, and the escalation lost what L1 gave it (the Lead view's card, the hold).

    Evidence

    $ vp test run plugins/orchestrator/test/orchestrator.test.ts
          Tests  22 passed (22)
    $ vp run --filter @jhin/plugin-orchestrator typecheck
    exit 0
    $ node scripts/public-ids.ts
    public-ids: no public id removed …
    

    New test holds only the blocked slices when the lead blocked what it asked about (D1263): an ask with nothing blocked holds (held: true); after the lead blocks the roof, held: false, the door is ready and the orchestrator hands it. The D1223 test is unchanged and passes.

    🤖 Generated with Claude Code

    Diff: 210 lines (+157 / -53) across 2 files Reviewer: claude[bot] Review duration: 7m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 210 lines diff across 2 files
    0.36
    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%
    46%
    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.320
    Real PR Conversation Timeline
    1 comments
    "Review active on #244"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 36.5% (MEDIUM) · Higher = larger blast radius
    36.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: 46.7% · Lower = rushed or shallow review
    46.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: 19.4% · Safe to merge
    19.4%
    Repository