Skip to content

[site] Add agent instructions to assist with backporting features#1540

Merged
abgreeve merged 1 commit intomoodle:mainfrom
andrewnicols:agentInstructions
Mar 18, 2026
Merged

[site] Add agent instructions to assist with backporting features#1540
abgreeve merged 1 commit intomoodle:mainfrom
andrewnicols:agentInstructions

Conversation

@andrewnicols
Copy link
Copy Markdown
Member

No description provided.

@andrewnicols andrewnicols requested a review from a team as a code owner March 18, 2026 05:39
Copilot AI review requested due to automatic review settings March 18, 2026 05:39
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 18, 2026

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit f008db6
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/69ba534df2713400080123f6
😎 Deploy Preview https://deploy-preview-1540--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
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

Adds repository-specific Copilot guidance and a dedicated “Backport Docs” agent to help ensure documentation fixes are consistently applied across Moodle versioned docs.

Changes:

  • Introduces .github/copilot-instructions.md describing repo structure and backport/review rules for docs/ + versioned_docs/.
  • Adds .github/agents/backport-docs.agent.md with a step-by-step workflow for cherry-picking and backporting doc changes across versions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/copilot-instructions.md Documents repo layout and establishes backport expectations/checklist for versioned docs.
.github/agents/backport-docs.agent.md Defines an agent workflow to fetch a PR, identify doc changes, and apply backports across versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
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

Adds repository-specific Copilot guidance and a dedicated “Backport Docs” agent to improve consistency when backporting documentation changes across Moodle versioned docs trees.

Changes:

  • Add .github/copilot-instructions.md describing repo structure and a backporting review checklist for docs/ and versioned_docs/.
  • Add .github/agents/backport-docs.agent.md with an agent workflow to fetch a PR and apply doc backports across versions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
.github/copilot-instructions.md Documents DevDocs structure and sets backport expectations/checklist for versioned documentation.
.github/agents/backport-docs.agent.md Introduces an agent playbook for backporting doc changes across Moodle versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
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

Adds repository-specific Copilot guidance and a dedicated “Backport Docs” agent to help ensure documentation fixes are consistently applied across docs/ and versioned_docs/ when backporting features/bugfixes.

Changes:

  • Added .github/copilot-instructions.md describing the devdocs structure and a backport-completeness checklist for versioned documentation.
  • Added .github/agents/backport-docs.agent.md defining an agent workflow to fetch a PR and apply doc backports across versions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/copilot-instructions.md Establishes repo structure + explicit rules/checklist for backporting versioned docs.
.github/agents/backport-docs.agent.md Adds an agent playbook to operationalize doc backports from a PR across versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
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

Adds GitHub Copilot/agent guidance to help ensure documentation fixes are consistently backported across all versioned docs trees in this Docusaurus-based Moodle DevDocs repo.

Changes:

  • Introduces repository-specific Copilot instructions emphasizing versioned-doc backport completeness checks.
  • Adds a dedicated “Backport Docs” agent playbook to fetch a PR and apply doc fixes across all applicable versions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/copilot-instructions.md Documents repo layout and sets expectations/rules for backporting changes across docs/ and versioned_docs/.
.github/agents/backport-docs.agent.md Adds an agent workflow for backporting documentation changes and pushing updated PR branches.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@abgreeve abgreeve self-requested a review March 18, 2026 08:02
@abgreeve
Copy link
Copy Markdown
Contributor

Thanks Andrew,
We talked about the copilot review and I've resolved those.

@abgreeve abgreeve enabled auto-merge March 18, 2026 08:06
@abgreeve abgreeve added this pull request to the merge queue Mar 18, 2026
Merged via the queue into moodle:main with commit 0c88b8f Mar 18, 2026
5 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.

3 participants