From 7f9204f2c5cdffd788cc7f5631cfdd5021580be9 Mon Sep 17 00:00:00 2001 From: Vibe Nuage Agent Date: Tue, 24 Nov 2026 19:00:19 +0000 Subject: [PATCH 1/4] chore(template): bump version to 0.4.3 --- .template/CHANGELOG-TEMPLATE.md | 31 ++++++++++++++++++++++++++++++- README.md | 4 ++-- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.template/CHANGELOG-TEMPLATE.md b/.template/CHANGELOG-TEMPLATE.md index cc4cfafd..24df33be 100644 --- a/.template/CHANGELOG-TEMPLATE.md +++ b/.template/CHANGELOG-TEMPLATE.md @@ -33,6 +33,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.4.3] - 2026-11-24 + +### Added + +- for new features. + +### Changed + +- for changes in existing functionality. + +### Deprecated + +- for soon-to-be removed features. + +### Removed + +- for now removed features. + +### Fixed + +- for any bug fixes. + +### Security + +- in case of vulnerabilities. + +--- + ## [0.4.2] - 2026-11-13 ### Added @@ -639,7 +667,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rust 2024 edition formatting (rustfmt.toml) - Clippy configuration (.clippy.toml) -[Unreleased]: https://github.com/d-oit/rust-2026-template/compare/v0.4.2...HEAD +[Unreleased]: https://github.com/d-oit/rust-2026-template/compare/v0.4.3...HEAD +[0.4.3]: https://github.com/d-oit/rust-2026-template/compare/v0.4.2...v0.4.3 [0.4.2]: https://github.com/d-oit/rust-2026-template/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/d-oit/rust-2026-template/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/d-oit/rust-2026-template/compare/v0.3.11...v0.4.0 diff --git a/README.md b/README.md index 0a08e53f..f3a1f2ea 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ [![codecov](https://codecov.io/gh/d-oit/rust-2026-template/graph/badge.svg)](https://codecov.io/gh/d-oit/rust-2026-template) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![MSRV](https://img.shields.io/badge/MSRV-1.88-blue.svg)](https://www.rust-lang.org) -[![Template Version](https://img.shields.io/badge/version-0.4.2-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.2) +[![Template Version](https://img.shields.io/badge/version-0.4.3-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.3) -**Latest release: v0.4.2** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog. +**Latest release: v0.4.3** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog. A production-ready Rust workspace template with modern tooling, CI/CD and AI agent integration. From d802692ce8d466bc4d5064d3809296610647deaf Mon Sep 17 00:00:00 2001 From: Vibe Nuage Agent Date: Tue, 24 Nov 2026 19:06:41 +0000 Subject: [PATCH 2/4] docs(workflow): require changelog entries and refuse empty template bumps --- .template/CHANGELOG-TEMPLATE.md | 27 ++++++++++----------------- AGENTS.md | 5 +++-- scripts/bump-template-version.sh | 16 ++++++++++++++++ 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/.template/CHANGELOG-TEMPLATE.md b/.template/CHANGELOG-TEMPLATE.md index 24df33be..5a708eda 100644 --- a/.template/CHANGELOG-TEMPLATE.md +++ b/.template/CHANGELOG-TEMPLATE.md @@ -37,29 +37,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- for new features. +- `actions.lock` pins every GitHub Actions dependency the workflows reference, following the same reviewable-lockfile pattern as `Cargo.lock`. `.github/actionlint.yaml` declares the annotations the self-repository action references carry, and the template lockfile refresh checklist plus a workflow contract test pin `actions.lock` reviewability so the diff is meant to be reviewed, not silently regenerated. +- Cargo's three-day publication cooldown is enabled in `.cargo/config.toml`, so freshly republished dependency versions cannot be picked up for three days. +- Workflow contract tests enforce the Dependabot auto-merge contract on `dependabot-auto-merge.yml`, and the contract suite now also pins `actions.lock` reviewability. ### Changed -- for changes in existing functionality. - -### Deprecated - -- for soon-to-be removed features. - -### Removed - -- for now removed features. +- Dependency resolution and toolchain policy are hardened: `rust-toolchain.toml` tracks current `stable` for development while `Cargo.toml` still declares the Rust 1.88 MSRV as the compatibility target under audit, GitHub Actions dependencies are locked in `actions.lock`, and self-repository action references are annotated with `nosemgrep` so Opengrep does not misclassify GitHub's `$/` interpolation as an unpinned third-party action (`#514`, `#515`, `#516`). +- The native Dependabot auto-merge workflow is hardened against untrusted branch and head-repository inputs before enabling auto-merge. +- The merge-policy ruleset migration is complete: the live `main` ruleset requires the `PR Merge Policy Gate` context and no longer carries the direct Codacy context, and the seven-day shadow-window evidence is recorded in the required-checks runbook. +- `taiki-e/install-action` is bumped from 2.90.1 to 2.90.6 and `peter-evans/create-pull-request` from 8.1.1 to 8.1.3 (`#513`, `#525`). ### Fixed -- for any bug fixes. - -### Security - -- in case of vulnerabilities. - ---- +- The security scanner no longer falls back to a mutable image reference, and deprecated release runner labels are gone while the release target matrix is unchanged (`#517`, `#518`). +- The fuzz license exception in `deny.toml` is scoped to the actual fuzz targets, the intended overlap between the lint policy and Syn's own lints is documented, and the release workflow's shell lint findings are cleared. +- The Dependabot workflow contract test no longer shadows its loop variable, which made one assertion assert against the wrong workflow. ## [0.4.2] - 2026-11-13 diff --git a/AGENTS.md b/AGENTS.md index e60b35be..6f7061f1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -107,8 +107,9 @@ Derived repositories should check `.agents/context/` for shared conventions and 2. **Plan:** Identify affected files and required test coverage. 3. **Test-First:** Add or update tests before logic implementation. 4. **Implement:** Write code adhering to conventions. -5. **Quality Check:** Run `./scripts/quality-gates.sh`. -6. **Commit:** Use conventional commit format. +5. **Changelog:** Record every user-visible change under `## [Unreleased]` in `.template/CHANGELOG-TEMPLATE.md` in the same PR; a template release promotes that section and refuses to promote it while it holds only skeleton placeholders. +6. **Quality Check:** Run `./scripts/quality-gates.sh`. +7. **Commit:** Use conventional commit format. ### Stacked PRs (Optional) diff --git a/scripts/bump-template-version.sh b/scripts/bump-template-version.sh index a3c4d086..13e13c06 100755 --- a/scripts/bump-template-version.sh +++ b/scripts/bump-template-version.sh @@ -136,6 +136,22 @@ if grep -qF "[${NEXT_VERSION}]:" "$CHANGELOG"; then die "Link footer already contains [${NEXT_VERSION}]: — refusing to duplicate" fi +# A release promotes the entries that accumulated under [Unreleased]; promoting +# a skeleton-only section publishes a version with an empty changelog. Reject +# the bump until the release is documented in .template/CHANGELOG-TEMPLATE.md. +unreleased_entries="$(awk '/^## \\[Unreleased\\]$/{flag=1; next} /^## /{flag=0} flag' "$CHANGELOG" \ + | grep -E '^- ' \ + | grep -vF \ + -e '- for new features.' \ + -e '- for changes in existing functionality.' \ + -e '- for soon-to-be removed features.' \ + -e '- for now removed features.' \ + -e '- for any bug fixes.' \ + -e '- in case of vulnerabilities.' || true)" +if [[ -z "${unreleased_entries}" ]]; then + die "No changes recorded under [Unreleased] in $CHANGELOG — document the release there before promoting" +fi + # ── 1. Update `.template/CHANGELOG-TEMPLATE.md` ───────────────────────────── if $EXECUTE; then # a) Rename ## [Unreleased] → ## [NEXT] - DATE From 267e5606b9877feeb620c24a6154c9b944b5d744 Mon Sep 17 00:00:00 2001 From: Vibe Nuage Agent Date: Tue, 24 Nov 2026 19:11:50 +0000 Subject: [PATCH 3/4] docs(workflow): regenerate llms context after agents change --- llms-full.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/llms-full.txt b/llms-full.txt index 54c63968..6b2adec4 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -90,9 +90,9 @@ rust-2026-template/ [![codecov](https://codecov.io/gh/d-oit/rust-2026-template/graph/badge.svg)](https://codecov.io/gh/d-oit/rust-2026-template) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![MSRV](https://img.shields.io/badge/MSRV-1.88-blue.svg)](https://www.rust-lang.org) -[![Template Version](https://img.shields.io/badge/version-0.4.2-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.2) +[![Template Version](https://img.shields.io/badge/version-0.4.3-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.3) -**Latest release: v0.4.2** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog. +**Latest release: v0.4.3** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog. A production-ready Rust workspace template with modern tooling, CI/CD and AI agent integration. @@ -438,8 +438,9 @@ Derived repositories should check `.agents/context/` for shared conventions and 2. **Plan:** Identify affected files and required test coverage. 3. **Test-First:** Add or update tests before logic implementation. 4. **Implement:** Write code adhering to conventions. -5. **Quality Check:** Run `./scripts/quality-gates.sh`. -6. **Commit:** Use conventional commit format. +5. **Changelog:** Record every user-visible change under `## [Unreleased]` in `.template/CHANGELOG-TEMPLATE.md` in the same PR; a template release promotes that section and refuses to promote it while it holds only skeleton placeholders. +6. **Quality Check:** Run `./scripts/quality-gates.sh`. +7. **Commit:** Use conventional commit format. ### Stacked PRs (Optional) From 06c39d1e8c5dc4e19388ab08430d3b5df83597d9 Mon Sep 17 00:00:00 2001 From: Vibe Nuage Agent Date: Tue, 24 Nov 2026 19:37:53 +0000 Subject: [PATCH 4/4] docs(workflow): keep agents contract unchanged in version bump --- AGENTS.md | 5 ++--- llms-full.txt | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 6f7061f1..e60b35be 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -107,9 +107,8 @@ Derived repositories should check `.agents/context/` for shared conventions and 2. **Plan:** Identify affected files and required test coverage. 3. **Test-First:** Add or update tests before logic implementation. 4. **Implement:** Write code adhering to conventions. -5. **Changelog:** Record every user-visible change under `## [Unreleased]` in `.template/CHANGELOG-TEMPLATE.md` in the same PR; a template release promotes that section and refuses to promote it while it holds only skeleton placeholders. -6. **Quality Check:** Run `./scripts/quality-gates.sh`. -7. **Commit:** Use conventional commit format. +5. **Quality Check:** Run `./scripts/quality-gates.sh`. +6. **Commit:** Use conventional commit format. ### Stacked PRs (Optional) diff --git a/llms-full.txt b/llms-full.txt index 6b2adec4..b9e72ed8 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -438,9 +438,8 @@ Derived repositories should check `.agents/context/` for shared conventions and 2. **Plan:** Identify affected files and required test coverage. 3. **Test-First:** Add or update tests before logic implementation. 4. **Implement:** Write code adhering to conventions. -5. **Changelog:** Record every user-visible change under `## [Unreleased]` in `.template/CHANGELOG-TEMPLATE.md` in the same PR; a template release promotes that section and refuses to promote it while it holds only skeleton placeholders. -6. **Quality Check:** Run `./scripts/quality-gates.sh`. -7. **Commit:** Use conventional commit format. +5. **Quality Check:** Run `./scripts/quality-gates.sh`. +6. **Commit:** Use conventional commit format. ### Stacked PRs (Optional)