From 21a95f872e08335da16dda476fb1b6fdadeb720d Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Sun, 29 Nov 2026 04:33:12 -0700 Subject: [PATCH 1/5] Plan step 1: Update docs/assurance-case.md --- docs/assurance-case.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/assurance-case.md b/docs/assurance-case.md index f5c169e..d749737 100644 --- a/docs/assurance-case.md +++ b/docs/assurance-case.md @@ -33,9 +33,11 @@ user-facing summary. refuses a tag that isn't a version or names a commit `master` doesn't hold, and `master` takes changes only through a pull request approved after its last push, with every conversation resolved, CI's `build-and-test` check passing on a branch up to date with `master`, and no new CodeQL alert at warning level or above or security alert of any - severity. The `Protect release tags` ruleset refuses moving or deleting a `v*` tag. The `publish` job exchanges its - OIDC token for a short-lived nuget.org key through trusted publishing, so no API key is stored, and once the packages - are pushed, `release-provenance.yml` attaches signed build provenance and an SBOM to the release + severity. The `Protect release tags` ruleset refuses moving or deleting a `v*` tag. As of 2026-11-29, the `publish` + job runs in the `nuget` environment, which deploys only `v*` tags and waits for a maintainer to approve each + publication. The job exchanges its OIDC token for a short-lived nuget.org key through trusted publishing, so no API + key is stored, and once the packages are pushed, `release-provenance.yml` attaches signed build provenance and an + SBOM to the release ([ADR-0135](decisions/project-template/0135-packages-are-published-from-a-github-release-through-trusted-publishing.md), [ADR-0139](decisions/project-template/0139-releases-carry-build-provenance.md)). - **R8.** The jobs that build and test the code hold `contents: read` alone, and their checkouts keep no credentials @@ -56,10 +58,8 @@ Users must not rely on what these requirements don't say: - When Windows refuses a junction's reparse data, `CreateJunction` throws and leaves behind the empty folder it made. - `Set-TargetResource` replaces whatever is at `Path`, a file included, so a configuration's `Path` must name a place meant for the link. -- As of 2026-11-29, Settings > Environments > `nuget` has no required reviewer, so `publish.yml` pushes a package to - nuget.org without a maintainer's approval ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)), and - v1.1.0, the first release `publish.yml` handled, is not on nuget.org and carries no provenance or SBOM: its publish - stopped at the nuget.org login, which needs a trusted publishing policy +- As of 2026-11-29, v1.1.0, the first release `publish.yml` handled, is not on nuget.org and carries no provenance or + SBOM: its publish stopped at the nuget.org login, which needs a trusted publishing policy ([#9](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/9)). The approval each pull request needs is given by `ncode-review-approver[bot]` after a clean NCode Review ([ADR-0036](decisions/project-template/0036-a-required-approval-is-met-by-ncode-reviews-approver-app.md)): with one @@ -150,7 +150,8 @@ GitHub or nuget.org account, and a maintainer with write access acting against t ([ADR-0101](decisions/project-template/0101-central-package-management.md)). - **Release integrity:** packages are deterministic and source-linked ([ADR-0130](decisions/project-template/0130-source-link-and-symbol-packages.md)). `publish.yml` builds them from a tagged commit the default branch holds and pushes them through - nuget.org trusted publishing with no stored key, from the `nuget` environment, which has no required reviewer yet + nuget.org trusted publishing with no stored key, from the `nuget` environment, which, as of 2026-11-29, deploys only + `v*` tags and where a maintainer approves each publication ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23), [ADR-0135](decisions/project-template/0135-packages-are-published-from-a-github-release-through-trusted-publishing.md), [ADR-0137](decisions/project-template/0137-the-release-workflow-starts-package-publishing.md)), and once they are From f462cd96db3cc1c9b21627e67e0750b6dda794ad Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Sun, 29 Nov 2026 04:33:21 -0700 Subject: [PATCH 2/5] Plan step 2: Update GOVERNANCE.md --- GOVERNANCE.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/GOVERNANCE.md b/GOVERNANCE.md index b588c79..df805e5 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -7,7 +7,7 @@ what and how decisions are made. | Role | Who | Responsibilities | | --- | --- | --- | -| Maintainer | [@polewskm](https://github.com/polewskm) | Sets direction, triages issues, reviews and merges pull requests, approves each publication in the `nuget` environment once it requires a reviewer ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)), answers vulnerability reports, owns the repository's settings and the nuget.org packages | +| Maintainer | [@polewskm](https://github.com/polewskm) | Sets direction, triages issues, reviews and merges pull requests, approves each publication in the `nuget` environment, answers vulnerability reports, owns the repository's settings and the nuget.org packages | | Contributor | Anyone | 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) | | Automation | `ncode-review[bot]`, `ncode-review-approver[bot]`, Dependabot, GitHub Actions | Reviews and approves a clean pull request, as `ncode-review-approver[bot]` where NCode Review's approver is set up, whose approval meets the ruleset's required approval ([ADR-0036](docs/decisions/project-template/0036-a-required-approval-is-met-by-ncode-reviews-approver-app.md)), proposes dependency updates, runs CI, tags and publishes releases; never merges a pull request except the pin bump `code-review-auto-merge.yml` merges once the required checks pass and, 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 | @@ -28,9 +28,8 @@ Everyone with write access submits only work they have the right to submit under Versions follow Semantic Versioning. Releases are tagged and published as [ADR-0016](docs/decisions/project-template/0016-releases-are-tagged-and-published-when-their-pull-request-merges.md) -records. Packages reach nuget.org only through `publish.yml`'s `nuget` environment, where a maintainer approves each -publication once the environment requires a reviewer, which it doesn't as of 2026-11-29 -([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)). [SECURITY.md](SECURITY.md) says how to verify a +records. As of 2026-11-29, packages reach nuget.org only through `publish.yml`'s `nuget` environment, which deploys +only `v*` tags and where a maintainer approves each publication. [SECURITY.md](SECURITY.md) says how to verify a package. ## Continuity From 27bf2e30ea6e8475b03f9333bc1f49baca48bc02 Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Sun, 29 Nov 2026 04:33:30 -0700 Subject: [PATCH 3/5] Plan step 3: Update docs/architecture.md and ROADMAP.md --- ROADMAP.md | 3 +-- docs/architecture.md | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 08c9ece..0093939 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -17,8 +17,7 @@ maintainers say whether it fits. - **OpenSSF Best Practices.** Reach the silver level, which needs a second owner for continuity ([GOVERNANCE.md](GOVERNANCE.md#continuity), [docs/best-practices-badge.md](docs/best-practices-badge.md)). - **Publishing.** Publish 1.1.0 to nuget.org, which needs the trusted publishing policy for `publish.yml` - ([#9](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/9)), and require a maintainer's approval in the - `nuget` environment ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)). + ([#9](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/9)). - **Requests from users.** Decide on a strong-named package ([#1](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/1)) and on reporting a hard link's other names, whose `Target` is `null` because a hard link has no single target diff --git a/docs/architecture.md b/docs/architecture.md index 2d2ac44..b5c7a6c 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -40,8 +40,7 @@ CI runs the project's commands on every pull request (`.github/workflows/ci.yml`). Releases are tagged and published as [ADR-0016](decisions/project-template/0016-releases-are-tagged-and-published-when-their-pull-request-merges.md) records. `publish.yml` tests and packs the tagged commit, pushes to nuget.org through trusted publishing from the -`nuget` environment, which has no required reviewer yet -([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)), and calls `release-provenance.yml` and -`raise-baseline.yml` +`nuget` environment, which, as of 2026-11-29, deploys only `v*` tags and where a maintainer approves each publication, +and calls `release-provenance.yml` and `raise-baseline.yml` ([ADR-0137](decisions/project-template/0137-the-release-workflow-starts-package-publishing.md), [ADR-0151](decisions/project-template/0151-release-follow-ups-are-jobs-publish-calls.md)). From bae1610107e12469f6130155a7556374d0132545 Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Sun, 29 Nov 2026 04:33:37 -0700 Subject: [PATCH 4/5] Plan step 4: Write the changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7010c5f..e7ef450 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Changed - `GOVERNANCE.md` names the maintainer and the owner, `ROADMAP.md` lists the plans for the next twelve months and what isn't planned, and `docs/assurance-case.md` states the security requirements, the threat model, the design principles applied and the weaknesses countered. ([#19](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/19)) +- `GOVERNANCE.md`, `ROADMAP.md`, `docs/architecture.md` and `docs/assurance-case.md` say that a maintainer approves each publication in the `nuget` environment, which deploys only `v*` tags. ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23)) ## [1.1.0] - 2026-11-29 From c45034fb5443f286b93dc467dfabafab47dbfc7c Mon Sep 17 00:00:00 2001 From: Marcin Polewski Date: Sun, 29 Nov 2026 04:39:02 -0700 Subject: [PATCH 5/5] Plan step 5: Drop the #23 link from the Release integrity evidence --- docs/assurance-case.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/assurance-case.md b/docs/assurance-case.md index d749737..3bd59c8 100644 --- a/docs/assurance-case.md +++ b/docs/assurance-case.md @@ -152,8 +152,7 @@ GitHub or nuget.org account, and a maintainer with write access acting against t ([ADR-0130](decisions/project-template/0130-source-link-and-symbol-packages.md)). `publish.yml` builds them from a tagged commit the default branch holds and pushes them through nuget.org trusted publishing with no stored key, from the `nuget` environment, which, as of 2026-11-29, deploys only `v*` tags and where a maintainer approves each publication - ([#23](https://github.com/NCodeGroup/NCode.ReparsePoints/issues/23), - [ADR-0135](decisions/project-template/0135-packages-are-published-from-a-github-release-through-trusted-publishing.md), + ([ADR-0135](decisions/project-template/0135-packages-are-published-from-a-github-release-through-trusted-publishing.md), [ADR-0137](decisions/project-template/0137-the-release-workflow-starts-package-publishing.md)), and once they are pushed, the release gets signed provenance and an SBOM ([ADR-0139](decisions/project-template/0139-releases-carry-build-provenance.md), [ADR-0151](decisions/project-template/0151-release-follow-ups-are-jobs-publish-calls.md)). [SECURITY.md](../SECURITY.md#verify-a-package) says how to verify a package.