config: applyDefaults reads as one list (V-410)

Every normalise fills in one block and none of them reads another, so the blank
lines between them were suggesting an order that does not exist. Grouped by
what the block is instead: the surface, the schedule, the notify policy, the
background loops, the reaches, the world. No arm was added, removed or moved
past one it depends on.
This commit is contained in:
2026-08-06 01:42:12 +04:00
parent ceba69c4bb
commit 59210cf07d
+6 -14
View File
@@ -376,30 +376,22 @@ func (c *Config) applyDefaults() {
}
}
// Per-block defaults. Each normalise lives beside the struct it fills in,
// and none of them reads another block, so this is a list and not an order.
c.normaliseVoice()
c.normaliseRoutines()
c.normaliseDigest()
c.normalisePatternProposals()
c.normaliseMemoryEval()
c.normaliseEmail()
c.normaliseFeeds()
c.normaliseMCP()
c.normaliseSmartHome()
c.normaliseNetScan()
c.normaliseFeeds()
c.normaliseCrawl()
c.normaliseKiwix()
c.normaliseSearch()
c.normaliseKiwix()
c.normaliseWorkstation()
c.normaliseVoice()
c.normaliseRoutines()
}
func (c *Config) validate() error {