Repository navigation
docs(agents): agents diverge on how to retrigger CI without a triage skill - #1995
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds a CI-rerun triage skill and links it from both agent task-routing tables. Example: An agent is asked to rerun CI after an unrelated package-restore failure.
Review scores
ProductKind: Docs · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it adds useful, focused guidance absent from current main, and collaborator authorship also prevents automatic closure. No actionable defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRepository instructions route coding-agent requests into a skill that consumes PR changes and CI failure evidence, then produces a warning or an authorized failed-job rerun. flowchart TD
A[CI rerun request] --> B[Agent routing tables]
B --> C[CI triage skill]
C --> D[PR changes and failed logs]
D --> E[Failure classification]
E --> F[Warn or rerun failed jobs]
Technical reviewBest possible solution: Land the focused skill and routing additions through the normal PR process. Do we have a high-confidence way to reproduce the issue? The missing routing and dedicated procedure are directly observable in the PR base and fetched main; cross-model behavior claims were not independently reproduced. Is this the best way to solve the issue? A single procedural skill with links from the existing routing tables is a proportionate solution that preserves current instruction ownership. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f906460f9c43. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 3, 2026, 5:37 PM ET / 22:37 UTC. |
What Problem This Solves
Coding agents rerun failed CI jobs reflexively: they rerun without reading the
failed logs, rerun failures the PR itself caused, or rerun all jobs when only
failed ones are needed. Nothing routes "retrigger/rerun/kick CI" to a
decision procedure, so the behavior varies by model and by guessing.
User Impact
User impact: no user-visible change; agents asked to retrigger CI on a PR follow
one documented procedure: read the failed job logs, classify each failure as
related or unrelated to the PR's changes, warn instead of rerunning for related
failures, and rerun only failed jobs for unrelated ones.
Why This Change Was Made
Adds a
retrigger-flaky-ciagent skill and routes it from both routing tables:a task row in
AGENTS.mdand the task decision checklist indocs/AGENT_WORKFLOWS.md.The routing rows follow the existing pattern for adjacent tasks (PR preparation,
PR simplification, debugging). The skill itself is procedural and deliberately
prescriptive because the failure mode it addresses is a weaker-model decision
problem, not a knowledge problem:
phrasings a weaker model maps to this task ("retrigger", "rerun", "kick CI",
"restart CI"), and both routing tables carry the trigger phrase, so the
request resolves to the skill through the routing tables or the description
without the model having to infer that a CI-rerun procedure exists.
differently. A stronger model often starts by reading failed logs and
reasoning about causes, but a weaker model tends to skip log reading
entirely and jump to
gh run rerun, then reports success from the dispatchalone. The skill's fixed sequence (read logs, classify, act) is what removes
this divergence: the front-matter description enumerates trigger phrasings
so weaker models resolve the routing decision quickly, and the ordered
steps with explicit stop conditions (warn-don't-rerun at 4a,
summarize-then-rerun at 4b, no second rerun of the same SHA) constrain the
action once the task is resolved.
Without the skill, the only guidance was a generic instruction to investigate
before acting. Weaker models diverge precisely at the decision points: (a)
whether this is the CI-rerun task at all, (b) whether a failure originates in
the PR's changes, and (c) whether a rerun is warranted.
Evidence
Static assessment (documentation-only change; runtime proof not applicable):
skill path target exists.
name: Build and Testandpull_requesttrigger plus theCI Gatejob exist in.github/workflows/ci.ymlat the PR base (31d50743);docs/CI_FAILURES.mdexists and owns the backlog the skill links to;gh pr view --json ...statusCheckRollupandgh run rerun <run-id> --failedmatch the current GitHub CLI surface.
./scripts/validate-docs.ps1: passed, 70 Markdown files checked../scripts/validate-agent-skills.ps1: passed, 16 skills and 25 Markdownfiles checked.
git diff --check: clean.Change Type
Scope
winnodeRequired proof pools
none: documentation-only change (one new skill file, one row in eachrouting table); no capacity-dependent custom Windows proof required.
Validation
Ran at PR head
b4cdc100(documentation-only change):./scripts/validate-docs.ps1: passed; 70 Markdown files checked../scripts/validate-agent-skills.ps1: passed; 16 skills, 25 Markdown fileschecked.
git diff --check: clean../build.ps1not run: this change adds no executablepath, so the docs gates are the applicable validation per the
technical-documentation skill. CI runs the full matrix on this PR.
Real Behavior Proof
C:\Users\plarroy\devel\openclaw-windows-node.retrigger-flaky-ci).b4cdc100.validators listed under Validation against the PR head.
assessment. Runtime proof is not applicable; no behavior change is claimed.
Yes/No/N/A): N/ASecurity Impact
No)No)No)No)No)Yes, explain the risk and mitigation: N/ACompatibility and Migration
Yes)No)No)Review Conversations