document-release: CHANGELOG-preservation and VERSION-ask rules at normal volume (s10 M4, M5; UC2, eval-gated)

This commit is contained in:
garrytan committed 2026-10-03 00:58:36 +00:00
1 parent 23a0be82d7
commit 2336ddffee
2 files changed
+8 -9

No files matched your search

+4 -2
View File
@@ -161,8 +161,10 @@ describe('pre-publication documentation lifecycle', () => {
'Ship-owned documentation mode', 'standalone branch gate']) expect(skill).toContain(text);
const body = read('document-release/sections/release-body.md.tmpl');
for (const text of ['never `git add -A`', 'Never regenerate a CHANGELOG entry',
'body-original.md', 'UNTRUSTED TRACKER CONTENT', 'gstack-redact --from-file',
'NEVER BUMP VERSION WITHOUT ASKING']) expect(body).toContain(text);
'body-original.md', 'UNTRUSTED TRACKER CONTENT', 'gstack-redact --from-file']) expect(body).toContain(text);
const versionStep = body.slice(body.indexOf('## Step 8'), body.indexOf('\n## ', body.indexOf('## Step 8') + 1));
expect(versionStep).toMatch(/ask[^\n]*before[^\n]*VERSION/i);
expect(body).toMatch(/does not rewrite, replace, or regenerate CHANGELOG/i);
});
});