axtens
March 5, 2026, 10:02am
1
If I understand correctly, an “invalidator” block in config.json does not appear in the top-level config.json but in each exercise’s .meta/config.json. Is that correct?
So I incorrectly have
,
"invalidator": [
"lib/cmprep.sno",
"lib/inhale.sno",
"lib/listtests.sno",
"lib/nextword.sno",
"lib/whereami.sno"
]
in my top-level config.json. I was rather hoping that configlet would copy that to each exercise that I create.
glennj
March 5, 2026, 12:53pm
2
That’s what’s documented. It seems it should be in the the track’s config.
I suppose this kind of thing is why tracks often have a bin/add_exercise script.
axtens
March 5, 2026, 2:22pm
3
Except that that would overlap with configlet create, no?
IsaacG
March 5, 2026, 2:26pm
4
Yes. And/or wrap it. The configlet is a generic tool. Many tracks have track specific tooling that supplements/replaces the generic tool.
glennj
March 5, 2026, 4:25pm
5
Right. bin/add_exercise invokes configlet create and then fixes all the things that configlet didn’t do.
1 Like