fix: link empty Feature groups
Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 21s

This commit is contained in:
2026-09-02 09:45:36 +00:00
parent a4564001c4
commit 9b85ba4322
13 changed files with 93 additions and 1 deletions
+11
View File
@@ -66,6 +66,16 @@ The approved catalogue was mined from legacy revision \`${epic.legacy_revision}\
${evidenceList(epic)}
`;
const featuresPage = (epic) => `---
title: "${epic.id} Features"
description: "Review Features governed by ${epic.id}."
---
# Review ${epic.id} Features
No child Features have been defined or approved for this Epic. Feature discovery must preserve the [${epic.id} boundary](../${epic.id.toLowerCase()}.md) and requires a separate human **Approved for Solution** decision before Architecture solution work begins.
`;
const epicLinks = records.map((epic) => `- [${epic.id} — ${epic.title}](./${epic.id.toLowerCase()}.md)`).join('\n');
const epicIndex = `---
title: "Epics"
@@ -110,6 +120,7 @@ const expected = new Map([
[join(root, 'scope/roadmap.md'), roadmap],
[join(root, 'src/data/scopeIssues.ts'), ts],
...records.map((epic) => [join(root, `scope/epics/${epic.id.toLowerCase()}.md`), epicPage(epic)]),
...records.map((epic) => [join(root, `scope/epics/${epic.id.toLowerCase()}/features.md`), featuresPage(epic)]),
]);
let stale = false;