← Back to Pull requests

fix(ci): restore full-public fleet readiness #6740

Closed
unknown closed this pull request without merging on Oct 17, 2026 14:39 UTC
View on GitHub
unknown unknown commented on Oct 17, 2026 12:14 UTC
Author

Importance

The daily 514-check full-public-smokes fleet is the project's complete public-behavior sweep and the documented pre-release full readback, and it cannot report ready on main because two public smokes still assert behavior that two intentional changes replaced. The latest run (38970425445, 2026-10-16) recorded 512 passed, 2 failed, 0 timed out, 0 missing, so loopx canary smoke-health returns ready=false. The last green run was 38744587115 (2026-10-15 13:39Z, 514/514, ready=true); the intermediate run 38811582023 was already not ready for a larger, different failure set (508/515, 7 failures, including the vision smoke but not the backup smoke). The two current failures are false: the product output is correct, but the smokes were not updated with the priority-prefix (#6539) and backup-source-capture (#6667) changes. Updating them restores the release-verification signal for the other 512 checks and removes a mandatory waiver from release readback.

What changed

  • examples/state-backup-smoke.py: compare the stable registry_discovery projection after #6667 added its source_capture member, and validate the new capture itself (the three captured registry sources, 64-char sha256 digests, non-empty archive routes, and ordered start/completion timestamps) instead of dropping the new behavior from the smoke.

  • examples/project/goal-vision-refresh-state-budget-smoke.py: after #6539, a new agent todo defaults to P1 and the canonical text carries the [P1] prefix while title keeps the authored sentence; assert both instead of the superseded bare text.
  • No product code changes. The priority contract is already pinned by tests/control_plane_ts/todo_priority.test.ts, and the backup execution witness by tests/control_plane/test_backup_discovery_capture.py; this smoke is the public plan-shape coverage.

    Evidence

    At f9bdae675 (before):

    examples/state-backup-smoke.py:184 AssertionError: {'registry_discovery': {..., 'source_capture': {...}}, ...}
    examples/project/goal-vision-refresh-state-budget-smoke.py:638 AssertionError
    

    At this head (8ec0ffb46, rebased onto main dffede5af; patch unchanged):

    examples/project/goal-vision-refresh-state-budget-smoke.py | passed | rc=0 | 149.335s
    examples/state-backup-smoke.py | passed | rc=0 | 4.611s
    status=passed failure_count=0 selected=2
    

    The suite runner at this clean head records both checks as passed. With these two observations passing, the fleet receipt's 512 passed + 2 passed = 514 passed and 0 failed, 0 timeouts, 0 missing scripts, which is the ready=true contract in loopx/canary/smoke_health.py (readiness requires no failed observation). The 514/514 figure is inferred from the last receipt plus these head reruns, not from a full head sweep; the next daily or manual fleet run is the end-to-end confirmation.

    The failure evidence is public in run 38970425445's smoke-fleet-health artifact (failure_count 2, timeout_count 0, missing_script_count 0). Superseding changes: #6539 (9c6f4d459) and #6667 (7076a21cf).

    Validation

  • Both changed smokes: passed at this head through loopx canary smoke-suite.

  • ruff check on both changed files: clean.

  • git diff --check upstream/main...HEAD: clean.

  • loopx check --scan-path on both files: public boundary scan clean (2 files).

  • loopx canary premerge --from-git-diff at this head: direct 5/5 passed, catalog 10/10 passed, boundary 1/1 passed, risk profile 7/8. The only failure is the unrelated examples/content-ops-issue-fix-metadata-preview-smoke.py, which fetches live GitHub metadata under the runner's isolated HOME; it passes when run in the normal environment, is not selected by either changed file, and is included by the docs-project-content-ops risk profile.

  • Pre-existing local Windows note (not caused by this change): tests/control_plane/test_vision_budget_cli.py fails its 界 parameter on a cp936 host because the test reads the UTF-8 run index with the locale codec (index.read_text() at line 50). That line is unchanged here and the file is green on the Linux CI shards.
  • Fixes #6739

  • Branch state: main advanced to 1ac26edb6 (an unrelated prompt/instruction merge) after this head was reviewed. The head is left unchanged so the exact-head review record stays attached, per the repository rule against force-pushing after review; a maintainer update/merge flow can rebase it.
  • AI disclosure: this change was drafted with AI assistance at my request, under my direction and review.

    Diff: 565 lines (+423 / -142) across 7 files Reviewer: JasonBuildAI Review duration: 144m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 565 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%
    60%
    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.379
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #6740"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.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: 54.7% (MEDIUM) · Higher = larger blast radius
    54.7%
    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: 60.5% · Lower = rushed or shallow review
    60.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: 21.6% · Safe to merge
    21.6%