Overview
Projects are registered in~/.overdeck/projects.yaml. Each project can have:
- Issue routing rules: route issues to different subdirectories based on labels
- Custom workspace commands: for complex polyrepo setups
- Linear team mapping: connect projects to Linear teams
projects.yaml is where per-project configuration lives. The dashboard’s Settings page holds model routing and tracker API keys, not per-project settings.
Overdeck manages both the workflow pipeline and the agents and conversations
that move issues through it. The Settings page is where model routing for those
agents lives, while per-project routing and workspace rules below are edited in
~/.overdeck/projects.yaml.Registering Projects
Clone a repository
Clone a repository directly into Overdeck:owner/repo shorthand is expanded, into a GitHub HTTPS URL.
Optional flags: --parent <dir> (default ~/Projects), --name <name>,
--issue-prefix <PREFIX>, and --dry-run.
--dry-run prints the resolved intent as a single JSON document and writes
nothing: no directory, no registration, no context layer, no hooks. Credentials
embedded in a URL are redacted from that output.
Credentials live on the server. Clones run non-interactively
(GIT_TERMINAL_PROMPT=0, ssh -o BatchMode=yes), so nothing can hang waiting on
a prompt nobody can see. A private repository therefore needs credentials
already available on the machine running Overdeck: an SSH key loaded into that
machine’s agent, or a configured credential helper. When they are missing you
get a typed message naming the problem, and it never suggests ssh-add for an
HTTPS failure.
Cancelling. Press Ctrl-C (or use Cancel in the dashboard) and the clone
child is stopped for real: SIGTERM first, SIGKILL if it has not exited five
seconds later. The command exits 130 once cleanup has settled. A directory the
clone created is removed; a directory that already existed is never touched.
Unknown hosts clone fine. You get a usable folder name and no guessed
tracker configuration, since there is no provider to infer one from.
Add existing
Register a repository that already exists on your machine:--linear-team <PREFIX>, --rally-project <oid>, and
--tracker jira --jira-site <url>.
Registration detects:
github_repo/gitlab_repo: the remote slugtracker: GitHub or GitLab, from the remote hostworkspace.default_branch: the repository’s default branch, or nothing at all when the repository is detached or has no commits yet (a guessedmainwould point every later workspace at a branch that may not exist). The diff panel’s “vs main” view compares against this branch, so a project onmasterortrunkstill gets a correct “vs main” view.issue_prefix: proposed from the letters of the project key (digits and dashes dropped), up to ten characters. A key with no letters cannot produce a valid prefix, so registration stops with an error. Pass a--namewith letters,--linear-team <PREFIX>(add), or--issue-prefix <PREFIX>(clone).- The main workspace row
ℹ Using the repository root /home/you/code/app. This keeps two
projects from fighting over one checkout. A name you pass with --name is kept;
otherwise the name comes from the root folder. A home directory that is itself a
repository (a dotfiles-managed ~) is the one exception: folders under it stay
plain folders. A linked worktree is recognized as a repository. A plain folder
that is not a repository at all is fine: it registers as a project without one.
workspaces/ is excluded through <project>/.git/info/exclude, which is local
and untracked. Registration never edits your tracked .gitignore, so a freshly
cloned repository does not come back dirty. If you want the exclusion shared
with your team, add it to .gitignore yourself. Creating an issue workspace
does append any missing Overdeck runtime entries (.pan/events/,
.pan/review/, .pan/prompts/, .pan/test/ and .claude/skills/) to the
project’s .gitignore.
Single-repo issue workspaces also hide the files Overdeck copies into
.claude/ (skills, Overdeck’s pan-*.md agents, settings.json,
settings.local.json, mcp.json, and the two Overdeck marker files) through a
git exclude file private to that workspace. So a fresh workspace starts clean,
and those files cannot be committed by accident. The exclude file does not
change your main checkout. If your project tracks one of these files,
Overdeck’s edits to it still count as changes. To commit a new file at one of
these paths from an issue workspace, use git add -f. A polyrepo workspace
uses its root .gitignore instead.
Tests and quality gates are not detected. Configure those yourself; see
Project Configuration.
Finish an interrupted setup
If creation stops after the project was registered (say the main workspace could not be created), the repository is on disk and the project exists. Repair it instead of cloning again:--path is
a consistency check, not a relocation: a mismatch refuses rather than repairing
the wrong project.
Dashboard
The project switcher’s Add a project, the Home composer’s project chip, the New Workspace page’s chips and the HomePage + New project button open the Add a project dialog over the page you are on./projects/new still works and shows the same dialog as a full page;
?mode=clone, ?mode=existing or ?mode=new skips the first step.
The first step focuses Open a folder; the arrow keys move between the
choices and Enter picks one.
- Open a folder: type a path or browse the server’s folders, starting in
~/Projects. What happens next depends on what the folder is:- A Git repository: review it and add it. A folder inside a repository adds the repository root, with the note “Using the repository root ~/code/app.”
- A folder with repositories in it: the dialog lists the repositories it
found, all checked. Add N projects adds each checked one as its own
project; a failure on one row does not stop the rest. Add this folder as
one project adds a single multi-repo project spanning the checked
repositories: it registers
workspace.type: polyrepowith oneworkspace.reposentry per repository and keeps.pan/in the first one (pan_records.repo). No tracker is set, since several remotes do not name one; add it yourself. See Polyrepo Configuration. - A plain folder: the dialog explains that agents and terminals work there but branches, isolated copies and pull requests won’t, and offers Add as folder or Back.
- Clone from URL: download a Git repository. Press Enter to clone once the URL checks out.
- Create new project: start an empty Git repository. Press Enter to create once the name checks out.
~ and ~/sub expand against the server’s home,
since the browser has no idea what they mean on the machine holding the files.
Name and issue prefix live under Options, already filled in; anything you type
there survives a change to the URL or folder.
While a clone runs, the form is frozen and shows git’s own phases. Cancel stops
the real process. If the connection drops, the page says so and keeps the
operation rather than pretending it finished; it never re-enables Create on a
result it has not seen. After a server restart an in-flight clone genuinely
cannot be resolved from memory, so you are offered Check again rather than an
automatic retry that might clone a second copy.
Project or workspace?
A project is a repository with its own issues and pipeline. Use projects to register separate codebases. If you already have a project registered and want another checkout of it (e.g., for a feature branch, a long-lived testing branch, or a release branch), create a workspace instead. Workspaces share the same project registry entry and codebase but isolate development state per branch.Rename and list
Project Configuration
Projects are defined in~/.overdeck/projects.yaml:
Configuration Fields
*Not required if
issue_prefixes is specified.
Owner groups
The project switcher at the top of the dashboard’s left column lists every project with its machine count and a status word. When your projects have two or more owners, it groups them by owner, and you can collapse each group. Each project’s owner is the first of these that is set:owner- The GitHub owner, the first part of
github_repo - The GitLab group, the first part of
gitlab_repo
MindYourNow and mindyournow share one group.
Set owner when the repository’s account is not the group you want. For example, a GitLab project under a personal account can join its organization’s group:
Quality gates
quality_gates is a map from a gate name to its configuration. The
verification gate runs the gates it lists, in declaration order, as the
project’s quality gates (see
What a verification run does).
When a project declares no quality_gates at all, the verification gate runs
DEFAULT_GATES instead: typecheck, lint, and test. A gate named test
is skipped on the host when verification.tests resolves to ci (above).
The default gates assume an npm project with typecheck and lint scripts
and Vitest; the default test gate also runs Overdeck’s own dashboard tests. An empty quality_gates: {} also uses them. Set quality_gates
for any other stack.
command, container_name, and env values accept every placeholder:
{{FEATURE_NAME}}, {{FEATURE_IDENT}}, {{FEATURE_FOLDER}},
{{BRANCH_NAME}}, {{COMPOSE_PROJECT}}, {{DOMAIN}}, {{PROJECT_NAME}},
{{PROJECT_PATH}}, {{PROJECTS_DIR}}, {{WORKSPACE_PATH}}, {{HOME}}, and
{{CHANGED_BASE}}. {{FEATURE_IDENT}} is {{FEATURE_NAME}} rewritten to a
valid unquoted SQL identifier (lowercased, with every character that is not
a letter, digit, or underscore replaced with _: min-574 → min_574),
for values like a dbt schema name where a raw hyphen is invalid. A gate’s
process does not inherit the agent’s full environment: every OVERDECK_*
variable except OVERDECK_HOME is dropped, as are API_PORT, PORT, and
DASHBOARD_URL unless the gate sets them itself, and SKIP_DOCS_INDEX=1 is
set by default (a gate’s env can override it). The
project’s secrets_file values are added to host gates, under the workspace
.env and gate.env. See
Change-Scoped Verification Gates
for the placeholder values in context.
Project credentials
workspace.env.secrets_file gives one project’s agents and gates their own
credentials, for example a separate LINEAR_API_KEY for each of two Linear
workspaces:
~/.overdeck.env: one KEY=VALUE per
line, # comments, optional surrounding quotes. These rules apply:
- The path must be absolute or start with
~/, and it must live outside the project’spath, so the values never sit in the repository. A relative path, a path inside the project, or a missing file gives no secrets and one[project-env] <project>: …warning. - Keys starting with
OVERDECK_and the provider keys Overdeck controls (such asANTHROPIC_BASE_URLandANTHROPIC_API_KEY) are reserved. They are dropped with a warning that names the keys, never the values. - Overdeck reads the file on every launch, so an edit applies to the next launch of an agent, conversation or gate.
- The values reach the project’s agent panes, where Overdeck’s own launch keys
win, and its host-run quality gates, where the workspace
.env(workspace.env.load) andgate.envwin. They also fill${NAME}references in the project’s MCP servers. - Only a launch or gate of this project gets them. The project comes from the
issue prefix, else from the project whose
pathcontains the launch directory. - Remote (Fly) gates do not get them, and neither does the inside of a
container gate:
gate.envreaches only thedocker execclient.
~/.overdeck.env. Opt-in isolation from those keys is tracked in
PAN-5065.
dbt and data projects
dbt reads its target schema fromenv_var('DBT_SCHEMA') in profiles.yml,
and env_var() reads the process environment, not a .env file and not a
placeholder in profiles.yml itself. Give each agent’s workspace its own dev
schema with workspace.env.template and workspace.env.load: true, then
reference the same variable from a quality gate’s env:
workspace.env.template is inline .env content, rendered with the same
placeholders as command (except {{CHANGED_BASE}}, which exists only during
verification) and written verbatim to <workspace>/.env at workspace
creation. It is not a path to a file in the project repo. With
env.load: true that DBT_SCHEMA=dev_{{FEATURE_IDENT}} line reaches both the
agent’s launcher shell and the gates above. profiles.yml then picks it up
with:
test: a project whose verification.tests resolves
to ci (the default when the repo has a GitHub Actions test job; see
Configuration Fields) drops any gate named exactly
test from the host run, treating the CI job as the test gate instead. Name
dbt gates dbt-parse / dbt-build / dbt-test, never test.
A dbt-duckdb project that costs nothing to run needs no warehouse at all:
point it at a file inside the workspace instead of a schema:
~/.overdeck.env (see
API Keys),
not in the workspace .env. The workspace .env reaches agent launcher
shells and host quality gates only when workspace.env.load: true, and never
reaches container or remote (fly ssh) gates, which stay on docker exec
-e flags or SSH’s own environment. A dbt build that seeds a real
warehouse can run long; each gate gets a 20-minute timeout before Overdeck
kills it.
Separate the issue tracker from the code host
Thetracker field selects where issues and workflow states live. Code-host fields such as github_repo and gitlab_repo independently select where Overdeck reads pull requests or merge requests.
Set tracker explicitly whenever those systems differ. For example, this project tracks LEX-* issues in Linear while hosting its source code and pull requests on GitHub:
github_repo to force Linear routing, because that would also remove the project’s GitHub pull-request lens.
See Issue Tracker Integration for troubleshooting and additional examples.
Repositories a conversation can link pull requests from
A conversation can be linked to a pull request only when the PR’s repository is configured for the conversation’s project. The conversation’s project is its explicit project (set withpan conv move)
or else the registered project whose path contains its working directory.
These repositories count as configured:
github_repo(on the host of the project’s GitHuboriginremote, orgithub.com)gitlab_repo(on the host of the project’s GitLaboriginremote, orgitlab.com)- every
workspace.repos[].remotewritten as a URL, for polyrepo projects (a bare forge name such asremote: githubnames no repository) - the
originremote of the project checkout and of the conversation’s working directory
#42 refers to PR 42 in the first of these: github_repo, then gitlab_repo,
then the origin remotes. A link to any other repository is refused, and
nothing is stored.
Release Configuration
The optionalrelease: section tells Overdeck how to coordinate a project’s post-merge rollout across multiple components. Overdeck resolves a release plan, waits for each component to become healthy, runs verification commands, halts the plan on failure, and runs a rollback hook when one is configured.
Component fields
Release semantics
trigger: automeans Overdeck waits and verifies an external deploy; it does not invoke the provider deploy itself.- Components are released in
depends_onorder using a topological sort. A component is only started after its dependencies pass. - If any check fails, Overdeck stops all later components and records the release set’s final status.
Release status lifecycle
Each run records a release set (pan rollout status <issue-id>) with status
releasing, then passed, failed, partial or rolled_back:
releasing → passedreleasing → failedreleasing → partialreleasing → rolled_back
A project without release: records none.
Inspect or retry a release from the CLI with pan rollout:
pan rollout is distinct from pan release, which publishes npm stable/canary packages.
Gauntlet Lane Configuration
The optionalgauntlet: section sets per-project defaults for gauntlet lanes, the conversations that pan lane start launches for a gauntlet loop. Every field is optional.
Label-Based Routing
Issues are routed to different subdirectories based on their labels:- Labeled issues: matched against
issue_routingrules in order - Default route: issues without matching labels use the
default: truepath - Fallback: if no default, uses the project root path
/home/user/projects/myn/splash/workspaces/feature-min-xxx/.
Linear issues route to a project through issue_prefix (the team key) in projects.yaml.
Custom Workspace Commands (Legacy)
Note: For most polyrepo projects, use the built-in workspace configuration (see Polyrepo Configuration) instead of custom scripts. Custom commands are only needed for highly specialized setups.
For projects that need logic beyond what the configuration supports, you can specify custom workspace scripts:
workspace_command is specified, Overdeck calls your script instead of creating a standard git worktree. The script receives the normalized issue ID (e.g., min-123) as an argument.
The script runs only when the project has no workspace: block. Registration writes workspace.default_branch when it detects a default branch, so remove that block to use a script. The script also receives --docker when that flag is passed.
pan workspace destroy calls workspace_remove_command when the project has no workspace: block. This is important for complex setups that need to:
- Stop Docker containers and remove volumes
- Clean up root-owned files created by containers
- Remove git worktrees from multiple repositories
- Release port assignments
- Remove DNS entries
- Creating git worktrees for multiple repositories (polyrepo structure)
- Setting up Docker Compose files and dev containers
- Configuring environment variables and
.envfiles - Setting up DNS entries for workspace-specific URLs (e.g., Traefik routing)
- Creating a
./devscript for container management - Copying agent configuration templates (CLAUDE.md, .mcp.json, etc.)
pan workspace create command detects and uses your custom script when the project has no workspace: block.
Project Initialization
When you register a project (pan project add, pan project clone, or the dashboard’s Add a project dialog), Overdeck:
- Writes the project to
projects.yamlwith the tracker, repository slug, issue prefix and default branch it detected. - Seeds the project’s context layer,
.overdeck/context/project.md, when it does not exist yet. See Context Layers. - Pre-trusts the project directory for Claude Code.
- Installs Overdeck’s git hooks, when the folder is a Git repository.
- Adds the workspaces directory (
workspaces/by default) to.git/info/exclude. - Creates the project’s main workspace.
pan project finish-setup <key> runs steps 2 to 6 again without cloning or registering twice.
Progressive Workspaces
For large projects with 10+ repositories, progressive workspaces provide on-demand repo checkout. Enable inworkspace config:
See Progressive Polyrepo for full documentation.
Related Guides
- Polyrepo Configuration - Multi-repository workspace setup
- Progressive Polyrepo - Large-scale polyrepo with on-demand checkout
- Issue Tracker Integration - Connecting to Linear, GitHub, Rally, Jira, etc.
- Workspaces - Workspace management