Skip to content

chore: repository instructions for Copilot code review - #26

Merged
Krivoblotsky merged 1 commit into
mainfrom
chore/copilot-instructions
Dec 2, 2026
Merged

Krivoblotsky merged 1 commit into
mainfrom
chore/copilot-instructions

Conversation

@Krivoblotsky

@Krivoblotsky Krivoblotsky commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

What & why

Copilot code review has flagged the standard GitHub-flavored Markdown tables in MAINTAINERS.md, ADOPTERS.md and IMPLEMENTATIONS.md as "double leading pipes" seven times across two pull requests, always in Lite mode after its full review timed out; the rows are byte-clean and render correctly. Copilot reads .github/copilot-instructions.md from a pull request's head branch, so this file protects every future PR, and the open ones once they take main back in.

Type of change

  • SDK change (no wire-format impact)
  • Spec / format change (discussed in an issue first — see CONTRIBUTING)
  • New adapter / other-language implementation
  • Docs / conformance / fixtures

Checklist

  • pytest -q passes (run pip install -e .[dev] first)
  • Added/updated tests for the change
  • If the wire format changed: the spec, Schemas/, the Python DTOs, and the sample
    fixture are all in sync, and the format version bump follows GOVERNANCE
  • If the wire format changed: kept parity with the Swift reference SDK
    (bundles stay byte-identical across both implementations)
  • Updated CHANGELOG.md under Unreleased
  • Commits are signed off (git commit -s, DCO)

What Changed

  • .github/copilot-instructions.md: what the repository is, in one paragraph.
  • Five review checks restated from CONTRIBUTING.md and GOVERNANCE.md: format sync, _codec.py, no runtime dependencies, tests, DCO.
  • Two carve-outs: GFM table pipes are not a finding; text kept in step with the Swift repository is not duplication.

Alternatives & Trade-offs

Reformatting the tables was passed over: they are standard GFM with no || and correct pipe counts. Adding the file to an open PR branch was passed over: the convention belongs on main, from where every future PR inherits it.

Reviewer Guide

  1. § Do not report: the two carve-outs are the decisions to weigh; everything else restates CONTRIBUTING.md and GOVERNANCE.md.
  2. Not in this PR: Copilot's full review keeps timing out here; a .github/workflows/copilot-code-review.yml with runs-on is GitHub's documented fix.

Context & Links


Description composed by pr-why

Copilot code review has reported standard GitHub-flavored Markdown tables as
"double leading pipes" seven times across two pull requests, each time in Lite
mode after its full review timed out; the rows are byte-clean and render
correctly on GitHub. `.github/copilot-instructions.md` now tells the reviewer
what this repository is, the checks that matter (format sync, canonical codec,
dependencies, tests, DCO), and the two things not to report: GFM table pipes
and text kept in step with the Swift reference SDK.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Krivoblotsky <krivoblotsky@macpaw.com>

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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

No open issues 🎉

What changed in this PR

Adds repository-level GitHub Copilot instructions to reduce recurring false-positive review findings (notably GFM table “double leading pipes”) and to restate key review expectations for Portable Memory’s spec/SDK parity and release discipline.

Changes:

  • Introduces .github/copilot-instructions.md describing repo purpose, review checks, and “do not report” carve-outs.
  • Encodes review reminders around wire-format sync, canonical codec usage, dependency policy, tests, and DCO sign-off.
File Description
.github/​copilot-instructions.md Adds Copilot review/chat guidance plus explicit carve-outs to prevent known, recurring false positives.

Review effort: Lite

@Krivoblotsky
Krivoblotsky merged commit c9aa160 into main Dec 2, 2026
11 of 12 checks passed
@Krivoblotsky
Krivoblotsky deleted the chore/copilot-instructions branch December 2, 2026 01:48
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