[workflow-editor] Trim duplicated guidance in training-plan-research

Aperta
#5,498 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
35/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions
Ambito
devtools

Direzione di ricerca

Read .github/workflows/training-plan-research.md and its generated .lock.yml to see the duplicated guidance and the stated compile validation. The body describes removing two XML comment blocks and tightening two passages; completion means the prompt is shorter while behavior, triggers, permissions, and safe outputs stay unchanged. The described workflow run encountered a push permission error for the protected lock file, so this work appears already underway.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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/training-plan-research.lock.yml, .github/workflows/training-plan-research.md

Removed bloat: Two XML comment blocks (research-intent, quality-bar) that restated the goals and requirements already given in the prompt body. Also tightened the opening mission sentence and one "Required inputs" item.

Files changed: .github/workflows/training-plan-research.md and the regenerated .lock.yml, compiled with gh aw compile --validate.

Why it's better: The brief is shorter and says each thing once, which is closer to a GitHub Skills lesson. Behavior, triggers, permissions and safe outputs are unchanged.


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

Original error: ERR_SYSTEM: git push failed (exit code 1): To https://github.com/githubnext/gh-aw-workshop.git ! [remote rejected] workflow-editor/trim-training-plan-d6becb3d54014c9e -> workflow-editor/trim-training-plan-d6becb3d54014c9e (refusing to allow a GitHub App to create or update workflow .github/workflows/training-plan-research.lock.yml without workflows permission) error: failed to push some refs to 'https://github.com/githubnext/gh-aw-workshop.git'

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 '42525024434' -n agent -D '/tmp/agent-42525024434'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-42525024434/aw-githubnext-gh-aw-workshop-workflow-editor-trim-training-plan.bundle'
temp_ref='refs/bundles/create-pr-workflow-editor-trim-training-plan-d6becb3d54014c9e-b873572c'
target_ref='refs/heads/workflow-editor/trim-training-plan-d6becb3d54014c9e'
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-editor/trim-training-plan-d6becb3d54014c9e'
# 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-editor/trim-training-plan-d6becb3d54014c9e'

# Create the pull request
gh pr create --title '[workflow-editor] Trim duplicated guidance in training-plan-research' --base 'main' --head 'workflow-editor/trim-training-plan-d6becb3d54014c9e' --repo 'githubnext/gh-aw-workshop'

Generated by ✂️ Workflow Skills Editor · copilot · auto · ~21 AIC · ⌖ ~1 AIC · ⊞ 5.9K · ◷

  • expires on Nov 9, 2026, 9:28 PM UTC
Lingua principale
JavaScript
Stelle
58
Fork
40
Merge medio
1g 22h
PR unite (30g)
7

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/gh-aw-workshop

Tutte le issue di githubnext/gh-aw-workshop

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.