← Back to Pull requests

Align delegated merge durable request identity #142

Closed
unknown closed this pull request without merging on Sep 20, 2026 06:49 UTC
View on GitHub
unknown unknown commented on Sep 20, 2026 05:20 UTC
Author

Outcome

Problem

MP2-016 delegate-normal admission computes the request identity without the newline used by the durable broker spool. A valid delegated package therefore reaches reservation but is rejected as an inconsistent durable identity, causing the broker to restart instead of reserving or merging the request. The qualification run also exposed the same ZIP-container false-positive already corrected for ManiSkill in the ROS 2 MCAP fixture test.

User-visible behavior

None. Valid signed delegate-normal requests can pass the existing durable reservation boundary; authorization, signature, freshness, exact-head, and fail-closed checks are unchanged.

Changes

Scope

Compute delegated admission request digests from the broker's canonical JSON-plus-newline bytes and prove acceptance with a real DurableSpool. Inspect ZIP member names and decompressed contents instead of opaque compressed bytes in the ROS 2 fixture path-leak test, including uppercase and deflated negative cases. Refresh only mechanically affected inventory and traceability digests. No broker policy, workflow, ruleset, credential, or publication change is included.

Compatibility

The correction aligns an internal producer with the existing durable spool contract. Existing signed package schemas and historical evidence remain readable. Python and platform support declarations are unchanged.

Evidence and research impact

No product evidence format or research claim changes. The ROS 2 fixture test remains fail-closed for member names and decompressed content while avoiding false matches in compression bytes.

Validation

Tests

  • Focused tests run: delegated admission and durable spool regressions; ROS 2 path-leak positives and stored/deflated/uppercase ZIP negatives; inventory, public-surface, UI-audit, and traceability currentness; independent review clean.

  • Complete hosted qualification (exact candidate, run/attempt, or pending): pending for 589f6744b0187e23d5daf659aa4bd97512fe822c; local Python 3.12 suite: 5,841 passed, 16 skipped in 24m29s.

  • Manual checks, if any: test identities unchanged in both edited test modules; staged diff and generated currentness verified clean.
  • Documentation

    Mechanically generated functional-inventory, public-surface, requirements, and capability-ledger digests were refreshed. No user documentation changes are required because behavior and support claims are unchanged.

    Boundaries

    Privacy and security

    No credentials, recordings, personal data, or private paths were added. Authorization and signature verification remain unchanged. ZIP negative fixtures contain only synthetic path strings and are created in pytest temporary directories.

    Checklist

  • The pull request is focused and its diff has been reviewed.

  • New or changed behavior has tests, including a relevant failure path.

  • Focused checks pass locally; required complete qualification must be green for the exact candidate before merge.

  • User-facing commands, support boundaries, and documentation remain truthful.

  • Third-party material has compatible licensing and required attribution.

  • No credentials, private recordings, personal data, or identifying workcell data were added.

  • Frozen v0.2.0 evidence, checksums, measurements, tag, and DOI metadata were not rewritten.

  • Current package capabilities are not attributed to the v0.2.0 SoftwareX evidence or the TIM v0.1.3 measurements.
  • Diff: 435 lines (+326 / -109) across 5 files Reviewer: Miko997 Review duration: 89m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.45) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 435 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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.364
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #142"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 45.2% (MEDIUM) · Higher = larger blast radius
    45.2%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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.6% · Safe to merge
    19.6%