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

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

Chưa có ai nhận issue này.

Đá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
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github, github-actions
Lĩnh vực
ci-cd, devops

Hướng nghiên cứu

Bắt đầu với repo-assist.md Task 8, sau đó so sánh bảy lần chạy workflow được liên kết, các trace, manifest của safe-outputs và state.json của chúng với dòng thời gian của issue #50956. Xác định nơi bản cập nhật bắt buộc có thể bị bỏ qua hoặc âm thầm bị loại bỏ; hoàn thành nghĩa là Task 8 chạy một cách xác định và đầu ra bị lỗi hoặc bị thiếu được phát hiện hoặc thử lại.

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

Mô tả

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.

Ngôn ngữ chính
Python
Star
1.1k
Fork
163
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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

  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 githubnext/agentics

Tất cả issue của githubnext/agentics

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.