diff --git a/docs/testing/ecc-2.2-release-readiness.tdd.md b/docs/testing/ecc-2.2-release-readiness.tdd.md index 00f7cced0..49e7713ab 100644 --- a/docs/testing/ecc-2.2-release-readiness.tdd.md +++ b/docs/testing/ecc-2.2-release-readiness.tdd.md @@ -19,6 +19,8 @@ Commit `6e66dfba` added release regressions before the repairs. All six focused Commit `528dbea0` added a security regression proving guided preflight accepted an identical copy source through a symbolic link. It failed before the no-follow snapshot repair. +Commit `a504b194` added a release regression after review proved both workflows reused the literal 2.2.0 notes path for later valid versions. Both workflow cases failed before the version-derived notes repair. + ## GREEN - Focused installer, lifecycle, packaging, release-workflow, manifest, OpenCode, Antigravity, and uninstall tests passed. @@ -26,6 +28,7 @@ Commit `528dbea0` added a security regression proving guided preflight accepted - `npm audit --audit-level=low`: 0 vulnerabilities. - Supply-chain IOC scan: 207 files inspected, no findings. - Both release workflow YAML files parsed successfully. +- Both release workflows derive reviewed notes from the validated tag and fail clearly when that version's notes are absent. - Exact packed archive lifecycle passed on macOS with Node 24.9.0 using SHA-256 `c79fbabbbb2567835081c17804f692c77b0673f22e0e0a2e63e870b99a7b8592`. - The packed lifecycle covered npm installation, public CLI setup, cumulative Cursor install, drift detection, repair, uninstall, user-file preservation, Antigravity install/doctor/uninstall, and OpenCode install/doctor/uninstall. diff --git a/tests/scripts/release-publish.test.js b/tests/scripts/release-publish.test.js index 54b23f808..200b77c10 100644 --- a/tests/scripts/release-publish.test.js +++ b/tests/scripts/release-publish.test.js @@ -61,8 +61,9 @@ for (const workflow of [ assert.match(content, /release commit.*origin\/main/i); }); - test(`${workflow} uses the reviewed 2.2 release notes`, () => { - assert.match(content, /docs\/releases\/2\.2\.0\/RELEASE_NOTES\.md/); + test(`${workflow} selects reviewed release notes from the release version`, () => { + assert.match(content, /RELEASE_VERSION="\$\{RELEASE_TAG#v\}"/); + assert.match(content, /docs\/releases\/\$\{RELEASE_VERSION\}\/RELEASE_NOTES\.md/); }); test(`${workflow} publishes new tag versions to npm`, () => {