Skip to content

Promote: template convergence + CI/CD process learnings#368

Merged
ptr727 merged 2 commits into
mainfrom
develop
Jul 3, 2026
Merged

Promote: template convergence + CI/CD process learnings#368
ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Promotes the two commits currently ahead on develop to main.

Closes #329
Closes #339

What's promoted

Convergence audit (why #329 and #339 are done)

Audited every item in both issues against the current template. This repo is intentionally NuGet-only, no codegen, no Docker, so most items were already converged by prior work:

Remaining differences are intentional, repo-accurate divergence (NuGet-only project names, CODESTYLE.md build-requirements text matching this repo's actual Directory.Build.props).

Not included

Issue #348 (branch-ruleset drift: extra creation rule + do_not_enforce_on_create) is maintainer-gated live GitHub config and is intentionally left for a maintainer decision (whether the extra creation rule is intended). Surfaced separately, not closed here.

Diff

develop is a clean superset of main (4 insertions across two doc files, no deletions - no main-only stragglers).

ptr727 and others added 2 commits July 3, 2026 10:47
Two durable learnings: mirror main-only fixes to develop (and check git
diff origin/develop origin/main before relying on develop), and put
Closes #N in the promotion PR. No code changes.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ctions (#367)

Closes the last substantive verbatim-carry gap found while auditing this
repo against ptr727/ProjectTemplate for the convergence issues #329 and
#339.

## What changed
- `.github/copilot-instructions.md`: append the template's **"In a
derived repo:"** paragraph (verbatim) to the "When in Doubt" section,
directing contributors to open an upstream issue in
`ptr727/ProjectTemplate` when a discrepancy belongs in the template
rather than only fixing it locally.

## Audit result (context)
A full audit of #329 and #339 against the current template found nearly
everything already converged (this repo is intentionally NuGet-only, no
codegen, no Docker):
- **#329**: the Copilot review runbook in
`.github/copilot-instructions.md`, the AGENTS.md "PR Review Etiquette"
contract, and `.markdownlint-cli2.jsonc` (byte-identical) are all
already present.
- **#339**: `.editorconfig` `[*.cs]` marked .NET-only with matching EOL
rules; the AGENTS.md rule updates (comments house-rule, markdown
trailing-backslash, versioning without "develop-ahead"); `CODESTYLE.md`
(General + .NET, Python dropped); `retention-days: 1` on the one
artifact upload. CI-storage/Docker-cache items are N/A (no Docker
workflow).

The only outstanding item was this one paragraph.

Issue-closing keywords are intentionally omitted here (this PR targets
`develop`); `Closes #329`/`Closes #339` will go on the `develop -> main`
promotion PR so GitHub fires them on merge to the default branch.

Note: issue #348 (branch-ruleset drift) is maintainer-gated live-config
and is intentionally not addressed here.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 3, 2026 17:51

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

This PR promotes the latest develop-ahead documentation convergence work to main, capturing process guidance for branch hygiene and issue-closing behavior, and aligning the Copilot runbook with the template’s upstream-drift reporting guidance.

Changes:

  • Document how to mirror main-only fixes back onto develop without violating the forward-only rule, including a recommended git diff origin/main origin/develop staleness check.
  • Clarify where to place Closes #N so GitHub actually closes issues on merge to the default branch (main).
  • Add the template-aligned “In a derived repo” paragraph to .github/copilot-instructions.md directing contributors to report template-worthy drift upstream.

Reviewed changes

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

File Description
AGENTS.md Adds durable workflow/process guidance for keeping develop current with main-only fixes and for issue-closing keywords placement.
.github/copilot-instructions.md Adds the template’s upstream-drift reporting guidance to the “When in Doubt” section.

@ptr727 ptr727 merged commit 2dc0d53 into main Jul 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants