Skip to content

Realign copilot-instructions.md with ProjectTemplate lean form - #439

Merged
ptr727 merged 4 commits into
developfrom
realign-copilot-instructions-template
Jun 20, 2026
Merged

Realign copilot-instructions.md with ProjectTemplate lean form#439
ptr727 merged 4 commits into
developfrom
realign-copilot-instructions-template

Conversation

@ptr727

@ptr727 ptr727 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Completes the last open item of #418 (realign with ptr727/ProjectTemplate). Items 2–5 were already resolved by #422 and the rulesets are correct (develop squash-only, main merge-only, lowercase names); only .github/copilot-instructions.md still diverged.

Change

Carry the template's whole-file .github/copilot-instructions.md (verbatim drop-in): # Copilot InstructionsCommit Messages and Pull Request TitlesGitHub Copilot Review Runbook (unchanged from #422) → When in Doubt. Drops the NxWitness-specific preamble (Purpose, Solution Summary, CI Pipeline, standalone Versioning, etc.) — all already in AGENTS.md.

Adaptations (per the carry contract)

  • Keep only the .NET CODESTYLE.md pointer (drop Python); drop devcontainer mentions (none here).
  • Fill owner/repo as ptr727/NxWitness in the runbook snippets; keep <N> placeholders.
  • Retarget AGENTS.md cross-links to this repo's sections (#release-model#versioning; keep #pr-review-etiquette). The template's "Files…Must Carry Verbatim" and "Staying in Sync" links point upstream, since this repo's AGENTS.md has no equivalent sections.

Out of scope

Versioning is unchanged — it already matches the template; making it functional is a separate template-level effort.

Notes

Doc-only, no code. An upstream issue will be filed against ptr727/ProjectTemplate re: the carried file linking to AGENTS.md sections a derived repo only has if it also carries the template's AGENTS.md structure.

Closes #418.

Carry the template's whole-file copilot-instructions.md (Commit/PR-title
conventions, the Copilot Review Runbook, and When in Doubt) and drop the
NxWitness-specific preamble that already lives in AGENTS.md (Solution Summary,
CI Pipeline, Versioning, etc.). Adaptations: keep only the .NET CODESTYLE
pointer (drop Python), drop devcontainer mentions (none here), fill owner/repo
as ptr727/NxWitness, and retarget AGENTS.md cross-links to this repo's sections
(#versioning, #pr-review-etiquette); the template's verbatim-carry and
staying-in-sync links point upstream where this repo has no equivalent section.

Closes #418.
Copilot AI review requested due to automatic review settings June 20, 2026 14:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates NxWitness’ .github/copilot-instructions.md to match the lean ptr727/ProjectTemplate form, keeping repo-wide conventions centralized in AGENTS.md while retaining commit/PR-title guidance and the Copilot review runbook mechanics.

Changes:

  • Replaces the NxWitness-specific preamble with the template’s narrower “Copilot Instructions” structure.
  • Keeps .NET-only style pointer (CODESTYLE.md) and retains the Copilot review runbook with ptr727/NxWitness snippet targeting.
  • Adds/standardizes commit message and PR title conventions (merge-method expectations, examples, and rules).

Comment thread .github/copilot-instructions.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/copilot-instructions.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/copilot-instructions.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit 4aac9e3 into develop Jun 20, 2026
8 checks passed
@ptr727
ptr727 deleted the realign-copilot-instructions-template branch June 20, 2026 15:05
ptr727 added a commit that referenced this pull request Jun 24, 2026
Periodic re-sync of the template-carried artifacts against
[`ptr727/ProjectTemplate`](https://github.com/ptr727/ProjectTemplate)
(tip `8a701a9`), plus the staged workspace dictionary/extension change.

## What changed

- **`.github/copilot-instructions.md`** — adopt the template's current
lean Copilot runbook: Merge Gate awareness, "a review with no inline
comments is still a completed review", and round-1 auto-seed polling.
This also fixes the file's LF line-ending drift (`.editorconfig`
mandates CRLF for `.md`) and the regression from #439, which had
realigned to an older/leaner form than the template now ships.
Owner/repo placeholders filled; the per-language pointer drops Python
(this repo is .NET-only).
- **`AGENTS.md`** — carry the upgraded **PR Review Etiquette** contract
verbatim (new **Merge Gate** subsection, "no-findings is a valid
terminal outcome"). Added the **Pull Request Title and Commit Message
Conventions** section that the lean runbook now links to. The `Release
Model` anchor/`PUBLISH_ON_MERGE` reference were adapted to this repo's
`CI Pipeline` section. Fixed a `.Net Format` → `.NET Format` task
reference.
- **`CODESTYLE.md`** — restructure to the template's **General + .NET**
shape; drop the Python section; adapt the project list to
`CreateMatrix`/`CreateMatrixTests` and `InternalsVisibleTo` accordingly.
**Husky.Net is retained** as this repo's style gate (maintainer
decision) — the template dropped it only because hooks don't fit
non-.NET repos.
- **`.editorconfig`, `.markdownlint-cli2.jsonc`** — pull current
comments verbatim.
- **`.vscode/tasks.json`** — rename `.Net` → `.NET`, add `dependsOrder:
sequence` to `.NET Format`, keep the project-specific `Husky.Net Run`
task; updated `.vscode/launch.json` and `.husky/task-runner.json` label
references.
- **`NxWitness.code-workspace`** — the staged change (`hddpool`
dictionary word; swap `gruntfuggly.todo-tree` for
`fanaticpythoner.better-todo-tree`).

## Notes

- Versioning is unchanged; this is a maintenance re-sync.
- Two upstream issues will be filed in `ptr727/ProjectTemplate`: (1)
commit-gate confusion — Husky's absence is a non-.NET-fit concern, not a
recommendation against gates; (2) verbatim-carry coherence gaps where
carried files reference template-only sections/anchors
(`#release-model`, the commit-conventions section,
`#files-and-sections-derived-repos-must-carry-verbatim`).
- Markdownlint clean on all three docs.
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