diff --git a/.changeset/37480-settings-retired-option.md b/.changeset/37480-settings-retired-option.md
new file mode 100644
index 00000000000..8994b1d76b9
--- /dev/null
+++ b/.changeset/37480-settings-retired-option.md
@@ -0,0 +1,13 @@
+---
+'@object-ui/console': patch
+'@object-ui/i18n': patch
+---
+
+fix(console): a stored settings select, radio or multiselect value the setting no longer offers reads as "no longer available" instead of nothing chosen
+
+Clause-②: no
+Metadata-protocol: none
+
+When a settings select's stored value is not among the options the setting declares today (an option removed in a later release, such as the knowledge adapter `ragflow`), the Setup select showed an empty box: no label and no placeholder. It now shows the stored code with a mark, for example "ragflow (no longer available)", as one disabled entry in the list. A radio group shows the same text as one checked, disabled item. A multiselect shows each stored member outside the options as a checked checkbox with the same text: ticking a current option keeps the member in the saved list, as before (and the server still refuses a save of that list while it holds one); unticking it removes it, and it cannot be ticked back. The admin can still pick a current option, which saves as before; the retired entry cannot be picked back. Values among the options, and an unset value, render as before.
+
+New locale key: `console.settingsView.selectValueRetired` (`{{value}}` is the stored code), in all eleven Console language packs. No props or exports change.
diff --git a/content/docs/protocol/kernel/config-resolution.mdx b/content/docs/protocol/kernel/config-resolution.mdx
index 2d2ac9e1618..2f7f1d1ef91 100644
--- a/content/docs/protocol/kernel/config-resolution.mdx
+++ b/content/docs/protocol/kernel/config-resolution.mdx
@@ -341,6 +341,17 @@ monotonic `version` so `rotateKey()` can re-wrap under a new key; the audit trai
records the rotation. ObjectStack bundles no cloud provider implementation — see
[Outside this contract](#outside-this-contract).
+### Retired keys and options
+
+When a release removes a key or a select option from a manifest, rows already
+stored for it are kept, unused, and never deleted by the platform; an encrypted
+key's `sys_secret` row stays too. A stored value that is no longer an option
+shows in Setup as "no longer available" until an admin picks a current one. No
+settings door writes a removed key (`400 UNKNOWN_KEY`), so remove its rows by
+hand: delete the key's row (namespace and key) from `sys_platform_setting` for a
+`global`-scope manifest, or from `sys_setting` otherwise, and for an encrypted
+key also the `sys_secret` row whose id that row holds in `value_enc`.
+
## HTTP Surface
`registerSettingsRoutes()` mounts the resolver under `/api/settings`
diff --git a/ui/apps/console/src/pages/settings/SettingsField.tsx b/ui/apps/console/src/pages/settings/SettingsField.tsx
index 264177c1a11..cc8b6f7a7fc 100644
--- a/ui/apps/console/src/pages/settings/SettingsField.tsx
+++ b/ui/apps/console/src/pages/settings/SettingsField.tsx
@@ -974,6 +974,14 @@ export function SettingsField(props: SettingsFieldProps) {
/>,
);
}
+ // A stored value the manifest no longer offers (an option removed in a
+ // later release) has no item to name it, so the trigger would read
+ // blank. It gets one disabled item of its own, named with the stored
+ // code and a "no longer available" mark; picking a current option is
+ // an ordinary write, and the retired item cannot be picked back.
+ const stored = value == null ? '' : String(value);
+ const retired =
+ stored !== '' && !(spec.options ?? []).some((opt) => String(opt.value) === stored);
return wrapper(
+ {retired ? (
+
+ {t('console.settingsView.selectValueRetired', {
+ value: stored,
+ defaultValue: '{{value}} (no longer available)',
+ })}
+
+ ) : null}
{spec.options?.map((opt) => (
{renderOptionLabel(opt)}
@@ -996,7 +1012,13 @@ export function SettingsField(props: SettingsFieldProps) {
,
);
}
- case 'radio':
+ case 'radio': {
+ // Same named state as the closed select above: a stored value the
+ // manifest no longer offers gets one disabled, checked item of its own,
+ // so the group does not read as nothing chosen.
+ const stored = value == null ? '' : String(value);
+ const retired =
+ stored !== '' && !(spec.options ?? []).some((opt) => String(opt.value) === stored);
return wrapper(
+ {retired ? (
+