Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

pr-pipeline: ticket-to-merge lane decisions (pr-unblock, assess-risk) and SDLC gaps

オープン
#6,989 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
github-actions
領域
ci-cd, devtools

調査の方向性

This is a planning issue, not a code change: the decisions and gaps are listed for a later /planning:design pass. Start by reading the pr-pipeline README and its Concurrency table, pr-pipeline.yaml, and ADR 0051, which the issue amends. Done means a design for the pr-unblock lane that the owner approves, not a patch.

索引モデルが issue の本文から書いたものです。

説明

needs-human needs-triage

Refs: #6202

Summary

The owner interview after the first live lane (#6704, pilot #6731) settled the PR-side build order and lane shape. This issue holds those decisions and the gaps an SDLC mapping pass found, so they outlive the local planning notes. Related: #6140 (autonomy alignment), #6720 (kill-switch precedence), #6085 (pstack lanes).

Decisions

  • One pr-unblock lane in stage unblock (replaces pr-update, pr-fix-ci, pr-address-feedback and stage respond). Activities per round, in order: update-branch, fix-ci, address-feedback; a scripted PR-state check picks which apply; one push per round. pr-merge stays separate. "Babysit" is the prose nickname.
  • update-branch acts only on a conflict. A PR that is only behind main is left to the merge queue (main: strict_required_status_checks_policy: false, merge queue ALLGREEN).
  • Regrouping is config. A lane is a thin caller workflow; never-rules move from lanes to activities; splitting an activity out needs only a caller file and a lane-rules row.
  • Concurrency. pr-unblock's run group lets a newer trigger replace a waiting run; pushes go through the shared per-PR write queue that never cancels. The pr-pipeline README gains a Concurrency table, and every new block declares its row.
  • ADR 0051 amendment: workflow_run starts pr-unblock with only fix-ci applying (human merge).
  • Kill switch (#6720): org-only CLAUDE_LANES_DISABLED plus per-repo CLAUDE_LANES_REPO_DISABLED; every lane and the broker stop if either is true. A short design checks GitHub variable precedence and visibility first.
  • assess-risk activity in verify at ready: read-only, outputs a work class and a risk check that pr-merge reads; the stricter of the issue's work-class label and the assessment wins.
  • No cross-PR model-run cap yet; add one only on usage telemetry.
  • Testing before merge: lane-power PRs run a sandbox case first; skill-text changes rely on evals plus one pilot run.
  • Naming: every stage, lane, activity and group name is checked for meaning, size and grouping before it is built.

Build order

  • Map every lane setting and its home; move what can move into pr-pipeline.yaml
  • Naming review of the stage, lane and activity names
  • pr-unblock with update-branch only (own /planning:design, approved plan)
  • Phase 3 findings store, Phase 4 verify lanes (incl. assess-risk), Phase 5 label protocol
  • fix-ci and address-feedback slots; then pr-merge
  • In parallel: #6720 design and fix; review-lane allowlist for the lanes App bot; triage fixes (ci-workflows#662, a reason in the escalation note, no thanks line on owner issues); then backlog re-triage in batches of 25 and an attend-queue pass

Gaps found

Ticket-to-merge path today (repo map):

  • Nothing unattended flips a draft to ready
  • The unattended path skips define, design, plan and local review (work opens the PR with create --pushed); the attended path runs review and verify three times
  • No owner for post-merge bookkeeping (track done, container close-out)
  • Triage runs in two places (CI intake lane and local /work-items:triage) with no rule for which decides
  • Merge authority moves from the local babysit loop to pr-merge in one switch
  • Adding a lane touches a workflow file, a lane-rules row, test fixtures and the standards vocabulary, all human-merged

Stages and gates outside sources include that the plan lacks (research with sources, verified 2026-10-11):

  • Build/package; monitor after deploy with rollback; incident response; postmortem; migrations before and after deploy
  • "Release" means either a version cut or exposing deployed code; define it (version cut) and add rollout if feature flags come into scope
  • Gates: plan approval before work, CI-run approval on agent PRs, PR publish as an explicit step, agent approval separate from review

Prior art already tracked elsewhere that the plan should absorb or decline (pstack, Pocock, 2,000-PRs effort):

  • Swarm verifiers: one owner agent per PR, several independent verifiers give one verdict on the exact SHA with live proof (#6085)
  • Per-app verification skill generated and kept current (verify-<app>), beyond testing:run-e2e (#6085)
  • Learn stage mines session corrections into skills or lint rules (#6085)
  • Post-merge smoke check against the deployed environment and a silent-revert canary (#6202)
  • A single merge.authority field and rung lowering after a bad merge (#6202)
  • Whether a CI lane may fix review threads, which address-feedback depends on (#6810)
  • Route new work by size and fog, and slice it into agent-ready versus human-in-the-loop (#6729, #6917)

Open, deferred to the pr-unblock design

Activity choice from PR state; how fix-ci runs head code and pushes (owner's call); stage-level effect limits (owner's call); interim attempt cap; merge-queue dequeue and UNKNOWN mergeability; push batching; write-queue scope; ship prerequisites. Post-merge failure response (revert or fix forward) stays open from an earlier round.

🤖 Generated with Claude Code

主要言語
Shell
スター
22
フォーク
2
平均マージ
8時間 27分
マージ済み PR(30日)
957

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。