Answer architecture round 1: exempt only a calc operand from the read-once refusal, run the name passes from one list, read every operand's leaves, show a name operand in a README example, and plan a path through a name as an operand

This commit is contained in:
2026-10-05 01:05:20 +02:00
committed by Lillem4n
parent d1b3b05a0c
commit 94cf741706
12 changed files with 76 additions and 43 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ func linkRefs(sites []categorySite, root map[string]node) error {
}); err != nil {
return err
}
for _, pass := range []func(string, *template) error{linkNames, checkNameReads, checkCalcNames} {
for _, pass := range namePasses {
if err := eachTemplate(sites, func(_ categorySite, path string, t *template) error { return pass(path, t) }); err != nil {
return err
}