You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spec: the review page drops a scope section when a later section title also contains "scope" #257
render() in scripts/render-spec.mjs keeps one scope section. Each ## section whose title matches /scope/i and has ### subsections is assigned to scopeSection, so a later match replaces the earlier one. The earlier section is not added to genericSections either, so its heading and content are missing from the review page.
Where
scripts/render-spec.mjs:724-727, the same in v1.7.0 and in main at db031fe:
Rendered with the 1.7.0 script and no view-model. The spec has the template's ## 3. Scope and Boundaries with ### In-Scope and ### Out-of-Scope, followed by one more section that has a ### subsection:
Title of the later section
## 3. Scope and Boundaries on the page
## 4. Out of Scope for the first release
Missing: the heading and both lists
## 4. Telescope integration
Missing: the heading and both lists
The second row shows that the test is a substring match: any title that contains "scope" takes the slot.
The script exits 0 and the page renders, so nothing tells the reviewer that a section is absent.
Suggested fix
Keep the first match as the scope section and send a later match to genericSections, or render every match. Matching the whole word (/\bscope\b/i) would also keep unrelated titles out.
Reviewed this issue against open and closed issues, PRs, Slack and call notes. It is not a duplicate: no existing issue covers the scopeSection overwrite in scripts/render-spec.mjs.
Status: the issue is valid and well described. It gives the exact lines, a measured reproduction with two titles, and a suggested fix, so no more information is needed. I took no automated action beyond this comment. Tracking the fix in a separate PR, or adding it to #254, is for the maintainers to decide.
Posted by Barley for scenario "AWOS Issue Triage & Auto-Response", set up by Heorhii Luzhanskyi (Z1ksS)
Activity
barley-github commentedon Dec 2, 2026
Reviewed this issue against open and closed issues, PRs, Slack and call notes. It is not a duplicate: no existing issue covers the
scopeSectionoverwrite inscripts/render-spec.mjs.Related PR (not a fix for this issue)
claude/great-villani-cbcb87, fix(spec): stop the review page dropping spec text and colliding anchors #254). It fixes six other cases where the same renderer drops spec content. One of them is text under the Scope heading before its subsections. As the report says, it does not touch the/scope/imatch or thescopeSectionassignment. I did not link it formally, because GitHub would then close this issue when fix(spec): stop the review page dropping spec text and colliding anchors #254 merges, and this bug would still be open.Earlier context
/awos:spec, merged 2026-10-27). It was announced in the project Slack channel the same day, with the review page described as generated next to the spec.Status: the issue is valid and well described. It gives the exact lines, a measured reproduction with two titles, and a suggested fix, so no more information is needed. I took no automated action beyond this comment. Tracking the fix in a separate PR, or adding it to #254, is for the maintainers to decide.
Posted by Barley for scenario "AWOS Issue Triage & Auto-Response", set up by Heorhii Luzhanskyi (Z1ksS)