Align hiring flow and routing templates with squad health validation

Aberta
#2,234 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
45/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
github, typescript
Domínio
cli, devtools

Direção de pesquisa

The report identifies squad init and add-member guidance, routing templates, and the squad health validator, but names no files or tests. Start by locating those entry points and tracing how routing targets are generated and checked against registry IDs. Done means hiring guidance creates valid routing targets, excludes unsupported agents, and requires a passing health check before declaring a team ready.

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

Descrição

wave:2-soon

Steps

  1. delete old squad from repo
  2. squad init
  3. ask for new team, let it run
  4. run squad health, fail
  5. ask squad to fix it, many times

Friction report

I asked for a Squad health check and for the team-hiring process to be fixed. The first response changed the default naming guidance but did not make the resulting team pass squad health. After I separately asked to run the check, it failed on routing references. The next response added a health gate to the init instructions but still left the current health failure unresolved, so I had to ask twice for the correction. I also had to separately ask for squad health to be run.

The eventual fix aligned routing targets with registry IDs and removed built-in support agents from routing destinations. squad health then passed.

Root cause

The hiring/routing guidance and health validator disagreed: routing examples used display names (for example, Nick Fury), while the validator resolves registry IDs (for example, nick-fury). Built-in support agents such as Rai and Fact Checker are not cast registry agents and should not be routing targets. The hiring flow also lacked a required health check before declaring a team ready.

Expected behavior

  • Init and add-member guidance generates routing entries using the canonical agent IDs the health check accepts.
  • Support agents that are not valid routing targets are not added to the routing table.
  • Hiring is not reported complete until squad health passes; failures are diagnosed and fixed rather than merely reported.

Related: #1605 (squad health readiness check command).

Linguagem predominante
TypeScript
Estrelas
3.4k
Forks
516
Merge médio
1d 15h
PRs com merge (30d)
116

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 github/squad

Todas as issues de github/squad

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.