Skip to content

engine: post-run product-health epilog (verify main CI, enumerate leftovers) #6

Description

@jg-noncelogic

MEDIUM. After N merges the engine exits with only a per-ticket merge log — the aggregate product state is never verified. Add a lightweight epilog agent: confirm the required (and E2E) check is green on the post-merge main SHA; enumerate any left-open PRs, auto-merge-pending PRs, and orphaned worktrees on disk; return a structured health report as the final results entry. This is what lets the run assert "the product is in a better, verified state" — the whole point.


Filed 2026-06-14 from the delivery-train process-safety audit (after the 22-ticket passband run). Engine: .claude/workflows/delivery-train.js. Anchor failure: #1639 — architect committed an ADR, implementer opened no PR, reviewer got "PR #0", ticket dangled with a stranded branch + leftover worktree.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions