Skip to content

Latest commit

 

History

History
533 lines (437 loc) · 45.1 KB

configuration.md

File metadata and controls

533 lines (437 loc) · 45.1 KB

Configuration

This page lists every setting devkit reads: the keys of your configuration file, your personal agent rules, the environment variables, and the files in the devkit repository that decide what is installed for everyone.

~/.config/devkit/config.json

dev setup (or the first dev install) creates it. Every key is optional; missing keys take the defaults below. Nested objects are merged with the defaults, so you write only what you change. An explicit false or empty list stays in the saved configuration. The branch and commit type readers retain their existing fallback for empty lists; use a nonempty list to replace those defaults. Installation, updates, and dev doctor use saved choices. The base package groups and GitHub remain part of every installation.

{
  "dev_root": "~/Development",
  "github_user": "maria",
  "handoff_repo": "maria/handoff",
  "skills": { "groups": ["security-deep", "postgres", "observability", "iac"] },
  "ui": { "powerline": true }
}

Run dev config show to print the effective configuration and any validation errors. dev config validate checks the same schema. dev config set <key> <value> changes one setting; dotted paths reach nested settings, such as audit.retention.local_months. Values use JSON types when valid JSON, otherwise text. Unknown keys, malformed paths, duplicate JSON keys, nonfinite numbers, and values of the wrong type are refused. Replacing a whole object validates every child too. Only the documented extension maps accept custom names.

A write reloads current saved values under the configuration lock and validates the whole candidate before it saves, while still holding that lock.

Each write that changes the file first keeps a copy of the previous one in ~/.local/state/devkit/backups/devkit-config.json.<UTC time> (the newest 20 are kept). While the configuration is invalid, every dev command names the newest valid copy of that same file with the cp command that restores it; a copy of another configuration file (one that DEVKIT_CONFIG named) is never offered.

A copy keeps whatever the file held, an extension's credential included (such as an MCP server token in an ext.add entry's env), for up to 20 more writes after you remove or rotate it. The copies are readable by you alone (0600 files in a 0700 folder), and you delete them with rm ~/.local/state/devkit/backups/devkit-config.json.*.

dev config edit opens a private candidate in your editor. A successful editor exit and a valid candidate are required before the saved file changes. If the saved file changes while the editor is open, the edit is refused; the other writer's saved values survive and the private candidate is retained for recovery. A failed edit leaves the saved bytes unchanged and prints the private recovery path. A missing, nonregular, or symlinked candidate is refused. $EDITOR takes precedence over editor; arguments are parsed without a shell. VS Code and Code Insiders wait for the editor to close, and macOS open uses its wait option.

Invalid saved configuration is reported without rewriting it or dropping unknown keys. The schema is strict: a saved key devkit does not read, such as one an older version allowed or one written by hand, makes the configuration invalid. After an upgrade, run dev config validate: it lists such keys, and dev config edit removes them. Each unknown key is named with that command, for example unknown key legacy_root: devkit does not read it; remove it with dev config edit. Every command names a key only when it is a short word of letters and underscores (at most 24 characters) that no secret rule or redaction pattern matches; any other key, such as a token pasted as a key, is named by its length and where it is: unknown key of 40 characters in progress. The same rule holds for a name you choose inside a path, such as a job's or a Codex profile's name: jobs.<key of 21 characters>.cmd is required for a custom job. An error never quotes a value; it names the value's type and length, and lists the allowed words when there are some: work.mode must be one of auto, guided (got a string of 40 characters). dev install, dev update, and dev doctor name the unknown keys and go on. An unknown key does not block other changes: dev config set, dev jobs, and the other writers save a change as long as they leave every unknown key as it was. A wrong value of a known key, such as work.mode: banana, still blocks every writer until you repair it. Apply settings that manage installed agents with dev install or the step named below. Mode changes take effect at the next operation without reinstalling.

A retired key is the exception: safeguards, which configured the command guard of 26.11.18 and earlier, is ignored and never makes the configuration invalid. dev config validate and dev doctor print retired setting safeguards is ignored; the next configuration change removes it, and the next writer, such as dev config set, saves the file without it.

If an older configuration contains agents.max_parallel, move its explicit value to progress.max_parallel and remove the unsupported key through dev config edit. If both keys exist with different values, choose the intended limit before saving. Validation preserves the original file until the whole candidate is valid.

Automatic and guided operation

work.mode decides who answers the crew's decisions. auto (the default) records the recommended option and goes on; guided waits for your answer. A decision that approves steps waits for your answer in either mode, because only your answer approves a step. The status block's You line holds only what you alone can do: an action on your Mac or account; in guided mode, each open decision; and in both modes, each decision that approves a step. Neither mode holds a command for your approval: agents act with the permissions of their own settings (see Concepts › Agents act with your permissions), and any caller, you or an agent, can run every dev command, dev config set included. Three commands also read the mode: the ready-to-launch notice, an agent's dev gc --apply, and an agent's dev backup under the ask policy (see The crew › Guided or automatic).

The value is auto or guided, in lowercase. Any other value, such as Guided, makes the configuration invalid. devkit then reads the mode as guided, so decisions wait for you, and dev crew mode prints Mode unknown until you fix the file: run dev config validate to see what is wrong, or the cp command the error prints to restore the newest valid copy.

An explicit run mode wins over the saved setting. Otherwise each decision reads the current configuration. dev crew mode shows the effective mode and its origin; dev crew mode auto or dev crew mode guided sets a run override, and dev crew mode inherit resumes following the saved setting. When a run switches to auto, it takes each waiting decision that has a recommendation and approves no step, and the command lists what it took and what still waits for you (see The crew › Guided or automatic). A run stays guided only when that mode was chosen for it, with dev crew mode guided or dev progress start --mode guided. A run recorded before 26.11.19 follows the configuration (auto by default), unless its mode was chosen with dev crew mode, which then stays. Existing saved guided values in the configuration remain unchanged on upgrade.

For example, dev config set work.mode guided changes the saved mode; an inherited run follows it at its next decision. dev config set work.mode auto restores automatic operation.

Workspace

Key Default Meaning
dev_root ~/Development Root of the workspace
github_user detected with gh api user Your GitHub login
handoff_repo <github_user>/handoff The private repository that holds the map, notes, work items, and logs. Set it to a shared repository for a team (see Teams and machines)
handoff_dir <dev_root>/.handoff Local clone of the handoff repository
default_host github.com Host whose repositories live at <owner>/<repo>; all others live at <host>/<group…>/<repo>
host_dirs {} Folder aliases for hosts, for example {"gitlab.com": "gitlab"} → ~/Development/gitlab/<group>/<repo>
editor code Editor for dev open (and for dev handoff --edit and dev config edit when $EDITOR is unset)
stacks ["java", "python", "php", "node"] The language stacks to install and check; selected frameworks can add required runtimes. Doctor lists other stacks as not chosen, not as failures
frameworks absent (legacy behavior) Framework support: angular, react, nextjs, nestjs, spring, laravel, symfony. [] selects none. Each selection adds its runtime requirements; see Frameworks
hosts ["github"] Git hosts you use: github, gitlab, bitbucket, azure-devops. devkit installs their CLIs, dev doctor checks the sign-in, and dev ci status reads their pipelines
clouds [] Clouds and infrastructure tools you use: aws, azure, gcp, digitalocean, kubernetes, terraform (OpenTofu). devkit installs their CLIs and dev doctor checks the sign-in
packages.auto true dev install repairs missing Homebrew and npm tools for selected stacks, frameworks, hosts, and clouds; false also skips host-extension installation
language auto The language agents reply to you in. auto follows your messages; a locale such as es-ES or en-US fixes it. dev config set language takes only auto or a locale (es, es-ES, pt_BR). It never changes the language of code, commits, PRs, docs, or records, which stay in American English (see Reply language)

Changing dev_root, default_host, or host_dirs changes every canonical path: run dev ls and dev adopt the repositories that are no longer in place.

Reply language

With language set to auto, agents reply in the language of your latest message. When that message is too short or unclear to tell (ok, continue, a command), they use the language of your earlier messages, and American English when there is none. A locale (es-ES, en-US, …) fixes the reply language whatever language you write in.

Follows the reply language Stays in American English
The final message's prose, the agent's questions and decision requests, and the status block's text, with crew roles written in that language The status block's marker and labels ([Firefly> DevKit], Done, Check, Progress, Crew, You, Next); code, comments, commits, PRs, docs, plans; task, lesson, and progress records; crew briefs and members' reports to the tech lead

The right column changes only when the project's own rules (its AGENTS.md or CLAUDE.md) or you say otherwise.

devkit reads your language from your own words. A message that brings text to work on (an email to translate, strings to check) counts only for the words you wrote around it, and when they cannot decide, that turn gets no reply language: no context line and no check. A one-word label such as Problema: does not hide the sentence after it.

devkit checks it:

  • Before the turn. When the reply language is not English, a context line names it. For example, with auto: devkit · the developer wrote in Spanish: reply in Spanish (records, commits and docs stay in American English), or devkit · the developer has been writing in Spanish: … when your latest message is too short to tell. With a set locale: devkit · devkit's language is set to es-ES: reply in Spanish whatever language the developer writes in (…), and the session start adds the same rule. English gets no line.
  • At the end of the turn. The Stop hook reads the main session's final message and records it when its prose is surely in another language. You have already read that message, so the hook does not ask for it again: your next prompt carries a reminder, such as the developer wrote in Spanish, but your final message is in English: reply in Spanish. Keep the status block's marker and labels as they are …, and the agent does not repeat the earlier reply. Quoted text, code, and block quotes do not count. Members' reports go to the tech lead, not to you, so the check skips them. canary.language: false (or canary.enforce: false) turns the check off.

Frameworks

Language stacks and frameworks are separate choices. A framework selects its required runtime even when that runtime is absent from stacks; the setup review shows the combined requirements.

Framework ID Runtime Support
angular node Angular CLI, its MCP server, and Angular skills
react node React performance and composition skills
nextjs node The React and Next.js skills
nestjs node Shared backend and testing guidance
spring java Spring Boot, testing, security, and observability skills
laravel php Shared backend and testing guidance
symfony php Shared backend and testing guidance

The selection configures development tools and guidance. It does not install a project's framework dependencies globally or add a global React CLI. Python remains a language-stack choice; this catalog adds no dedicated Django or FastAPI integration.

An absent frameworks key preserves the previous skill and MCP defaults; legacy Node still includes Angular CLI. An explicit [] turns off framework defaults. New setup records supported frameworks found in your repositories, or [] when none are found. An existing legacy setup keeps the key absent until you customize Frameworks. Saved choices, including an empty list, take precedence over detection.

Use an array of supported IDs. Unknown IDs, null, and values that are not arrays are rejected before installation writes or an update changes the checkout. Installation, updates, and dev doctor use the same effective selection. Deselecting a framework does not uninstall global tools; only agent entries that devkit can prove it manages are reconciled. Full installs apply the choice across tools, skills, and agent integrations. A partial install repairs only its named steps.

Agents

Key Default Meaning
agents.claude · agents.codex true Select the Claude Code or Codex integration. false skips its setup and ordinary health checks, even when its app or CLI is present. Remaining devkit configuration is still reported for cleanup.
claude.default_mode bypassPermissions Claude Code's permission mode: bypassPermissions (no prompts; what the agent runs is at your risk), acceptEdits or default. This setting, not devkit, decides what the agent may run. dev doctor checks the mode you chose
claude.subagent_model · claude.subagent_effort empty Model and effort for every Claude subagent. Empty keeps the session's (recommended). See Models and tokens
claude.fast_mode_per_session true Keep fastModePerSessionOptIn in Claude's settings
claude.statusline true Install devkit's status line when you have none (it records Claude's quota; see Agents)
codex.mode full The choice in dev setup: full (no prompts, full access) or workspace (sandboxed to the project, asks when it needs more)
codex.approval_policy · codex.sandbox_mode never · danger-full-access Written to ~/.codex/config.toml; workspace mode sets on-request · workspace-write
codex.max_subagent_threads 4 Parallel subagent threads per Codex session
codex.profiles fast, deep, review Codex profiles: an object adds or replaces profiles by name; false writes none
codex.subagent_model · codex.subagent_effort empty Default model and reasoning effort for Codex subagents
lock false The choice in dev setup to lock Claude Code settings; the lock itself is dev config lock

Apply agent changes with dev install --only claude or dev install --only codex.

Skills

Key Default Meaning
skills.groups ["security-deep", "postgres", "observability"] Optional skill groups to install in addition to the core set: security-deep, codeql, postgres, observability, iac, load-testing, contract-testing, skill-review, or all. See Skills and plugins › Optional groups
skills.optional {"iac": ["terraform"]} Skill groups the setup wizard offers, but never installs by default, each with the tools that bring the offer: when you pick Terraform, the wizard offers iac and adds it to skills.groups unless you say no
skills.enforce true Enforce the skills each kind of work requires (see Skills and plugins › Required skills)
skills.rules [] Your own skill rules. A rule with the same id as a devkit rule changes the fields you give; a new id adds a rule

An empty skills.groups list installs no optional groups; omitting the key keeps the defaults, and all selects every optional group. dev doctor checks core skills and the groups you chose for each selected agent. Work that requires an omitted skill still needs that skill before it can proceed.

Apply group changes with dev install --only skills. Rule changes apply at the next prompt.

A rule triggers on what the work does, never on the words of a prompt: files (globs of changed files), commands (command words the agent runs), and activities (kinds of work from dev crew raci). content is a pattern the matching files must also contain; with content_files, files of those globs match too when they contain it.

{
  "skills": {
    "rules": [
      { "id": "ui", "skills": { "claude": ["frontend-design"], "codex": ["impeccable", "frontend-design"] } },
      { "id": "terraform", "why": "Terraform style and tests", "files": ["*.tf"], "activities": ["infrastructure"],
        "skills": { "claude": ["terraform-style-guide"], "codex": ["terraform-style-guide"] } }
    ]
  }
}

Extensions

Key Default Meaning
ext.add [] Your own plugins, skills, and MCP servers, on top of devkit's
ext.remove [] Ids of devkit's extensions you do not want installed
ext.disable [] Ids to keep installed but off
ext.enable [] Ids devkit ships off that you turn on

Change them with dev ext add|remove|enable|disable (see Commands › dev ext add), which checks each entry and applies it, rather than by hand; dev ext ls shows the result with its layer. Ids are those dev ext ls --json prints. devkit itself and its security plugins (security-guidance, claude-security, codex-security) stay on whatever the overlay says. dev install, dev config repair, and the managed-settings lock use the same effective set, so they never undo your choice. Installation health checks cover extensions for the selected agents; missing plugins or MCP servers for an agent you turned off are not failures. Required extensions remain required for each selected agent.

Framework and language-stack choices filter devkit's default extensions. An explicit ext.add or ext.enable can opt into an extension outside those defaults. It cannot enable an agent that you turned off, remove required security protections, bypass trust or provenance checks, or override an existing ext.remove or ext.disable choice.

dev ext ls keeps the catalog visible, including entries outside the installation profile. Those entries are not missing requirements unless selected or explicitly enabled. An MCP entry is removed only when its full configuration proves devkit owns it; sharing a catalog name is not enough. Your own entries stay intact.

{
  "ext": {
    "add": [
      { "kind": "mcp", "name": "postgres", "agents": ["codex"], "command": "npx", "args": ["-y", "pg-mcp@2.1.0"],
        "license": "MIT", "why": "Postgres tools" },
      { "kind": "skill", "name": "k6", "repo": "grafana/skills", "ref": "<40-char sha>", "path": "skills/k6",
        "license": "Apache-2.0", "why": "load tests" }
    ],
    "disable": ["plugin:claude:commit-commands@claude-plugins-official"]
  }
}

Work, progress, and display

Key Default Meaning
work.lock_hours 8 How long a claimed task stays locked without renewal (see Teams and machines)
progress.nudge_minutes 8 Minutes without an update to the developer before the hooks remind the agent
progress.notify true Desktop notifications when a run blocks or finishes, and when a long turn ends. Security notices, such as an extension accepted, show even when it is false
progress.notify_after_minutes 10 A turn at least this long sends a notification when it ends
progress.slow_tool_seconds 20 Tool calls at least this slow are recorded for dev time
progress.max_parallel 4 The crew's slots, per session: how many crew members of one Claude Code or Codex session may work at once (1 to 10), counting the helpers they launch. Each session has its own slots; how many sessions run at once is your choice; a launch that does not fit gets advice that says so (The crew). The team's policy/progress.json in the handoff repository may set a lower ceiling, such as {"max_parallel": 3}
progress.quota_steps {"50": 1.0, "70": 0.75, "85": 0.5} How the plan's recorded usage lowers the slots of every session: from each usage percent, this share of max_parallel, rounded down (never below one). The 5-hour and the weekly windows both count, and the lower result wins; an expired reading counts for nothing. Setting a step adds it or changes its share; a share of 1 turns a step off. With 6 slots at 87 %, 3 members work at once
progress.quota_percent 90 From this usage of the 5-hour or the weekly window, one crew member works at a time, until the window resets
progress.slot_weights {"builder": 1.0, "review": 0.5, "read": 0.5, "scout": 0.0} What one launch costs, by kind (0 to 1): a review-only or read-only member (its tool level, or its parent's for a helper), the Lookup scout (Sparks), or a builder (every other agent). The costs in use must fit the slots, so two reviewers fit in one builder's slot and the Lookup scout (Sparks) always runs
progress.reserve 1 Slots each session keeps for the developer's own request while its crew works: queued plan steps from an earlier turn do not take them; a launch for what the developer asked in the current turn does (audited as crew.reserve). Never the last slot of a limit of one
progress.max_depth 2 How many levels of agents may run below the main session (1 to 5): crew members, and the helpers they launch. A deeper launch gets advice that says so
progress.stale_agent_hours 6 A crew member with no report for this long is closed as lost, and its step goes back to the main session
progress.stale_agent_minutes 90 A working crew member that has been silent this long (no tool call, no step, no note) is marked lost in the run; from 5 to 1440
progress.stale_agent_minutes 90 The reconciler's limit: a working crew member silent this long (no hook, no update) is lost and frees its slot, and its step waits for a new owner. It works again, with its step, at its next hook. A member stopped with TaskStop frees its slot at once, and its step waits unverified
work.mode auto auto records the recommended option of each crew decision and goes on; guided waits for your decisions. An explicit run mode overrides this setting; dev crew mode inherit restores inheritance
crew.gates.enforce true At SubagentStop, the crew gates send a member back once for each proof, skill, unfinished line, test that cannot fail, or lesson it still owes; false only records them in the audit trail (see The crew › Every report is checked)
crew.route_hint true The prompt hook reminds the tech lead to declare each request's kinds of work by their ids from the catalog and route each by the RACI, in any language; false leaves it out
ui.powerline false Draw Nerd Font arrows between the status pills in dev status and dev overview (needs a Nerd Font in your terminal)
dashboard.idle_minutes 30 The live dashboard server stops after this many minutes with no page open and no request
handoff.enforce true When a session made commits without updating the handoff note, the Stop hook asks the agent once to update it
handoff.block_after_commits 5 Below this many commits newer than the handoff note, the reminder before the end of the turn is enough; at it, the Stop hook sends the turn back
handoff.block_after_minutes 60 The Stop hook also sends the turn back when the oldest commit newer than the note is this many minutes old, or after a milestone: the end of a run (dev progress done), a work item closed, a push, a PR, or a release. An intermediate step is not a milestone, and a milestone counts only the commits made before it. While crew members work, the main session gets the reminder only, and a crew member is never sent back for the note
canary.enforce true When a final message lacks the status block, the Stop hook records it and the next prompt reminds the agent; while a dev progress run is active (running or blocked), a final message without the Progress bullet or with other step counts than the run's is reminded the same way, with the line to use (see Progress and communication › The Progress line). These never send the turn back, since you have already read the message. At SubagentStop, a crew member without its status block or its dev progress step is sent back once. false only measures
canary.roles true When a final message or a crew member's report names a crew member alone instead of <role> (<Name>), such as Backend engineer (Tank): the Stop hook records it once per turn and the next prompt reminds the agent; the SubagentStop hook sends the report back once per member. The role can be in any language; the status block's header and Crew line count, and names in code spans and commands do not. The tech lead (Morpheus) is checked too, so write the main session as the tech lead. Off with canary.enforce too
canary.language true When the main session's final message is surely in another language than the developer's (see Reply language), the Stop hook records it and the next prompt reminds the agent of the language to use. false turns this check off; canary.enforce: false turns it off too

dev crew and dev crew next show the slots in use and why the limit is lower ("1 of 3 slots in use (lowered from 6: 5-hour usage at 87 %)"), the status block's Crew line ends with the same, and each change of the effective limit is audited (crew.limit). dev crew next lists the ready steps in the order the tech lead launches them: the longest critical path first, then your latest request, then the oldest; a launch out of that order needs dev crew next --first "<step>" --why "…". Change these keys with dev config set, which validates and audits the update.

Tests

Key Default Meaning
test.listing false true: every dev test run finds the files that hold tests by the runners' own listings (pytest --collect-only, unittest discovery, vitest list, playwright --list), cached until the runner, its configuration, or the test files change, as dev test --listed does for one run. A listing that fails or takes over 5 minutes leaves the file rules to decide. Set it with dev config set test.listing true; see Testing

Visual diagnosis

Key Default Meaning
visual.mask [] CSS selectors painted black in every capture, in every frame and shadow root, with their text left out of the description and the signals: the fields your product shows personal data in, such as [data-account-number]. They add to the fields devkit always masks (passwords, one-time codes, card fields, data-visual-mask) and to a capture's own --mask, and they apply to dev visual capture --again and dev visual verify too. Set it with dev config set visual.mask '["#iban", ".customer-email"]'
visual.crawl.avoid ["delete", "remove", "pay", "send", "submit", "sign out", "logout"] Words that keep the crawl of dev visual map crawl, section, and product away from a link or a control: one whose name, link text, or URL path or query holds such a word is recorded on the map and never opened, clicked, or requested. --avoid adds words for one crawl. The crawler always avoids its own words (the default list), so a shorter list cannot let it delete or send anything. Set it with dev config set visual.crawl.avoid '["archive", "close account"]'; see Visual diagnosis

Backups

dev backup and the hourly dev sync copy branches whose commits exist only on this Mac to the remote, when that push starts no CI run (see Git and GitHub › Branches). Each project's backup policy is not a key here: it lives in the project's handoff note, set with dev backup policy on|off|ask.

Key Default Meaning
backup.auto true dev sync backs up the branches that need it, every hour and at the end of a session; false leaves backups to dev backup
backup.after_minutes 30 dev sync backs up only commits older than this (0 to 1,440 minutes), because a younger commit may still be amended; dev backup takes them all

Bug registry

devkit recognizes its own failures and shares them, without project data, through a public registry in GitHub Issues (see The bug registry). Reading the registry and matching failures need no setting.

Key Default Meaning
bugs.share unset off stops every public post from this Mac: automatic reports stay in the outbox and go once sharing is back on, and legacy rich reports, votes, and detours stay local. Automatic security reports, which hold no free text, still go to private vulnerability reporting; security reports in an agent's own words wait. dev bug share off has the same effect; dev bug share on|reports records the account-bound consent for the legacy channel
bugs.sync true false stops every send to the registry: the hourly sync neither refreshes the cache nor sends, and dev bug sync and dev bug send refresh or approve but send nothing. Capture on this Mac goes on, and the reports wait in the outbox until you set it back to true

Background AI

Jobs that run with no agent session, such as dev sleep merging lessons written in different languages, can ask a small model, headless. It is off until you turn it on; dev setup asks once. Off, over its daily budget, or failing, the job compares the lessons' anchors instead.

Key Default Meaning
ai.enabled false Let background jobs ask a model. Each call runs outside any repository, saves nothing, and has a timeout
ai.agent empty claude or codex; empty uses the first one installed
ai.model.claude · ai.model.codex haiku · gpt-6-luna The model each agent uses for these calls (claude -p with no tools, or codex exec with a read-only sandbox)
ai.daily_calls 20 At most this many calls a day
ai.timeout 60 Seconds before a call is given up
ai.asked — Set by dev setup once you answered, so it does not ask again

Branch names

Key Default Meaning
branches.types feat, fix, refactor, perf, docs, test, build, ci, chore, deps, style, revert, hotfix, release, integration Allowed branch types; your list replaces the default
branches.forbidden_words claude, codex, copilot, cursor, chatgpt, gpt, openai, anthropic, gemini, agent, ai, bot, worktree, tmp, temp, wip Words a branch name may not start with; your list replaces the default

Git and GitHub

Key Default Meaning
commits.types feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, deps The Conventional Commit types that dev commit and PR titles accept; your list replaces the default
gitx.github_hosts [] GitHub Enterprise hosts, for example ["github.acme.com"], whose repositories dev pr, dev run, dev release, and dev issue treat as GitHub
delivery.draft_pr false When true, dev pr create opens a draft pull request unless you pass --ready; dev pr ready marks it ready, which starts the one CI run

See Git and GitHub.

Sync, cleanup, and Docker

Key Default Meaning
sync.push true Push the handoff repository to its remote; false keeps the commits on this Mac
sync.push_interval 300 Seconds a background dev sync lets pass after this Mac's last handoff push before it commits and pushes again (0 to 3,600). Changes made in between wait in the working tree, and one background flush pushes them on time. Task claims and releases, embargoes, the sync that ends a session, the hourly sync, and a dev sync you run push at once, and take the changes that wait with them. 0 pushes on every sync
sync.interval_minutes 60 The sync interval that dev setup asks for. The sync job's schedule is jobs.sync; change it with dev jobs set sync --every 30m
gc.auto true The nightly gc job applies the safe cleanup; false (the wizard's "report only") keeps the job off
gc.grace_hours 24 Idle time before a merged or fully contained worktree is removed
gc.idle_artefact_days 7 Idle time before regenerable build output is pruned in a worktree
gc.temp_days 7 Age after which temp entries are purged
gc.docker true Also prune dangling Docker images and build cache older than 7 days
docker.cpu 6 Colima VM CPUs
docker.memory 12 Colima VM memory in GB
docker.disk 80 Colima VM disk in GB (sparse; it can only grow)
docker.vm_type vz Apple Virtualization framework
docker.rosetta true Rosetta for amd64 images (with vz)
docker.mount_type virtiofs Host folder sharing
docker.autostart false true registers Colima with brew services so it starts at login (same as dev docker autostart-on)

Jobs and audit

Key Default Meaning
jobs.<name> the built-in jobs Changes a scheduled job (every in minutes, at, weekly, timeout, notify, enabled, about, run_at_load), or adds your own with cmd. dev jobs set, enable, and disable write these keys for you. See Scheduled jobs and the audit trail
audit.publish true The audit job publishes this machine's audit trail to audit/<user>@<machine id>/ in the handoff repository; false keeps it local
audit.retention.local_months 13 Months of audit records kept on this machine: a full year plus one month. A value under floor_months is raised to it
audit.retention.team_months 13 Months of this machine's records kept in the handoff copy, which more people can read. Pruning removes files from the working copy only; git history keeps every published month. See The audit trail › Retention
audit.retention.floor_months 3 The least any retention may be, and the hard minimum itself: dev config validate refuses 1 or 2. For fewer records, set audit.level to security instead
audit.hold false A legal hold: true stops all pruning on this machine and in the handoff copy
audit.level changes How much is recorded: security (refusals, security and configuration records, overrides), changes (everything devkit records), or all (also read-only commands). See The audit trail › Levels
audit.forward "" Also sends each new record to an absolute path to a file (JSON lines), syslog, or syslog://host:port (CEF lines). See The audit trail › Query and export
audit.redact.extra [] More regular expressions for the redactor, for secrets only your team uses

Use the validated configuration commands to change audit.*. The team policy, policy/audit.json in the handoff repository, can raise the retention and the level and add redaction patterns for every machine; it can never lower or remove them. dev config validate checks every value; dev audit config shows the effective ones.

{
  "jobs": {
    "sync": { "every": 30 },
    "doctor": { "weekly": "fri 08:30" },
    "lessons": { "enabled": false }
  },
  "audit": { "publish": true }
}

Run dev jobs install after editing these keys by hand.

Safeguards (retired)

safeguards is retired and ignored. Its keys, safeguards.readonly_commands, safeguards.irreversible_member, and safeguards.irreversible_main, configured the command guard that devkit 26.11.18 and earlier ran before each tool call. The guard is gone: agents act with the permissions of their own settings (see Concepts › Agents act with your permissions). A configuration that still holds safeguards stays valid; dev config validate and dev doctor name it as retired, and the next configuration change saves the file without it.

For another developer

Nothing needs editing: dev setup detects their login and proposes <their-login>/handoff. To share a team handoff repository, set handoff_repo before they install.

Personal agent rules

~/.config/devkit/AGENTS.personal.md is appended, under "Personal additions," to the generated ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md. Use it for preferences that are yours only (the language of replies, editor habits). Shared rules belong in agents/AGENTS.md in the devkit repository.

$EDITOR ~/.config/devkit/AGENTS.personal.md
dev install --only instructions

Never edit the generated files directly; the next install overwrites them, and dev config repair restores them.

Environment variables

Variable Effect
DEV_ROOT Overrides dev_root
DEVKIT_CONFIG Path of the config file (default ~/.config/devkit/config.json)
GITLAB_TOKEN dev ci status for GitLab when glab is not installed (GITLAB_PRIVATE_TOKEN works too)
BITBUCKET_TOKEN, or BITBUCKET_USERNAME and BITBUCKET_APP_PASSWORD dev ci status for Bitbucket Pipelines, and the Bitbucket sign-in check of dev doctor
AZURE_DEVOPS_EXT_PAT dev ci status for Azure Pipelines and the az devops CLI (AZURE_DEVOPS_PAT works too for dev ci status)
DEVKIT_NO_NOTIFY=1 No progress notifications from that process; security notices, such as an extension accepted, still show
DEVKIT_THEME=dark|light The colors of the banner and the dev setup wizard for a dark or a light terminal. Otherwise devkit reads COLORFGBG; when neither is set, as in macOS Terminal, it uses colors that read on both light and dark backgrounds
DEVKIT_FROM_AGENT=<id> Set by the hooks on a subagent's dev progress and dev crew commands, so they write to its lane; never set it yourself
DEVKIT_NO_CI_WATCH=1 No automatic dev ci watch after a push or PR from that process
DEVKIT_SCOPE=all Check every turn with the status block and required skills, not only development turns
DEVKIT_NO_AUTOSYNC=1 No queued background syncs from that process; bulk operations push once at the end
NO_COLOR Plain output without colors
DEVKIT_SESSION, DEVKIT_AGENT Set by devkit in Claude Code sessions (and DEVKIT_AGENT=job in scheduled jobs) so dev progress, the work-item changelog, and the audit trail know the session and agent; do not set them yourself
DEVKIT_JOB Set to the job's name while a scheduled job runs
CODEX_HOME Codex home (default ~/.codex)
CLAUDE_CODE_TMPDIR Claude Code's temp root; devkit treats it as temp and purges it

HOME, DEVKIT_CONFIG, and DEV_ROOT decide which state, configuration, and handoff repository devkit reads, for whoever sets them. The variables devkit sets itself (DEVKIT_FROM_AGENT, DEVKIT_SESSION, DEVKIT_AGENT, DEVKIT_JOB) tell it who is calling; setting them by hand makes devkit record the call in the wrong place. Earlier releases read one-command variables such as DEVKIT_GUARD, DEVKIT_RAW_FS, or DEVKIT_TAG_ANY; devkit no longer reads them.

The shell integration and the agents' environments also set DOCKER_HOST, TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE, NG_CLI_ANALYTICS=false, NEXT_TELEMETRY_DISABLED=1, and SUPERPOWERS_DISABLE_TELEMETRY=1. Claude Code's environment also turns off the telemetry and version checks of the security scanners (TRIVY_DISABLE_TELEMETRY, TRIVY_SKIP_VERSION_CHECK, SEMGREP_SEND_METRICS=off, SYFT_CHECK_FOR_APP_UPDATE, GRYPE_CHECK_FOR_APP_UPDATE), the review prompts of the security plugins (ENABLE_STOP_REVIEW=0, ENABLE_COMMIT_REVIEW=0, CLAUDE_SECURITY_SCAN_TIP=off), and impeccable's update check and telemetry (IMPECCABLE_NO_UPDATE_CHECK=1, IMPECCABLE_NO_TELEMETRY=1).

What everyone gets: the devkit repository

These files apply to everyone who installs devkit. Change them in a branch of the devkit repository, not on one Mac.

File Controls
agents/AGENTS.md The global instructions for both agents
config/claude/settings.json The settings merged into ~/.claude/settings.json: permission mode, attribution, env, hooks, fastModePerSessionOptIn
config/claude/plugins.json Claude Code marketplaces, plugins (plugins, disabled) and user-scope MCP servers
config/codex/config.json Codex settings written through Codex's config API (settings replaced, upsert merged), the profiles and the agent roles (agents)
config/codex/hooks.json Codex hooks
config/codex/plugins.json Codex marketplaces, plugins, and MCP servers
config/skills.json Third-party skills: repository, pinned commit (ref), license, folders, optional group, optional agents (["codex"] links a skill for one agent only, for example one the other agent's plugin already brings), and optional pin_npx (the exact version of each npm package the skill runs as <package>@latest)
config/skill-rules.json Which skills each kind of work requires
config/docs/ Default markdownlint and Vale rules for dev docs check
config/git/ Shared git defaults and the global ignore file
plugin/ The devkit plugin: its skills, slash commands and the scout agent
templates/ Plan, task, pull request and handoff templates (see Templates)
Brewfile, config/npm-globals.txt Packages in # @group sections: the base groups (core, docker, docs, security), one per selected agent (claude, codex), one per stack, the Angular framework group (angular), and one per git host or cloud (gitlab, azure-devops, aws, azure, gcp, digitalocean, kubernetes, terraform). An npm line is a package name, or name@version to pin that exact version (@playwright/cli@0.1.24, axe-core@4.14.0): pinned packages install with npm install -g --ignore-scripts, and dev install finds a package by its name whatever version is installed
config/profiles.json Language and framework capabilities: required runtimes, package groups, skills, language-server plugins, and MCP servers

Placeholders {{DEVKIT}}, {{HOME}}, {{DEV}}, and {{UID}} are expanded at install time. After editing:

dev install --only skills,claude,codex   # or the step you changed
dev doctor

To update a third-party skill, review the upstream change, put the new full commit SHA in ref and run dev install --only skills. Fetched sources are cached per commit in ~/.local/share/devkit/skills-src/.

dev doctor's pinned npm packages row checks each pinned package of your stacks: installed at its pinned version, and, for @playwright/cli, the playwright-core inside it at the exact version the CLI's own package.json names. When the row fails, run the npm command it prints, for example npm install -g --ignore-scripts @playwright/cli@0.1.24, then dev doctor again. When it says npm root -g gave no folder, npm failed, did not answer in time, or printed nothing on both of its tries (15 s each), so the row could not check the pins: check that npm root -g prints a folder here, then run dev doctor again. To move a pin, change its version in config/npm-globals.txt in a branch: dev doctor then prints the command that installs it.

See also Agents, Skills and plugins, and Models and tokens.