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

Aberta
#5,339 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
149k
Forks
13.4k
Merge médio
1d 5h
PRs com merge (30d)
223

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/spec-kit

Todas as issues de github/spec-kit

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.