Skip to content

Settings and config.json

cornercase is configured from the Settings modal, opened from More ▴ › settings at the bottom of the sidebar. Every change is saved at once to config.json, so there is nothing to apply or restart. You can also edit the file by hand, and the server applies it within a second; this page lists every key. A script or another app reads and changes the same settings with cornercase config.

The modal has nine tabs: Worktrees, Agents, Accounts, Flows, Issues, UI, Remote, Plugins and Machines. Click a row, or select it and press Enter, to change it; the line at the bottom explains what the selected row does and confirms every change.

The share button hands your settings to a colleague, or imports theirs: see Share your setup. The restart button next to done restarts cornercase. It first lists what is running in your terminals, since restarting stops every program in them; your projects, workspaces, tabs and splits come back, each tab with a new shell in its folder. See Restart the server.

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsworktrees folder~/.cornercase/worktreesnew worktrees go in <folder>/<repo>/<branch>issue branches per trackerempty: issue-482-…, 482-…on GitLab, sc-482-…, ENG-482-…new branches [ ] from the project's HEADon: the default branch, fetched firstfetch branches every 5 mincommits to pull show as↓npull requests [x] showneach workspace's pull request and its checks, from gh or glabmerged PRs in stats [x] shownyour merged pull requests, from gh and glabshared files [ ] hidden⇄n when two workspaces change the same files
Row What it sets
worktrees folder Where new worktrees are checked out: <folder>/<repository>/<branch>. Must be an absolute path or start with ~/.
new branches Off (the default): a branch that does not exist yet starts from the project’s HEAD. On: it starts from the project’s default branch, fetched from its remote first (origin, else the first one), as a routine’s runs do, and a fetch that fails stops that start and says why; a project without a remote starts from its local main or master. It covers the New workspace dialog, an issue’s start, a flow and the queue; --fresh and --no-fresh choose for one start of a command. A branch that exists is checked out as it is. See Worktrees from issues.
fetch branches every How often, in minutes, the remotes are fetched to show the commits to pull as ↓n on each workspace. 0 turns it off.
merged PRs in stats On (the default): Usage → Stats counts your merged pull requests and merge requests, read with gh and glab. Off: nothing is asked. The note names the accounts read, or why none were. See Usage and stats.
pull requests On (the default): each workspace whose branch has a pull request on GitHub, or a merge request on GitLab, shows its number, the state of its checks (its pipeline’s jobs on GitLab) and whether it has merge conflicts, and on GitHub its layer in a stack, read with gh or glab. Off: nothing is asked. The note says why none show when every project read with one of them fails, because it is missing, logged out or failing. See Pull requests and their checks.
shared files Off (the default): no workspace is scanned for the files it shares with the others. On: when two workspaces of a project change the same files, both rows show ⇄n and those files carry ⇄ in the changes panel, from a git scan every few seconds in projects with two or more checkouts. The merge check works either way. See Workspaces that change the same files.
SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsAgentdefault agentautothe agent in your tab, otherwise asksend the prompt [ ] typed, you press Entertrust prompts [ ] left to yousaying yes runs the repo's agent configresume conversations [x] after a restartClaude, Codex, Gemini, Vibe, Grok, Cursor, Copilot, ikeep awake [ ] neverno idle sleep while an agent worksHow each agent startsclaude defaultcodex defaultgemini defaultopencode defaultgrok defaultcursor defaultcopilot defaultvibe default+ another agent…
Row What it sets
default agent The agent that takes an issue when you don’t pick one: a specific agent, or auto, which uses the agent running in your current tab and otherwise asks.
send the prompt Off: the prompt is typed on one line and you press Enter. On: it is pasted as written and sent for you.
trust prompts Off (the default): when an agent cornercase starts asks “do you trust this folder?”, you answer, and the prompt waits. On: cornercase answers yes for you, which lets the repository’s agent configuration run.
resume conversations On (the default): after a server restart, kill-server or a reboot, each pane that ran Claude Code, Codex, Gemini CLI, Grok Build, Cursor CLI, Vibe CLI or GitHub Copilot CLI comes back in the same conversation. Off: it comes back as a plain shell. See Agents resume their conversations.
keep awake Off (the default): the computer sleeps when idle, as it always does. On: while an agent is working, the computer does not go to sleep on its own. The note says whether it is being kept awake now, or why it can’t be on this machine. See Keep the computer awake.
How each agent starts One row per agent: the default agent, the agents with start modes (claude, codex, gemini, opencode, grok, cursor and copilot out of the box) and any you set up. Click one to choose its mode and extra arguments.
+ another agent… Adds one of the other known agents to the list so you can set it up.

Choosing how an agent starts opens a list of its modes, each with the arguments it adds, plus extra arguments… for anything else you want on its command line:

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settings›How should claude start?defaultno mode argumentsaccept edits--permission-mode acceptEditsauto--permission-mode autoplan--permission-mode planskip permissions (dangerous)--dangerously-skip-permissionsextra arguments…

Modes whose name says dangerous are shown in red. Extra arguments are split like a shell would: use quotes for arguments with spaces.

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsClaude Codeworksigned in as ana@acme.dev (max)claude's own login·~/.clauderename…a name for the window; its folder stayspersonal signed in as ana@example.com (pro)~/.config/cornercase/server.accounts/crename…a name for the window; its folder stays+ add accountmakes its folder and opens a tab to log inCodexSystemcodex's own login·~/.codexrename…a name for the window; its folder stays+ add accountmakes its folder and opens a tab to log inGemini CLISystemgemini's own login·~rename…a name for the window; its folder stays+ add accountmakes its folder and opens a tab to log in

Your agent accounts. One section per agent that takes accounts (Claude Code, Codex, Gemini CLI): first the agent’s own login (System, or the name you gave it, with its usual folder), then a row per account (whether it is logged in and as whom, its folder, and the settings that stopped being shared), each followed by rename…, which gives it a name for the window, and last + add account, which makes one and opens a tab to log in. ● marks each agent’s default account, the one new workspaces start with; Enter on a row makes it the default, Backspace on an account asks before removing it. When a token variable such as ANTHROPIC_API_KEY is set where the server runs, a line at the top names it, since it wins over the accounts. What you choose here is kept in account_names and active_accounts; scripts use cornercase account, and the profiles of cornercase profile (profiles, profile).

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsArena6 ag…coder A + coder BjudgeintegratorreviewerDiagramBug, test first 4 agentsreproducercodertesterorchestratorCross review 4 agentscoderreviewer + second reviewerclaudeFull issue 5 agentscoderreviewer + securitytesterQuick 3 agentsdefault·coderreviewercoder Aowncoder Bownclaudecodex▼judgeclaude▼integratorclaude◀findings·≤2▼reviewercodex▼◆open a pull requesta built-in flow: edit saves your version in your folder, in its place; delete hides iteditduplicateset defaultexportdeletepersonasimportnewsharerestartdone

Flows, teams of agents that work through a plan: one list in your order with the selected flow’s diagram beside it, and edit, duplicate, set default (the flow the start dialog opens on, see default_flow), export, delete, import and new, and sync (the selected flow of yours) and sync all while a machine is shown, which send your flows to your machines. Drag a flow to move it (Esc cancels). Tab and ← → switch tabs here, ↑ ↓ move between flows. Deleting a built-in flow hides it (see hidden_flows); deleted built-ins, at the end of the list, brings it back.

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsAccountsShortcut API tokennot connectedenter pastes oneLinear API key not connectedenter pastes oneJiraJira site not setsuch as acme.atlassian.netJira email not setthe one you sign in withJira API token not connectedenter pastes oneJira filter noneJQL, such as project = SHOPPlanePlane workspace not setthe part after app.plane.so/Plane URL Plane Cloudfor a self-hosted serverPlane API key not connectedenter pastes onePlane filter nonequery parameters, such as priority=highGitLabGitLab URL gitlab.comfor a self-hosted serverGitLab access token not connectedenter pastes oneAsanaAsana workspace your only onename or IDAsana projects your tasksIDs or links, empty lists your tasks
Row What it sets
Shortcut API token, Linear API key Paste a token and press Enter; cornercase checks it, then saves it to secrets.json. Hover a saved one and click ×, or press Delete, to remove it. When the token comes from an environment variable, the row says so and can’t be changed here.
Jira site, Jira email Your Jira Cloud site, such as acme.atlassian.net (a bare name like acme gets .atlassian.net), and the email of your Atlassian account. The Jira tab of the issue browser asks for both when they are missing.
Jira API token Like the tokens above; the site and the email must be set first, since the token is checked against that site.
Jira filter A JQL condition the Jira tab always applies, such as project = SHOP. Empty lists every issue of the site you can see.
Plane workspace, Plane URL Your Plane workspace, the part of the address after the server’s name (acme in app.plane.so/acme), and the address of a self-hosted server, such as https://plane.acme.dev. Empty means Plane Cloud. The Plane tab of the issue browser asks for the workspace when it is missing.
Plane API key Like the tokens above; the workspace must be set first, since the key is checked against it.
Plane filter Query parameters the Plane tab always adds to its list, such as priority=high or project_id=…&label_id=…. Empty adds nothing; finished work items still need closed.
Asana workspace Your Asana workspace, by name or ID; the row shows its name once the account is known, with the saved ID in the note. Empty means the only workspace your token belongs to; with several, the Asana tab of the issue browser asks which one.
Asana projects The projects whose tasks the Asana tab lists, as IDs or links separated by spaces or commas (saved as IDs). Empty lists the tasks assigned to you.
Asana access token Like the tokens above; it needs no workspace first.
GitLab URL The address of a self-hosted GitLab server, such as https://gitlab.acme.dev. Empty means gitlab.com. The GitLab tab of the issue browser asks for it before the token.
GitLab access token Like the tokens above; it is checked against the server set in GitLab URL.
Sources shown Which tabs the issue browser shows. Click to show or hide one (at least one stays); hover a row and use its ↑ ↓ buttons, or press Shift+↑ Shift+↓, to change the order.
SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingssidebarprojects_on_tophow projects, workspaces and tabs are laid outtabs sidebarwhere a workspace's tabs are listedicon bar [ ] offthe buttons under the lists, as icons; needs a Nerd Fonticons autoNerd Font icons for files and buttons, per windowagents section [ ] hiddenevery running agent in the sidebarworking icon moonon the tab of an agent that is workingcounts [x] shownwhat a project or collapsed group holds, such as (3)TODO dot [x] shownwhile items are pendinginactive panes [x] dimmedin a split tabshell default (bash)the program a new pane starts; open panes keep theirsshell arguments nonegiven to the shell when a pane starts, such as -NoLogo or --loginmodel [x] shownunder an agent's tab, such as Opus 5.5context [x] shownhow full its context is, such as 23%memory [ ] hiddenthe RAM its processes use, such as 1.2 GBaccount [x] shownthe account an agent uses; only once you add an accountaccount switcher [x] showna row under each pane; only once you add an accountaccount picker [x] shownin issues, flows and the queue; only once you add an accountdesktop notifications autowhen an agent in another tab needs you or finishesnotices for subagents [x] onoff: only the agents you started notify yousound [x] onalso while you look at cornercase, on the window's computer
Row What it sets
sidebar How projects, workspaces and tabs are laid out: projects_on_top (the default) and workspaces_on_top stack both lists in one column, side_by_side gives each its own column, and tree shows one list with every project, its workspaces and their tabs. See Arrange the columns.
tabs Where a workspace’s tabs are listed: sidebar (the default) under their workspace, or top in a bar above the pane with only the active workspace’s tabs. See Tabs above the pane.
icons Which windows draw Nerd Font icons: file types in the files tree, the changes panel and the search results, and the panels’ buttons. auto decides per window, on and off force every window. See icons.
icon bar Move the buttons at the bottom of the sidebar into a column of icons on the left edge, named when you hover them. They need a Nerd Font, which Ghostty, kitty and WezTerm include. Off by default. See The icon bar.
agents section List every Claude Code, Codex, Gemini CLI, opencode, Grok Build, Cursor CLI, Vibe CLI and GitHub Copilot CLI, in every project and on your linked machines, at the bottom of the sidebar. A click on one here jumps to it and focuses its pane; on a machine’s, it shows that machine’s tab with the pane active there. Off by default. See The agents section.
working icon What a working agent’s tab shows: moon (the default), a still yellow ◐, or spinner, ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ turning about ten times a second. Also in the tab bar and the agents section. See What your agents are doing.
counts Show how many workspaces a project has, such as (3), after its name, and how many projects a collapsed group holds. On by default.
TODO dot Show a grey ● next to the TODO button while items are left to do. On by default.
inactive panes Dim the panes you aren’t typing in, in a split tab.
shell The program every new pane starts. The pick lists default (your SHELL, or /bin/sh; on Windows PowerShell 7, Windows PowerShell or cmd), the shells found on this computer (the ones in /etc/shells on Linux and macOS; PowerShell 7, Windows PowerShell, cmd and Git Bash on Windows) and another program…, which takes a full path, one starting with ~/ or a name on the PATH, and says why when it can’t start it. It applies to the next tab, split or workspace; panes already open keep theirs. See shell.
shell arguments Options given to that shell when a pane starts it, such as -NoLogo or --login. Changing the shell drops them.
model Show the model of a Claude Code, Codex, Gemini CLI, opencode, Grok Build, Cursor CLI, Vibe CLI or GitHub Copilot CLI tab on a second line under its name, such as Opus 5.5.
context Show how full its context is on that line, such as 23%. With the model off too, and the memory off, every tab takes one row. See How full the context is.
memory Show how much memory every tab uses, at the end of an agent’s line or on a second line in a shell tab, such as 1.2 GB. Off by default. See How much memory a tab uses.
account Show the account an agent uses on its second line, such as work. On by default; shown only once you have an account.
account switcher Show a row under each pane with its accounts, such as claude: work ▾, to change that pane’s account. On by default; shown only once you have an account.
account picker Offer an account list when you start an issue or a flow, or schedule one. On by default; shown only once you have an account.
desktop notifications How your terminal tells you that an agent in another tab needs you or finished: auto picks what your terminal understands, osc777, osc9, osc99 or bell force one, off sends none. The toast in cornercase shows either way; see Notifications.
notices for subagents Also tell you when an agent started by another agent or by a flow needs you or finishes: the toast, the desktop notification, the sound and the Telegram or Discord message. For a flow’s member that exits, only the toast and the desktop notification. On by default; off, only the agents you started tell you. See notify_subagents.
sound Also play a sound when an agent in another tab needs you or finishes, on the computer the window is on, even while your terminal is focused and inside tmux. On by default. See A sound.
sound when it needs you The file played when an agent waits for you or fails: an absolute path or one starting with ~/, read on the window’s computer. Empty plays the built-in one.
sound when it finishes The file played when an agent finishes. Empty plays the built-in one.
sound for subagents Also play it for agents started by another agent or by a flow. Off by default, so only the agents you started make a sound. With notices for subagents off, they play none either way.
check for updates Every hour: ask GitHub for the latest release when the server starts and then hourly, and offer to update when there is a newer one. Never: don’t ask.
guided tour On a new install: the guided tour shows once by itself, the first time cornercase runs. Only from Help: it never shows by itself. See tour.
start the tour Opens the guided tour.
reset tour progress Every tour starts again from its first step.
star prompt Once: right after your 5th prompt, a dialog in the middle of the window asks for a star on GitHub, once. Never: it never asks. See star_prompt.
prefix key The key that opens the menu of keyboard shortcuts. Select the row, then press the combination you want; Backspace turns it off, Esc keeps the current one. Off by default.

Using cornercase away from the computer: in your phone’s browser, or through Telegram or Discord. Once one of them is set up, More ▴, at the bottom of the sidebar, gets a remote… entry that opens a menu with each, and shows a green ● while a browser is attached or you are away on a chat app.

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settingsBrowserremote access[ ] offopen this computer's cornercase from your phone over TailscalePhone appphone app [ ] offuse cornercase from the phone app over Wi-Fi or TailscaleTelegrambot not setmake a bot with @BotFather and paste its token hereDiscordbot not setmake a Discord app with User Install and paste its bot token
Row What it sets
remote access Open this cornercase in your phone’s browser over Tailscale: on, More ▴ › remote… › open in your phone’s browser shows a QR code to scan. The note says when it is ready, at which address, or what is missing. Off by default. See From your phone.
paired browsers How many browsers are paired, shown once there is one. Enter forgets them all and disconnects them.
phone app Under Phone app: let the cornercase phone app reach this computer on your Wi-Fi or over Tailscale. On, the note lists the addresses it listens on and the port; off by default. See The phone app.
pair a phone app Shown while phone app is on. Enter shows a code to scan with the app.
paired app One row per paired phone app, with its name and the day it paired. Enter forgets it and disconnects it at once.
bot Under Telegram, the Telegram bot that messages you while you are away: paste the token @BotFather gave you. Under Discord, the Discord app’s bot token, from the Developer Portal. The note says whether cornercase reaches it. Backspace removes it.
phone The chat paired with the bot, shown once a bot is set. Enter shows a code to scan with your phone (for Discord, the link that adds the app to your account); Backspace forgets the chat.
forum mode Under Discord, once the phone is paired: a post per workspace in a forum channel of your server (see Forum mode). Enter turns it on and opens the dialog that sets it up; while it is not ready, Enter opens the dialog again, and once it is, turns it off. The note names the server and channel, the step still left or what failed.
closed workspaces Shown while forum mode is on: archive or delete the post of a workspace you close.

The plugins you installed with cornercase plugin install or linked with cornercase plugin link, under Installed. Each row shows the plugin’s name and version and whether it is on. While it is off, the note says what it asks for; once on, its description, or whether its service runs. Enter turns it on or off, and the change is saved in plugins.json, not in config.json. A plugin whose manifest cannot be read, or whose command leads out of its folder, says why and cannot be turned on. With no plugin linked, the tab says how to add one.

Plugins run as you, with your rights: what they ask for is shown, not enforced. Other apps read the same rows, and what each service is doing, with cornercase plugin status (or the plugin-list request; see Scripts and agents).

SettingsWorktreesAgentsAccountsFlowsIssuesUIRemotePluginsMachinessearch settings▭this computer0.14.1·6 GB free of 16 GB☁vps ana@vps.example.com ~/codelinked·0.14.1·9.2 GB freeshow here○⌂homelabhomelab.lan ~/srcunreachable·not seen yetshow here◐◫mini mac-mini.local ~/codeolder·0.0.1show hereupdate…installs this version there with cornercase update; nothing restarts◌▣devbox me@10.0.0.5 ~hiddenshow here·+ add machineanother computer you reach with ssh

The other computers your work can run on, and the link your cornercase server keeps to the server on each: see Machines. this computer comes first, with its version and its free memory (0.13.0 · 6 GB free of 16 GB), and can’t be changed. Then a row per machine: its state’s mark, icon and name, its destination and folder, and its state, linked with the version there and, once read, its free memory, unreachable with how long since it was up, older, connecting…, or hidden (the machine is on the list and the machine button, but its show its work here is off). Each machine’s row ends with a toggle, show here ✓ or show here ·, that hides or shows it at once without opening the form. While the window is on another machine, the first row names that machine, whose list the page is. Select one and the line at the bottom says why it is not linked. Enter or a click opens the machine in a form to change it, × or Backspace removes it at once (its server keeps running there), update… under an older machine installs your release there, and + add machine opens the form for a new one: a name, an icon, the ssh destination, a folder for clones (~/code unless you change it), an optional command for a window opened there and the show its work here box. What you set is kept in machines. The last section, Free memory, holds a start needs, the free memory auto counts for a start whose flow doesn’t say: default_memory.

The field under the tabs has the keys as soon as the settings open, so you just type. It looks in every tab, in each row’s label, section, tab, value and note: every word you type must be the start of a word there, so def ag finds default agent and ose finds nothing. Matches in a label come first, then in a section or tab, then in a value or note. Each tab shows how many results it holds, and a tab with none is dimmed.

↑ ↓ pick a result and Enter or a click goes to its tab and row; it selects the row and changes nothing. A row that only shows under another (forum mode, closed workspaces, phone, paired browsers) is listed in grey with what it needs, and going to it stops at the nearest row that shows. A tab’s name is a result too. Plugins are searched as rows of their tab; the flows themselves are not, so flows leads to the Flows tab. Esc clears the field, then closes the settings. While the field is empty, the keys below work on the rows.

The search of the whole window lists the same results after its names. Scripts search the same way with cornercase config search.

Key Does
Any letter or number Starts a search.
Enter, Space Change the selected row.
↑ ↓ Select a row. The mouse wheel does the same.
Tab, → / Shift+Tab, ← Next / previous tab.
Shift+↑ Shift+↓ Move the selected source up or down.
Delete, Backspace Remove the selected saved token, chat bot or machine, or forget the paired phone.
Esc Close the modal, or leave a list or a text field.

In a list, type to filter it and press Enter to pick. In a text field, Enter saves and Esc cancels.

Pasting several lines while no list or row is being edited opens Share with what you pasted, ready for preview; a single line goes to the search.

To set up a colleague’s cornercase the way yours is, click share in the settings and then copy my setup: your settings are copied as a short text that you can send in a chat. The toast says how many settings and repositories it holds, and what it left out, counting the projects whose setup it could not share (such as one with no git remote); the line above the buttons names each of them.

Settings›ShareCopy your setup to send it to a colleague, or paste one they sent you. Tokens and personal settings are never shared.paste here·enter starts a new line·preview shows what would change·esc goes backbackcopy my setuppreview

The text holds five sections, each of which the other person can leave out:

Section What it carries
agents agent, agent_args, agent_modes, agent_commands, prompt, submit, accept_trust_prompts, resume_agents, trust_prompt_pattern, recap_agent, recap_model, recap_effort, recap_language, recap_instructions
issues issue_branch, issue_tabs, gitlab_url, jira_site, jira_jql, plane_url, plane_workspace, plane_filter, asana_workspace, asana_projects
worktrees worktrees_dir, fresh_branches, fetch_minutes, pull_requests, merged_pull_requests, shared_files, gh, glab
interface Every switch of the UI tab, from sidebar to tour, with the sounds and the prefix key
repositories Each project’s setup and teardown, found by the project’s git remotes (such as github.com/acme/web-shop) rather than its folder, so it reaches the same repository wherever your colleague cloned it

It never holds a token, a chat bot, a paired chat, browser or phone app, your accounts and profiles, jira_email, remote, remote_port, phone_app, phone_app_port, keep_awake, recap_account, your machines or default_memory. It lists the trackers you are connected to, by name only, so the other side is told which to connect. A setup or a prompt is copied as you typed it, so when one looks like it holds a secret (NPM_TOKEN=…, --api-key …, Bearer …) the toast says where, in red: check before you send it.

To import one, paste it on Share (or anywhere on a settings tab, when it has several lines) and click preview. Settings › Import shows every setting that would change, as its value now → the shared one, grouped by section; a repository’s setup and teardown are shown in full, a line at a time, in red:

Settings›ImportTick the sections to import: their settings take the shared values, the rest stay as they are. Red notes are programs that will run,or values to check.[x] agents·4 changesdefault agent: autoclaudeagent_args: {}{"claude":["--model","opus"]}prompt: "{url}""Work on {url}. Run the tests before you commit."send the prompt: [ ] typed, you press Enter[x] sent for you[x] issues·2 changesissue branches: per tracker{source}-{number}-{slug}sources shown: all, github, gitlab, shortcut, linear, jira, plane, asanagithub, linear[x] worktrees·1 changefetch branches every: 5 min10 min[x] interface·2 changessidebar: projects_on_toptreecounts: [x] shown[ ] hidden[x] repositories·1 change~/code/web-shop setup: nothingnpm ci && cp ../.env.example .envruns these setup commands in every new worktree of ~/code/web-shopconnect linear in Settings›Issuesa click on a section ticks or unticks it·enter imports the ticked ones·esc goes backbackimport

Click a section to untick it, then import: the ticked sections are saved at once, and the rest stay as they are, as do the settings the text does not mention. The notes say what to check first: in red, the commands that will run on their own (a repository’s setup and teardown, agent_commands, gh and glab, an agent mode that skips permission prompts, trust prompts answered for you) and what looks like a secret; then a path or a program this computer lacks, a tracker to connect, a repository with no open project (open it and import again), and a setting this cornercase does not know yet (update it to get that one; the rest still imports). If anything in the text cannot be used, such as a value the settings would refuse, nothing at all is imported and the page says why.

From a terminal, cornercase config export and cornercase config import do the same, and config import --preview prints what would change without applying it: see Share your setup in Scripts and agents.

Path
Usually ~/.config/cornercase/config.json
With XDG_CONFIG_HOME set $XDG_CONFIG_HOME/cornercase/config.json
With CORNERCASE_SOCKET set config.json next to the socket

Every key is optional: a missing key takes its default. Here is a complete file, as the settings modal writes it after choosing Claude Code in plan mode as the default agent:

config.json
{
"worktrees_dir": "~/.cornercase/worktrees",
"fetch_minutes": 5,
"pull_requests": true,
"merged_pull_requests": true,
"shared_files": false,
"issue_branch": "",
"fresh_branches": false,
"issue_tabs": ["all", "github", "gitlab", "shortcut", "linear", "jira", "plane", "asana"],
"gitlab_url": "",
"jira_site": "",
"jira_email": "",
"jira_jql": "",
"plane_url": "",
"plane_workspace": "",
"plane_filter": "",
"asana_workspace": "",
"asana_projects": "",
"agent": "claude",
"agent_args": {
"claude": ["--permission-mode", "plan"]
},
"agent_modes": {},
"agent_commands": {},
"prompt": "{url}",
"submit": false,
"accept_trust_prompts": false,
"resume_agents": true,
"keep_awake": false,
"hidden_flows": [],
"default_flow": "",
"flow_order": [],
"trust_prompt_pattern": "trust the files|trust this (folder|directory|workspace|repository)|do you trust|yes, proceed|yes, add it",
"gh": "gh",
"glab": "glab",
"sidebar": "projects_on_top",
"tabs": "sidebar",
"icon_bar": false,
"icons": "auto",
"agents_section": false,
"working_icon": "moon",
"counts": true,
"todo_dot": true,
"dim_inactive_panes": true,
"shell": "",
"prefix_key": "",
"model": true,
"context": true,
"memory": false,
"account_mark": true,
"account_switcher": true,
"account_picker": true,
"desktop_notifications": "auto",
"notify_subagents": true,
"sound": true,
"sound_waiting": "",
"sound_done": "",
"sound_subagents": false,
"check_updates": true,
"star_prompt": true,
"tour": true,
"remote": false,
"remote_port": 47681,
"phone_app": false,
"phone_app_port": 47682,
"discord_forum": false,
"discord_forum_close": "archive",
"projects": {}
}
Key Type Default
worktrees_dir string "~/.cornercase/worktrees"
fetch_minutes number 5
pull_requests boolean true
merged_pull_requests boolean true
shared_files boolean false
issue_branch string ""
fresh_branches boolean false
issue_tabs array of strings ["all", "github", "gitlab", "shortcut", "linear", "jira", "plane", "asana"]
gitlab_url string ""
jira_site string ""
jira_email string ""
jira_jql string ""
plane_url string ""
plane_workspace string ""
plane_filter string ""
asana_workspace string ""
asana_projects string ""
agent string "auto"
agent_args object {}
agent_modes object {}
agent_commands object {}
prompt string "{url}"
submit boolean false
accept_trust_prompts boolean false
resume_agents boolean true
keep_awake boolean false
recap_agent string ""
recap_account string ""
recap_model string ""
recap_effort string "low"
recap_language string "auto"
recap_instructions string ""
hidden_flows array of strings []
default_flow string ""
flow_order array of strings []
trust_prompt_pattern string see below
gh string "gh"
glab string "glab"
sidebar string "projects_on_top"
tabs string "sidebar"
icon_bar boolean false
icons string "auto"
agents_section boolean false
working_icon string "moon"
counts boolean true
todo_dot boolean true
dim_inactive_panes boolean true
shell string or object ""
prefix_key string ""
model boolean true
context boolean true
memory boolean false
account_mark boolean true
account_switcher boolean true
account_picker boolean true
desktop_notifications string "auto"
notify_subagents boolean true
sound boolean true
sound_waiting string ""
sound_done string ""
sound_subagents boolean false
check_updates boolean true
star_prompt boolean true
tour boolean true
remote boolean false
remote_port number 47681
phone_app boolean false
phone_app_port number 47682
discord_forum boolean false
discord_forum_close string "archive"
projects object {}
profiles object {}
profile string ""
account_names object {}
active_accounts object {}
machines array []
default_memory string "4GB"

The folder for new worktrees, checked out in <worktrees_dir>/<repository>/<branch>. An absolute path, or one starting with ~/.

How often, in minutes, each project’s remotes are fetched to show the commits to pull on its workspaces. A whole number; 0 turns fetching and the counts off.

Whether each workspace shows the pull request of its branch and the state of its checks and whether it has merge conflicts, and, on GitHub, its layer in a stack, asked of GitHub with gh or, for a GitLab merge request and its pipeline, with glab. On by default. See Pull requests and their checks.

Whether Usage → Stats counts the pull requests and merge requests you opened that were merged, read with gh and glab. On by default; off asks nothing. See Usage and stats.

Whether workspaces of a project look for the files they both change: the ⇄n badge on their rows and the ⇄ mark in the changes panel, from a git scan every few seconds in projects with two or more checkouts. Off by default; off runs no scan, and the merge check still checks a workspace against its base branch. See Workspaces that change the same files.

The branch an issue’s worktree is made on, as a template such as "feat/{key}-{slug}" or "{user}/{key}", with the placeholders {key}, {number}, {slug}, {source} and {user} (your git user.name). It must hold {key} or {number}; the result is cleaned into a name git takes. Empty keeps each tracker’s own name (issue-482-…, 482-… on GitLab, sc-48-…, ENG-123-…). Start in the issue browser shows it filled in and lets you change it for that issue. See Your team’s branch names.

Where a branch that does not exist yet starts when cornercase makes a worktree for it. Off (the default): from the project’s own folder’s HEAD. On: from the project’s default branch, fetched from its remote first (origin, else the first one), as a routine’s runs do. If the fetch fails (offline, a login, the 120 s limit), the start fails with git’s reason and nothing is made; it never falls back to HEAD. A project without a remote starts them from its local main or master (else HEAD), with no fetch. It covers the New workspace dialog, the issue browser’s start and start a flow, the queue and the commands for scripts, where --fresh and --no-fresh choose for one start. A branch that already exists is checked out as it is, with no fetch. See Worktrees from issues.

The tabs of the issue browser, in order. Accepts all, github, gitlab, shortcut, linear, jira, plane and asana, in any case; unknown names and repeats are ignored, and a list with no valid name shows all eight. A list saved before Jira existed gets jira added at the end once, one saved before Plane existed gets plane, one saved before Asana existed gets asana, and one saved before GitLab existed gets gitlab right after github (at the end without it).

The address of your GitLab server, such as "https://gitlab.acme.dev", or one under a path such as "https://acme.dev/gitlab"; a trailing / is dropped. Empty is gitlab.com. Requests carry your token, so they don’t follow redirects: enter the address the server ends up at. An http:// address works too; one that isn’t loopback (localhost, 127.x.x.x or [::1]) gets a warning, since the token then travels unencrypted. The GitLab tab lists the issues of the project whose remote is on this server. Set from the issue browser or the settings modal. The token is never stored here: it goes in secrets.json or comes from GITLAB_TOKEN (see Files and environment).

Your Jira Cloud site, as a host name such as acme.atlassian.net. Set from the issue browser or the settings modal, which also accept a URL or a bare name.

The email of your Atlassian account, sent with the API token to sign in to Jira. The token itself is never stored here: it goes in secrets.json or comes from JIRA_API_TOKEN (see Files and environment).

A JQL condition added to every Jira list, such as project = SHOP or project in (SHOP, API) AND labels = backend. The list is always sorted by last update, so an ORDER BY in it is dropped.

The address of a self-hosted Plane server, such as "https://plane.acme.dev"; a trailing / is dropped. Empty is Plane Cloud (https://app.plane.so). Requests carry your API key, so they don’t follow redirects: enter the address the server ends up at. Set from the settings modal.

Your Plane workspace, the slug in the address after the server’s name: acme in app.plane.so/acme. Lower case letters, numbers and dashes. Set from the issue browser or the settings modal. The API key is never stored here: it goes in secrets.json or comes from PLANE_API_KEY (see Files and environment).

Query parameters added to every Plane list, written as in a URL: priority=high&label_id=…. The parameters are those of Plane’s work item list (state_group, priority, project_id, label_id, cycle_id, …; lists take comma-separated values). They are not checked: when Plane refuses them, its answer is shown in the list. The list asks for the work items that are not done on its own, so a state_group__in here narrows that rather than replacing it: while closed is off only its open groups count, and one that names only finished groups lists nothing.

Your Asana workspace, by name (any case) or ID. Choosing one in the issue browser saves its ID, since two workspaces can share a name; a name that two share is refused, with their IDs. Empty means the only workspace your token belongs to; when it belongs to several and this names none of them, the issue browser asks which one and the Asana tab says so. Set from the issue browser or the settings modal. The access token is never stored here: it goes in secrets.json or comes from ASANA_ACCESS_TOKEN (see Files and environment).

The projects the Asana tab lists, as project IDs or links separated by spaces or commas: "1200000000000001 https://app.asana.com/1/12/project/34/list/56". The settings modal saves them as IDs joined by , . Empty lists the open tasks assigned to you, and then the assignee filter can only be anyone or me.

The default agent: an agent kind such as "claude" or "codex", or "auto" for the agent running in your current tab, and otherwise ask.

The arguments each agent kind starts with, including those of its mode. For example {"claude": ["--permission-mode", "plan"]} starts claude --permission-mode plan.

Extra or replaced start modes for an agent kind: {"kind": {"mode name": ["args"]}}. A mode with the same name as a built-in one replaces it; an empty list hides it. A mode named default is ignored: that name always means no mode arguments.

The program to run for an agent kind, a name on your PATH or a path: {"cursor": "/opt/bin/cursor-agent"}. A kind that cornercase doesn’t know adds a new agent.

The prompt template handed to an agent started on an issue. Placeholders such as {url}, {title} and {branch} are filled in.

true sends the prompt for you; false leaves it typed at the agent’s prompt for you to send.

Whether cornercase answers yes to the agent’s “do you trust this folder?” question when it starts one. Off by default: you answer, and the prompt waits until you have. Older versions called this key auto_accept_trust_prompt and had it on; that key is ignored now, so it is off until you turn it on again. See Trust prompts.

Whether a pane that ran Claude Code, Codex, Gemini CLI, Grok Build, Cursor CLI, Vibe CLI or GitHub Copilot CLI comes back in the same conversation when a new server restores your session: cornercase types claude --resume <id>, codex resume <id>, gemini --resume <id>, grok --resume <id>, cursor-agent --resume <id>, copilot --resume=<id> or vibe --resume <id> into its new shell, with the agent’s command and arguments and the mode it was running in. On by default. See Agents resume their conversations.

Whether the computer stays awake while an agent is working. Off by default. See Keep the computer awake.

The agent that writes the Recap: claude, codex, copilot or opencode. Empty or auto is the default agent when it can write a recap, else Claude Code.

The account of that agent the Recap uses, by its folder name; empty is the agent’s default account. It is yours alone and is not part of the settings you share.

The model that writes the Recap; empty is the agent’s default.

The effort it spends, one of the agent’s levels. low by default, which keeps a recap quick and cheap. A level the agent does not have is ignored when it runs.

The language the Recap is written in: auto (the default) is the language most of your prompts are in; any other text is used as a language name.

Text added to the Recap’s prompt, such as group by client or format for Slack. Empty by default.

The names of the built-in flows you deleted in Settings → Flows, compared ignoring case and surrounding spaces. They leave Settings, the start dialog and cornercase flow list, and cornercase flow run refuses them; a deleted name stays reserved, so a project’s flow named like one does not run. A name that matches no built-in flow is ignored, and the list is kept across updates. Remove a name here, or use deleted built-ins in Settings → Flows, to bring the flow back.

The name of the flow the start dialog opens with selected, compared ignoring case and surrounding spaces; empty for none. set default in Settings → Flows writes it, and cornercase flow default NAME does too. When the flow is missing, hidden or has problems, the dialog opens on Full issue, or on the first flow that can start. Deleting or hiding the flow clears it, and renaming it in the editor moves it to the new name. It is not part of the settings you share, since it names a flow the colleague may not have.

The names of the flows in the order you dragged them into in Settings → Flows, first to last, compared ignoring case and surrounding spaces; cornercase flow order NAME… writes it too. Settings, the start dialog and cornercase flow list follow it. Flows that are not in the list, such as a new built-in flow, an import or a project’s flow, go after the others, by name. A name that matches no flow is skipped, and removed the next time the order is written; a project’s flow keeps its place while another project is open. It is not part of the settings you share.

The regular expression, matched without regard to case against the last 15 non-blank lines of the agent’s screen, that recognises a trust question. The default is:

trust the files|trust this (folder|directory|workspace|repository)|do you trust|yes, proceed|yes, add it

The GitHub CLI to run for GitHub issues and for the pull requests of workspaces: a name looked up in your PATH, or a path, which may start with ~/.

The GitLab CLI to run for the merged merge requests of Stats and for the merge requests of workspaces on GitLab: a name looked up in your PATH, or a path, which may start with ~/.

How projects, workspaces and tabs are laid out: "projects_on_top" and "workspaces_on_top" stack both lists in one column, the first one named on top; "side_by_side" gives each its own column; "tree" shows one list with every project, its workspaces and their tabs. An unknown value counts as the default, "projects_on_top"; before 0.9.0 the default was "side_by_side", and a config.json that already names it keeps it. It applies from 90 columns up; below that the compact layout shows one list at a time.

Where a workspace’s tabs are listed: "sidebar" under their workspace, in the workspaces list or the tree; "top" in a bar above the pane, with only the active workspace’s tabs and, on a second line, the model and context of the one on screen. An unknown value counts as the default, "sidebar". It applies from 90 columns up; the compact layout always lists the tabs in its menu. See Tabs above the pane.

Whether the buttons at the bottom of the sidebar become a column of icons on the left edge, from 90 columns up. The icons come from Nerd Fonts: Ghostty, kitty and WezTerm include them, other terminals need a Nerd Font set as their font. See The icon bar.

Which windows draw Nerd Font icons: an icon per file type in the files tree, the changes panel and the files search results, and the glyphs of the compact layout’s top bar and the panels’ search and full-screen buttons. "auto" decides for each window, so a Ghostty window and a phone attached at once each get their own choice: it draws them in Ghostty, kitty (0.36 and later, or an unknown version) and WezTerm, also inside tmux (the terminal outside tmux decides), in the browser window, and wherever icon_bar is on. "on" draws them in every window, so other terminals need a Nerd Font set as their font. "off" draws plain symbols everywhere. An unknown value counts as the default, "auto". Zellij and screen cannot name the terminal behind them, so auto leaves them plain; use "on". With CORNERCASE_IMAGES set, cornercase does not ask tmux about the terminal outside it, so use "on" there too.

The browser window ships a subset of Symbols Nerd Font: Nerd Fonts (MIT), Seti UI (MIT), Codicons (CC BY 4.0, © Microsoft) and Material Design Icons (Apache 2.0). Their licences are served at /symbols-LICENSE.txt on the browser window’s address.

Whether the sidebar ends with a list of every Claude Code, Codex, Gemini CLI, opencode, Grok Build, Cursor CLI, Vibe CLI and GitHub Copilot CLI running in any project, here or on a linked machine, with what each is doing, its model and context; a click on one jumps to it (on a machine, shows its tab). In every layout; below 90 columns it is a third menu. See The agents section.

What the tab of a working agent shows, also in the tab bar and the agents section: "moon", a still ◐, or "spinner", ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ turning about ten times a second. An unknown value counts as the default, "moon". See What your agents are doing.

Whether a project shows how many workspaces it has after its name, such as (3), and a collapsed group how many projects it holds.

Whether the TODO button shows a grey ● while at least one item is left to do (☐ ● in the compact layout’s top bar). It never shows a number, and goes away once every item is done or the list is empty. See TODO list.

Whether panes you aren’t typing in are dimmed, in tabs split into several panes.

The shell a new pane starts, as a program or as an object with its arguments:

"shell": "pwsh"
"shell": { "program": "C:\\Program Files\\Git\\bin\\bash.exe", "args": ["--login", "-i"] }

The program is a full path, a path starting with ~/ or a name found on the PATH. Empty, the default, is your SHELL when the server started, else /bin/sh (on Windows: SHELL when Windows can start it, else pwsh, powershell, then cmd). With only args, the default shell starts with them.

  • It is read for each new pane, so a change applies to the next tab, split, workspace or restored pane with no restart; panes already open keep their shell. It also ends a worktree’s setup (except on Windows without Git for Windows, where the tab stays in the PowerShell that ran the setup).
  • A shell that can’t start (not found, not executable, or failing to start) never leaves you without a pane: the pane starts the default shell, a toast says why, and the Settings row turns red. A shell that starts and exits at once, because of a wrong argument, ends its pane as exit would.
  • On Windows the pick offers pwsh, powershell, cmd and Git Bash (by its full path, without --login: add it in args to read your .bash_profile). WSL (wsl.exe, and bash.exe in System32) and programs on a network share are refused. Only an .exe or .com can start, not a .cmd or a .ps1.
  • It is not shared by share: a program path belongs to one computer.
  • From a script: cornercase config set shell /usr/bin/fish shell.args -l.

The key that opens the menu of keyboard shortcuts, such as "ctrl+]", "alt+k" or "f12": modifiers (ctrl, alt, shift) joined by +, then a character, space or a function key. Ctrl or Alt is needed except for function keys, and ctrl+c, ctrl+d and ctrl+z are refused. Empty, the default, or anything that can’t be a prefix leaves keyboard shortcuts off.

Whether a Claude Code, Codex, Gemini CLI, opencode, Grok Build, Cursor CLI, Vibe CLI or GitHub Copilot CLI tab shows its model on a second line under its name, such as Opus 5.5. When the file has no model, it takes the value of context, so a line turned off in 0.6 stays off.

Whether that line shows how full the agent’s context is, such as 23%, after the model. With model, context and memory all false, every tab takes one row. cornercase 0.6 called it context_line, and it hid the model too; that key is still read.

Whether every tab shows how much memory its processes use on its second line, such as Opus 5.5 · 23% · 1.2 GB, or 1.2 GB alone in a shell tab or with model and context off. While it is true, the tabs of the project on screen are measured every 2 seconds; in the tree, those of every open workspace. See How much memory a tab uses.

Whether an agent’s tab, the tab bar and the agents section name the account it uses, such as Opus 5.5 · work · 12%. Nothing shows while you have no account, whatever this says.

Whether each pane gives its last row to its accounts: the button of the agent it runs, such as claude: work ▾, or in a shell one per agent with accounts, to change that pane’s account. Each terminal is one row shorter while it shows. Nothing shows while you have no account. Off, the right-click menu of a pane and the ⋯ menu of a tab still have account ›.

Whether the dialogs that start an issue or a flow, and the schedule form, offer an account list for the agents that have accounts. Off, they use the default accounts. Nothing shows while you have no account.

How cornercase asks your terminal for a desktop notification when an agent in another tab needs you or finishes: "auto" picks it from each terminal, "osc777", "osc9", "osc99" or "bell" forces one, and "off" sends none. An unknown value counts as "auto". The toast inside cornercase shows either way; see Notifications.

Whether agents started by another agent (with cornercase start, new-tab or split run in its pane) or by a flow, the ones the agents section hangs under another, tell you when they need you, fail or finish. true by default. With false, only the agents you started do: the others make no toast, desktop notification, sound, notice event or Telegram and Discord message while you are away, and the agent that started them still does. Their tabs keep their ! and ✓, in the agents section too, so you can still see which one waits for you or has finished; one waiting for a permission tells no one, so look for its !. An agent whose parent closed, whose parent’s agent is gone, or started from a shell, counts as one you started. A change counts from the next notice, and what was left quiet is not sent once you turn it back on. An agent on one of your machines counts as started by another when it has a parent there. cornercase notify, the queue’s and a failed setup’s notices are not agents’ and always show.

Whether cornercase also plays a sound when an agent in another tab needs you or finishes: at the same moments as the toast, once the state has held for a second, never for the tab you are looking at. It plays on the computer the window is on, whatever your terminal does with notifications, so it is heard while Ghostty is focused and inside tmux, screen or Zellij; with cornercase remote it plays on your laptop. A window opened in a plain SSH session (ssh -t host cornercase) plays none, since it would play on the other computer. It does not depend on desktop_notifications, which can be "off". On macOS it uses afplay; on Linux the first of pw-play, paplay and aplay found. On by default. See A sound.

The file played when an agent waits for you or fails. "" (the default) plays the built-in one. The path must be absolute or start with ~/, your home folder on the window’s computer, where it is read; Settings refuses any other. A file that is missing or cannot be read plays the built-in one. afplay plays most formats; on Linux use WAV with aplay, or WAV, OGG or FLAC with pw-play and paplay.

The file played when an agent finishes, the same way as sound_waiting. "" plays the built-in one, which sounds different from the other, so you can tell them apart without looking.

Whether the sound also plays for agents started by another agent (with cornercase start, new-tab or split run in its pane) or by a flow, the ones the agents section hangs under another. false by default: only the agents you started make a sound, and the others still get their toast and notification. An agent whose parent closed, or whose parent’s agent is gone, counts as one you started. With notify_subagents false the others make no notice at all, so this setting has nothing to play.

Whether cornercase asks GitHub for the latest release, when the server starts and then every hour, to offer an update. Only a request for the latest release is sent, and, once a newer one is out, a download of its changelog for the update dialog; nothing about you. Builds made with cargo run never check. An explicit check, cornercase update --check or a program’s update-check, asks GitHub whatever this setting says.

Whether cornercase may ask for a star on GitHub. It asks once: when an agent records your 5th prompt (any agent cornercase knows, counted from the version that brought this dialog), a dialog in the middle of the window asks for one. star on GitHub copies the repository’s link to your clipboard; no thanks or Esc close it, and either way it never asks again. It doesn’t close by itself, when an agent works or with a click outside it, so you see it before it goes. If a dialog, a menu, a drag or a text field is busy then, or no window is open because the prompt came from a script, it waits until it can show. If you answered the small card of earlier versions with star on GitHub or don’t show again, it never asks. Nothing is sent anywhere and cornercase doesn’t check whether you starred; what it remembers (the prompts counted, when it asked and your answer) is in star.json next to session.json. Set it to false to turn it off: nothing is counted and it never asks.

Whether the guided tour shows by itself on a new install: the first time cornercase runs, with no session.json, stats.json or star.json yet. It shows once; an install from before the tour gets a toast saying it is in Help instead. Whatever this says, Help, the keys menu’s h, settings → UI → start the tour and cornercase tour open it. Your progress is in tour.json next to session.json.

Agents explains agent, agent_args, agent_modes, agent_commands and the trust prompt in depth.

Whether this cornercase can be opened in a browser over Tailscale, from a phone that scans the code More ▴ › remote… › open in your phone’s browser shows. Off by default. See From your phone.

The port cornercase listens on for browsers, on your computer only (127.0.0.1); tailscale serve passes Tailscale’s port 8443 to it. Change it when something else uses 47681.

Whether the cornercase phone app can reach this computer: while on, cornercase listens for it only on your computer’s Wi-Fi and LAN addresses and on Tailscale’s, on phone_app_port. Off by default. A paired app is forgotten with cornercase config remove app.ID. See The phone app. It is not part of the settings you share.

The port cornercase listens on for the phone app, on each of those addresses. Change it when something else uses 47682. It has no row in the settings; it is not part of the settings you share.

Forum mode: each workspace gets a post in a forum channel of your Discord server, with a status tag, and what you write in it goes to that workspace’s agent. Off by default. Turned on in the settings modal, it opens the dialog that sets the forum up; turned on here or with cornercase config, nothing opens, and the forum mode row says enter sets it up until Discord is read; the setup then goes on in the background (see the guide). The settings modal shows it, and cornercase config sets it, only while a Discord phone is paired. It is not part of the settings you share, since it belongs to your own bot and server.

What happens to a workspace’s post when you close the workspace, in forum mode: "archive" tags it done, then archives and locks it; "delete" deletes it. An unknown value counts as the default, "archive". Closing a workspace’s agents only archives its post, whatever this says. cornercase config sets it while forum mode is on, as the row shows. It is not part of the settings you share.

Per-project settings, keyed by the project’s folder (~/ is expanded): setup runs in the first tab of each new worktree before its agent starts, teardown runs before a worktree is removed, and builds lists the folder names that free builds deletes in the project’s worktrees when git ignores them. Without builds the list is node_modules, target, .next, .turbo, dist, build, .venv and __pycache__; [] means no folder of the project is freed. Edit them in the project’s ⋯ menu, project settings; an entry with nothing set is removed.

"projects": { "~/code/web-shop": { "setup": "npm ci\ncp ../.env .env", "teardown": "docker compose down", "builds": ["node_modules", ".next"] } }

Your profiles: for each, the account each agent uses. Left out of the file while you have none. Manage them with cornercase profile.

"profiles": { "Work": { "claude": "work", "codex": "work" }, "Home": { "claude": "personal" } }

The active profile, whose accounts are the default, the ones new workspaces and agents start with. Empty, the default, means no profile: each agent uses the account in active_accounts, else its usual login. A name that is not in profiles counts as empty. cornercase profile use changes it, and an edit to the file applies at once. Choosing a default in Settings › Accounts empties it.

The names the window shows for your accounts, per agent; "" is the agent’s own login, which is otherwise called System, and an account without one shows its folder’s name. The folders never move. Left out of the file while you have none. rename… in Settings › Accounts and cornercase account rename change it.

"account_names": { "claude": { "": "work", "personal": "Personal" } }

Each agent’s default account while no profile is active: what a new workspace, a new project and an agent started from outside a pane start with (a new tab takes the accounts of the workspace’s active pane); an agent left out uses its usual login. Left out of the file while it is empty. Enter in Settings › Accounts and cornercase account use change it; cornercase profile use --system empties it.

"active_accounts": { "claude": "personal" }

The other computers your work can run on, in the order Settings › Machines lists them: each with its name (letters, digits, ., _ and -, at most 20, different from the others’ ignoring case, and neither all nor auto), its icon (☁, ▭, ▣, ◫, ⌂ or ◆; another one shows as ☁), its destination for ssh (a Host of ~/.ssh/config or user@host, different from the others’), its folder for clones there (an absolute path, ~, or one starting with ~/), an optional command (what runs cornercase there, for a window you open there with the machine button) and shown (true unless written: false keeps the machine on the list and the button without a link). Your server keeps a link to the server on each shown one: see Machines. A program that adds a machine also writes unreached: true, until a window has reached it, so the window asks once before it first connects. Left out of the file while you have none. An entry the rules refuse shows in the list with what is wrong and gets no link. cornercase machines changes it, and it isn’t part of the settings you share.

"machines": [
{ "name": "vps", "icon": "☁", "destination": "ana@vps.example.com", "folder": "~/code" },
{ "name": "mini", "icon": "◫", "destination": "mac-mini.local", "folder": "~/code", "command": "~/bin/cornercase" },
{ "name": "devbox", "icon": "▣", "destination": "me@10.0.0.5", "folder": "~", "shown": false }
]

The free memory a start needs when its flow doesn’t say its own (memory): --machine auto, the auto of a dialog’s run on row and the queue only pick a computer with that much free. An amount such as "4GB", "512MB" or "1.5GB", in powers of 1024; Settings › Machines refuses one it can’t read, and a file that holds one counts 4GB. It isn’t part of the settings you share, since it depends on your machines.

config.json
{
"worktrees_dir": "~/work/trees",
"issue_tabs": ["github", "linear"],
"agent": "codex",
"agent_args": {
"codex": ["--sandbox", "workspace-write"],
"mine": ["--fast"]
},
"agent_modes": {
"claude": { "auto": [] }
},
"agent_commands": {
"mine": "/opt/bin/my-agent"
},
"prompt": "Work on {url} ({title}). You are on branch {branch}; start with a failing test.",
"submit": true,
"dim_inactive_panes": false
}

This keeps worktrees in ~/work/trees, shows only the GitHub and Linear tabs, starts Codex in its workspace write sandbox by default, hides Claude Code’s auto mode, adds a custom agent called mine, sends a fuller prompt for you, and keeps every pane equally bright.