Add targeted copy-guard workflow for README.md and docs index.mdx - #55791
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Add workflow guard for front-page messaging files
Add targeted copy-guard workflow for README.md and docs index.mdx
Aug 25, 2026
Copilot created this pull request from a session on behalf of
pelikhan
August 25, 2026 13:48
View session
pelikhan
approved these changes
Aug 25, 2026
pelikhan
marked this pull request as ready for review
August 25, 2026 13:56
Copilot stopped reviewing on behalf of
pelikhan due to an error
August 25, 2026 13:57
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Adds a gh-aw “Front Page Copy Guard” workflow to scrutinize copy changes in the repository’s front-facing docs and automatically leave a single PR comment (or noop) based on drift risk.
Changes:
- Introduces a new gh-aw skill file defining the copy-guard prompt, scope, and safe-output constraints.
- Adds the compiled lockfile workflow YAML generated from the skill (plus shared imports).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/front-page-copy-guard.md | Defines the copy-guard agent behavior, scope, and safe-output tool constraints. |
| .github/workflows/front-page-copy-guard.lock.yml | Compiled GitHub Actions workflow implementing the agent run + safe-outputs processing. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/2 changed files
- Comments generated: 2
- Review effort level: Lite
Comment on lines
+28
to
+33
| safe-outputs: | ||
| add-comment: | ||
| max: 1 | ||
| hide-older-comments: true | ||
| noop: | ||
| --- |
| - 'docs/src/content/docs/index.mdx' | ||
| permissions: | ||
| contents: read | ||
| pull-requests: read |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recent PRs regressed front-page messaging by rewriting core copy into overly technical language. This change adds a dedicated guardrail workflow that scrutinizes edits to the two public entry-point docs and forces explicit intent checks.
Scope: protect only the two critical files
.github/workflows/front-page-copy-guard.md(and compiled lockfile) with PR path filtering limited to:README.mddocs/src/content/docs/index.mdxReview contract: detect copy drift, require justification
safe,needs-justification,high-risk-copy-drift) and posts a single focused PR comment.Safety envelope: no writes, comment-only output
add-comment(single comment) ornoop, preventing branch/file mutation by this workflow.