Skip to content

Update to project-template v0.145.1 recording the curated policy - #34

Merged
polewskm merged 17 commits into
mainfrom
worktree-issue-26
Nov 29, 2026
Merged

polewskm merged 17 commits into
mainfrom
worktree-issue-26

Conversation

@polewskm

@polewskm polewskm commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Updates the project from project-template v0.61.2 to v0.145.1 with .\.template\Update-Project.ps1 -Data @{ contributions = 'curated'; repository = ...; main_project = ...; project_description = ... }, so .copier-answers.yml records contributions: curated (ADR-0052), and CONTRIBUTING.md and README.md state it in the template's words: issues and discussion are welcome, and code is by invitation while the design settles.

  • The template's changes to project-owned files are taken: AGENTS.md (Outside Contributions; the pre-release, draft: yes, board and planning keys), CONTRIBUTING.md, SECURITY.md and the docs/ pages, whose ragged rendered paragraphs are rewrapped and whose architecture page now describes the components. Directory.Packages.props' conflict keeps the project's package versions.
  • README.md follows the .NET library layout (ADR-0055): the template-rendered header, the policy sentence, then Installation, Quick start, Usage, the project's own sections, Project and License. Each package now carries its own README.md, so nuget.org shows no template HTML header.
  • code-review.yml takes the template's file and pins NCode Review v1.7.0 under ADR-0009's commented cooldown exception until 2026-11-30T21:24Z (Drop NCode Review v1.7.0's cooldown exception #32 removes it). With it, NCode Review approves a clean pull request through the NCode Review Approver, whose key is now stored in the code-review environment; reviews and approves Dependabot's pull requests after each Dependabot push (synchronize, ADR-0041); and reviews a fork's pull request once it is ready, never approving it (review-forks, ADR-0043).
  • Nerdbank.GitVersioning versions the packages from version.json (1.0.1): main.yml checks out full history, drops -p:Version, packs explicitly, fails a release whose packages don't carry the tag's version, and pushes with --skip-duplicate. The update's stale NuGet logistics are fixed here: project.props moves into the project files (the packages' Description and tags reach nuget.org again), GeneratePackageOnBuild and repeated settings go, the solution becomes .slnx, byte order marks go, and packs validate against 1.0.0 (ADR-0147).
  • Other template changes the update brings: .claude/settings.json lets Claude Code run Bash and PowerShell, git push included, without a prompt, as the template has since v0.69.0 (Instructions still say git push always asks for approval; settings.json allows it since v0.69.0 project-template#308; the pull request and its review remain the gate), and adds a SessionStart hook; ci.yml adds the reproducible-build job and a workflow_call trigger and drops the edited pull request type, which only the removed Commit attribution check needed; .editorconfig exempts xunit's generated XunitAutoGeneratedEntryPoint.cs from RS0030, the banned-API check, since that file isn't the project's code.
  • .NET 8 is past its end of support, so CI's Check .NET support warns instead of failing until Move the packages off .NET 8, past its end of support #33, which needs the maintainer's decision on the version, drops net8.0. The roadmap, the maintainers' names and the assurance case's requirements are the maintainers' to write (Fill in the roadmap, the maintainers and the assurance case #35).

Assumptions (Autopilot run, no questions asked): target v0.145.1, the newest template tag; release: none stays, so there is no Release: line and nothing publishes (#25 leaves publishing to the maintainer); the Commit attribution check, which the template removed (ADR-0018), was taken off the Protect main ruleset's required checks, and CodeQL's default setup was turned off so codeql.yml's Analyze jobs can upload.

Protected paths changed:
.claude/commands/address-feedback.md
.claude/commands/analyze-architecture.md
.claude/commands/analyze-decision.md
.claude/commands/best-practices.md
.claude/commands/continue-plan.md
.claude/commands/decompose-issue.md
.claude/commands/execute-step.md
.claude/commands/finish-plan.md
.claude/commands/handoff-plan.md
.claude/commands/offer-issues.md
.claude/commands/orchestrate-plan.md
.claude/commands/plan-bugfix.md
.claude/commands/plan-docs.md
.claude/commands/plan-feature.md
.claude/commands/plan-issue.md
.claude/commands/plan-migration.md
.claude/commands/plan-performance.md
.claude/commands/plan-refactor.md
.claude/commands/plan-security.md
.claude/commands/plan-template-update.md
.claude/commands/plan-tests.md
.claude/commands/replan-step.md
.claude/commands/review-plan-diff.md
.claude/commands/run-feedback.md
.claude/commands/run-issues-all-in.md
.claude/commands/run-issues.md
.claude/commands/ship-plan.md
.claude/commands/triage-issues.md
.claude/hooks/ensure-pwsh.sh
.claude/hooks/session-start.sh
.claude/settings.json
.copier-answers.yml
.githooks/commit-msg
.githooks/pre-push
.github/actions/install-dotnet/action.yml
.github/agents/copilot-implementer.agent.md
.github/agents/copilot-orchestrator.agent.md
.github/agents/copilot-planner.agent.md
.github/agents/copilot-reviewer.agent.md
.github/agents/plan-executor.agent.md
.github/dependabot.yml
.github/instructions/csharp-tests.instructions.md
.github/instructions/csharp.instructions.md
.github/instructions/project-template.instructions.md
.github/prompts/address-feedback.prompt.md
.github/prompts/analyze-architecture.prompt.md
.github/prompts/analyze-decision.prompt.md
.github/prompts/best-practices.prompt.md
.github/prompts/continue-plan.prompt.md
.github/prompts/decompose-issue.prompt.md
.github/prompts/execute-step.prompt.md
.github/prompts/finish-plan.prompt.md
.github/prompts/handoff-plan.prompt.md
.github/prompts/offer-issues.prompt.md
.github/prompts/orchestrate-plan.prompt.md
.github/prompts/plan-bugfix.prompt.md
.github/prompts/plan-docs.prompt.md
.github/prompts/plan-feature.prompt.md
.github/prompts/plan-issue.prompt.md
.github/prompts/plan-migration.prompt.md
.github/prompts/plan-performance.prompt.md
.github/prompts/plan-refactor.prompt.md
.github/prompts/plan-security.prompt.md
.github/prompts/plan-template-update.prompt.md
.github/prompts/plan-tests.prompt.md
.github/prompts/replan-step.prompt.md
.github/prompts/review-plan-diff.prompt.md
.github/prompts/run-feedback.prompt.md
.github/prompts/run-issues-all-in.prompt.md
.github/prompts/run-issues.prompt.md
.github/prompts/ship-plan.prompt.md
.github/prompts/triage-issues.prompt.md
.github/skills/address-feedback/SKILL.md
.github/skills/analyze-architecture/SKILL.md
.github/skills/analyze-decision/SKILL.md
.github/skills/best-practices/SKILL.md
.github/skills/continue-plan/SKILL.md
.github/skills/decompose-issue/SKILL.md
.github/skills/execute-step/SKILL.md
.github/skills/finish-plan/SKILL.md
.github/skills/handoff-plan/SKILL.md
.github/skills/offer-issues/SKILL.md
.github/skills/orchestrate-plan/SKILL.md
.github/skills/plan-bugfix/SKILL.md
.github/skills/plan-docs/SKILL.md
.github/skills/plan-feature/SKILL.md
.github/skills/plan-issue/SKILL.md
.github/skills/plan-migration/SKILL.md
.github/skills/plan-performance/SKILL.md
.github/skills/plan-refactor/SKILL.md
.github/skills/plan-security/SKILL.md
.github/skills/plan-template-update/SKILL.md
.github/skills/plan-tests/SKILL.md
.github/skills/replan-step/SKILL.md
.github/skills/review-plan-diff/SKILL.md
.github/skills/run-feedback/SKILL.md
.github/skills/run-issues-all-in/SKILL.md
.github/skills/run-issues/SKILL.md
.github/skills/ship-plan/SKILL.md
.github/skills/triage-issues/SKILL.md
.github/workflows/ci.yml
.github/workflows/code-review-auto-merge.yml
.github/workflows/code-review.yml
.github/workflows/codeql.yml
.github/workflows/copilot-setup-steps.yml
.github/workflows/main.yml
.github/workflows/scorecard.yml
.github/workflows/tag-release.yml
.github/workflows/template-update.yml
.template/Get-PlanState.ps1
.template/Get-TemplateUpdate.ps1
.template/Publish-Release.ps1
.template/Test-AdrIndex.ps1
.template/Test-CommitAttribution.ps1
.template/Test-Coverage.ps1
.template/Test-FileHeaders.ps1
.template/Test-Readme.ps1
.template/Test-ReproducibleBuild.ps1
.template/Update-Project.ps1
AGENTS.md
CLAUDE.md
Directory.Build.props
Directory.Packages.props
NCode.Mediator.Abstractions/NCode.Mediator.Abstractions.csproj
NCode.Mediator.Abstractions/project.props
NCode.Mediator.Tests/NCode.Mediator.Tests.csproj
NCode.Mediator/NCode.Mediator.csproj
NCode.Mediator/project.props
build/Get-TestRuntimes.ps1
build/Install-Dotnet.ps1
build/ProjectTemplate.props
build/Test-DotnetSupport.ps1
build/Update-Baseline.ps1
build/Update-PublicApi.ps1
build/dod.ps1

Closes #26

Records contributions: curated (ADR-0052), with the repository, main_project and project_description answers the README header block renders. Directory.Packages.props keeps the project's package versions.
CONTRIBUTING.md states the curated contribution policy and gains the template's review requirements; SECURITY.md promises an acknowledgement within 14 days.
Adds the Outside Contributions section for the curated policy and the Landing section's pre-release, board and planning keys; draft: yes, since NCode Review's approver is set up.
Pins v1.7.0 in both jobs under ADR-0009's commented cooldown exception until 2026-11-30T21:24Z (#32 removes it), and approves through the NCode Review Approver, reviewing Dependabot's and forks' pull requests as the template's file does.
Each package's Description and PackageTags reach its package again: no project imported project.props since the v0.61.2 adoption. GeneratePackageOnBuild, which races with dotnet pack (NU5026), and the settings build/ProjectTemplate.props already makes are gone.
Sets PackageValidationBaselineVersion to 1.0.0 (ADR-0147) and drops DocumentationFile and the Microsoft.SourceLink.GitHub version, which build/ProjectTemplate.props and the SDK already provide.
main.yml checks out full history, which Nerdbank.GitVersioning needs, builds a release with -p:PublicRelease=true instead of -p:Version, which it ignores, and packs explicitly now that GeneratePackageOnBuild is gone.
build/ProjectTemplate.props packs a project's own README.md, so nuget.org shows a Markdown readme for each package instead of the root README, whose template header block is HTML.
dotnet sln migrate writes NCode.Mediator.slnx, the format the template and current SDKs use, and the ReSharper settings follow it; nine files lose the UTF-8 byte order mark the template's encoding rule forbids.
README.md opens with the template's header block (ADR-0055), states the curated contribution policy, and orders its sections Installation, Quick start, Usage, the project's own, Project and License; the header replaces the old title, description and badges.
@polewskm
polewskm deployed to code-review November 29, 2026 08:18 — with GitHub Actions Active

@ncode-review ncode-review Bot 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.

🤖 NCode Review at 230f9ef: 10 new findings on the changed lines.

Not on a changed line:

  • 🟡 F11 Nit: README names specific .NET versions README.md:202. The Target Frameworks section lists ".NET 8.0" and ".NET 10.0", while ADR-0155 item 4 says prose names releases by role, not number. Fix: Should this change in this update? If so, describe the targets by role or point to the project files.

Comment thread .claude/settings.json Resolved
Comment thread .github/workflows/main.yml Resolved
Comment thread .github/workflows/code-review.yml Resolved
Comment thread NCode.Mediator/NCode.Mediator.csproj Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread ROADMAP.md Resolved
Comment thread docs/best-practices-badge.md Resolved
Comment thread docs/api-compatibility.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread GOVERNANCE.md Resolved
@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Superseded by the review at c1cf8b0.

Nerdbank.GitVersioning takes the version from version.json, not the tag, so a release whose tag doesn't match it fails before anything is pushed; the push skips packages nuget.org already has, so a rerun after a partial push completes.
docs/architecture.md names the two packages and the tests and what each does; the paragraphs the update rendered with ragged lines in GOVERNANCE.md, docs/architecture.md and docs/assurance-case.md wrap at 120 columns, words unchanged.
…eadmes

README.md's Target Frameworks section names no .NET version (ADR-0155) and points to the project files and the badge; each package readme registers its example handler.
@polewskm

Copy link
Copy Markdown
Contributor Author

/review

@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🤖 Review complete

Verdict: ✅ Approve — Re-review of what changed since the last review at 230f9ef: 12 hunks in 7 files and changes taken back in 7 files, by correctness only. Earlier findings: F1 answered, F2 fixed, F3 answered, F4 fixed, F5 answered, F6 answered, F7 answered, F8 answered, F9 answered, F10 fixed. No further findings above nits.

1 reviewer run — 0 findings (run details)

Reviewer Model Findings Top
correctness sonnet-5-5 0 🟢

Trial: findings are posted as review threads and in the check run. $0.09 on Amazon Bedrock, 20s, at c1cf8b0. (how to interact)

📋 Outcomes

Merged at c1cf8b0: 4 fixed, 6 dismissed, 0 acknowledged, 0 ignored.

Finding Reviewer Severity Outcome
F1 intent, security, rule-check 🟠 Should fix 👎 dismissed
F2 architecture, rule-check 🟠 Should fix ✅ fixed
F3 intent 🟡 Nit 👎 dismissed
F4 conventions, rule-check 🟡 Nit ✅ fixed
F5 rule-check, intent 🟡 Nit 👎 dismissed
F6 hygiene 🟡 Nit ✅ fixed
F7 hygiene 🟡 Nit 👎 dismissed
F8 hygiene 🟡 Nit 👎 dismissed
F9 hygiene 🟡 Nit 👎 dismissed
F10 rule-check 🟡 Nit ✅ fixed

@polewskm

Copy link
Copy Markdown
Contributor Author

Autopilot: this pull request is ready to merge as far as this run can tell.

Protected paths this pull request changes: 135, listed under "Protected paths changed" in the description; all come from the template update or its follow-on edits to AGENTS.md, the workflows, .copier-answers.yml and the project files.

@polewskm
polewskm marked this pull request as ready for review November 29, 2026 08:36
@polewskm
polewskm deployed to code-review November 29, 2026 08:36 — with GitHub Actions Active
@polewskm
polewskm merged commit 3e1b8bb into main Nov 29, 2026
14 checks passed
@polewskm
polewskm deleted the worktree-issue-26 branch November 29, 2026 08:36

This branch was successfully deployed

1 active deployment
code-review — c1cf8b06 Deployed Nov 29, 2026 by polewskm via review #75
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.

Update to project-template v0.112.2

1 participant