Esperta Code reads its central runtime configuration from esperta-code.yml, typically at ~/.esperta-code/esperta-code.yml.
runtime:
data_dir: ~/.esperta-code
max_concurrent_jobs: 4
projects:
- name: repo-a
repo: git@github.com:org/repo-a.git
base_branch: mainprojects:
- name: repo-a
repo: git@github.com:org/repo-a.git
base_branch: main
worktrees:
retain_on_success_minutes: 30
retain_on_failure_hours: 24
prune_after_days: 7
concurrency:
max_jobs: 2
job_types:
implement:
agent: codex
system_prompt: .esperta-code/prompts/implement.md
verify:
- bun test
publish: draft_pr
review:
agent: codex
system_prompt: .esperta-code/prompts/review.md
write_mode: read_only
publish: none| Field | Meaning |
|---|---|
runtime.data_dir |
Root for SQLite data, artifacts, and repo metadata |
runtime.worktree_root |
Optional override for where worktrees are created |
runtime.max_concurrent_jobs |
Global concurrency limit |
| Field | Meaning |
|---|---|
name |
Internal project identifier |
repo |
Git remote URL |
base_branch |
Default base branch for new threads |
worktrees.* |
Retention and pruning policy |
concurrency.max_jobs |
Per-project concurrency limit |
job_types |
Named job profiles available for that project |
| Job Type | Typical Use |
|---|---|
implement |
New feature work |
fix |
Bug fix on an existing thread |
fix_ci |
Repair failing CI after a run or PR update |
review |
Read-only code review |
spec |
Draft or refine design/spec output |
publish |
Branch/PR publication work |
continue |
Follow-up instructions on an existing thread |
Each job type can define:
agentsystem_promptprompt_templatewrite_modeverifypublishartifact_expectationstimeout_msretry_limit
Linear settings live alongside the runtime config when you use the Linear connector:
linear:
oauth_token: $LINEAR_OAUTH_TOKENConnector-specific identifiers belong in connector state and thread links, not in the core thread/job schema.
Projects can also keep repo-local workflow assets:
.esperta-code/config.yml.esperta-code/pipeline.yml.esperta-code/prompts/WORKFLOW.md
These files are scaffolded by esperta-code project add and are documented in Repo Workflow Assets.