Hooks: pass the feature folder, and signal when converge finishes

Offen
#5,339 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

Read the hook implementations for before_plan, after_tasks, and before_specify, along with the converge flow that marks a feature complete. Trace how feature directories and hook events are currently passed through those entry points. Done means hooks receive the feature directory where available and a completion event fires when converge finishes; the issue does not name specific files or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

triage-nice-to-have

Two small gaps extensions work around today:

  1. Hooks don't know their feature folder. A before_plan or after_tasks hook has to work out which specs/<feature> it is for from the branch name or .specify/feature.json. Passing it in, for example as SPECKIT_FEATURE_DIR, would remove the guessing. For before_specify the folder doesn't exist yet, so it could be empty there.
  2. Nothing fires when converge finishes. Tools that want to mark a feature complete, or update a board, have no event to listen to.

Both would let extensions like SpecKit Companion and reconcile drop workarounds. Happy to open a PR for the first one if it fits.

AI disclosure: drafted with Claude Code (Claude Opus 5.5, default settings); I checked it before posting.

Vorherrschende Sprache
Python
Sterne
149k
Forks
13.4k
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
223

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/spec-kit

Alle Issues in github/spec-kit

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.