Use Ctrl+G Ctrl+L or /logs. Logs are the first place to look for provider, credential, plugin and startup errors. CodeAlta also writes them to files:
CodeAlta/desktop/logs in the local application data folder, such as %LOCALAPPDATA%\CodeAlta\desktop\logs on Windows;~/.alta/logs/.In CodeAlta Desktop, filter the logs by feature, and set Log levels to Debug for the feature that fails to see more of it: see Logs and recovery.
When the Issues tab or the # picker shows an error, the log says what failed:
401 Unauthorized ... Bad credentials, or a sign-in page for Azure DevOps. It also says when the requests carried no credentials, and the messages before it say why: az or gh not found, or the command that failed with its error.The log never holds your tokens. Sign in as the Issues page says for your service, for example az login or AZURE_DEVOPS_EXT_PAT for Azure DevOps.
When the window of alta cannot open, CodeAlta says why and what to do: in the terminal you started it from, in a message box on Windows, or in a notification on Linux and macOS when you started it from the applications menu or the Dock. The log has the full report.
sudo apt-get install libgtk-4-1 libwebkitgtk-6.0-4. Ubuntu 22.04 and older systems do not have WebKitGTK 6.0: use altatui.altatui.alta installed with dotnet tool. The terminal says so. Choose one:
WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 alta. The window loads only CodeAlta's local pages, but it is a sandbox turned off;alta an AppArmor profile that allows user namespaces, as Ubuntu does for its browsers; the message gives the path of the executable;altatui, which has no web view.dotnet tool uninstall -g CodeAlta, then dotnet tool install -g CodeAlta.Only one CodeAlta runs on a profile at a time, desktop or TUI. It holds the lock file ~/.alta/alta.lock.
Do not delete the lock file of a running process: two instances would share sessions and state unsafely.
altatui exits with the PID of the running instance.alta shows the window of the running desktop app; alta . or alta <folder> adds the folder as a project there.alta --exit asks the running desktop app to exit; one started with alta --automated exits without a question once no session is at work (see Started by another program).The desktop app can keep running in the notification area after its window is closed. If the TUI reports a running instance and you see no window, look for the CodeAlta icon in the notification area (on macOS, in the Dock), or run alta --exit.
The window of CodeAlta Desktop waits for every answer of CodeAlta, so a very busy computer (a build, many agents, a wake from sleep) slows it down without making anything fail.
The log records what the window waited for and for how long, and each step of the exit: attach it to a report.
config.tomlCodeAlta checks ~/.alta/config.toml before it creates providers or sessions. When the file is invalid at startup, a recovery editor opens with the error marked; Ctrl+S saves and continues once the file is valid, Ctrl+Q exits.
type your version does not know does not make the file invalid: CodeAlta leaves that provider out, says so in Settings > Providers and in the log, and keeps its table as written.Common fixes:
enabled = true or enabled = false, not quoted strings;[providers.<provider-key>];[chat] default_provider only to an enabled provider.Without an enabled provider, CodeAlta opens the provider setup: Settings > Providers in the desktop app, the Model Providers dialog in the TUI. Give the credentials, test the provider, then save; a successful test or sign-in enables it. See Model Providers.
For an API-key provider, check that the environment variable exists where CodeAlta starts. Started from the Start Menu or the applications menu, the desktop app sees the variables of your user session, not those of a terminal.
Ctrl+G Ctrl+C cancels; Ctrl+G Ctrl+U and Ctrl+G Ctrl+D copy the sign-in URL and the device code.For ChatGPT:
auth_source, and keep the https://api.openai.com/v1 endpoint.127.0.0.1 on the computer that runs CodeAlta; a remote computer needs a browser that reaches it.invalid_grant at the first sign-in: choose Continue with ChatGPT again. invalid_client during model discovery: check the registration; the static model list does not fix a sign-in.See Codex (ChatGPT).
3p_delegated_access_policy_deniedA ChatGPT Business or Enterprise workspace refuses the ChatGPT sign-in of the Codex (ChatGPT) provider, and its admin has no setting to allow it. Add a Codex CLI provider instead: Codex signs in with its own sign-in, which these workspaces accept.
github.com, then test the provider again; or name a codex you installed in its Command.The claude-code provider runs the Claude Code CLI: the tested version once downloaded, else the one you installed. CodeAlta has no sign-in of its own for it. See Claude Code.
command to the path of the executable. The desktop app started from the Dock or the Start menu does not have the PATH of your shell; CodeAlta also looks in ~/.local/bin, Homebrew and npm folders. On Windows, the claude.cmd of npm is not run: download the tested version, or install the native Claude Code (irm https://claude.ai/install.ps1 | iex)./login, then Test selected provider. In CodeAlta TUI, run claude and /login, then Refresh. A provider with an Account folder is signed in in that folder only. claude auth status, run the same way, shows the sign-in; the Claude desktop application does not sign in the CLI.~/.claude.ANTHROPIC_API_KEY, not your login.ANTHROPIC_API_KEY is set: Claude Code has no saved answer for that key. Choose ANTHROPIC_API_KEY in the provider editor, or set anthropic_api_key = "use" or "ignore". With ignore, Claude Code uses your login. Removing the key from your user environment works too.projects of the account folder, so changing the Account folder leaves it behind. CodeAlta then starts a new conversation with the recorded history.claude in a terminal. Close it there and choose Wait until it is free, continue a copy, or open it here anyway. See A conversation open elsewhere. In VS Code, the Claude Code panel keeps the conversation open while it is shown.CLAUDE_CONFIG_DIR. See Open a session in VS Code or a terminal.CodeAlta keeps the text of a prompt that could not be sent. Check that:
A busy session puts the prompt in its waiting list instead of sending it.
server_not_in_space, or does not see a skill or an agent prompt: the resource is not in the session's space. See What a space has.shell_command: it is turned off in Settings > Permissions > Tools, in the Tools of the space, or in the agent prompt. See Tools turned off..git/config comes first. See Identity.When the desktop app cannot read a page of a session's history, the session file is left untouched. The desktop logs have a CodeAlta.Desktop.History warning with the session id and the error: include it in your report.
Open the context usage with Ctrl+G Ctrl+U. Press Ctrl+F11 to compact an idle session. If compaction keeps missing its target, check the size of attached files and the context limits of the model.
A session whose sandbox cannot run runs no command, and says why. Settings > Sandbox > Check shows the step that fails:
bubblewrap, and slirp4netns for a profile with a network.alta sandbox status --session <id> names the hosts refused last; add them to the hosts of a profile of yours./login changes nothing. Make a token with claude setup-token in a terminal, and give it to the provider as CLAUDE_CODE_OAUTH_TOKEN=<token> in its Environment (Settings > Providers), or turn the sandbox off for the session.Access is denied (Windows): PowerShell 7 is its Microsoft Store package, which winget installs by default, and Windows starts no packaged app in a sandbox. Get-AppxPackage Microsoft.PowerShell lists it. From Windows PowerShell, run winget uninstall --id Microsoft.PowerShell --exact, then winget install --id Microsoft.PowerShell --exact --installer-type wix, and restart CodeAlta. Add --installer-type wix to winget upgrade too.C:\ instead of the project (Windows): a folder above the project holds tens of thousands of entries, as the temporary folder does, and the sandbox keeps such a folder out of reach. Move the project elsewhere.dotnet build fails without an error (Windows): MSBuild cannot start its worker nodes in the sandbox. Build with -m:1; the agent is told to.dotnet test stops after 90 seconds with a profile that reaches hosts (Windows): before Windows 11 build .9550, the processes of such a sandbox cannot connect to each other, as VSTest needs. Let the agent run the tests outside the sandbox, or use a profile without network once the packages are restored.dotnet build or dotnet restore waits for minutes (macOS): MSBuild waits for worker nodes that cannot start in the sandbox. Build with -m:1; the agent is told to.dotnet test stops at once with Permission denied (macOS): no process of a sandbox listens on a port there, as VSTest needs, and dotnet test does not run. A test project of Microsoft.Testing.Platform runs as a program: dotnet build <tests> -m:1, then dotnet run --project <tests> --no-build; otherwise let the agent run the tests outside the sandbox.A broken plugin can fail when it is found, built, loaded or run. If CodeAlta cannot start, start it without plugins first.
altatui --no-plugins, or altatui --plugin-safe-mode.CODEALTA_DISABLE_PLUGINS=1 before starting CodeAlta. This is the way for the desktop app, which has no such options.Then turn off the failing plugin in plugin management, or read the logs for its build and load errors.
Plugin build says plugin.cs was treated as a project file: source plugins need a .NET SDK that builds single C# files. Install a supported SDK, restore the files CodeAlta generated in the plugin folder if they were deleted, or start without plugins and fix the plugin.
Speech to prompt is a feature of CodeAlta Desktop.
huggingface.co and the speech engine from api.nuget.org; both must be reachable. Start the download again: it goes on where it stopped.CodeAlta TUI uses Nerd Fonts icons for tree expanders, status marks and other symbols. Boxes, question marks or wrong icons mean the terminal is not using a current Nerd Font.
altatui, such as CaskaydiaCove Nerd Font; an editor font does not count.fc-cache -f -v if needed.Old copies can hide in Windows Settings > Personalization > Fonts, %LOCALAPPDATA%\Microsoft\Windows\Fonts, C:\Windows\Fonts, macOS Font Book, and ~/.local/share/fonts or ~/.fonts on Linux. If only some icons are wrong, check that the profile does not fall back to another font.
Windows Terminal can keep shortcuts for its own paste, pane and navigation actions. CodeAlta switches tabs with Ctrl+Alt+Left and Ctrl+Alt+Right, so Windows Terminal keeps Alt+Left and Alt+Right for its panes. When Ctrl+V or another shortcut does not reach CodeAlta, unbind it in the keybindings array of Windows Terminal's settings.json:
{ "keys": "ctrl+v", "id": "unbound" }
After CodeAlta TUI has run in the same Windows Terminal tab for many hours, the terminal can become sluggish, even after restarting altatui in that tab. Open a new tab or window and start altatui there.