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
A diagram whose parts list names only some nodes leaves the reader unable to comment on the rest, with no sign why #1455
lf-diagram makes a box commentable on its own only when parts lists it, and a page can list some boxes and leave others out. The reader then finds that some boxes take a comment and their neighbours don't. Nothing on the page says why, so it reads as a bug.
I hit this on a page whose flowchart had eleven nodes. I listed six of them in parts: the four decision diamonds, the start node and one outcome box. The reader could comment on the diamonds but not on the other outcome boxes beside them, and asked why.
Smallest repro
On a page, author a flowchart with parts naming only some of its nodes:
<lf-diagramid="flow" parts="node:A node:B"><pre>
flowchart TD
A{Ready?} -- yes --> B{Tested?}
A -- no --> C[Wait]
B -- yes --> D[Ship]
B -- no --> E[Test]
</pre></lf-diagram>
Open the page. A and B each take a comment of their own; C, D and E take only the whole-diagram comment.
page check --render passes, and the registry entry and the authoring reference say only that listed boxes become targets. Neither says which boxes an author should list.
Expected
A reader shouldn't be able to tell which boxes the author happened to list. Any of these would get there:
Every node with an authored id is a part by default, and parts is only for narrowing the set, or for opting out.
page check flags a diagram whose parts names some of its nodes but not all of them.
The authoring guidance says to list every node or none.
The first removes the choice entirely. The other two keep the attribute as it is and only stop the partial case.
Seen on leaf d088065, installed 2026-09-27T14:13:44-07:00.
This was written by Claude Code on behalf of max-sixty
This is a valid authoring gap. I recommend making a diagram's comment targets all or none: keep omission of parts as the whole-diagram choice, and have page check --render flag a partial list of nameable boxes. That would catch the confusing page before handoff while preserving the current choice to keep a diagram whole. Guidance alone would leave the page check green in the reported case.
The diagram entry declares parts as the admitted list. The browser admission rule deliberately permits the widget to register more boxes than that list names, and the render check checks only the declared names. A completeness check belongs at the diagram's rendered inventory boundary and would also need the existing partial diagrams in the test corpus brought into line.
You're right; my first reply stopped at diagnosis when I should have attempted the fix. I opened #1467: page check --render now rejects a diagram that lists only some nameable boxes in parts, and omitting parts still keeps the whole diagram as one Comment target. The reported flowchart failed the new regression test before the change and passes after it.
Lint has passed on the pushed head. The PR test job was still running when the CI poll reached its limit, so I have not merged the PR or marked the issue resolved.
I traced the repeat to Tend’s triage instructions and filed tend#1470 with the two run records and a proposed change.
The first run on this issue classified the report as a feature request, so it stopped after recommending a fix; the later mention produced merged #1467. The triage run for #1491 followed the same path: it located the guidance conflict but left the edit for a follow-up. Tend’s triage skill currently reserves its fix step for “Bug reports only,” even when a feature request is scoped and verifiable. The separate mention run on #1491 is active and can handle that page guidance change.
Activity
leaf-agent commentedon Sep 30, 2026
This is a valid authoring gap. I recommend making a diagram's comment targets all or none: keep omission of
partsas the whole-diagram choice, and havepage check --renderflag a partial list of nameable boxes. That would catch the confusing page before handoff while preserving the current choice to keep a diagram whole. Guidance alone would leave the page check green in the reported case.The diagram entry declares
partsas the admitted list. The browser admission rule deliberately permits the widget to register more boxes than that list names, and the render check checks only the declared names. A completeness check belongs at the diagram's rendered inventory boundary and would also need the existing partial diagrams in the test corpus brought into line.max-sixty commentedon Sep 30, 2026
@leaf-agent isnt it on you to fix? isn't that in the triage-issue instructions? please debug
leaf-agent commentedon Sep 30, 2026
You're right; my first reply stopped at diagnosis when I should have attempted the fix. I opened #1467:
page check --rendernow rejects a diagram that lists only some nameable boxes inparts, and omittingpartsstill keeps the whole diagram as one Comment target. The reported flowchart failed the new regression test before the change and passes after it.Lint has passed on the pushed head. The PR test job was still running when the CI poll reached its limit, so I have not merged the PR or marked the issue resolved.
max-sixty commentedon Oct 1, 2026
@leaf-agent this just happened again, check the recent issue. diagnose and put an issue into this repo or tend
leaf-agent commentedon Oct 1, 2026
I traced the repeat to Tend’s triage instructions and filed tend#1470 with the two run records and a proposed change.
The first run on this issue classified the report as a feature request, so it stopped after recommending a fix; the later mention produced merged #1467. The triage run for #1491 followed the same path: it located the guidance conflict but left the edit for a follow-up. Tend’s triage skill currently reserves its fix step for “Bug reports only,” even when a feature request is scoped and verifiable. The separate mention run on #1491 is active and can handle that page guidance change.
fix(triage): open a PR when a maintainer is reasonably likely to merg…