doctor: stale task-debt check has no horizon/status filter, so parked and Human-AC-gated work counts as debt
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 64/100
Hướng nghiên cứu
Đọc phần kiểm tra nợ tác vụ cũ trong bin/fw quanh các dòng 1845–1872, bắt đầu từ khối được đánh dấu Stale task debt (T-814). Theo dõi cách phần này đọc metadata của tác vụ và áp dụng mốc 7 ngày; issue đề xuất loại trừ các tác vụ có horizon: later và status: work-completed. Hoàn thành nghĩa là các tác vụ đó không còn làm tăng số lượng tác vụ cũ; hãy chạy hoặc kiểm tra phần kiểm tra doctor liên quan để xác minh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
- Framework version: 1.6.258
- Project: 050-email-archive (shared-tooling mode)
- Reported: 2026-09-28T22:48:18Z
Description
Surface: bin/fw doctor's stale-task-debt check (source repo: bin/fw ~line 1845-1872, block starting # Check: Stale task debt (T-814)).
Defect: The loop reads only last_update: from each .tasks/active/*.md file and compares it to a 7-day cutoff. It never reads horizon: or status:. So a task deliberately parked with horizon: later, or a work-completed task correctly held in active/ pending unchecked Human ACs (a real sovereignty boundary — see T-193 in the consumer project), counts identically to genuinely neglected work.
Measured (consumer project "Pen", 2026-09-21, exact replay of the check's own method): of 96 tasks flagged stale, 75 were horizon: later (deliberately parked backlog) and 11 were status: work-completed with only Human ACs unchecked. Only 10 of 96 (~10%) were genuine neglect. The WARN headline ("96 stale tasks") therefore overstates real debt by roughly 9x in this measurement.
Consequence: re-horizoning a task to later — the doctor's own printed remedy path (fw task update T-XXX --horizon later) — does not remove it from the count, because the check does not read horizon: at all. A human or agent following the tool's own suggested remedy sees no change in the reported number, which reads as the remedy not working.
Suggested fix: skip tasks with horizon: later, and skip status: work-completed tasks (or count them in a separate "awaiting human review" bucket, which the codebase already computes elsewhere for a different check).
Fix surface authority: vendored .agentic-framework/bin/fw, HANDS-OFF in the consumer project (T-1771 there). Reporting upstream per that project's committed remediation route rather than patching locally.
Reported via fw upstream report from field installation
- Ngôn ngữ chính
- Shell
- Star
- 16
- Fork
- 6
- Merge trung bình
- 6 giờ 24 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 DimitriGeelen/agentic-engineering-framework
-
area:doctor bug severity:low status:accepted triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DimitriGeelen/agentic-engineering-framework#100 · 3 bình luận ·
-
area:doctor bug severity:medium status:accepted triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DimitriGeelen/agentic-engineering-framework#97 · 3 bình luận ·
-
area:context bug severity:low status:accepted triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DimitriGeelen/agentic-engineering-framework#96 · 3 bình luận ·
-
area:cli bug severity:medium status:accepted triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DimitriGeelen/agentic-engineering-framework#95 · 3 bình luận ·
-
area:watchtower bug severity:low status:released triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
DimitriGeelen/agentic-engineering-framework#94 · 4 bình luận ·
Tất cả issue của DimitriGeelen/agentic-engineering-framework
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mattpocock/skills#1307 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status: ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
melodic-software/claude-code-plugins#8537 ·
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
vladmandic/sdnext#5161 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
severity: low
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 89/100
luainkernel/lunatik#1980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
go: new version 1.27.3Đang mởout-of-date
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
CachyOS/CachyOS-PKGBUILDS#2022 ·
Maintainer thường phản hồi trong vòng 1 ngày