hatanokokoroyo (#6828) and Nietzsche_Li on X: Codex 0.169 warns on
every launch that `disable_response_storage` is ignored, and
`codex --strict-config` refuses to start, with magpie 0.1.4291.
The key isn't magpie's. `git log --all -S disable_response_storage`
finds it in no commit, and nothing in the tree writes it. Codex removed
it in openai/codex#3212 (0.30.0, 2025-09); magpie's Codex paths assume
0.133 or later, so none needs it. CC Switch wrote it in its Codex
presets until 4.0.28, which stops writing it and clears it on the next
switch (cc-switch#7524), and relays' setup pages still tell users to
add it. magpie's CC Switch import reads only the model provider. Since
magpie can't show it wrote the line, the user's line is left as it is.
So this adds the guard: testdata holds Codex rust-v0.169.0's own
config.schema.json (descriptions, defaults and enums stripped, 86KB),
and TestCodexConfigHoldsOnlyKeysCodexKnows walks it over the config
magpie writes, in place and as the magpie.config.toml profile, from an
empty config and from a CC Switch one, after setting a model, an
effort, subagents and memories and a sync. A key Codex has removed or
never had fails it. A user config holding the line keeps it, once, and
it is the only unknown key.
Run at this tree (mote): go test -run TestCodexConfigHoldsOnlyKeysCodexKnows
-v ./internal/agent PASS; go test ./internal/agent ok; go test . ok;
GOOS=linux and GOOS=windows go vet ./internal/agent ok; gofmt -l clean.
Broken by hand: codex.go writing disable_response_storage beside the
effort: the test went red naming the key; restored, green.
Not run: the whole suite (a test file and testdata only, in one
package).