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

feat(aidd-vcs): ci-watch skill with compact GitHub status script

Aperta
#586 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, github-actions

Direzione di ricerca

Start by reading plugins/aidd-vcs/skills/02-pull-request/, plugins/aidd-dev/skills/00-sdlc/SKILL.md, and the async review path under plugins/aidd-orchestrator/skills/00-async-dev/actions/review/. Trace the existing ship/finalize flow and inspect how .aidd/config.yml features are handled. Done means the read-only ci-watch script and skill provide tested exit-code behavior, and the flag-enabled ship path blocks success on red checks without changing the default path.

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

Descrizione

Problem

Ship / open-PR paths do not wait on CI deterministically. Free-form agent polling is verbose and inconsistent. Sessions can treat work as done while checks are still red. The async orchestrator path (#149) does not give interactive sessions a compact exit-code contract.

Not a duplicate of #149

#149 This issue
Caller Async bot / orchestrator Interactive session skill
Mechanism React to checks/comments in bot loop Local script + skill mapping exit codes
Integration Auto finalize rules Opt-in via features.ci_watch_before_ship

Scope

  • Skill ci-watch: resolve PR | branch | run id → run script → map exit code.
  • Bundled script (GitHub-first), e.g. plugin scripts/ci-watch:
    • deps: gh, jq;
    • flags: --repo, --pr | --run | --branch, optional --workflow, --interval;
    • compact stdout (state-change lines; failed job logs only on red);
    • stable exit codes documented in script header + skill (pass / fail / cancelled / other / pass-but-not-merged if merge watch);
    • pure classifiers unit-testable without network.
  • Integration contract (non-vacuous):
    • Feature flag features.ci_watch_before_ship in .aidd/config.yml (default false = non-breaking).
    • When true, ship/finalize path must run ci-watch and must not claim success on non-zero failure exit.
    • When false, skill remains manually invocable (standalone value).
  • Skill does not re-implement polling in prose as the primary path.

Standalone value: Any session can wait on CI with stable exit codes without an async bot.

Acceptance criteria

  • Green PR: exit 0; short summary.
  • Red PR: non-zero failure; failed check names (+ failed logs only).
  • Skill invokes script and maps exit codes (no primary agent poll loop).
  • Read-only (no commits / force-push).
  • With features.ci_watch_before_ship: true and red checks, ship path does not report success (doc + action test or fixture).
  • With flag false/absent, ship behavior unchanged; skill still runnable alone.
  • Issue body states non-duplicate vs #149 (this section).

Prior art in this repo

  • #149 — async bot reacts to failing checks / quality gates (plugins/aidd-orchestrator/skills/00-async-dev/actions/review/)
  • plugins/aidd-vcs/skills/02-pull-request/ — open PR / ship-adjacent external path
  • plugins/aidd-dev/skills/00-sdlc/SKILL.md — ship step in interactive SDLC (no CI wait today)

Relations

Intended graph (same fields as GitHub parent / blocked-by / blocks). Formal GraphQL edges need maintainer write — see comment on #584.

Field Value
parent #584
blocked-by #585
blocks —
related #149
MVP 1

Out of scope

  • Auto-fix on red CI
  • Non-GitHub forges in v1 (same exit-code contract later)
  • Async bot loop (#149)
Lingua principale
TypeScript
Stelle
481
Fork
45
Merge medio
19h 48m
PR unite (30g)
100

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 ai-driven-dev/framework

Tutte le issue di ai-driven-dev/framework

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.