-
-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Description
CodexMonitor persists renamed thread names in localStorage (codexmonitor.threadCustomNames) in addition to setting the name in Codex via thread/name/set.
If a local custom name exists, CodexMonitor ignores thread/name/updated events (src/features/threads/hooks/useThreadTurnEvents.ts early-return), so renames done outside CodexMonitor (Codex CLI / VSCode / another machine syncing CODEX_HOME) do not show up and the UI can diverge.
Repro
- Rename a thread in CodexMonitor.
- Rename the same thread in Codex (outside CodexMonitor) to a different name.
- CodexMonitor keeps showing the old name because the local override wins (also used when building the thread list in
src/features/threads/hooks/useThreadActions.ts).
Expected
Codex thread name is the single source of truth; CodexMonitor always reflects Codex names / thread/name/updated.
Actual
Local custom name can permanently mask Codex updates.
Suggestion
- Remove
threadCustomNamespersistence and rely only on Codex names (keep rename by callingthread/name/set, with optimistic UI update). - Optional migration: on startup, push any existing local overrides into Codex once, then clear localStorage.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels