TeA plugin: consume scoped gate artifacts from TeA 4.6.1

Đang mở
#1,065 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@muratkeremozcan đang làm issue này rồi.

Từ ngày 26/11/2026.

  • #1066 của @muratkeremozcan — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
196
Fork
78
Merge trung bình
9 giờ 24 phút
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bmad-code-org/bmad-loop

Tất cả issue của bmad-code-org/bmad-loop

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.