[workflow-editor] Trim duplicated rule restatement in guidelines-enforcer
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 75/100
Direzione di ricerca
Inizia da .github/workflows/guidelines-enforcer.md e confronta il suo passaggio di revisione in schedule-mode con le sezioni autorevoli in .github/workflows/guidelines.md. Fai in modo che l’istruzione di revisione punti a tali sezioni senza ripeterne le regole, quindi esegui gh aw compile --validate per rigenerare e verificare .github/workflows/guidelines-enforcer.lock.yml.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[!CAUTION]
Protected files were modified in this change.
This pull request is inrequest_reviewmode 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.comis blocked because GitHub API access uses the built-in GitHub tools by default. Instead of addingapi.github.comtonetwork.allowed, usetools.github.mode: gh-proxyfor direct pre-authenticated GitHub CLI access without requiring network access toapi.github.com:tools: github: mode: gh-proxySee GitHub Tools for more information on
gh-proxymode.To allow these domains, add them to the
network.allowedlist 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
agentartifact 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'
- Lingua principale
- JavaScript
- Stelle
- 49
- Fork
- 20
- Merge medio
- 7h 12m
- PR unite (30g)
- 26
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/gh-aw-workshop
-
[aw] Upgrade availableApertaagentic-workflows
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
githubnext/gh-aw-workshop#3933 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
githubnext/gh-aw-workshop#3932 ·
I maintainer di solito rispondono entro 1 giorno
-
feedback simulation workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
githubnext/gh-aw-workshop#3931 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-aw-workshop#3926 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
githubnext/gh-aw-workshop#3914 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/gh-aw-workshop
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
solana-foundation/solana-com#2202 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
yegor256/copyrights-action#216 ·
-
[BUG] onScroll never refreshes the window container's height after a vertical-only viewport resizeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
juliangarnier/anime#1192 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
PedestrianDynamics/pyFDS-Evac#226 ·
I maintainer di solito rispondono entro 1 giorno