Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

check-open-questions.sh grades clean when register rows sit under a sub-heading

Aberta Para iniciantes
#8,341 1 comentário 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
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
78/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
shell
Domínio
cli

Direção de pesquisa

Comece lendo plugins/planning/scripts/check-open-questions.sh, especialmente extract_section e a análise do ledger que conta as linhas do registro. Reproduza o caso com um ledger contendo Q1-Q2 no registro e Q3 sob ### Round 2, depois execute check-open-questions.sh --ledger <file>. O trabalho está concluído quando a verificação conta todas as linhas Q ou termina com código 2 e identifica as linhas fora da seção do registro.

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

Descrição

priority: medium

Problem

plugins/planning/scripts/check-open-questions.sh (planning 0.76.0) reports status=clean when register rows sit below a sub-heading inside ## Open-question register. Any heading ends the section (extract_section: /^#+[[:space:]]/ { exit }), so rows after a ### Round 5 heading are never read, and the gate grades only the rows above it.

Observed 2026-10-18 on a re-interview ledger that appended rounds under ## Round N and then ### Round N headings: registered=35 open=0 … status=clean procedure=ok, while 27 more rows (Q36-Q62) were below the headings. With the headings removed: registered=62. Had any of those 27 rows been open, the gate would still have reported clean.

The skill tells re-interviews to append ## Resolved (<round>, <date>) sections to the ledger, which invites headings near the register.

Expected

Either the gate reads every - Q<N> | row in the ledger, or it fails (exit 2, ungradeable) when a - Q<N> | row exists outside the register section, naming the line.

Repro

  1. A ledger with ## Open-question register, rows Q1-Q2, then ### Round 2, then - Q3 | open | round 2 | x? |.
  2. Run check-open-questions.sh --ledger <file>.
  3. It prints registered=2 open=0 … status=clean.

🤖 Generated with Claude Code

Linguagem predominante
Shell
Estrelas
22
Forks
2
Merge médio
7h 57min
PRs com merge (30d)
938

Preparar o ambiente

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 melodic-software/claude-code-plugins

Todas as issues de melodic-software/claude-code-plugins

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

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