Skip to content

tutorial: diagnosing and repairing failing PR checks with /uf.fix-ci (issue #858 workflow) #870

Open

Description

@jflowers

Audience: PR authors and maintainers facing a PR whose CI
checks are red (GitHub reports failing status checks on an
otherwise reviewable PR).

Structure: (1) recognize the failing-checks symptom and confirm
the PR number, (2) invoke /uf.fix-ci <PR_NUMBER> and follow
the argument pre-validation contract, (3) the gating checks —
PR exists, is open, terminal states and fork orientation
resolved from the PR JSON (never assumed), (4) the four-class
diagnosis — code failure, stale branch, conflict, flaky/infra —
from gh run view --log-failed evidence, (5) the gated repair
paths — rebase-only synchronization, the fix loop with its
3-iteration budget and review-council gate, and the rerun
offer for flaky/infra rows, (6) final verification — the
green/not-green report and what each terminal state leaves
behind (the PR stays open, unmerged, and unapproved).

Significance: new command, six phases, four human-decision
gates, a diagnosis taxonomy, and an iteration budget with
exhaustion semantics — meets the tutorial significance
threshold and mirrors the /uf.rebase-pr precedent (#855).

Origin: PR #868 review round 1 (thread PRRT_kwDORVoNbc6xirpK) —
the original tutorial decline was asymmetric with the sibling
command's disposition (#855); re-disposed on review.

Activity

  1. added
    tutorial
    on Oct 29, 2026
  2. added
    enhancement
    on Nov 1, 2026
  3. jflowers commented on Nov 1, 2026

    @jflowers
    ContributorAuthor

    Triage result: VALID — enhancement

    The Divisor review panel assessed this issue by unanimous vote (6/6 personas) and classifies it as a valid enhancement: a well-formed tutorial work item that meets this repo's content-pipeline significance threshold.

    Classification

    • Verdict: VALID — the issue's claims verify against repository evidence:
    • Category: enhancement — educational content for an existing command; it adds no product functionality.
    • Objectivity: objective — every claim traces to on-disk artifacts or recorded precedent.

    Related issues (assessed as complementary, not duplicates)

    A duplicate check surfaced two open issues covering the same command:

    The panel found these deliver a different artifact type (reference documentation and tooling docs) than this issue's structured workflow walkthrough, consistent with the two-track convention established by the #855 precedent (/uf.rebase-pr shipped both a docs issue and a tutorial issue). No open tutorial issue for /uf.fix-ci exists among the candidates, so this issue is the canonical tutorial deliverable.

    Next steps

    1. Apply the enhancement label (proposed by this triage; the existing tutorial label also fits the deliverable type).
    2. Author the tutorial per the issue's stated structure — audience, six-phase outline, significance rationale, and origin provenance are fully specified, so the work can proceed without further clarification.
    3. Cross-reference docs: /uf.fix-ci new command (uf-fix-ci) #862 and docs: fetch_pr_checks/fetch_failed_run_logs plugin tools and /uf.fix-ci re-route (extend-fetch-pr-review-context) #873 in the tutorial PR so the three /uf.fix-ci artifacts (reference docs, re-route docs, tutorial) stay mutually referenced.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtutorial

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions