pstack: interrogate asks the user, which worker.md forbids for delegates that reach it

Aberta Para iniciantes
#1,272 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@jayssSmm já está trabalhando nisso.

Desde 18/11/2026.

  • #1278 de @jayssSmm — aberto

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
74/100
Tipo de issue
Documentação
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
typescript

Direção de pesquisa

Leia pstack/skills/interrogate/SKILL.md, especialmente as seções Frame e Output, junto com pstack/skills/poteto-mode/worker.md. Adicione orientações para que os delegados escolham a intenção mais provável e a declarem como uma suposição na saída Intent; o trabalho estará concluído quando os delegados tiverem uma forma clara de seguir ambos os skills sem perguntar ao usuário. A issue não especifica nenhum teste nem outro arquivo.

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

Descrição

Problem

worker.md forbids a delegate from asking a person anything, but interrogate tells whoever runs it to ask the user. A delegate can reach interrogate, so it gets both instructions at once.

  • pstack/skills/poteto-mode/worker.md:7: "Never call a tool that shows a person a question. Make any choice you can undo, then say what you chose and why."
  • pstack/skills/interrogate/SKILL.md:13 (Frame): "State the intent with the in-your-own-words skill, from the user's message, the commits, and the PR description. Ask the user when the intent is unclear."

How a delegate reaches it

  • poteto-mode/SKILL.md requires every started agent to read worker.md first.
  • playbooks/autopilot-full.md step 2 has each PR owner, a delegate, build its PR.
  • playbooks/feature.md step 7 says "If the design is contested, interrogate before shipping."
  • The poteto-mode trigger "Contested design → interrogate" also applies to any poteto-agent delegate, since that delegate reads poteto-mode/SKILL.md.

When the intent is unclear, the owner either calls a question tool, which breaks worker.md, or stops with no rule for what to do instead. worker.md says a kickoff overrides it only "in so many words", and a skill's text is not the kickoff.

Suggested fix

Give the Frame step a delegate branch that follows worker.md's "make the choice, then say why" rule. For example:

Ask the user when the intent is unclear. A delegate, which never stops to ask, picks the likeliest intent and states it as an assumption in the output.

The Output section's Intent line then carries that assumption, so the coordinator can see it and correct it.

Seen on main at pstack 0.15.43.

Linguagem predominante
TypeScript
Estrelas
16.3k
Forks
1.7k
Merge médio
3h 35min
PRs com merge (30d)
104

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

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 cursor/plugins

Todas as issues de cursor/plugins

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

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