Skip to content

docs: remove legacy copilot-requests feature flag references - #75116

Merged
pelikhan merged 2 commits into
mainfrom
pelikhan/remove-legacy-feature-docs
Nov 5, 2026
Merged

pelikhan merged 2 commits into
mainfrom
pelikhan/remove-legacy-feature-docs

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Remove public documentation for features.copilot-requests so the flag remains an internal backward-compatibility feature rather than an advertised configuration option.

Removes it from authoring guidance and the glossary, and updates ADR wording to describe feature propagation generically or use the supported permissions.copilot-requests: write setting. Internal compatibility handling and current permission documentation remain unchanged.

Validation: make agent-report-progress passed; confirmed no legacy flag references remain in docs, authoring guidance, or skills.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 5, 2026 06:24
Copilot AI adaptive review requested due to automatic review settings November 5, 2026 06:25
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: opus55 medium · ~12 AIC · ⌖ ~2 AIC · ⊞ 7.7K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~1 AIC · ⊞ 6.3K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt56 max · ~1 AIC · ⌖ ~1 AIC · ⊞ 118 · ◷

Generated by Ponytail Reviewer for #75116

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-05T06:28:06Z
review_event: COMMENT
top_themes:
  - Preserve migration guidance for legacy copilot-requests configuration
files_reviewed:
  - .github/aw/syntax-agentic.md
  - docs/adr/25902-pre-clean-firewall-dirs-and-propagate-features-in-detection-job.md
  - docs/adr/27708-universal-llm-consumer-engine-for-multi-provider-routing.md
  - docs/src/content/docs/reference/glossary.md
comment_count: 1

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review completed with one documentation concern: the glossary no longer exposes the migration path for the still-accepted legacy features.copilot-requests flag. Please retain a concise compatibility/deprecation note pointing to permissions.copilot-requests: write and gh aw fix.

Details

The remaining ADR wording changes are consistent with the current permission-based authentication path.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

### Feature Flags (`features:`)

A frontmatter section that enables experimental or optional compiler and runtime behaviors as key-value pairs. Feature flags provide controlled access to new capabilities before they become defaults or are fully stabilized. Common flags include `action-mode` (controls how custom action references are compiled), `copilot-requests` (enables GitHub Actions token authentication for Copilot), `mcp-gateway` (enables the MCP gateway proxy), `integrity-reactions` (enables reaction-based integrity promotion and demotion), `cli-proxy` (enables CLI proxy mode for integrity enforcement at the network boundary), and `awf-diagnostic-logs` (enables AWF Docker operational diagnostics collection on failure). `byok-copilot` is deprecated because Copilot BYOK behavior is now the default for `engine: copilot`. See [Feature Flags Reference](/gh-aw/reference/feature-flags/).
A frontmatter section that enables experimental or optional compiler and runtime behaviors as key-value pairs. Feature flags provide controlled access to new capabilities before they become defaults or are fully stabilized. Common flags include `action-mode` (controls how custom action references are compiled), `mcp-gateway` (enables the MCP gateway proxy), `integrity-reactions` (enables reaction-based integrity promotion and demotion), `cli-proxy` (enables CLI proxy mode for integrity enforcement at the network boundary), and `awf-diagnostic-logs` (enables AWF Docker operational diagnostics collection on failure). `byok-copilot` is deprecated because Copilot BYOK behavior is now the default for `engine: copilot`. See [Feature Flags Reference](/gh-aw/reference/feature-flags/).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Removing copilot-requests without a compatibility note hides the migration path for workflows that still use the accepted legacy flag, so authors can leave it in place indefinitely without learning about permissions.copilot-requests: write or gh aw fix.

💡 Preserve the migration path while removing the flag from the advertised list

Add a short legacy/deprecation note here stating that features.copilot-requests remains accepted only for backward compatibility, points to permissions.copilot-requests: write, and can be migrated with gh aw fix. This keeps the flag out of the supported feature list while preserving actionable guidance for existing workflows.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added a compatibility note with the supported permission and the features-copilot-requests-to-permissions codemod (gh aw fix --write). Commit: d9f21fe9.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified for this documentation-only change, which removes deprecated public references while preserving supported configuration and runtime compatibility.

No open issues 🎉

What changed in this PR

This documentation-only pull request removes public references to the legacy features.copilot-requests flag while preserving internal compatibility behavior and the supported permission-based configuration.

Changes:

  • Removes the deprecated flag from the glossary and authoring guidance.
  • Updates ADRs to describe feature propagation generically or use permissions.copilot-requests: write.
  • Leaves runtime compatibility handling and current permission documentation unchanged.

This pull request is ready to be approved.

File Description
docs/​src/​content/​docs/​reference/​glossary.md Removes the deprecated flag from the feature-flags glossary entry.
docs/​adr/​27708-universal-llm-consumer-engine-for-multi-provider-routing.md Updates Copilot authentication guidance to use the supported permission.
docs/​adr/​25902-pre-clean-firewall-dirs-and-propagate-features-in-detection-job.md Generalizes historical feature-propagation wording.
.github/​aw/​syntax-agentic.md Removes the deprecated flag from known authoring options.

Review effort: Lite (auto)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Skills-Based Review 🧠

Applied /grill-with-docs guidance to the documentation-only changes. The triage response was not machine-readable, so skill selection used the documented fallback heuristic.

✅ No actionable issues found. The four edits consistently remove the deprecated features.copilot-requests documentation while retaining supported permissions.copilot-requests references and internal migration/code references. No inline comments are needed.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: gpt56 max · ~5 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (docs/src/content/docs/reference/glossary.md:941): Removing copilot-requests without a compatibility note hides the migration path for workflows that still use the accepted legacy flag, so authors can leave it in place indefinitely without learning about permissions.copilot-requests: write or gh aw fix. - docs: remove legacy copilot-requests feature flag references #75116 (comment)

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: 2c1b08c
Sous-chef requested-work: 0279922715847dd0d98e09362f89eb91f850a73e2f7d674b96628bd7e6757af6
Sous-chef requested-state: c996e495b40855083de7ed790852140099f485b7fdd564b237636c31fa85b8b9

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~12 AIC · ⌖ ~13 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Copilot AI commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@copilot

Copilot assignment requested for the following outstanding work:...

Sous-chef requested-head: 2c1b08c
Sous-chef requested-work: 0279922715847dd0d98e09362f89eb91f850a73e2f7d674b96628bd7e6757af6
Sous-chef requested-state: c996e495b40855083de7ed790852140099f485b7fdd564b237636c31fa85b8b9

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI requested a review from gh-aw-bot November 5, 2026 07:05
@pelikhan
pelikhan merged commit 935c999 into main Nov 5, 2026
13 checks passed
@pelikhan
pelikhan deleted the pelikhan/remove-legacy-feature-docs branch November 5, 2026 15:14
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.1

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.

4 participants