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: 4

Fields

FieldTypeDefaultDescription
basestringnoneBranch 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.
ignorestring[][]Globs left out of analysis, e.g. ["**/*.generated.ts"].
reportThresholdnumber (0–1)0.6Minimum confidence for a clash to be reported.
rulesmap 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.defaultTtlstring"30m"How long a claim lasts unless renewed by edits.
daemon.idleTimeoutstring"30m"The daemon stops after this long without activity.
ci.testCommandstringnoneTest command for the GitHub Action's combined check.
ci.buildCommandstringnoneBuild command for the GitHub Action's combined check.
ci.maxPairsinteger (0–50)6Most pull request pairs the Action builds and tests together.
cost.pricingmap 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.acceptReportedUsagebooleanfalseLet agents without a readable transcript report their token usage through the MCP tool lanekeeper_report_usage.
sync.enabledbooleanfalseSync lanes with your team (Team plan): with this on, linked machines (lk sync on) share their lanes.
sync.hashedSymbolsbooleanfalseSend 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.shareIntentsbooleanfalseIgnored 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.