KeepCodexAppOnItsProvider asks codexAppRoute every 3s for as long as
magpie runs, and it read config.toml's keys one getter at a time, each a
look at the disk: 42 looks in 25s on Windows, where an antivirus works on
each. It now holds what it read (filememo.Hold) for the call, so each
tick looks once, and its keys come from one version of the file.
Measured on xiaomi-gpu (Windows 11), an empty sandbox HOME, magpie web
--gateway, second start, 27s, counting looks with an uncommitted build,
with the warm-up's hold (fcbbb8e47) in both: codexAppRoute's looks 42 to
8, all looks 483 to 448.
Run (mote): gofmt -l internal/agent clean; go vet ./internal/agent for
darwin, windows and linux (-tags nogui) clean; go test -count=1
./internal/agent ./internal/provider ok. Not tested by its own test:
nothing in codexAppRoute lets a test write between its getters.