The tip-manual gate passes when tips appear outside the tips table
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- documentation, testing
Hướng nghiên cứu
Start in internal/tui3/hometip_test.go:237 and inspect the table under ## Every hint codeaf can show in internal/manual/chat/hints-and-tips.md. Run go test ./internal/tui3 -run TestEveryTipIsOnTheManualPage -count=1, then use the two described counterexamples to verify the gate checks the table's contents and order. Done means the current table passes and both counterexamples fail, with the invalidates change entry corrected.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Seen on dev@debffabf6. Surfaced while verifying #1389; introduced by it.
What happened
TestEveryTipIsOnTheManualPage checks manual.Chat().Mentions(n.text) for each tip. That searches the whole chat corpus, so a tip can be deleted from the hints-and-tips.md table, moved out of order, or appear only in another page while the gate stays green. The change entry and manual describe a stronger, word-for-word table contract.
Replication
Deterministic (no model). In a disposable checkout, move one tip line out of the table section into another chat page, then run go test ./internal/tui3 -run TestEveryTipIsOnTheManualPage -count=1. The test still passes because the words remain somewhere in the corpus. Restore the checkout afterward. Reorder two table lines for a second passing counterexample.
Where
internal/tui3/hometip_test.go:237 at dev@debffabf6 uses corpus-wide Mentions. The table is in internal/manual/chat/hints-and-tips.md under ## Every hint codeaf can show.
The fix
Read that exact table section, parse its ordered tip lines, and compare them with the code's ordered tip list.
Acceptance
- e2e: a documentation command or targeted test fails if a visible tip is absent from the table or its order changes without a matching code change.
- Unit: the gate rejects the two counterexamples above and accepts the current table.
- Correct the change entry's gate claim in
invalidates.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 38 phút
- Pull request đã merge (30 ngày)
- 749
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Agent-Field/CodeAF
-
area:chat feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1510 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1489 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1470 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Agent-Field/CodeAF#1469 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1468 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
volodya-lombrozo/aidy#333 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
rossoctl/context-guru#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
OwO-Network/DLX#236 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100