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

[workflow-editor] Trim duplicated rule restatement in guidelines-enforcer

クローズ 初心者向け
#3,927 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions
領域
ci-cd, devops

調査の方向性

.github/workflows/guidelines-enforcer.md から始め、そこでの schedule-mode のレビュー手順を .github/workflows/guidelines.md の正式なセクションと比較します。レビューの指示がそれらのセクションを参照するようにし、ルールを繰り返さないようにしてから、gh aw compile --validate を実行して .github/workflows/guidelines-enforcer.lock.yml を再生成し、検証します。

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

説明

agentic-workflows documentation workflow-editor

[!CAUTION]
Protected files were modified in this change.
This pull request is in request_review mode and requires explicit human scrutiny before merge.

Protected files: .github/workflows/guidelines-enforcer.lock.yml, .github/workflows/guidelines-enforcer.md

What changed

guidelines-enforcer.md's schedule-mode review step re-explained ten
guideline rules with a full sentence of restated logic for each one —
numbered headers, alert callouts, tooling progression, step ordering,
schedule syntax, Codespaces-first design, prerequisite discipline,
checkpoint presence, voice/tone, and environment alternatives. All of
that detail already lives in .github/workflows/guidelines.md, which
this same step already instructs the agent to "read in full" before
reviewing any files.

Why

Restating the rule set inside the prompt is duplicated guidance the
agent doesn't need — it already has the authoritative source loaded.
The bullet list also drifts out of sync with guidelines.md over time
since edits to one don't automatically update the other.

Fix

Replaced the ten-bullet restatement with one short sentence that
points to the specific guidelines.md sections relevant to review
(Header style, Alert callouts, Codespaces-first tooling progression,
Step ordering, Schedule triggers, Core route and environment side
quests, Prerequisite discipline, Checkpoint checklist size limit /
Dispatcher pages, and Learner empathy). This keeps the instruction
Skills-like: short, direct, and pointing learners (and the agent) to
one source of truth instead of repeating it.

Files changed

  • .github/workflows/guidelines-enforcer.md — trimmed the duplicated
    rule list in the "Review each file" step
  • .github/workflows/guidelines-enforcer.lock.yml — regenerated with
    gh aw compile --validate

[!WARNING]

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.github.com

[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:

tools:
  github:
    mode: gh-proxy

See GitHub Tools for more information on gh-proxy mode.

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.github.com"

See Network Configuration for more information.

Generated by ✂️ Workflow Skills Editor · copilot · auto · 53.4 AIC · ⌖ 9.2 AIC · ⊞ 7.5K · ◷

  • expires on Sep 29, 2026, 7:53 AM UTC

[!NOTE]
This was originally intended as a pull request, but the git push operation failed.

Original error: The process '/usr/bin/git' failed with exit code 1

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

Create the pull request manually
# Download the artifact from the workflow run
gh run download '36393520338' -n agent -D '/tmp/agent-36393520338'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-36393520338/aw-workflow-skills-editor-guidelines-enforcer-trim.bundle'
temp_ref='refs/bundles/create-pr-workflow-skills-editor-guidelines-enforcer-trim-822b32b0a3806277-dc6b7c89'
target_ref='refs/heads/workflow-skills-editor/guidelines-enforcer-trim-822b32b0a3806277'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
  bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
  echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
  exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'workflow-skills-editor/guidelines-enforcer-trim-822b32b0a3806277'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"

# Push the branch to the target remote
git push 'origin' 'workflow-skills-editor/guidelines-enforcer-trim-822b32b0a3806277'

# Create the pull request
gh pr create --title '[workflow-editor] Trim duplicated rule restatement in guidelines-enforcer' --base 'main' --head 'workflow-skills-editor/guidelines-enforcer-trim-822b32b0a3806277' --repo 'githubnext/gh-aw-workshop'
主要言語
JavaScript
スター
49
フォーク
20
平均マージ
7時間 12分
マージ済み PR(30日)
26

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

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

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

似ている issue

JavaScript の issue をもっと見る

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

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