[dedup] guidelines-enforcer.md + workshop-sync-check.md: duplicate "round-robin file selection" (sim=0.77)

オープン 初心者向け
#5,629 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, markdown

調査の方向性

.github/workflows/guidelines-enforcer.md と .github/workflows/workshop-sync-check.md を読み、2つのラウンドロビンのセクションと異なるパラメーターを比較してください。リポジトリにある既存の workflow import の規約を確認し、共有セクションによって briefs が簡潔になるか判断してください。両方の briefs が共有アルゴリズムを使い、それぞれ独自のファイルソース、バッチサイズ、キャッシュ更新手順を維持したら完了です。gh aw compile を実行し、更新した .lock.yml ファイルをコミットしてください。

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

説明

dedup documentation

Duplicated sections

  • .github/workflows/guidelines-enforcer.md — Schedule Mode › Select files for round-robin review
  • .github/workflows/workshop-sync-check.md — Select Files to Review (Round-Robin)

Overlap

target_files = [all_files[(round_robin_index + i) % total] for i in 0..batch_size-1]
Record batch_size for use when updating cache state.

and

target_files = [workshop_files[(round_robin_index + i) % total] for each i in 0..n-1]
Record n for use in Phase 8.

Recommended consolidation

  • The same round-robin selection algorithm is described in two workflow briefs. Only the batch size (10–15 vs up to 3), the file list source and the cache update phase differ.
  • Canonical home: a shared import such as .github/workflows/shared/round-robin-select.md, or a section in .github/workflows/guidelines.md that defines the modulo-index selection pattern generically.
  • Each workflow should import or reference that shared text and state only its own batch size, file list variable and cache-update step.
  • Run gh aw compile and commit the updated .lock.yml files.

Low severity: the parameters really are different, so a shared import is optional if the shared snippet doesn't simplify things.

This issue is ready for an automated agent to resolve.

Generated by 🧹 Markdown Dedup · copilot · auto · ~20 AIC · ⌖ ~1 AIC · ⊞ 4.5K · ◷

  • expires on Nov 13, 2026, 5:29 AM UTC
主要言語
JavaScript
スター
62
フォーク
43
平均マージ
1日 5時間
マージ済み PR(30日)
9

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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