mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-30 22:13:28 +08:00
docs: close ecc2 rc1 release policy drift
This commit is contained in:
committed by
Affaan Mustafa
parent
c3ea7a1e5e
commit
4b67c3cac6
@@ -106,12 +106,42 @@ test('Hermes setup uses release-candidate wording for the rc.1 surface', () => {
|
||||
assert.ok(!source.includes('Public Preview Scope'));
|
||||
});
|
||||
|
||||
test('Hermes setup cross-links adjacent migration and architecture docs', () => {
|
||||
const source = read('docs/HERMES-SETUP.md');
|
||||
assert.ok(source.includes('HERMES-OPENCLAW-MIGRATION.md'));
|
||||
assert.ok(source.includes('architecture/cross-harness.md'));
|
||||
assert.ok(source.includes('Plan and scaffold migration artifacts'));
|
||||
assert.ok(!source.includes('0.5. Generate and review artifacts with `ecc migrate plan` /'));
|
||||
});
|
||||
|
||||
test('release docs preserve the ECC/Hermes boundary', () => {
|
||||
const releaseNotes = read('docs/releases/2.0.0-rc.1/release-notes.md');
|
||||
assert.ok(releaseNotes.includes('ECC is the reusable substrate'));
|
||||
assert.ok(releaseNotes.includes('Hermes as the operator shell'));
|
||||
});
|
||||
|
||||
test('release docs use release-candidate wording consistently', () => {
|
||||
const releaseNotes = read('docs/releases/2.0.0-rc.1/release-notes.md');
|
||||
assert.ok(releaseNotes.includes('## Release Candidate Boundaries'));
|
||||
assert.ok(!releaseNotes.includes('## Preview Boundaries'));
|
||||
});
|
||||
|
||||
test('launch checklist records the ecc2 alpha version policy', () => {
|
||||
const cargoToml = read('ecc2/Cargo.toml');
|
||||
const launchChecklist = read('docs/releases/2.0.0-rc.1/launch-checklist.md');
|
||||
assert.ok(cargoToml.includes('version = "0.1.0"'));
|
||||
assert.ok(launchChecklist.includes('`ecc2/Cargo.toml` stays at `0.1.0`'));
|
||||
assert.ok(!launchChecklist.includes('confirm whether `ecc2/Cargo.toml` moves'));
|
||||
});
|
||||
|
||||
test('localized changelogs include rc.1 and 1.10.0 release entries', () => {
|
||||
for (const relativePath of ['docs/tr/CHANGELOG.md', 'docs/zh-CN/CHANGELOG.md']) {
|
||||
const source = read(relativePath);
|
||||
assert.ok(source.includes('## 2.0.0-rc.1 - 2026-04-28'), `${relativePath} missing rc.1 entry`);
|
||||
assert.ok(source.includes('## 1.10.0 - 2026-04-05'), `${relativePath} missing 1.10.0 entry`);
|
||||
}
|
||||
});
|
||||
|
||||
if (failed > 0) {
|
||||
console.log(`\nFailed: ${failed}`);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user