Skip to content

Fix interaction diagram to reflect ruleset-driven code review trigger#81

Merged
ewega merged 3 commits intofeat/foreman-review-phasesfrom
copilot/sub-pr-78
Mar 2, 2026
Merged

Fix interaction diagram to reflect ruleset-driven code review trigger#81
ewega merged 3 commits intofeat/foreman-review-phasesfrom
copilot/sub-pr-78

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

The agent interaction diagram showed Foreman as the sole trigger for code review via github/request_copilot_review, contradicting the Phase 3 sequential flow which describes the ruleset-driven ready-for-review mechanism as primary.

Changes

  • foreman-workflows.md — interaction diagram (lines 57–61): Replaced the single Foreman→CRA arrow with two PR→CRA arrows (mark ready for review / ruleset assigns Code Review Agent) as the primary path, and relabeled the Foreman→CRA arrow as (fallback trigger).
%% Before
F -->|"github/request_copilot_review"| CRA

%% After
PR1 -->|"mark ready for review<br/>(ruleset assigns Code Review Agent)"| CRA
PR2 -->|"mark ready for review<br/>(ruleset assigns Code Review Agent)"| CRA
F -->|"github/request_copilot_review<br/>(fallback trigger)"| CRA
Loading

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>
Copilot AI changed the title [WIP] Add changes based on feedback for iterative review loop Fix interaction diagram to reflect ruleset-driven code review trigger Mar 2, 2026
Copilot finished work on behalf of ewega March 2, 2026 17:59
@ewega ewega requested a review from Copilot March 2, 2026 18:09
@ewega ewega marked this pull request as ready for review March 2, 2026 18:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Foreman workflow reference diagram so it reflects the primary, ruleset-driven “ready for review” trigger for the Code Review Agent, while retaining Foreman’s manual review request as a fallback.

Changes:

  • Replaces the single Foreman → Code Review Agent trigger with PR → Code Review Agent triggers based on “mark ready for review” ruleset behavior.
  • Relabels the Foreman → Code Review Agent arrow as a fallback trigger.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ewega ewega merged commit 8a85481 into feat/foreman-review-phases Mar 2, 2026
@ewega ewega deleted the copilot/sub-pr-78 branch March 2, 2026 18:12
ewega added a commit that referenced this pull request Mar 2, 2026
* refactor(foreman): iterative review loop, CI gate, phase renumber

* fix(foreman): remove Explore agent (no file backing), update mcp_github_ refs in phases 1/1b/2/2b

* fix(foreman): US English spelling + retire QA Enforcer from reference diagrams (#80)

* Initial plan

* fix(foreman): behavior spelling, remove QA Enforcer from reference diagrams

Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>

* fix(foreman): update remaining MCP: edge labels to github/* style

Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>

* fix(foreman): accurate node label + github/pull_request_read CI gate step

Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>

* Update .github/agents/github-foreman.agent.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/agents/github-foreman.agent.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix interaction diagram to reflect ruleset-driven code review trigger (#81)

* Initial plan

* Update interaction diagram to reflect ruleset-driven code review trigger

Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>

* Update .github/agents/references/foreman-workflows.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ewega <26189114+ewega@users.noreply.github.com>
Co-authored-by: Eldrick Wega <ewega@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

3 participants