fix(#3610): hoist surviving top-level codex config keys to file scope on merge (#3690)

* test(#3610): pin top-level key hoisting above the codex managed block

* fix(#3610): hoist surviving top-level keys above the codex managed block

* chore(#3610): add changeset

* fix(#3610): hoist to file scope (before the first table header) with reviewer-driven coverage

* chore(#3610): backfill changeset pr number

---------

Co-authored-by: sim <sim@local>
This commit is contained in:
Tom Boucher
2026-08-19 18:38:13 -04:00
committed by GitHub
parent 8526bd46f8
commit bad1f045b1
3 changed files with 179 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3690
---
**Upgrading the Codex runtime no longer aborts when a top-level config key sits below the GSD marker** — the regenerated `[agents]` table captured such keys into its scope, so post-write schema validation rejected the merged `config.toml` and the install failed mid-flight. Surviving top-level keys are now hoisted above the managed block, preserving their file scope. (#3610)