Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Turn pack proposals into generation pull requests, triggered by a maintainer label

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
ci-cd, devtools

Direzione di ricerca

Read .github/ISSUE_TEMPLATE/content_pack_proposal.yml, .github/labels.json, and packages/cli/src/generate/, then review the referenced pipeline documentation and ADR. Map the issue form fields to the generator inputs and inspect how GitHub Actions handles issue events, permissions, and secrets. Done when the acceptance criteria pass, including injection safety, permission checks, successful and failed run behavior, and updated documentation.

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

Descrizione

area: infra area: pipeline priority: high type: feature

Context

The content pack proposal form exists, and lexvm generate can produce a verified pack. Connecting them lets the community propose adventures that the project generates and reviews in the open. Every run costs API usage, so only a maintainer may start one. Needs a measured real run of lexvm generate (#40), the licensing decision (ADR 0010) and the provenance policy first.

Scope

  • Extend .github/ISSUE_TEMPLATE/content_pack_proposal.yml with the inputs lexvm generate needs: idea, language, target minutes, pack id (kebab-case), license (SPDX) and author credit.
  • A new trigger label (for example generate: approved) in .github/labels.json.
  • Workflow generate-pack.yml on issues: labeled: runs only when that label is added by a user with write or maintain permission (checked through the API, not only by label presence).
  • Input handling: parse the form fields with a script; issue text is passed through files or environment variables and never interpolated into shell commands; validate the pack id pattern, language and a minutes range.
  • Generation: ANTHROPIC_API_KEY from a protected environment, model from a repository variable; cost caps through --max-repairs, --max-tokens, a job timeout and a concurrency group of one; the trigger label is removed after the run.
  • Result: a branch pack/<id> and a pull request with the pack, design/ and design/run.json; the PR body has the lexvm check summary, token totals, the provenance and a link to the proposal; labels content-pack and area: content.
  • A comment on the proposal with the outcome. On failure: the diagnostics summary and the artifacts, and no pull request.
  • Least-privilege permissions per job.

Acceptance criteria

  • Adding the label as a user without write permission does nothing (tested).
  • A proposal with shell metacharacters and ${{ }} in its text cannot inject commands (tested).
  • A successful run opens a pull request that passes CI.
  • A failed run comments the diagnostics and opens no pull request.
  • The token usage of each run is reported in the pull request.
  • docs/authoring/pipeline.md and CONTRIBUTING.md describe the process.

References

  • .github/ISSUE_TEMPLATE/content_pack_proposal.yml
  • .github/labels.json
  • packages/cli/src/generate/
  • docs/authoring/pipeline.md
  • docs/adr/0007-llm-pipeline-byo-prompt-kit-and-api-generator.md
  • SECURITY.md (Scope)
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
28m
PR unite (30g)
2

Preparare l'ambiente

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 nullthrone/lexvm

Tutte le issue di nullthrone/lexvm

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.