Skip to content

fix(workflows): track multi-phase night status on parent GitHub issues - #2068

Merged
natechadwick merged 4 commits into
mainfrom
chore/night-issue-prs-merge-blocker-drain
Aug 5, 2026
Merged

natechadwick merged 4 commits into
mainfrom
chore/night-issue-prs-merge-blocker-drain

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

Overnight multi-phase / multi-issue work no longer tracks epic progress in committed \docs/ai-generated/tasks/**\ markdown (a major source of agent merge thrash).

Workers now:

  • Identify a PARENT tracker (Part of #N, or self when splitting)
  • Upsert issue body section *## Agent progress (night-issue-prs)* (slice table: status / PR / notes)
  • Post append-only comments on the parent after split / PR / residual / blocked
  • Keep \scratch/night-report.md\ as run-local only (not the epic tracker)

Hard ban in the work agent: no multi-phase status-only commits under \docs/ai-generated/tasks/.

Also includes earlier merge-blocker drain policy if not already on main from #2046 (branch may stack; review diff vs main).

Test plan

  • \workflow validate_only name=night-issue-prs\
  • User copy synced to ~/.grok/workflows/night-issue-prs.rhai\

Operator

Grok (model:grok-4.5)

…issue-prs

Human cannot merge PRs with unresolved conversations or conflicts. PR follow-up now drains merge blockers before issue Work (and again after), selects oldest first for anti-starvation, requires completeness on each selected PR, and still runs when the issue queue is empty. Default max_prs is 6 (cap 12).

> Co-Authored by Grok Build using grok-4.5 with agent main.
Stop overnight multi-phase/epic progress from landing in committed docs/ai-generated task markdown (merge thrash). Workers upsert ## Agent progress (night-issue-prs) on the parent issue body and post comments; scratch/night-report.md stays run-local only.

> Co-Authored by Grok Build using grok-4.5 with agent main.
@natechadwick-intsof natechadwick-intsof added operator:grok Changes authored by Grok model:grok-4.5 Grok 4.5 model labels Aug 5, 2026
Comment thread .grok/workflows/README.md
Comment thread .grok/workflows/README.md Outdated
Comment thread .grok/workflows/night-issue-prs.rhai
@kilo-code-bot

kilo-code-bot Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
WARNING 2
Issue Details (click to expand)

WARNING

File Line Issue
.grok/workflows/README.md 27 Parent table documentation missing "Slice" column
.grok/workflows/night-issue-prs.rhai 335 Branch scope pattern has leading space before fix/installer-
Files Reviewed (2 files)
  • .grok/workflows/README.md - 1 issue
  • .grok/workflows/night-issue-prs.rhai - 1 issue

Fix these issues in Kilo Cloud

Previous Review Summary (commit 99f04d0)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 99f04d0)

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
WARNING 2
Issue Details (click to expand)

WARNING

File Line Issue
.grok/workflows/README.md 27 Parent table documentation missing "Slice" column
.grok/workflows/night-issue-prs.rhai 335 Branch scope pattern has leading space before fix/installer-
Files Reviewed (2 files)
  • .grok/workflows/README.md - 1 issue
  • .grok/workflows/night-issue-prs.rhai - 1 issue

Fix these issues in Kilo Cloud


Reviewed by laguna-s-2.1:free · Input: 180.1K · Output: 32.1K · Cached: 256.2K

Review guidance: REVIEW.md from base branch main

natechadwick and others added 2 commits August 5, 2026 14:57
Signed-off-by: Nate Chadwick <natechadwick@users.noreply.github.com>
Document Slice column in night-issue-prs README to match the work-agent
table. Rephrase PR follow-up head-branch scope so fix/installer- is not
split across lines with leading spaces that workers could treat as pattern.

> Co-Authored by Grok Build using grok-4.5 with agent main.
@natechadwick
natechadwick merged commit 4a62252 into main Aug 5, 2026
5 checks passed
@natechadwick
natechadwick deleted the chore/night-issue-prs-merge-blocker-drain branch August 5, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model:grok-4.5 Grok 4.5 model operator:grok Changes authored by Grok

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants