Config reference
Every field of .lanekeeper/config.yml, generated from the configuration schema.
Lanekeeper reads .lanekeeper/config.yml at the repository root. Every field is optional. An invalid file never stops anything: Lanekeeper uses the defaults and lk doctor says what is wrong. Editors that support JSON Schema can validate the file againstlanekeeper.dev/schema/config.json.
# yaml-language-server: $schema=https://lanekeeper.dev/schema/config.json
mode: warn
ignore: ["**/*.generated.ts"]
rules:
R8: { severity: info }
claims:
defaultTtl: 45m
ci:
testCommand: pnpm test
maxPairs: 4Fields
| Field | Type | Default | Description |
|---|---|---|---|
base | string | none | Branch lanes are compared against. Auto-detected (origin/HEAD, then origin/main, …) when unset. |
mode | "warn" | "block" | "warn" | warn: tell agents about clashes. block: deny edits that would create a high-severity clash. |
languages | "auto" | string[] | "auto" | Reserved: every supported language is analyzed today, whatever this says. |
ignore | string[] | [] | Globs left out of analysis, e.g. ["**/*.generated.ts"]. |
reportThreshold | number (0–1) | 0.6 | Minimum confidence for a clash to be reported. |
rules | map of "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | {} | Per-rule overrides by rule id (R1–R9): enabled, severity. R10 comes from CI and isn't affected. |
claims.defaultTtl | string | "30m" | How long a claim lasts unless renewed by edits. |
daemon.idleTimeout | string | "30m" | The daemon stops after this long without activity. |
ci.testCommand | string | none | Test command for the GitHub Action's combined check. |
ci.buildCommand | string | none | Build command for the GitHub Action's combined check. |
ci.maxPairs | integer (0–50) | 6 | Most pull request pairs the Action builds and tests together. |
cost.pricing | map of string | {} | Your rates, USD per million tokens, by model id or id prefix: { input, output, cacheRead, cacheWrite }. They replace the built-in estimates for those models. |
cost.acceptReportedUsage | boolean | false | Let agents without a readable transcript report their token usage through the MCP tool lanekeeper_report_usage. |
sync.enabled | boolean | false | Sync lanes with your team (Team plan): with this on, linked machines (lk sync on) share their lanes. |
sync.hashedSymbols | boolean | false | Send symbol names, paths, branches and lane names hashed with the team key in .lanekeeper/sync.key (lk sync key), so the server sees only hashes. Without the key, team sync stays off rather than send plain names. |
sync.shareIntents | boolean | false | Ignored here: sharing each session's one-line intent with the team is a per-developer opt-in, read only from the clone's own .git/lanekeeper/sync.json, so a committed config can't turn it on for everyone. Off by default: intents stay local. |