Align hiring flow and routing templates with squad health validation

Abierto
#2,234 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github, typescript
Área
cli, devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
TypeScript
Estrellas
3.4k
Forks
516
Merge medio
1 d 15 h
PR fusionados (30 d)
116

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/squad

Todos los issues de github/squad

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.