Record develop-staleness and issue-closing learnings in AGENTS.md#366
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates AGENTS.md to document two process learnings around branch divergence and issue-closing semantics, with no code changes.
Changes:
- Add guidance to detect when
developis stale relative tomainand to mirror main-only fixes ontodevelop. - Add guidance to place issue-closing keywords where they will actually close issues on the default branch (
main).
ptr727
force-pushed
the
docs/agents-learnings
branch
from
July 3, 2026 17:42
ce14c00 to
4474dd2
Compare
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ptr727
force-pushed
the
docs/agents-learnings
branch
from
July 3, 2026 17:45
4474dd2 to
4d2ce0b
Compare
ptr727
added a commit
that referenced
this pull request
Jul 3, 2026
Promotes the two commits currently ahead on `develop` to `main`. Closes #329 Closes #339 ## What's promoted - **#367** - carry the template's "In a derived repo:" upstream-drift reporting paragraph into `.github/copilot-instructions.md`. This was the last substantive verbatim-carry gap from a full audit of both convergence issues against `ptr727/ProjectTemplate`. - **#366** - record two CI/CD process learnings in `AGENTS.md` (mirror main-only fixes back to `develop` with a content-diff staleness check; put `Closes #N` on the promotion PR), converged through the Copilot review loop. ## 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: - **#329**: the Copilot review runbook (`.github/copilot-instructions.md`), the AGENTS.md "PR Review Etiquette" contract, and `.markdownlint-cli2.jsonc` (byte-identical to the template) are all present. Only the "In a derived repo:" paragraph was missing (#367). - **#339**: `.editorconfig` `[*.cs]` marked .NET-only with matching per-extension EOL rules; AGENTS.md comments house-rule, markdown trailing-backslash, and versioning-without-"develop-ahead"; `CODESTYLE.md` (General + .NET, Python dropped); `retention-days: 1` on the one artifact upload. Docker registry-cache guidance is N/A (no Docker workflow). 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).
This was referenced Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.