Lanekeeper
v0.4.0Warns parallel AI coding agents when their changes in other git worktrees would break each other.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lanekeeper_status Lanekeeper status
Lanes (parallel worktrees) of this repository, the agents in them and what they are doing, open clashes, and active claims. Call at the start of a task.
lanekeeper_check_change Check a change against other lanes
Call before editing exported functions, types, routes, migrations or dependencies. With newContent (the full new file), reports the clashes that change would create. Without it, reports what other lanes are doing to the file (or one symbol in it).
| Parameter | Type | Description |
|---|---|---|
file * | string | Path of the file, absolute or relative to the working directory |
newContent | string | The complete proposed content of the file |
symbol | string | A function, class or type name in the file to focus on |
lanekeeper_claim Claim code for this lane
Reserve code before a large refactor so other agents steer around it. Target is a path glob (src/auth/**) or a symbol (src/auth.ts#login).
| Parameter | Type | Description |
|---|---|---|
intent * | string | What you are doing, shown to other agents |
target * | string | |
exclusive | boolean | Refuse overlapping exclusive claims; other lanes' edits become high-severity clashes |
ttlMinutes | integer |
lanekeeper_release Release claims
Release one claim by id, or every claim of this lane when no id is given.
| Parameter | Type | Description |
|---|---|---|
claimId | string |
lanekeeper_report_usage Report token usage
Report this agent's token usage for cost tracking, for agents whose transcripts Lanekeeper can't read. Off unless the repository sets cost.acceptReportedUsage.
| Parameter | Type | Description |
|---|---|---|
inputTokens * | integer | |
model * | string | Model id, e.g. gpt-5 or claude-sonnet-5-5 |
outputTokens * | integer | |
cacheRead | integer | |
cacheWrite | integer | |
sessionId | string | Your session id, to group usage by session |
lanekeeper_clashes Clashes involving this lane
Open clashes between this lane and others, each with what to do about it.
| Parameter | Type | Description |
|---|---|---|
refresh | boolean | Re-analyze every lane first |
severity | string | Minimum severity |
lanekeeper_merge_plan Merge plan
Suggested order to merge the lanes, with the reason for each dependency.
lanekeeper_triage Blast radius
This lane's blast radius: the APIs it changes that other code uses, its migrations and other special changes, its clashes, and whether it is contained, coordinated or needs a human review.