PR stuck with stale failed checks after main recovers
A pull request can keep a failed check that ran whilemain was failing.
GitHub doesn’t run that check again when main recovers, so the pull request
stays blocked even though its own change is fine. Re-run the failed jobs:
pan start refuses: “references files that no longer exist”
pan start runs a plan-freshness preflight right before it spawns a work
agent: it refuses a missing files_scope path only when a commit on the
workspace’s HEAD deleted that path after the plan was created. If the
listed files really did move or get deleted since planning, re-plan against
the current tree with pan plan <ID>. If the files are ones the plan
legitimately creates or restores, the preflight should already let it
through. --skip-freshness spawns the agent anyway without waiting for a
re-plan.
Local main diverged after a backlog or order-book write
pan backlog write-sequence and pan orders commit their .pan/ write and
push it so local main doesn’t drift ahead of origin. When that push runs
into trouble, you’ll see a Sequence push: ... or Order book push: ...
warning. It’s printed to the CLI’s stderr and, since PAN-4224, also filed as a
plan-artifacts warning in the dashboard activity feed.
Two causes produce this warning:
- An unrelated local commit. Local
mainholds a commit outside.pan/that the push refuses to carry along. Push it yourself, then re-run the.pan/write. - A colliding untracked file. Origin gained a
.pan/file (through a merge elsewhere) that this checkout already has as an untracked file at the same path, most often a planning-promotion draft. The push moves that file aside before it can move localmainonto the new tip: if its bytes matched what’s now tracked it’s deleted, otherwise it’s kept under.overdeck/plan-artifact-backups/<stamp>/<path>and named in the warning.
- If the warning names a backed-up file, compare
.overdeck/plan-artifact-backups/<stamp>/<path>against the file now tracked at<path>and merge in whatever local edit is worth keeping. - Run
git pull --rebasein the plan home to bring localmainback in sync with origin. - Re-run the
.pan/write (pan backlog write-sequenceor thepan orderscommand) if it didn’t land. A re-run whose ranking is unchanged printsunchanged … not committed(orcommitted an earlier uncommitted sequence write), and it still pushes the earlier sequence commit, so that output is not a failure.
pan: command not found
A fresh source checkout has no npm-managed bin link forpan/overdeck: npm install -g and npm link are the only things that normally create one, and neither runs on its own. Bootstrap with the CLI bundle directly:
pan doctor’s “pan on PATH” row reports whether your shell resolves pan at all: ok with the resolved path (appending (Overdeck shim) when it’s Overdeck’s own copy), or warn when nothing on PATH matches. The warning isn’t fatal: agents launched by Overdeck get pan from ~/.overdeck/cli-bin regardless, since every non-remote launcher writes that shim at spawn time (PAN-2630). But your own shell still can’t run pan directly. Three remedies, in the order the warning lists them:
npm install -g @overdeck/corenpm linkinside your Overdeck checkout, afternpm run build- Add
export PATH="$HOME/.overdeck/cli-bin:$PATH"to your shell profile.pan installandpan syncboth write that shim
WSL2 Stability Issues (Windows Users)
WSL2 can experience crashes and networking issues, especially under heavy AI agent workloads. Here are recommended.wslconfig settings to improve stability.
Recommended Configuration
Create/editC:\Users\<username>\.wslconfig:
.wslconfig:
Windows 10 Limitations
Windows 10 users: Most advanced WSL2 features require Windows 11. On Windows 10, only the basic resource limits and
localhostForwarding/guiApplications settings are supported. Other settings will be silently ignored or may cause instability.
If you experience frequent WSL2 crashes on Windows 10, consider:
- Using only the basic settings shown above (memory, processors, swap, localhostForwarding, guiApplications)
- Reducing
memoryallocation if system is under pressure - Upgrading to Windows 11 for full WSL2 feature support
- Checking Windows Event Viewer for specific crash causes
Additional Windows 10 Workarounds
If NAT networking is unstable on Windows 10:- VPN clients (especially corporate VPNs)
- Docker Desktop (can conflict with WSL networking)
- Third-party firewalls
- Hyper-V virtual switch issues
"Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy."
References:
Slow Vite and React Frontend with Multiple Workspaces
If running multiple containerized workspaces with Vite/React frontends, you may notice CPU spikes and slow HMR. This is because Vite’s default file watching polls every 100ms, which compounds with multiple instances. Fix: Increase the polling interval in yourvite.config.mjs:
Dev server dies with ENOSPC: inotify watch exhaustion
If a workspace’s frontend container crash-loops at startup withENOSPC: System limit for number of file watchers reached while the rest of the host looks healthy, the per-user inotify watch budget (fs.inotify.max_user_watches) is exhausted. This budget is a kernel limit shared by every process and container the user runs (Docker does not isolate it), so a few heavy file watchers can starve every other workspace on the machine.
The dashboard shows a File watchers running low / exhausted banner when usage crosses 80% / 90% of the limit, and pan doctor reports usage, the top consumers, and whether the configured limit survives a reboot.
Fix, in order of leverage:
-
Shrink the watchers. The usual culprit is a huge directory inside the watched project root that the watcher does not ignore by default, for example pnpm’s
.pnpm-store/(pnpm places it inside the project when installing into a Docker bind mount, and Vite ignoresnode_modulesbut not.pnpm-store). Add it to the watch ignore list:In one real incident this cut each dev server from ~157k watches to ~13k, a 12× reduction. -
Raise and persist the limit (requires sudo; Overdeck never runs sudo itself):
A
sysctl -walone does not survive a reboot; the/etc/sysctl.dfile does.pan doctorwarns when the live limit is higher than anything persisted.
Corrupted Workspaces
A workspace can become “corrupted” when it exists as a directory but is no longer a valid git worktree.Symptoms
git statusin the workspace fails with “not a git repository”- The
.gitfile is missing from the workspace directory
Common Causes
Resolution
Prevention
- Don’t interrupt
pan workspace createcommands - Don’t run
git worktree prunein the main repo without checking for active workspaces - Keep free space above the 10 GiB floor: Overdeck holds new workspace starts below it (see Disk low: new workspace starts are held below)
Disk low: new workspace starts are held
Overdeck refuses a workspace start, or a workspace Docker stack rebuild, with a message that starts withDisk low and says new workspace starts are held.
What is held
Below 10 GiB free, a write that runs out of space can zero-fill a file instead of failing. Overdeck therefore admits each disk-heavy step (creating a workspace and installing its packages, or building its Docker stack) only if the step’s measured cost still leaves 10 GiB free after the setups already in progress. The message names the free space, the space reserved by setups in progress, the space this step needs, and the floor.pan startand the dashboard Start button refuse the work agent when its stack would need a rebuild that does not fit. The dashboard answers HTTP 507 withdiskLow: true.- A plan finalized with auto-start defers the work agent. Deacon-lite retries it for up to 2 hours, so it starts by itself if space returns in that time. After 2 hours the retries stop, and you start it with
pan start ISSUE-123once space is back. - A start whose stack is already healthy is never held.
~/.overdeck/disk-reservations/. Fix that directory’s permissions and retry.
Free space
/resources (experimental: turn on Settings → Experimental → Experimental features to show it) shows what is using the disk. Starts resume when you retry them after space returns; nothing needs to be reset.
Docker Issues
Container won’t start
”No such network: overdeck”
Permission denied on mounted volumes
If containers run as root and create files, you won’t be able to delete them:Docker or tmux installed, but the dashboard still shows nothing
The dashboard caches whether an optional host tool (Docker, tmux, and a few others) is onPATH, so installing it after the dashboard started will not
show up instantly everywhere. It looks again within 60 seconds on its own,
and immediately after any PUT /api/settings save (saving settings from the
UI, even unrelated settings, is a quick way to force a re-check). To see
exactly what this machine resolves right now, run pan doctor and read its
“Host tools” row, which names each tool’s resolved path or missing.
Network Issues
HTTPS not working
-
Check certificates exist:
-
Regenerate if missing:
-
Install the CA:
Can’t reach workspace URLs
-
Check Traefik is running:
-
Check DNS resolution:
- Check Traefik dashboard (http://localhost:8080) for routing rules
Agent Issues
Agent stuck / not responding
Attach: command that pan start MIN-123
prints (it prints it again when the agent is already running), or open the
agent in the dashboard. See Reaching an agent from a shell.
Launches refused: Overdeck is shutting down
Starts, resumes and conversation messages fail with “Overdeck is shutting down (pan shutdown)” while a drain runs, because~/.overdeck/shutdown.json exists. Cancel the drain, or start Overdeck again after the restart:
Agent keeps failing
Runpan show MIN-123 to read the issue’s derived state, the agent’s work
history and its health (pan show MIN-123 --health prints health and heartbeat
only). If the agent keeps failing on the same work, the task may be too complex.
Consider:
- Breaking the issue into smaller tasks
- Adding more context to the issue description
- Manually handling complex parts
Messages not reaching agent
Use the proper messaging API:Command Deck Issues
”Review never started” under Needs you
The issue has an openfeature/<issue> pull request, but no pipeline
workspace picked it up, so nothing has verified or reviewed it. This usually
means the PR was pushed from a handoff worktree. Run pan show <id>: the
fix line gives the exact commands. When another worktree still has the
branch checked out, remove that worktree once its session is finished, then
run pan review request <id>. Overdeck then adopts the branch into a
workspace and starts verification.
Command Deck shows “Unknown project”
A URL such as/command-deck/<slug> shows an Unknown project state when
<slug> matches neither a registered project key nor its display name. This
usually means the URL is stale, the project was renamed, or the project is not
registered on this machine. The page does not open a functional project deck
for that slug.
Use the registered-project buttons in the recovery panel to navigate to a valid
deck, or select Back to Command Deck to return to /command-deck. To inspect
the registered keys from the CLI, run:
Conversation creation fails from a launcher
When a launcher cannot create a conversation, the failure appears inline below the composer and the typed query remains available for correction or retry. The launcher blocks duplicate keyboard and pointer submissions while creation is in progress, and it opens a conversation pane only after the server reports a successful creation. If the inline error reports an unknown project, use the recovery steps above to open a registered project deck before retrying.Workspace Issues
Workspace creation fails
Can’t delete workspace
If containers created root-owned files:Performance Issues
Dashboard slow to load
pan restart waits for your approval: click Restart now in the dashboard banner, or run pan restart --now. See Operating Overdeck.
High CPU usage
- Check number of concurrent workspaces
- Increase Vite polling interval (see above)
- Run
docker statsto identify resource-heavy containers
High memory usage
Getting Help
Health page
The dashboard’s Health page (experimental: turn on Settings → Experimental → Experimental features to show it) shows host health (CPU and memory), the Overdeck Anywhere and Deacon status, agent health counts, and reclaimable sessions. Use it when the running fleet looks unhealthy. A measurement it can’t read shows as unavailable, never as zero.Diagnostic Information
When reporting issues, include:Resources
Still stuck? Ask on the Overdeck Discord or file a GitHub Issue.- Documentation: https://docs.overdeck.ai
- CLI Help:
pan --helporpan <command> --help
Related Guides
- Docker & HTTPS Setup - Network configuration
- Architecture - System internals
- Core Commands - CLI reference