Repository navigation
Update to project-template v0.145.1 recording the curated policy - #33
Conversation
…d set the package validation baseline
….7.0's cooldown exception
…nents and the assurance case
There was a problem hiding this comment.
🤖 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 leadingv. Add--skip-duplicatetodotnet nuget push, and fail when every package is already on the feed. - 🟡 F6 Nit: Publish job runs only on a
releaseevent, not when tag-release.yml dispatches it.github/workflows/main.yml:91. tag-release.yml starts main.yml throughworkflow_dispatch. However, the publish job'sif:andPUBLIC_RELEASE(lines 42 and 47) both testgithub.event_name == 'release', so a dispatched run skips publishing and builds with PublicRelease=false. Withrelease: nonenothing is affected today. Fix: Add aworkflow_dispatchpath, keyed on the dispatched ref being a version tag, to the publish condition and thePublicReleaseexpression. Alternatively, record that this project publishes only from a manually published release.
|
Superseded by the review at c5401d9. |
…ng and link the silver-level issue
|
/review |
🤖 Review completeVerdict: ✅ 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)
Trial: findings are posted as review threads and in the check run. $0.10 on Amazon Bedrock, 20s, at c5401d9. (how to interact) 📋 OutcomesMerged at c5401d9: 5 fixed, 6 dismissed, 0 acknowledged, 0 ignored.
|
|
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 |
Updates the repository from project-template v0.61.2 to v0.145.1 with
-Data @{ contributions = 'curated' }, so.copier-answers.ymlrecordscontributions: curated(ADR-0052), andCONTRIBUTING.md,README.mdandAGENTS.mdstate it: issues and discussion are welcome, and code is by invitation while the design settles. The same update answersrepository,main_projectandproject_descriptionfor the README's header block.AGENTS.md,CONTRIBUTING.md,SECURITY.md, thedocs/pages),docs/architecture.mdanddocs/assurance-case.mddescribe this library, andREADME.mdfollows 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.project.props, which nothing imported, moves into the project file, so the description and tags reach nuget.org again;GeneratePackageOnBuildand repeated settings go; the solution is.slnx; six files lose their BOM.version.jsonand Nerdbank.GitVersioning version the packages (AssemblyVersion stays 1.0.1.0 for 1.x),main.ymlbuilds with full history, packs in a step of its own, sets .NET up withinstall-dotnetand pins its actions to SHAs, and each pack is validated against the published 1.0.1.code-review.ymltakes the template's file: NCode Review v1.7.0 withapprove: true, the approver key (now stored in thecode-reviewenvironment) andreview-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.release: nonestays, so this lands with no tag or release;draft: yesandpre-release: trackedare taken from the template; net8.0 (end of support) and net9.0 (STS) stay targeted withProjectTemplateLtsCheck=falseandTest-DotnetSupport.ps1 -WarnOnlyuntil 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-allBash/PowerShellis the template's merged default. CodeQL's default setup is turned off for the newcodeql.yml, and the deletedCommit attributioncheck 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