docs: publish approved legacy Epic catalogue
Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 11s

This commit is contained in:
2026-09-02 09:42:29 +00:00
parent 73cf70f0f3
commit f443b355dc
32 changed files with 1650 additions and 9 deletions
+26
View File
@@ -25,3 +25,29 @@ test('sharp light and dark UI contract is explicit', () => {
assert.match(css, /\*,\*::before,\*::after\{border-radius:0!important\}/);
assert.match(css, /\[data-theme='dark'\]/);
});
test('approved Epic catalogue is complete, governed, and reader-linked', () => {
const sidebar = read('sidebarsScope.ts');
const overview = read('scope/overview.md');
const roadmap = read('scope/roadmap.md');
const matrix = read('src/data/scopeIssues.ts');
assert.ok(sidebar.indexOf("'overview'") < sidebar.indexOf("'roadmap'"));
assert.ok(sidebar.indexOf("label: 'Ideas'") < sidebar.indexOf("label: 'Questions'"));
assert.ok(sidebar.indexOf("label: 'Questions'") < sidebar.indexOf("label: 'Epics'"));
assert.match(overview, /<ScopeIssueMatrix \/>/);
assert.match(roadmap, /All Epics remain in `IN_BACKLOG`/);
for (let number = 1; number <= 10; number += 1) {
const id = `3DARCH-EP-${number}`;
const slug = id.toLowerCase();
assert.ok(existsSync(`data/scope/epics/${slug}.yml`), id);
assert.ok(existsSync(`scope/epics/${slug}.md`), id);
const record = JSON.parse(read(`data/scope/epics/${slug}.yml`));
assert.equal(record.id, id);
assert.equal(record.status, 'IN_BACKLOG');
assert.equal(record.status_source, 'EXACT');
assert.equal(record.approval.approved_for_solution, false);
assert.ok(record.legacy_evidence.length > 0);
assert.ok(matrix.includes(`\"id\": \"${id}\"`));
}
assert.doesNotMatch(matrix, /type: \"Feature\"|type: \"Task\"|type: \"Idea\"/);
});