Skip to content

Commit 132006f

Browse files
committed
Carve the bare-row dedupe out of the never-deleted rule
The legacy bare codex/xai settings row is dropped once its family has a live credential-backed profile (CL-5606), so settings rows are verbatim except for that dedupe.
1 parent 3f3efa8 commit 132006f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎src/config/index.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,9 +1143,11 @@ export async function loadConfig(
11431143
// Credential-removal convergence (CL-5446) is rebuild-only: every rebuild
11441144
// derives rows from the current settings file plus the live Codex/xAI
11451145
// stores, so a provider without a credential is rebuilt without one and
1146-
// re-auth restores it on the next rebuild. Manual rows are never deleted —
1147-
// settings-file providers are re-projected verbatim — which is the
1148-
// disable-not-delete rationale: nothing the operator wrote is lost, and
1146+
// re-auth restores it on the next rebuild. Settings-file rows are
1147+
// re-projected verbatim and never deleted — with one exception: the legacy
1148+
// bare `codex`/`xai` row dedupe (CL-5606), which drops the bare settings row
1149+
// once that family has a live credential-backed profile. Otherwise the
1150+
// disable-not-delete rationale holds: nothing the operator wrote is lost, and
11491151
// nothing stale survives past the next rebuild. A dedicated disabled flag
11501152
// was rejected: no such state exists on the catalog entry, the picker
11511153
// option, or the host boundary, and no removal event drives a refresh

0 commit comments

Comments
 (0)