A context's folder is gone
On this page
Moved, renamed or unmounted: the banner, what is kept, Locate and Remove.
Symptom
The context's row in the sidebar is greyed and marked "folder missing". A banner over each of its groups says "The folder of name is gone — moved, renamed or trashed." with Locate… and Remove….

Cause
Cortex checks listed contexts every two seconds. The folder was moved, renamed, trashed, or sits on a drive that is no longer mounted. The context stays listed, however long the folder is away.
What Cortex does meanwhile
- Live sessions are left alone. The agent reports its own errors.
- A new session refuses to start, with a clear error.
- Open files get the "Deleted on disk" banner. See When an agent changes a file you are editing.
- No layout is saved for the context while the folder is away, so the layout saved earlier is not overwritten with a shorter one.
Fix
If the folder will come back, for example a drive that was unplugged: put it back or remount the drive. The banner goes by itself and the row returns to normal. The layout you had comes back whole.
If you moved or renamed the folder: press Locate… in the banner, in the row's menu or in Manage Contexts, and choose the folder where it is now. The context points at it, and everything Cortex keeps for it comes with it: its settings, tabs, place in your order, rooms, meetings, tasks, memory, pins and sessions. A folder that is on your list already is refused. If a file of the context holds unsaved text, which cannot be saved while the folder is away, Locate… refuses and says so. Remove the context first, or bring the folder back.
If you do not need it any more: press Remove…. There is no folder to keep or trash, so the sheet only offers to delete what Cortex keeps for it, which is off by default. Its terminals end, and its running sessions keep running in the background.
To avoid the case, rename a context's folder with Rename Folder… instead of in Finder. See Add, remove and organise contexts and Add your contexts.
Something wrong or missing? Tell us