You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository's contribution policy is curated, as [ADR-0052](https://github.com/NCodeGroup/project-template/blob/main/template/docs/decisions/project-template/0052-each-repository-states-its-contribution-policy-and-the-baseline-enforces-it.md) defines it. Issues and discussion are welcome, and code is by invitation while the design settles. A library's answer may move to open once it is ready, and that is a person's choice.
How
In this repository's next template update, to project-template v0.141.0 or newer, record the answer:
Or run /plan-template-update, which plans the update and its follow-on edits, with the same -Data. Then tools/Set-RepositoryBaseline.ps1 in project-template mirrors the answer into the contribution-policy property and enforces it.
Until then
The baseline enforces a repository with no answer as maintainers.
Done when
.copier-answers.yml records contributions: curated, and CONTRIBUTING.md and README.md state it.
Update the project from project-template v0.113.1 to v0.145.0 with -Data @{ contributions = 'curated' }, so .copier-answers.yml records contributions: curated and README.md and CONTRIBUTING.md state the curated policy,
as ADR-0052 and ADR-0058 in docs/decisions/project-template/ say. The update also records project_description and docs_url, so the README header block the template now renders keeps the description and gains the documentation
badge, and the project's own files take the template changes the update lists for them.
Context for the executor
Build: dotnet build
Test: dotnet test
Gate: ./build/gate.ps1 -Fast
Conventions: text files use LF (.gitattributes has * text=auto eol=lf). Markdown prose is wrapped as the file
around it is: keep each file's own wrapping width. Never edit a template-owned file by hand (.template/, .claude/commands/, .github/prompts/, .github/skills/, .github/instructions/, docs/decisions/project-template/, build/*.ps1 from the template, .copier-answers.yml).
Gotchas: A script or command never passes a relative path to a .NET method, such as [IO.File]::ReadAllText, [IO.File]::WriteAllText or [IO.Directory]::GetFiles: .NET resolves it against the process's folder, which Set-Location doesn't move and which in a Copilot session is the main checkout, not the plan's worktree. Use Get-Content -LiteralPath, Set-Content -LiteralPath or Get-ChildItem, or make the path absolute first with Join-Path (Get-Location) <path>. .template/Update-Project.ps1 fills repository from the GitHub origin and main_project from its default; the trial clone's origin was set to https://github.com/NCodeGroup/Buffers.git to
match this worktree.
Decisions
Target: v0.145.0, the template's newest tag (assumption, Autopilot run: the issue asks for v0.141.0 or newer).
No Release: line: the package carries src/NCode.Buffers/README.md, not the root README, and the template's build
changes (build/ProjectTemplate.props' LTS check target and comment, .editorconfig's RS0030 section) change no
package output for a net10.0 library, so nothing a release ships changes; the changelog entries go under ## [Unreleased].
Conflicts: .github/workflows/ci.yml keeps the project's gate comment and ./build/gate.ps1 and takes the template's Check the README layout step; Directory.Packages.props keeps the project's ItemGroup of PackageVersion items,
the trial's resolution.
The README layout's ## Usage is the README's ## Features section renamed: its ### sections are the library's
tasks, each with an example, which is what ## Usage holds; nothing links to #features.
Template hunks not taken: Directory.Build.props (CSharpier form; Buffers' file has its own content and passes the
gate), docs/api-compatibility.md and ROADMAP.md (the text the hunks change isn't in Buffers' copies), and the new
README Project lines for the documentation site and issues (the README links the site above).
With codeql.yml added, docs/assurance-case.md and docs/architecture.md say CodeQL runs through the workflow, not
the default setup; the run turns CodeQL's default setup off before the merge, as the update says, so the workflow's
results are accepted (assumption, Autopilot run; merging is authorized).
Change: run $d = 'Pinned, pooled .NET buffers that zero themselves on dispose, for keys and other secrets, plus fixed-size buffer writers and string splitting without substring copies.'; & .\.template\Update-Project.ps1 -Ref v0.145.0 -NoCommit -Data @{ contributions = 'curated'; project_description = $d; docs_url = 'https://buffers.ncode.io/' }.
The trial printed Template v0.113.1 -> v0.145.0: with 32 added files (the decompose-issue and offer-issues
commands, prompts and skills, codeql.yml, .template/Test-Readme.ps1, build/Test-DotnetSupport.ps1, ADRs
0038-0058, 0155, 0156 and docs/replies.md), conflict .github/workflows/ci.yml, conflict Directory.Packages.props
and the modified files above, then the project-owned listing, the CodeQL default-setup note, the README layout gaps
(has no template header block, has no ## Usage section) and 2 file(s) conflict. Any other file, conflict or
failure: stop, mark [?] and quote it.
Resolve ci.yml: between run: ./.template/Test-AdrIndex.ps1 and - name: Definition of Done, keep exactly the
template's four lines (# A library's README opens ... (ADR-0055). -WarnOnly, # for this template release; the next one makes a gap fail., - name: Check the README layout, run: ./.template/Test-Readme.ps1 -WarnOnly) followed by
the project's line # The gate checks the formatting with CSharpier ... (ADR-1002, ADR-1001).; drop the template's # The Definition of Done builds, tests ... line and every marker line. Resolve Directory.Packages.props: keep the
project's <ItemGroup> with its eight PackageVersion items, drop <ItemGroup></ItemGroup> and the markers.
Commit note: stage with git add -u then git add -A -- .; nothing was deleted.
[ ] 3. Take the template's code-review.yml with the v1.7.0 cooldown exception
Files: .github/workflows/code-review.yml (edit)
Change: replace the file's whole content with c:/Users/Marcin/.copilot/session-state/6566c0c4-4187-4100-b4db-5e2f6533ba84/files/code-review.yml: the template's
v0.145.0 template/.github/workflows/code-review.yml (header for Dependabot, forks and ADR-0041/0043, synchronize
trigger, new review if:, both steps pinned to c88c378ad166b57027bf504526e09585e727c33c # v1.7.0 with review-forks: true, outcomes if: without the fork clause) plus, right after the line # 0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md say why., the three lines # v1.7.0 was released on 2026-11-27, under the three days ADR-0009 waits: it is pinned by that record's commented, # exception, because review-forks needs it, and this sentence goes once 2026-11-30 has passed, # (NCodeGroup/project-template#602). Copy with Copy-Item.
[ ] 4. State the policy and the new Landing lines in AGENTS.md
Files: AGENTS.md (edit)
Change: insert, after the paragraph This file belongs to the project: ... and its blank line, before ## Instructions: ## Outside Contributions, a blank line, then For an agent working for someone without write access to this repository. First read the contribution policy at the top of [CONTRIBUTING.md](CONTRIBUTING.md); it is curated. Code is by invitation: open no pull request unless a maintainer asked for it on its issue, and post no comment that only claims an issue. A person may file an issue in their own words.
and a blank line. In the Landing paragraph, insert the text of c:/Users/Marcin/.copilot/session-state/6566c0c4-4187-4100-b4db-5e2f6533ba84/files/landing-insert.txt (the board and planning sentences) followed by one space right before `prelude`: `none`;. In the list, add - board: none and - planning: none, in that order, between - max-review-rounds: 3 and - prelude: none.
[ ] 5. State the curated policy in CONTRIBUTING.md
Files: CONTRIBUTING.md (edit)
Change: replace line 3 (Issues and pull requests are welcome. ... tasks for a first contribution.) with Issues and discussion are welcome, and code is by invitation while the design settles: we don't assign issues, and a pull request from outside the maintainers is merged only when a maintainer asked for it. [README.md](README.md) explains the project, and [AGENTS.md](AGENTS.md) holds the rules every change follows, for people and coding agents alike. Report a vulnerability privately instead, as [SECURITY.md](SECURITY.md) says. Everyone taking part follows the [Code of Conduct](CODE_OF_CONDUCT.md); [GOVERNANCE.md](GOVERNANCE.md) says who decides what, and [ROADMAP.md](ROADMAP.md) where the project is going. When the maintainers decline an issue, close a pull request or answer a request to be assigned an issue, they post the reply [docs/replies.md](docs/replies.md) holds for it. This file, [SECURITY.md](SECURITY.md), the Code of Conduct and [GOVERNANCE.md](GOVERNANCE.md) take precedence over the defaults in the .github repository of the organization that owns this one, which cover the organization's repositories that have none of their own.
In item 6, replace NCode Review reviews a draft too, and the maintainer who merges with NCode Review reviews a draft too, except one from a fork, which it reviews once you mark it ready, and the maintainer who merges,
and replace its last sentence NCode Review skips a pull request from a fork or one a bot opened, such as Dependabot's: a maintainer approves it.
with the template's v0.145.0 text, from NCode Review never approves a pull request from a fork through approves a clean one ([Dependabot's pull requests](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md)).,
as the trial's CONTRIBUTING.md hunk prints it (forks ADR-0043, fork update ADR-0044, Dependabot ADR-0041).
Done when: if ((Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'Issues and discussion are welcome, and code is by invitation while the design settles' -Quiet) -and (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'docs/replies.md' -Quiet) -and (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch '0043-ncode-review-reviews-a-forks-ready-pull-request-and-never-approves-it.md' -Quiet) -and -not (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'good first issue' -Quiet)) { exit 0 } else { exit 1 }
[ ] 6. Take the template's GOVERNANCE.md changes for a curated project
Files: GOVERNANCE.md (edit)
Change: Contributor row's Responsibilities become Opens issues, and a pull request a maintainer asked for on its issue, under [CONTRIBUTING.md](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md).
In the Automation row replace where the ruleset requires an approval, a maintainer approves it | with where the ruleset requires an approval, it is approved: by ncode-review-approver[bot] after a clean review where NCode Review's approver is set up ([ADR-0041](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md)), else by a maintainer |.
After the paragraph Only a maintainer has write access. ... recorded in this file. add a blank line and Everyone with write access submits only work they have the right to submit under Apache-2.0.
In Continuity, after so anyone given access can carry on with no knowledge held elsewhere. add The organization's owners can administer every repository it holds, so they can step in when the repository's maintainers can't.,
rewrapping that paragraph at 120 characters.
Done when: if ((Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'a pull request a maintainer asked for on its issue' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch '0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'submit under Apache-2.0' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'step in' -Quiet)) { exit 0 } else { exit 1 }
[ ] 7. Take the template's CODE_OF_CONDUCT.md and design template changes
Change: in CODE_OF_CONDUCT.md, after The report reaches the maintainers only. insert A report about behavior elsewhere in the organization that owns this repository goes the same way to that organization's .github repository, whose Code of Conduct covers the organization's repositories that have none of their own., rewrapping that paragraph at 120 characters.
In docs/designs/_template.md, replace is one or more plans + newline + with their issues. with is an epic: an issue of type Epic whose sub-issues are its stories, one plan each. Link each phase's epic and list none of its stories.,
keeping the italic paragraph's _ markers and rewrapping it at 120 characters.
Change: in docs/README.md, before - [metrics.md](metrics.md): insert - [replies.md](replies.md): the standard replies to people outside the project, for declining an issue, closing a pull
and request and answering a claim, which the maintainers post word for word. In docs/best-practices-badge.md
replace the two dco lines with - dco(silver SHOULD): unmet by choice. The project asks forSigned-off-byonly once itscontributions answer is
and open ([ADR-0053](decisions/project-template/0053-an-open-repository-asks-outside-contributors-to-sign-off-their-commits.md)).
Change: in docs/assurance-case.md's Static analysis bullet, replace from CodeQL through GitHub's code scanning default setup to the bullet's end with CodeQL through .github/workflows/codeql.yml, for C# and GitHub Actions with the security-extendedqueries, on every pull request intomain, a fork's too, every push to main, the merge queue and weekly ([ADR-0044](decisions/project-template/0044-a-fork-pull-request-merges-without-a-bypass.md)). The mainruleset blocks a pull request that adds a CodeQL security alert of any severity or a CodeQL error or warning: read withgh api repos/NCodeGroup/Buffers/rulesets/26229931 on 2026-11-17.,
wrapped at 120 characters with two-space continuation indent. In docs/architecture.md, replace CodeQL scans the C# code and the workflows through GitHub's code + newline + scanning default setup. with CodeQL scans the C# code and the workflows through .github/workflows/codeql.yml, on every pull request, a fork's too., rewrapping the paragraph at 120 characters.
[ ] 10. Bring README.md to the .NET library layout and state the policy
Files: README.md (edit)
Change: run ./.template/Test-Readme.ps1 -Fix, which puts the template's header block and a blank line at the top.
Then delete the old header lines below it, from <p align="center"> with <img src="NCodeGroup.png" alt="NCode" through
the badge row's </p> (the old icon, <h1 align="center">NCode.Buffers</h1>, the description paragraph and the nine
badges), and put in their place, after the block and one blank line, the Codecov row the block lacks: <p align="center">, <a href="https://codecov.io/gh/NCodeGroup/Buffers"><img alt="Coverage" src="https://codecov.io/gh/NCodeGroup/Buffers/branch/main/graph/badge.svg"></a>, </p>.
After the paragraph The [documentation site](https://buffers.ncode.io/) has ... add a blank line and Issues and discussion are welcome, and code is by invitation while the design settles, as [CONTRIBUTING.md](CONTRIBUTING.md) says.
Rename ## Features to ## Usage, changing nothing under it. In ## Project, after the docs/decisions/ line add - [docs/replies.md](docs/replies.md): the replies the maintainers post to people outside the project.
Done when: ./.template/Test-Readme.ps1; if (-not $? -or $LASTEXITCODE) { exit 1 }; if ((Select-String -LiteralPath README.md -SimpleMatch 'codecov.io/gh/NCodeGroup/Buffers' -Quiet) -and (Select-String -LiteralPath README.md -SimpleMatch 'code is by invitation while the design settles' -Quiet) -and (Select-String -LiteralPath README.md -Pattern '^<h1 ').Count -eq 1 -and -not (Select-String -LiteralPath README.md -Pattern '^## Features$' -Quiet)) { exit 0 } else { exit 1 }
[ ] 11. Record the update in the changelog and pass the gate
Files: CHANGELOG.md (edit)
Change: under ## [Unreleased] → ### Changed, replace the entry that starts - The project follows project-template v0.113.1: with - The project follows project-template v0.145.0: scorecard.ymlpinsossf/scorecard-actionv2.6.0, which runs Scorecard v5.7.0,AGENTS.md, CONTRIBUTING.mdandGOVERNANCE.mdsay that where NCode Review's approver is set up, its approval meets the ruleset's required approval, Claude Code runs every Bash and PowerShell command without asking while its Read tool still can't read.envfiles or the rootsecrets/folder, andraise-baseline.yml, release-provenance.ymland the template's scripts take a version only in ASCII digits;code-review.ymlpins NCode Review v1.7.0, which reviews a pull request from a fork once it is ready and never approves it, and reviews and approves Dependabot's own pull requests; CodeQL runs through.github/workflows/codeql.yml, which analyzes every pull request, a fork's too, instead of GitHub's default setup; and CI checks that the SDK and the target framework are LTS releases Microsoft supports and that README.mdopens with the header the template renders from.copier-answers.yml ([ADR-0020](docs/decisions/project-template/0020-github-projects-are-scored-by-openssf-scorecard.md), [ADR-0036](docs/decisions/project-template/0036-a-required-approval-is-met-by-ncode-reviews-approver-app.md), [ADR-0041](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md), [ADR-0043](docs/decisions/project-template/0043-ncode-review-reviews-a-forks-ready-pull-request-and-never-approves-it.md), [ADR-0044](docs/decisions/project-template/0044-a-fork-pull-request-merges-without-a-bypass.md), [ADR-0055](docs/decisions/project-template/0055-a-librarys-readme-header-is-a-template-owned-block.md), [ADR-0155](docs/decisions/project-template/0155-dotnet-code-targets-only-lts-releases-and-prose-names-no-dotnet-version.md), [NCodeGroup/project-template#491](https://github.com/NCodeGroup/project-template/pull/491), [NCodeGroup/project-template#492](https://github.com/NCodeGroup/project-template/issues/492)).
and add after it - The contribution policy is curated: issues and discussion are welcome, and code is by invitation while the design settles, as README.mdandCONTRIBUTING.mdsay;docs/replies.md holds the replies the maintainers post to people outside the project ([#136](https://github.com/NCodeGroup/Buffers/issues/136), [ADR-0052](docs/decisions/project-template/0052-each-repository-states-its-contribution-policy-and-the-baseline-enforces-it.md), [ADR-0058](docs/decisions/project-template/0058-a-projects-contribution-policy-is-cited-from-its-readme.md)).
First, for the person, before the pull request can pass its Analyze jobs: list CodeQL's default setup languages with gh api repos/NCodeGroup/Buffers/code-scanning/default-setup --jq .languages (today actions, csharp, both of which codeql.yml detects), turn the default setup off with gh api -X PATCH repos/NCodeGroup/Buffers/code-scanning/default-setup -f state=not-configured, then re-run the pull
request's failed Analyze jobs. Once it merges, tools/Set-RepositoryBaseline.ps1 -Repo Buffers -Owner NCodeGroup
from the template's clone mirrors contributions into the contribution-policy property (the coordinator runs it).
The README renders on GitHub with the header, the Codecov row below it, and no lost section; ## Usage reads right.
Autopilot: follow-ups filed from this plan: #138 Remove the NCode Review v1.7.0 cooldown sentence from code-review.yml after 2026-11-30T21:24Z. Template gap filed: NCodeGroup/project-template#637. Landed in #137 (6476f36), with no release, since nothing a package ships changed.
Activity
polewskm commentedon Nov 29, 2026
Plan snapshot. The working copy is
PLAN.mdin the plan's checkout; this comment is not updated as steps run.Plan: Update to project-template v0.145.0 recording the curated policy (11 steps)
Plan: Update to project-template v0.145.0 recording the curated policy
Issue: #136
Goal
Update the project from project-template v0.113.1 to v0.145.0 with
-Data @{ contributions = 'curated' }, so.copier-answers.ymlrecordscontributions: curatedandREADME.mdandCONTRIBUTING.mdstate the curated policy,as ADR-0052 and ADR-0058 in
docs/decisions/project-template/say. The update also recordsproject_descriptionanddocs_url, so the README header block the template now renders keeps the description and gains the documentationbadge, and the project's own files take the template changes the update lists for them.
Context for the executor
dotnet builddotnet test./build/gate.ps1 -Fast.gitattributeshas* text=auto eol=lf). Markdown prose is wrapped as the filearound it is: keep each file's own wrapping width. Never edit a template-owned file by hand (
.template/,.claude/commands/,.github/prompts/,.github/skills/,.github/instructions/,docs/decisions/project-template/,build/*.ps1from the template,.copier-answers.yml).[IO.File]::ReadAllText,[IO.File]::WriteAllTextor[IO.Directory]::GetFiles: .NET resolves it against the process's folder, whichSet-Locationdoesn't move and which in a Copilot session is the main checkout, not the plan's worktree. UseGet-Content -LiteralPath,Set-Content -LiteralPathorGet-ChildItem, or make the path absolute first withJoin-Path (Get-Location) <path>..template/Update-Project.ps1fillsrepositoryfrom the GitHuboriginandmain_projectfrom its default; the trial clone's origin was set tohttps://github.com/NCodeGroup/Buffers.gittomatch this worktree.
Decisions
-Datarecordscontributions = 'curated'(the issue),project_description= the README's existing descriptionsentence and
docs_url = 'https://buffers.ncode.io/', so the header block keeps the description and gains thedocumentation badge, as Update to project-template v0.145.0 and record the curated contribution policy NCode.Disposables#101 did.
Release:line: the package carriessrc/NCode.Buffers/README.md, not the root README, and the template's buildchanges (
build/ProjectTemplate.props' LTS check target and comment,.editorconfig's RS0030 section) change nopackage output for a
net10.0library, so nothing a release ships changes; the changelog entries go under## [Unreleased]..github/workflows/ci.ymlkeeps the project's gate comment and./build/gate.ps1and takes the template'sCheck the README layoutstep;Directory.Packages.propskeeps the project'sItemGroupofPackageVersionitems,the trial's resolution.
code-review.ymlbecomes the template's v0.145.0 file, which pins NCode Review v1.7.0, with ADR-0009's commentedexception added: v1.7.0 was published 2026-11-27T21:24Z, under three days ago, and the template's own file dropped the
exception early (code-review.yml pins NCode Review v1.7.0 without ADR-0009's exception before it is three days old project-template#602). The sentence goes in a follow-up once 2026-11-30T21:24Z has passed.
GOVERNANCE.md's Contributor row takes the curated wording GOVERNANCE.md says anyone opens issues and pull requests in a maintainers or curated project project-template#603 proposes.docs/best-practices-badge.mdhas no Where It Stands section; only the
dcohunk is taken.CONTRIBUTING.mdpromises, staysin a centred paragraph of its own right below the block; template gap filed as
A library's README header block has no place for its own badges, such as a coverage badge project-template#637.
## Usageis the README's## Featuressection renamed: its###sections are the library'stasks, each with an example, which is what
## Usageholds; nothing links to#features.Directory.Build.props(CSharpier form; Buffers' file has its own content and passes thegate),
docs/api-compatibility.mdandROADMAP.md(the text the hunks change isn't in Buffers' copies), and the newREADME Project lines for the documentation site and issues (the README links the site above).
codeql.ymladded,docs/assurance-case.mdanddocs/architecture.mdsay CodeQL runs through the workflow, notthe default setup; the run turns CodeQL's default setup off before the merge, as the update says, so the workflow's
results are accepted (assumption, Autopilot run; merging is authorized).
because the update differs from the trial, the orchestrating session files the gap the same way, and the executor
never calls
gh.Out of scope
src/NCode.Buffers/README.md, the package readme: no release, and Give a library's package readme its own layout project-template#610 covers its layout.tools/Set-RepositoryBaseline.ps1; changingAGENTS.md's Conventions.Steps
[ ] 1. Update from project-template v0.145.0
.copier-answers.yml,.template-version,.template/,.claude/commands/,.claude/hooks/ensure-pwsh.sh,.claude/hooks/session-start.sh,.editorconfig,.githooks/pre-push,.github/actions/install-dotnet/action.yml,.github/agents/,.github/instructions/,.github/prompts/,.github/skills/,.github/workflows/ci.yml,.github/workflows/codeql.yml(new),.github/workflows/code-review-auto-merge.yml,.github/workflows/raise-baseline.yml,.github/workflows/scorecard.yml,.github/workflows/tag-release.yml,Directory.Packages.props,build/dod.ps1,build/Get-TestRuntimes.ps1,build/Install-Dotnet.ps1,build/ProjectTemplate.props,build/Test-DotnetSupport.ps1(new),build/Update-Baseline.ps1,build/Update-PublicApi.ps1,docs/best-practices-criteria.md,docs/decisions/project-template/,docs/replies.md(new)$d = 'Pinned, pooled .NET buffers that zero themselves on dispose, for keys and other secrets, plus fixed-size buffer writers and string splitting without substring copies.'; & .\.template\Update-Project.ps1 -Ref v0.145.0 -NoCommit -Data @{ contributions = 'curated'; project_description = $d; docs_url = 'https://buffers.ncode.io/' }.The trial printed
Template v0.113.1 -> v0.145.0:with 32addedfiles (thedecompose-issueandoffer-issuescommands, prompts and skills,
codeql.yml,.template/Test-Readme.ps1,build/Test-DotnetSupport.ps1, ADRs0038-0058, 0155, 0156 and
docs/replies.md),conflict .github/workflows/ci.yml,conflict Directory.Packages.propsand the
modifiedfiles above, then the project-owned listing, the CodeQL default-setup note, the README layout gaps(
has no template header block,has no ## Usage section) and2 file(s) conflict. Any other file, conflict orfailure: stop, mark
[?]and quote it.Resolve
ci.yml: betweenrun: ./.template/Test-AdrIndex.ps1and- name: Definition of Done, keep exactly thetemplate's four lines (
# A library's README opens ... (ADR-0055). -WarnOnly,# for this template release; the next one makes a gap fail.,- name: Check the README layout,run: ./.template/Test-Readme.ps1 -WarnOnly) followed bythe project's line
# The gate checks the formatting with CSharpier ... (ADR-1002, ADR-1001).; drop the template's# The Definition of Done builds, tests ...line and every marker line. ResolveDirectory.Packages.props: keep theproject's
<ItemGroup>with its eightPackageVersionitems, drop<ItemGroup></ItemGroup>and the markers.Commit note: stage with
git add -uthengit add -A -- .; nothing was deleted.if ((Select-String -LiteralPath .copier-answers.yml -Pattern '^_commit: v0.145.0$' -Quiet) -and (Select-String -LiteralPath .copier-answers.yml -Pattern '^contributions: curated$' -Quiet) -and -not (git diff --name-only --diff-filter=U) -and -not (git grep -lE '^(<<<<<<<|>>>>>>>) ')) { exit 0 } else { exit 1 }[ ] 2. Check the build and the template's checks
dotnet build,./.template/Test-AdrIndex.ps1and./build/Test-DotnetSupport.ps1; all three passed inthe trial. Change no file.
dotnet build; if (-not $? -or $LASTEXITCODE) { exit 1 }; ./.template/Test-AdrIndex.ps1; if (-not $? -or $LASTEXITCODE) { exit 1 }; ./build/Test-DotnetSupport.ps1; if (-not $? -or $LASTEXITCODE) { exit 1 } else { exit 0 }[ ] 3. Take the template's code-review.yml with the v1.7.0 cooldown exception
.github/workflows/code-review.yml(edit)c:/Users/Marcin/.copilot/session-state/6566c0c4-4187-4100-b4db-5e2f6533ba84/files/code-review.yml: the template'sv0.145.0
template/.github/workflows/code-review.yml(header for Dependabot, forks and ADR-0041/0043,synchronizetrigger, new review
if:, both steps pinned toc88c378ad166b57027bf504526e09585e727c33c # v1.7.0withreview-forks: true, outcomesif:without the fork clause) plus, right after the line# 0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md say why., the three lines# v1.7.0 was released on 2026-11-27, under the three days ADR-0009 waits: it is pinned by that record's commented,# exception, because review-forks needs it, and this sentence goes once 2026-11-30 has passed,# (NCodeGroup/project-template#602).Copy withCopy-Item.if ((Select-String -LiteralPath .github/workflows/code-review.yml -SimpleMatch 'c88c378ad166b57027bf504526e09585e727c33c # v1.7.0').Count -eq 2 -and (Select-String -LiteralPath .github/workflows/code-review.yml -SimpleMatch 'review-forks: true').Count -eq 2 -and (Select-String -LiteralPath .github/workflows/code-review.yml -SimpleMatch 'this sentence goes once 2026-11-30 has passed' -Quiet) -and -not (Select-String -LiteralPath .github/workflows/code-review.yml -SimpleMatch 'v1.5.0 was released' -Quiet)) { exit 0 } else { exit 1 }[ ] 4. State the policy and the new Landing lines in AGENTS.md
AGENTS.md(edit)This file belongs to the project: ...and its blank line, before## Instructions:## Outside Contributions, a blank line, thenFor an agent working for someone without write access to this repository. First read the contribution policy at the top of [CONTRIBUTING.md](CONTRIBUTING.md); it iscurated. Code is by invitation: open no pull request unless a maintainer asked for it on its issue, and post no comment that only claims an issue. A person may file an issue in their own words.and a blank line. In the Landing paragraph, insert the text of
c:/Users/Marcin/.copilot/session-state/6566c0c4-4187-4100-b4db-5e2f6533ba84/files/landing-insert.txt(theboardandplanningsentences) followed by one space right before`prelude`: `none`;. In the list, add- board: noneand- planning: none, in that order, between- max-review-rounds: 3and- prelude: none.if ((Select-String -LiteralPath AGENTS.md -Pattern '^## Outside Contributions$' -Quiet) -and (Select-String -LiteralPath AGENTS.md -Pattern '^- board: none$' -Quiet) -and (Select-String -LiteralPath AGENTS.md -Pattern '^- planning: none$' -Quiet) -and (Select-String -LiteralPath AGENTS.md -SimpleMatch 'asplanning=invalid.prelude:none;' -Quiet)) { exit 0 } else { exit 1 }[ ] 5. State the curated policy in CONTRIBUTING.md
CONTRIBUTING.md(edit)Issues and pull requests are welcome. ... tasks for a first contribution.) withIssues and discussion are welcome, and code is by invitation while the design settles: we don't assign issues, and a pull request from outside the maintainers is merged only when a maintainer asked for it. [README.md](README.md) explains the project, and [AGENTS.md](AGENTS.md) holds the rules every change follows, for people and coding agents alike. Report a vulnerability privately instead, as [SECURITY.md](SECURITY.md) says. Everyone taking part follows the [Code of Conduct](CODE_OF_CONDUCT.md); [GOVERNANCE.md](GOVERNANCE.md) says who decides what, and [ROADMAP.md](ROADMAP.md) where the project is going. When the maintainers decline an issue, close a pull request or answer a request to be assigned an issue, they post the reply [docs/replies.md](docs/replies.md) holds for it. This file, [SECURITY.md](SECURITY.md), the Code of Conduct and [GOVERNANCE.md](GOVERNANCE.md) take precedence over the defaults in the.githubrepository of the organization that owns this one, which cover the organization's repositories that have none of their own.In item 6, replace
NCode Review reviews a draft too, and the maintainer who mergeswithNCode Review reviews a draft too, except one from a fork, which it reviews once you mark it ready, and the maintainer who merges,and replace its last sentence
NCode Review skips a pull request from a fork or one a bot opened, such as Dependabot's: a maintainer approves it.with the template's v0.145.0 text, from
NCode Review never approves a pull request from a forkthroughapproves a clean one ([Dependabot's pull requests](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md)).,as the trial's
CONTRIBUTING.mdhunk prints it (forks ADR-0043, fork update ADR-0044, Dependabot ADR-0041).if ((Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'Issues and discussion are welcome, and code is by invitation while the design settles' -Quiet) -and (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'docs/replies.md' -Quiet) -and (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch '0043-ncode-review-reviews-a-forks-ready-pull-request-and-never-approves-it.md' -Quiet) -and -not (Select-String -LiteralPath CONTRIBUTING.md -SimpleMatch 'good first issue' -Quiet)) { exit 0 } else { exit 1 }[ ] 6. Take the template's GOVERNANCE.md changes for a curated project
GOVERNANCE.md(edit)Opens issues, and a pull request a maintainer asked for on its issue, under [CONTRIBUTING.md](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md).In the Automation row replace
where the ruleset requires an approval, a maintainer approves it |withwhere the ruleset requires an approval, it is approved: byncode-review-approver[bot]after a clean review where NCode Review's approver is set up ([ADR-0041](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md)), else by a maintainer |.After the paragraph
Only a maintainer has write access. ... recorded in this file.add a blank line andEveryone with write access submits only work they have the right to submit underApache-2.0.In Continuity, after
so anyone given access can carry on with no knowledge held elsewhere.addThe organization's owners can administer every repository it holds, so they can step in when the repository's maintainers can't.,rewrapping that paragraph at 120 characters.
if ((Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'a pull request a maintainer asked for on its issue' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch '0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'submit underApache-2.0' -Quiet) -and (Select-String -LiteralPath GOVERNANCE.md -SimpleMatch 'step in' -Quiet)) { exit 0 } else { exit 1 }[ ] 7. Take the template's CODE_OF_CONDUCT.md and design template changes
CODE_OF_CONDUCT.md(edit),docs/designs/_template.md(edit)CODE_OF_CONDUCT.md, afterThe report reaches the maintainers only.insertA report about behavior elsewhere in the organization that owns this repository goes the same way to that organization's.githubrepository, whose Code of Conduct covers the organization's repositories that have none of their own., rewrapping that paragraph at 120 characters.In
docs/designs/_template.md, replaceis one or more plans+ newline +with their issues.withis an epic: an issue of type Epic whose sub-issues are its stories, one plan each. Link each phase's epic and list none of its stories.,keeping the italic paragraph's
_markers and rewrapping it at 120 characters.if ((Select-String -LiteralPath CODE_OF_CONDUCT.md -SimpleMatch 'whose Code of Conduct covers' -Quiet) -and (Select-String -LiteralPath docs/designs/_template.md -SimpleMatch 'Link each phase''s epic' -Quiet)) { exit 0 } else { exit 1 }[ ] 8. List docs/replies.md and take the badge page's dco answer
docs/README.md(edit),docs/best-practices-badge.md(edit)docs/README.md, before- [metrics.md](metrics.md):insert- [replies.md](replies.md): the standard replies to people outside the project, for declining an issue, closing a pulland
request and answering a claim, which the maintainers post word for word.Indocs/best-practices-badge.mdreplace the two
dcolines with-dco(silver SHOULD): unmet by choice. The project asks forSigned-off-byonly once itscontributionsanswer isand
open([ADR-0053](decisions/project-template/0053-an-open-repository-asks-outside-contributors-to-sign-off-their-commits.md)).if ((Select-String -LiteralPath docs/README.md -SimpleMatch '[replies.md](replies.md)' -Quiet) -and (Select-String -LiteralPath docs/best-practices-badge.md -SimpleMatch 'unmet by choice' -Quiet) -and -not (Select-String -LiteralPath docs/best-practices-badge.md -SimpleMatch 'The project doesn''t ask for' -Quiet)) { exit 0 } else { exit 1 }[ ] 9. Say CodeQL runs through codeql.yml
docs/assurance-case.md(edit),docs/architecture.md(edit)docs/assurance-case.md's Static analysis bullet, replace fromCodeQL through GitHub's code scanning default setupto the bullet's end withCodeQL through.github/workflows/codeql.yml, for C# and GitHub Actions with thesecurity-extendedqueries, on every pull request intomain, a fork's too, every push tomain, the merge queue and weekly ([ADR-0044](decisions/project-template/0044-a-fork-pull-request-merges-without-a-bypass.md)). Themainruleset blocks a pull request that adds a CodeQL security alert of any severity or a CodeQL error or warning: read withgh api repos/NCodeGroup/Buffers/rulesets/26229931on 2026-11-17.,wrapped at 120 characters with two-space continuation indent. In
docs/architecture.md, replaceCodeQL scans the C# code and the workflows through GitHub's code+ newline +scanning default setup.withCodeQL scans the C# code and the workflows through.github/workflows/codeql.yml, on every pull request, a fork's too., rewrapping the paragraph at 120 characters.if ((Select-String -LiteralPath docs/assurance-case.md -SimpleMatch '.github/workflows/codeql.yml' -Quiet) -and (Select-String -LiteralPath docs/architecture.md -SimpleMatch '.github/workflows/codeql.yml' -Quiet) -and -not (Select-String -LiteralPath docs/assurance-case.md,docs/architecture.md -Pattern 'default setup' -Quiet)) { exit 0 } else { exit 1 }[ ] 10. Bring README.md to the .NET library layout and state the policy
README.md(edit)./.template/Test-Readme.ps1 -Fix, which puts the template's header block and a blank line at the top.Then delete the old header lines below it, from
<p align="center">with<img src="NCodeGroup.png" alt="NCode"throughthe badge row's
</p>(the old icon,<h1 align="center">NCode.Buffers</h1>, the description paragraph and the ninebadges), and put in their place, after the block and one blank line, the Codecov row the block lacks:
<p align="center">,<a href="https://codecov.io/gh/NCodeGroup/Buffers"><img alt="Coverage" src="https://codecov.io/gh/NCodeGroup/Buffers/branch/main/graph/badge.svg"></a>,</p>.After the paragraph
The [documentation site](https://buffers.ncode.io/) has ...add a blank line andIssues and discussion are welcome, and code is by invitation while the design settles, as [CONTRIBUTING.md](CONTRIBUTING.md) says.Rename
## Featuresto## Usage, changing nothing under it. In## Project, after thedocs/decisions/line add- [docs/replies.md](docs/replies.md): the replies the maintainers post to people outside the project../.template/Test-Readme.ps1; if (-not $? -or $LASTEXITCODE) { exit 1 }; if ((Select-String -LiteralPath README.md -SimpleMatch 'codecov.io/gh/NCodeGroup/Buffers' -Quiet) -and (Select-String -LiteralPath README.md -SimpleMatch 'code is by invitation while the design settles' -Quiet) -and (Select-String -LiteralPath README.md -Pattern '^<h1 ').Count -eq 1 -and -not (Select-String -LiteralPath README.md -Pattern '^## Features$' -Quiet)) { exit 0 } else { exit 1 }[ ] 11. Record the update in the changelog and pass the gate
CHANGELOG.md(edit)## [Unreleased]→### Changed, replace the entry that starts- The project follows project-template v0.113.1:with- The project follows project-template v0.145.0:scorecard.ymlpinsossf/scorecard-actionv2.6.0, which runs Scorecard v5.7.0,AGENTS.md,CONTRIBUTING.mdandGOVERNANCE.mdsay that where NCode Review's approver is set up, its approval meets the ruleset's required approval, Claude Code runs every Bash and PowerShell command without asking while its Read tool still can't read.envfiles or the rootsecrets/folder, andraise-baseline.yml,release-provenance.ymland the template's scripts take a version only in ASCII digits;code-review.ymlpins NCode Review v1.7.0, which reviews a pull request from a fork once it is ready and never approves it, and reviews and approves Dependabot's own pull requests; CodeQL runs through.github/workflows/codeql.yml, which analyzes every pull request, a fork's too, instead of GitHub's default setup; and CI checks that the SDK and the target framework are LTS releases Microsoft supports and thatREADME.mdopens with the header the template renders from.copier-answers.yml([ADR-0020](docs/decisions/project-template/0020-github-projects-are-scored-by-openssf-scorecard.md), [ADR-0036](docs/decisions/project-template/0036-a-required-approval-is-met-by-ncode-reviews-approver-app.md), [ADR-0041](docs/decisions/project-template/0041-ncode-review-reviews-and-approves-dependabots-pull-requests.md), [ADR-0043](docs/decisions/project-template/0043-ncode-review-reviews-a-forks-ready-pull-request-and-never-approves-it.md), [ADR-0044](docs/decisions/project-template/0044-a-fork-pull-request-merges-without-a-bypass.md), [ADR-0055](docs/decisions/project-template/0055-a-librarys-readme-header-is-a-template-owned-block.md), [ADR-0155](docs/decisions/project-template/0155-dotnet-code-targets-only-lts-releases-and-prose-names-no-dotnet-version.md), [NCodeGroup/project-template#491](https://github.com/NCodeGroup/project-template/pull/491), [NCodeGroup/project-template#492](https://github.com/NCodeGroup/project-template/issues/492)).and add after it
- The contribution policy iscurated: issues and discussion are welcome, and code is by invitation while the design settles, asREADME.mdandCONTRIBUTING.mdsay;docs/replies.mdholds the replies the maintainers post to people outside the project ([#136](https://github.com/NCodeGroup/Buffers/issues/136), [ADR-0052](docs/decisions/project-template/0052-each-repository-states-its-contribution-policy-and-the-baseline-enforces-it.md), [ADR-0058](docs/decisions/project-template/0058-a-projects-contribution-policy-is-cited-from-its-readme.md)).if (-not (Select-String -LiteralPath CHANGELOG.md -SimpleMatch 'project-template v0.145.0' -Quiet) -or -not (Select-String -LiteralPath CHANGELOG.md -SimpleMatch 'The contribution policy iscurated' -Quiet)) { exit 1 }; ./build/gate.ps1 -Fast; if (-not $? -or $LASTEXITCODE) { exit 1 } else { exit 0 }Review checklist
gh api repos/NCodeGroup/Buffers/code-scanning/default-setup --jq .languages(todayactions,csharp, both of whichcodeql.ymldetects), turn the default setup off withgh api -X PATCH repos/NCodeGroup/Buffers/code-scanning/default-setup -f state=not-configured, then re-run the pullrequest's failed Analyze jobs. Once it merges,
tools/Set-RepositoryBaseline.ps1 -Repo Buffers -Owner NCodeGroupfrom the template's clone mirrors
contributionsinto thecontribution-policyproperty (the coordinator runs it).## Usagereads right.docs/replies.mdspeaks for a curated project./decompose-issueand/offer-issuesload in a new session; NCode Review v1.7.0 reviews the nextpull request from
main'scode-review.yml; Dependabot's Bump NCodeGroup/code-review from 1.5.0 to 1.5.1 in the ncode-review group across 1 directory #133 (code-review v1.5.1) is obsolete.Follow-ups
# v1.7.0 was released on 2026-11-27from the header of.github/workflows/code-review.yml, since ADR-0009's commented exception goes once the version is three days old (code-review.yml pins NCode Review v1.7.0 without ADR-0009's exception before it is three days old project-template#602).polewskm commentedon Nov 29, 2026
Autopilot: follow-ups filed from this plan: #138 Remove the NCode Review v1.7.0 cooldown sentence from code-review.yml after 2026-11-30T21:24Z. Template gap filed: NCodeGroup/project-template#637. Landed in #137 (6476f36), with no release, since nothing a package ships changed.