TeA plugin: consume scoped gate artifacts from TeA 4.6.1

Abierto
#1,065 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@muratkeremozcan ya está trabajando en esto.

Desde el 26/11/2026.

  • #1066 de @muratkeremozcan — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

Start with src/bmad_loop/data/plugins/tea/tea_plugin.py and the linked TeA 4.6.1 configuration reference for current artifact paths; trace how the plugin identifies the current unit and reads each enabled gate report. Check the startup compatibility check against the TOML setup, then review linked pull request #1066 before beginning. Done means scoped reports are matched to the current run, legacy compatibility and missing-result policy remain covered, stale or unrelated artifacts cannot shadow results, and a current-format install-to-gate path is verified.

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

Descripción

Problem

The bundled TeA plugin still looks for legacy flat gate reports. TeA 4.6.1 publishes reports scoped to the ticket or run under trace/, nfr/, and test-review/. A valid result can therefore be treated as missing even when the corresponding Loop gate is configured as blocking.

Evidence
  • On Loop 8224d53 with TeA 4.6.1 output conventions, an isolated check of the pre-commit handler confirmed it did not read the current story-scoped Trace verdict. The legacy-format control was recognized. No live pipeline or deployment was run.
  • Source inspection shows the same path mismatch for NFR and Test Review; those two modes were not run. See the Loop gate reader and TeA artifact paths. The existing startup check also expects legacy YAML; please verify current TOML-based setup before closing this as compatible.
Expected behavior
  • Resolve the current unit's TeA run identity and consume its scoped report for each enabled gate. Do not select a different story's report or let a leftover legacy report shadow the current result.
  • Preserve intentional legacy compatibility and the existing policy for genuinely missing or unevaluated results; detecting a valid current verdict is separate from changing that policy.
  • Add coverage for current scoped results, legacy compatibility, and coexistence with stale or unrelated artifacts. Verify at least one real current-format install-to-gate path before closing.

Scope: Loop plugin compatibility. No change to TeA's scoring, artifact layout, or ownership is needed.

Lenguaje dominante
Python
Estrellas
196
Forks
78
Merge medio
9 h 24 min
PR fusionados (30 d)
44

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 bmad-code-org/bmad-loop

Todos los issues de bmad-code-org/bmad-loop

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.