← Back to Pull requests

test(lark): pin private return fixture to source Chat host #6075

Closed
unknown closed this pull request without merging on Oct 10, 2026 07:04 UTC
View on GitHub
unknown unknown commented on Oct 10, 2026 05:45 UTC
Author

Goal And Delivered Outcome

  • Outcome basis: PR #6062's shard 2 and shard 4 exposed shared private-return failures.

  • Goal/source and gap: the separate-coordination-root test fixture called deliver() without the trusted source_store passed by the shipped Chat handoff. Its return route lacked the original Chat host, so drain() left authorized text/file results queued.

  • Observable before → after: 14 of 28 affected parameterizations failed on main at c0f77b2d9; all 28 pass after the fixture binds the source store. No product runtime code changes.

  • Issue/task and intended base: Related to #5214 and PR #5280's CI qualification; the signed integration head is based on main at 07eb7a1 (the regression baseline was c0f77b2d9).
  • Author Declaration

  • Written by: model_agent (OpenAI Codex).
  • Implemented against

  • Specification and revision: shipped loopx/chat_coordination.py handoff and loopx/capabilities/manager_context/__init__.py delivery at c0f77b2d9; no separate written fixture specification.
  • | Criterion | Disposition | Symbol / path | Test or command |
    | --- | --- | --- | --- |
    | Pin the original Chat host from a trusted source store for separate coordination roots | implemented | private_return fixture | Full private-return and result-file suites |

  • Self-check before submission: reviewed the production source_store=controller.store call site, the exact diff, CI JUnit failures, and public/private scan. No live Lark provider was used.
  • Scope And Continuation

  • Completed scope: one test fixture now exercises the production provenance binding, including restart, CLI/MCP file return, wrong-byte and no-resend cases.

  • Remaining work: upstream PR #6040, #6062 and #6068 still need their own CI/review disposition; PR #5280 remains separate and is not closed by this test fix.
  • Validation

  • Tested revision: signed head e127a28ba.

  • Run state: finished. Input classes: synthetic.
  • | Check kind | Result | Public-safe evidence / limitation |
    | --- | --- | --- |
    | regression_parity | passed | On main at c0f77b2d9, the four affected families were 14 failed / 14 passed; after the fixture change, 28 passed with Python 3.12. |
    | integration | passed | On e127a28ba, both complete Lark private-return/result-file modules: 100 passed on Python 3.11. Includes real CLI/MCP ingress over synthetic transport and negative delivery cases. |
    | integration | passed | On e127a28ba, the full cold-source disposition module passed 18/18 after merging main at 07eb7a1, which contains PR #6040. |
    | static | passed | On e127a28ba, Ruff passed; loopx check had 0 errors and 0 warnings; current-diff premerge passed 4 direct checks with no catalog canaries selected; both commits have DCO trailers. |
    | integration | failed | Historical head c9d951032 Stage2c e2e 2 job: 14 cold-source cases hit the old checkout-versus-installed-wheel assertion. Signed head e127a28ba now includes merged PR #6040; fresh remote CI is pending. |
    | integration | failed | Historical head c9d951032 Windows lifecycle job: 1 effect-runtime locator assertion failed, 184 passed, 18 skipped. Its selected tests exclude the changed Lark fixture; cause unassigned. Fresh remote CI on e127a28ba is pending. |

  • Coverage and gaps: e127a28ba is a signed normal merge of main at 07eb7a1; the PR diff against that base remains one test fixture. New remote CI is queued/in progress. GitHub still reports APPROVED, but the recorded approval time predates the new merge commit, so fresh exact-head review needs readback before any merge. The Windows failure remains unassigned until the new head runs or a Windows reproduction is available. An earlier local premerge invocation used a stale origin/main, selected 60 unrelated changed files and failed one catalog check; after updating to the pinned canonical base, the one-file premerge run passed. The earlier failure is not counted as passing or attributed to this diff.
  • Frontend / Visual Evidence

  • UI impact: none. No frontend, Lark runtime, or CLI behavior changed.
  • Type of Change

  • Tests and focused validation fixture
  • Shared-authority RFC fixture impact

    N/A: this PR changes no authority rule or persisted contract.

    Boundary Checklist

  • The diff and this PR body contain no private state, credentials, raw logs, internal links or local paths.

  • The change is separate from maintainer-owned upstream repairs.

  • Every commit has a DCO Signed-off-by trailer.
  • Diff: 604 lines (+453 / -151) across 7 files Reviewer: BigDataDZ Review duration: 79m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.55) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 604 lines diff across 7 files
    0.55
    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.383
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #6075"
    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: 55.1% (MEDIUM) · Higher = larger blast radius
    55.1%
    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: 23.8% · Safe to merge
    23.8%