TeA plugin: consume scoped gate artifacts from TeA 4.6.1

未关闭
#1,065 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@muratkeremozcan 已经在做这个了。

开始于 2026年11月26日。

  • #1066 来自 @muratkeremozcan —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
python
领域
tooling

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
196
派生
78
平均合并
9 小时 24 分钟
30 天内合并 PR
44

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bmad-code-org/bmad-loop 的其他 Issue

查看 bmad-code-org/bmad-loop 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。