The basic-usage reference: one dirscanner array drives menu, active state, and content — everything in helper columns wherever possible; Includer only where cross-row state is unavoidable (section headers).
Why helper columns: every derived value lands as a column in the array — switch on ArrayViewer and you SEE the whole computation per row. Includer rows are invisible to that inspection, so they are reserved for the one thing columns cannot do: remember state across rows.
| Technique | Where |
|---|---|
| helper columns via mkCol | color, item |
| deliberate write-back (mkCol without id) | columns land in docuTree for the Includer |
| per-row gating / computed target | kind==dir vs kind==file item blocks |
| one array, many consumers | menu links, active state, title, content render |
| Includer only for cross-row state | header interleaving on root change |
| accumulator + self-reset | last_root |
| `!=` change detection | header + state blocks fire together |
| depth control + cut-branch rows | max_level:2, kind:dir |
| debug switch | commented ArrayViewer over the same array |
url_part_0=docu, url_part_1=md, url_part_2={i}.
scan in the same request, always consistent — but links are not durable across file adds/removes. Durable variant: route on `{tree}/{filename}`.
its index.md?) is an open decision.