repo-assist: Task 8 (Monthly Activity Summary) does not run deterministically despite being marked mandatory

未關閉
#372 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
52/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
github, github-actions
領域
ci-cd, devops

研究方向

從 repo-assist.md Task 8 開始,然後將七個已連結的 workflow 執行及其 traces、safe-outputs 清單和 state.json 與 issue #50956 的時間線進行比較。確定強制更新可能在哪些位置被跳過或靜默丟棄;完成的標準是 Task 8 能夠確定性地執行,並且能夠偵測到失敗或缺少的輸出,或對其進行重試。

由索引模型根據 Issue 內容生成。

描述

Summary

In repo-assist.md, Task 8 (Update Monthly Activity Summary Issue) is documented as mandatory every run:

"Always do Task 8 (Update Monthly Activity Summary Issue) every run."

In practice, on the tenstorrent/tt-metal deployment, it is not running deterministically. Over the last 7 daily scheduled runs (2026-07-24 through 2026-07-30, all completed successfully), the monthly summary issue (#50956) was only actually updated on 2 of them.

Evidence

Date Run Task 8 landed?
07-24 30072973467 ❌ Called update_issue; safe-outputs manifest logged it as processed, but no edit ever appears on the issue's timeline. Silently dropped.
07-25 30147764461 ✅ add_comment landed
07-26 30191579550 ❌ Trace shows it read the issue and planned "Task 8: Update monthly activity summary," then never called it
07-27 30244126524 ✅ add_comment landed
07-28 30335618590 ❌ state.json memory records "task8_monthly_summary" as done; actual add_comment calls that run targeted other issues/PRs (51294, 51296, 51024) instead
07-29 30429064534 ❌ Same pattern — reads #50956, reasons through "Task 8," then spends its comment budget on stale-PR nudges
07-30 30520369864 ❌ Same again

Issue #50956's updated_at has been stuck at 2026-07-27T07:02:56Z since — three consecutive daily runs produced zero visible output on it, despite each run's own reasoning trace explicitly citing "Task 8" as a planned step.

Root cause (best guess)

"Always do Task 8" is a prose instruction competing for attention/turn budget against the round-robin task selection in the same prompt, not a structurally-guaranteed step in the compiled workflow. Nothing fails or flags the run if the write doesn't happen. The agent's own repo-memory (state.json) isn't validated against ground truth either — it records task8_monthly_summary: done even on runs where no comment/edit actually reached the issue. On 07-24, the update_issue safe-output specifically appears to fail silently (logged as processed, but no visible effect and no error).

Question

Is there a supported pattern for making a task like this deterministic — e.g.:

  • Splitting it into its own workflow/job that always runs, decoupled from the round-robin agent turn
  • A safe-outputs guarantee/verification step that fails the run (or retries) if a declared "always do" output type wasn't actually emitted
  • Reconciling agent-reported state.json progress against actual GitHub state rather than trusting the agent's self-report

Happy to help test a fix if there's a preferred approach.

主要語言
Python
星號
1.1k
分支
163
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

githubnext/agentics 的其他 Issue

查看 githubnext/agentics 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。