Skip to content

feat(exec): under the orchestrator, end the final output with a ## Summary so PR bodies aren't placeholders #1244

Closed as not planned

Description

@admarble

Tier: mechanical Found: 2026-09-30, verifying #1223 (PR #1240); tracker #1236 (closed)

Problem. #1223 made sequant run PR bodies carry exec's own summary. extractExecSummary (src/lib/workflow/worktree-manager.ts:1907) takes the last ## Summary or ### Summary section from the exec phase's output. Otherwise the body falls back to the placeholder "Automated PR for issue #N."

The exec skill never asks for that section when it runs under the orchestrator. Section 6's orchestrated branch (.claude/skills/exec/SKILL.md:2212, identical in skills/exec/ and templates/skills/exec/) says only "Still provide AC coverage summary in output for orchestrator to capture", and it names no heading.

Evidence. The phase-agent transcripts of 20 real exec runs from 2026-09-29/30 (the sessions for #1193–#1233):

  • 3 ended with ## Summary
  • 4 ended with ### Summary
  • 13 had no summary heading. Their PRs would still get the placeholder body.

AC

  • AC-1: The exec skill's orchestrated-mode output instructions require the final message to end with a ## Summary section: 1–5 bullets naming what changed and which ACs it addresses, with no closing keywords. The instruction is identical in .claude/skills/exec/SKILL.md, skills/exec/SKILL.md and templates/skills/exec/SKILL.md. Evidence: npx vitest run src/lib/__tests__/exec-orchestrated-summary-skill.test.ts, a gate test scoped to the orchestrated-mode block (not the whole file) that asserts the ## Summary requirement in all three copies
  • AC-2: npm run lint:skill-sync still passes (the three copies stay in sync). Evidence: npm run lint:skill-sync

Non-goals. Standalone /exec output keeps its current progress-update format. extractExecSummary doesn't change.

Graph metadata

  • No dependency edges.

May touch

  • .claude/skills/exec/SKILL.md, skills/exec/SKILL.md, templates/skills/exec/SKILL.md
  • src/lib/__tests__/exec-orchestrated-summary-skill.test.ts (new)

Activity

  1. added
    enhancement
    on Sep 30, 2026
  2. admarble commented on Sep 30, 2026

    @admarble
    ContributorAuthor

    Superseded by #1247. The root-cause investigation showed that this issue's lever, making exec print a ## Summary, couldn't have fixed any of the observed placeholder bodies:

    #1247 makes the orchestrator the only PR producer, updates an existing PR's body, and saves exec's summary where a qa-only run can read it. A structured or required summary from exec is part of its AC-3.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions