Skip to content

docs: add Copilot custom instructions for repo maintenance#187

Merged
felickz merged 1 commit into
mainfrom
docs/copilot-instructions
Jul 16, 2026
Merged

docs: add Copilot custom instructions for repo maintenance#187
felickz merged 1 commit into
mainfrom
docs/copilot-instructions

Conversation

@felickz

@felickz felickz commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Adds .github/copilot-instructions.md — high-level guidance for future Copilot sessions/agents working on CodeQL CLI version bumps and pack publishing in this repo.

Why

CONTRIBUTING.md's "Releases & publishing" section is (and remains) the authoritative, mechanical process doc. This file covers what that doc doesn't: judgment calls that need a human, failure modes to design around, coding-agent delegation practices, PR hygiene, and timing expectations — distilled from repeatedly running this process, generalized into standing guidance rather than a history of specific incidents.

Contents

  • Pre-flight checks before starting version-bump work
  • Judgment calls that should be flagged to a human, not resolved solo (timing of CLI bumps, our-bug-vs-upstream calls, combining release cuts with dependency bumps, real API migration vs. warning-suppression)
  • Known failure modes to design around (fragile per-item loops with no error isolation, strict-fail-hides-everything compile modes, green-but-not-really-green CI, non-reproducible local failures, incidental diagnostic-run noise, delta-based release tooling)
  • Coding agent delegation practices (scope narrowly, front-load known detail)
  • PR hygiene (review automated comments before merge-ready, never leave threads unanswered)
  • Timing expectations so agents don't assume a stall

No process changes — documentation only.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com
Copilot-Session: 84006984-666d-4926-bbb8-795d91f3b5ab

Adds .github/copilot-instructions.md with high-level guidance for future
agents working on CodeQL CLI version bumps and pack publishing: judgment
calls that need a human, known failure modes to design around, coding
agent delegation practices, PR hygiene, and timing expectations.

Complements CONTRIBUTING.md's mechanical release process rather than
duplicating it.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 84006984-666d-4926-bbb8-795d91f3b5ab
Copilot AI review requested due to automatic review settings July 15, 2026 04:40

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.

Pull request overview

Adds a repository-level Copilot instructions document to guide future Copilot sessions/agents through CodeQL CLI version bumps and pack publishing work, complementing (but not replacing) the mechanical release process documented in CONTRIBUTING.md.

Changes:

  • Introduces .github/copilot-instructions.md with pre-flight checks and “flag to a human” judgment-call guidance.
  • Documents common failure modes observed in multi-language bump/publish workflows and how to mitigate them.
  • Adds guidance on coding-agent task scoping, PR hygiene expectations, and realistic CI/publish timing.
Show a summary per file
File Description
.github/copilot-instructions.md Adds high-level Copilot guidance for CodeQL CLI bump and pack publishing maintenance tasks.

Review details

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@felickz felickz merged commit 76b0f0b into main Jul 16, 2026
22 checks passed
@felickz felickz deleted the docs/copilot-instructions branch July 16, 2026 04:32
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.

2 participants