Skip to content

Commit b084026

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 846fdcd commit b084026

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
@@ -1136,9 +1136,11 @@ export async function loadConfig(
11361136
// Credential-removal convergence (CL-5446) is rebuild-only: every rebuild
11371137
// derives rows from the current settings file plus the live Codex/xAI
11381138
// stores, so a provider without a credential is rebuilt without one and
1139-
// re-auth restores it on the next rebuild. Manual rows are never deleted —
1140-
// settings-file providers are re-projected verbatim — which is the
1141-
// disable-not-delete rationale: nothing the operator wrote is lost, and
1139+
// re-auth restores it on the next rebuild. Settings-file rows are
1140+
// re-projected verbatim and never deleted — with one exception: the legacy
1141+
// bare `codex`/`xai` row dedupe (CL-5606), which drops the bare settings row
1142+
// once that family has a live credential-backed profile. Otherwise the
1143+
// disable-not-delete rationale holds: nothing the operator wrote is lost, and
11421144
// nothing stale survives past the next rebuild. A dedicated disabled flag
11431145
// was rejected: no such state exists on the catalog entry, the picker
11441146
// option, or the host boundary, and no removal event drives a refresh

0 commit comments

Comments
 (0)