Lanekeeper

v0.4.0
io.github.UpwanSingh/lanekeeper Checked 2 hours ago Published 10 hours ago

Warns 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).

ParameterTypeDescription
file *stringPath of the file, absolute or relative to the working directory
newContentstringThe complete proposed content of the file
symbolstringA 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).

ParameterTypeDescription
intent *stringWhat you are doing, shown to other agents
target *string
exclusivebooleanRefuse overlapping exclusive claims; other lanes' edits become high-severity clashes
ttlMinutesinteger

lanekeeper_release Release claims

Release one claim by id, or every claim of this lane when no id is given.

ParameterTypeDescription
claimIdstring

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.

ParameterTypeDescription
inputTokens *integer
model *stringModel id, e.g. gpt-5 or claude-sonnet-5-5
outputTokens *integer
cacheReadinteger
cacheWriteinteger
sessionIdstringYour 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.

ParameterTypeDescription
refreshbooleanRe-analyze every lane first
severitystringMinimum 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.