doctor: stale task-debt check has no horizon/status filter, so parked and Human-AC-gated work counts as debt
还没有人认领这个 Issue。
评估
调研方向
阅读 bin/fw 中约第1845–1872行的过时任务债务检查,从标记为 Stale task debt (T-814) 的代码块开始。跟踪它如何读取任务元数据并应用7天截止期限;issue建议排除具有 horizon: later 和 status: work-completed 的任务。完成意味着这些任务不再增加过时任务计数;运行或检查相关的 doctor 检查以进行验证。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Shell
- 星标
- 16
- 派生
- 6
- 平均合并
- 6 小时 24 分钟
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DimitriGeelen/agentic-engineering-framework 的其他 Issue
-
area:doctor bug severity:low status:accepted triaged
难度 2/5 1-3 小时 新手友好度 75/100
DimitriGeelen/agentic-engineering-framework#100 · 3 条评论 ·
-
area:doctor bug severity:medium status:accepted triaged
难度 2/5 1-3 小时 新手友好度 76/100
DimitriGeelen/agentic-engineering-framework#97 · 3 条评论 ·
-
area:context bug severity:low status:accepted triaged
难度 2/5 1-3 小时 新手友好度 76/100
DimitriGeelen/agentic-engineering-framework#96 · 3 条评论 ·
-
area:cli bug severity:medium status:accepted triaged
难度 2/5 1-3 小时 新手友好度 78/100
DimitriGeelen/agentic-engineering-framework#95 · 3 条评论 ·
-
area:watchtower bug severity:low status:released triaged
难度 2/5 1-3 小时 新手友好度 76/100
DimitriGeelen/agentic-engineering-framework#94 · 4 条评论 ·
查看 DimitriGeelen/agentic-engineering-framework 的全部 Issue
相似的 Issue
-
Gemini: respect PLANNING_DISABLED=1 in lifecycle context hooks可能已有人在做 @AmariAugustin 今天认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 87/100
OthmanAdi/planning-with-files#329 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 2 天内回复
-
headers-parser: `forRegExp` does not escape regexp characters in path segments that contain `*`可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 82/100
mattpocock/skills#1307 ·
维护者通常 1 天内回复
-
status: ready
难度 2/5 1-3 小时 新手友好度 73/100
melodic-software/claude-code-plugins#8537 ·
维护者通常 1 天内回复