Skip to content

Require workflow-critical agent outputs to be persisted to GitHub artifacts #26

@jflamb

Description

@jflamb

Summary

Require agents to post workflow-critical outputs to canonical GitHub artifacts by default, instead of leaving them only in chat/session output.

Problem

Some review and handoff steps have produced correct content in the agent session but did not post it to the relevant GitHub artifact. That breaks discoverability for the next workflow stage and weakens automation because subsequent agents or automation steps may not be able to find the result.

Required rule

If an output affects workflow state, it must be posted to the canonical GitHub artifact:

  • PR review findings -> PR comment
  • blocked-state handoff -> PR/issue/discussion comment
  • design review dispositions -> discussion comment
  • implementation verification -> PR comment
  • closeout -> issue comment
  • merge gate -> PR comment

Chat-only output is acceptable only as a fallback when posting truly fails.
If posting fails, the agent must:

  • say that explicitly
  • include the exact comment body
  • explain why posting failed
  • leave a blocked-state handoff instead of claiming the step completed normally

Scope

  • Define the persistence rule in the canonical workflow guidance
  • Update prompt/template sources so review/handoff/closeout prompts require posting, not optional drafting
  • Clarify fallback behavior when posting fails
  • Ensure workflow completion criteria depend on persisted artifact state, not just chat output

Acceptance criteria

  • Canonical workflow guidance requires workflow-critical outputs to be posted to GitHub artifacts
  • Review prompts no longer say "post or draft" for normal operation
  • Fallback behavior for post failures is explicit and consistent
  • Future workflow automation can rely on GitHub artifacts as the system of record

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationAutomation or workflow behaviorblockingWork that blocks progress or mergefollow-upDeferred work discovered during implementation or reviewprocessWorkflow or process improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions