Skip to content

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

Merged
polewskm merged 15 commits into
mainfrom
worktree-issue-25
Nov 29, 2026
Merged

polewskm merged 15 commits into
mainfrom
worktree-issue-25

Conversation

@polewskm

@polewskm polewskm commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Updates the repository from project-template v0.61.2 to v0.145.1 with -Data @{ contributions = 'curated' }, so .copier-answers.yml records contributions: curated (ADR-0052), and CONTRIBUTING.md, README.md and AGENTS.md state it: issues and discussion are welcome, and code is by invitation while the design settles. The same update answers repository, main_project and project_description for the README's header block.

  • The template's changes to the project-owned files are taken (AGENTS.md, CONTRIBUTING.md, SECURITY.md, the docs/ pages), docs/architecture.md and docs/assurance-case.md describe this library, and README.md follows the .NET library layout (ADR-0055). The package gets its own readme, NCode.Extensions.DataProtection/README.md, so nuget.org shows no template HTML header.
  • The stale NuGet logistics the update names are fixed: project.props, which nothing imported, moves into the project file, so the description and tags reach nuget.org again; GeneratePackageOnBuild and repeated settings go; the solution is .slnx; six files lose their BOM. version.json and Nerdbank.GitVersioning version the packages (AssemblyVersion stays 1.0.1.0 for 1.x), main.yml builds with full history, packs in a step of its own, sets .NET up with install-dotnet and pins its actions to SHAs, and each pack is validated against the published 1.0.1.
  • code-review.yml takes the template's file: NCode Review v1.7.0 with approve: true, the approver key (now stored in the code-review environment) and review-forks: true, under ADR-0009's commented cooldown exception until 2026-11-30T21:24Z; Drop NCode Review v1.7.0's cooldown exception #31 removes it.
  • NCode Review's first round: F4, F5, F7, F8 and F11 fixed (steps 15 and 16; Reach the OpenSSF Best Practices silver level #34 tracks the roadmap's silver-level item), F1, F3, F9, F10, F12 and F13 answered with why nothing changes.
  • Assumptions (Autopilot run): release: none stays, so this lands with no tag or release; draft: yes and pre-release: tracked are taken from the template; net8.0 (end of support) and net9.0 (STS) stay targeted with ProjectTemplateLtsCheck=false and Test-DotnetSupport.ps1 -WarnOnly until Drop the end-of-support net8.0 and STS net9.0 targets and the LTS check exceptions #32 decides their removal, a breaking change; .claude/settings.json's allow-all Bash/PowerShell is the template's merged default. CodeQL's default setup is turned off for the new codeql.yml, and the deleted Commit attribution check is removed from the "Protect main" ruleset. Step 14 (the gate) changed no file, so it has no commit.

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.Extensions.DataProtection.Tests/NCode.Extensions.DataProtection.Tests.csproj
NCode.Extensions.DataProtection/NCode.Extensions.DataProtection.csproj
NCode.Extensions.DataProtection/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 #25

@polewskm
polewskm deployed to code-review November 29, 2026 08:54 — 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 5d00752: 11 new findings on the changed lines.

Not on a changed line:

  • 🟡 F2 Nit: Publish step doesn't check that the package version matches the tag, that anything was packed, or for duplicates .github/workflows/main.yml:115. Is it intended that the publish job in main.yml pushes *.nupkg without checking that the package version matches the release tag, that a package was packed, or using --skip-duplicate? If not, a tag of v1.0.3 with version.json still at 1.0.2 would publish 1.0.2 to nuget.org, and a rerun after a partial push would fail. Fix: Before the push, add a step that fails when no package was packed or when a package's version differs from the tag without its leading v. Add --skip-duplicate to dotnet nuget push, and fail when every package is already on the feed.
  • 🟡 F6 Nit: Publish job runs only on a release event, not when tag-release.yml dispatches it .github/workflows/main.yml:91. tag-release.yml starts main.yml through workflow_dispatch. However, the publish job's if: and PUBLIC_RELEASE (lines 42 and 47) both test github.event_name == 'release', so a dispatched run skips publishing and builds with PublicRelease=false. With release: none nothing is affected today. Fix: Add a workflow_dispatch path, keyed on the dispatched ref being a version tag, to the publish condition and the PublicRelease expression. Alternatively, record that this project publishes only from a manually published release.

Comment thread .claude/settings.json Resolved
Comment thread version.json Resolved
Comment thread .github/workflows/main.yml Resolved
Comment thread .github/workflows/main.yml Resolved
Comment thread docs/assurance-case.md Resolved
Comment thread ROADMAP.md Resolved
Comment thread ROADMAP.md Resolved
Comment thread ROADMAP.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread .editorconfig Resolved
@ncode-review

ncode-review Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Superseded by the review at c5401d9.

@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 5d00752: 15 hunks in 5 files and changes taken back in 5 files, by correctness only. Earlier findings: F1 answered, F3 answered, F4 fixed, F5 fixed, F7 fixed, F8 fixed, F9 answered, F10 answered, F11 fixed, F12 answered, F13 answered. 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.10 on Amazon Bedrock, 20s, at c5401d9. (how to interact)

📋 Outcomes

Merged at c5401d9: 5 fixed, 6 dismissed, 0 acknowledged, 0 ignored.

Finding Reviewer Severity Outcome
F1 security, rule-check 🟡 Nit 👎 dismissed
F3 api-compat, rule-check 🟡 Nit 👎 dismissed
F4 architecture, rule-check 🟡 Nit ✅ fixed
F5 conventions, rule-check 🟡 Nit ✅ fixed
F7 conventions, rule-check 🟡 Nit ✅ fixed
F8 rule-check 🟡 Nit ✅ fixed
F9 conventions, rule-check 🟡 Nit 👎 dismissed
F10 hygiene 🟡 Nit 👎 dismissed
F11 rule-check 🟡 Nit ✅ fixed
F12 hygiene 🟡 Nit 👎 dismissed
F13 rule-check 🟡 Nit 👎 dismissed

@polewskm

Copy link
Copy Markdown
Contributor Author

Autopilot: ready to merge as far as this run can tell. One round of review feedback: NCode Review's 11 threads on 5d00752 were judged against the code; F4 and F5 were fixed in e9c8ba3 and F7, F8 and F11 in c5401d9 (#34 tracks the roadmap's silver-level item), and F1, F3, F9, F10, F12 and F13 were answered with why nothing changes. F2 and F6, which the summary lists without threads, are #24's main.yml hardening and publishing decisions, left to the maintainer; F6 doesn't apply while release: none keeps tag-release.yml from dispatching. NCode Review's re-review of c5401d9 approves with no findings, and the required checks (build, build-and-test, test) and CodeQL pass. No finding was left as a follow-up. Every protected path this pull request changes is listed under "Protected paths changed:" in the description. Every thread is answered; this run resolves them before it merges, as the maintainer authorized.

@polewskm
polewskm marked this pull request as ready for review November 29, 2026 09:11
@polewskm
polewskm deployed to code-review November 29, 2026 09:12 — with GitHub Actions Active
@polewskm
polewskm merged commit 65baf24 into main Nov 29, 2026
14 checks passed
@polewskm
polewskm deleted the worktree-issue-25 branch November 29, 2026 09:13

This branch was successfully deployed

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