← Back to Pull requests

test(changelog): freeze the changelog pilot at stop 2 with a reusable golden-lock writer (P2-op) #1095

Open
unknown opened this pull request with 182 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 22, 2026 23:45 UTC
Author

Operator stop 2 of the changelog pilot campaign: freezes today's changelog behaviour and makes the freeze machinery reusable for other plugins.

  • golden.lock.json (95 files: 43 traces, 52 harness/prose/lock files), promise.lock.json (20 promise tests), approved_deltas.json = [].

  • A generic lock writer (golden_lock.py, plugin as parameter) with a stale-lock check.

  • The skill prose is pinned as byte-exact *.md.pin copies; the coverage check P8b reads the pin.

  • test_trace_freeze.py moves from the stand-in requirement tag to covers_none("tooling") (catalogued in #1094).

  • Campaign docs: the full-run baseline report (43 model runs against the replay), the second inventory pass, BRIEF update (new unit P4b, new items in P3/P4), FINDINGS and LEARNINGS notes.
  • Baseline result: 26 runs match, 7 are harness artefacts, 0 model errors against clear prose, 8 hit ambiguous prose, 2 show the replay disagreeing with the prose. No trace changes, so no approved delta.

    Pre-build AC


    Spec impact none (tooling). Test Completeness: testable 5, tested 5, untestable 0, untested-but-testable 0. Exemptions: 0. Unavailable reviews: none.

    Open for the operator (recorded in FINDINGS): pytest config and live SKILL.md are not in the freeze list; promise-list passing status is not checked against test results; decisions F1b, F7, F10.

    Run-ID: iterate-2026-11-23-dfp-pilot-p2op-lock

    🤖 Generated with Claude Code

    Diff: 182 lines (+136 / -46) across 2 files Reviewer: github-actions[bot] Review duration: 15m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.36) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 182 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%
    42%
    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.312
    Real PR Conversation Timeline
    1 comments
    "Review active on #1095"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% 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: 35.6% (MEDIUM) · Higher = larger blast radius
    35.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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 20.3% · Safe to merge
    20.3%