Skip to content

Instruct planning agents to summarize the plan at end of turn - #373

Merged
tildesrc merged 1 commit into
mainfrom
panopticon/summarize-plan-on-plan-turn
Aug 13, 2026
Merged

Instruct planning agents to summarize the plan at end of turn#373
tildesrc merged 1 commit into
mainfrom
panopticon/summarize-plan-on-plan-turn

Conversation

@tildesrc

Copy link
Copy Markdown
Contributor

What

Extend the shared PLAN_WRITTEN responsibility (single-sourced in PlannedWorkflow) to tell the agent to post a concise summary of the plan in chat when ending its planning turn, so the user can review the plan without opening the plan.md artifact.

Why

Every plan-generating workflow references the same PlannedWorkflow.PLAN_WRITTEN object, so a single edit propagates the instruction to all of them — github-peer-reviewed, github-self-reviewed, local-git-self-reviewed, and github-dependabot — and it renders in both the workflow overview (system prompt) and the per-turn briefing.

Changes

  • workflows/planned_workflow.py: append the summarize instruction to PLAN_WRITTEN.description (and its doc comment).
  • Regenerate the golden briefing fixtures (github_peer_reviewed_system_prompt.md, github_peer_reviewed_state_PLANNING.md).
  • tests/core/test_briefing.py: assert the PLANNING briefing mentions summarizing the plan.

No new responsibility (not a gate) — so no orchestrator, state-machine, store, MCP, or migration changes.

🤖 Generated with Claude Code

Extend the shared PLAN_WRITTEN responsibility (single-sourced in
PlannedWorkflow) to tell the agent to post a concise summary of the plan
in chat when ending its planning turn, so the user can review without
opening the plan.md artifact. This propagates to every plan-generating
workflow (github-peer-reviewed, github-self-reviewed,
local-git-self-reviewed, github-dependabot) via the shared reference and
renders in both the workflow overview and the per-turn briefing.

Regenerate the golden briefing fixtures and lock the wording in with a
briefing assertion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tildesrc
tildesrc merged commit 798674c into main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant