agentleFS
maidepsmaideps/ai-harness-framework/skills/parallel-lanes/SKILL.md

parallel-lanes

Skill2 starsChanged 6 days agoMITView on GitHub

An agent detects which planned features are safe to run in parallel, proposes the plan, and waits for a human to approve before creating any lane or starting another session.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. noderaven/parallel-lanes★ 5same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository11 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Detect: Run npm run lane-suggest. It is read-only — no worktree, no branch, no state write — and reports one of three things: nothing …

    line 21
  2. Very specific:

    Propose, don't act: If lane-suggest reports two or more candidates, present the set to the human in plain language — which features, why …

    line 25
  3. Very specific:

    Supervise, don't race ahead: Check npm run lane-list periodically.

    line 43
  4. Very specific:

    Never call lane-new, start another session, or call lane-land without the human having said yes to that specific step — an earlier approval …

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Parallel Lanes

Turns Worktree Lanes (D-017) from something a human drives by hand into something an agent can propose on its own — without ever acting on its own. Detection is automatic; every state-changing step still needs an explicit human yes.

When to Use

  • You (the agent) notice more than one planned feature in feature_list.json and wonder whether they could be developed at the same time
  • A human asks "what can we parallelize right now?"
  • You are about to start a single feature and want to check first whether starting it alongside another one is worth proposing

Workflow

  1. Detect. Run npm run lane-suggest. It is read-only — no worktree, no branch, no state write — and reports one of three things: nothing startable, exactly one startable feature (no parallel benefit), or a set of features that are all dependency-graph independent right now (none is waiting on another in that set).
  2. Propose, don't act. If lane-suggest reports two or more candidates, present the set to the human in plain language — which features, why they're independent, what the lane commands would be — and ask whether to proceed. Do not run lane-new before they say yes. This is the same bar as any other hard-to-reverse action: creating a worktree and branch is cheap to undo, but starting other agent sessions on your own initiative is not something to do silently.
  3. On approval, create one lane per approved feature.
    npm run lane-new -- <feature-id>
    Repeat for each feature the human approved — skip any they didn't. Each lane is an independent sibling worktree (../<repo>-lane-<feature-id>) on branch lane/<feature-id>.
  4. Hand each lane to its own session. Open a separate agent session (or terminal) rooted at each lane's worktree directory, scoped to that one feature only. Tell it explicitly: work only <feature-id> in this directory; do not touch the other lanes. Running two agents against the same worktree is not supported — one worktree, one active writer.
  5. Supervise, don't race ahead. Check npm run lane-list periodically. A lane is ready to land only once its own .harness/state/<feature-id>.json is committed as passing inside that lane (never fake this from outside the lane).
  6. Land one at a time, each with confirmation. For each lane reported passing: confirm with the human, then run npm run lane-land -- <feature-id> from the branch you're merging into. Land lanes one at a time rather than batching merges — a merge is a shared-state, hard-to-reverse-cleanly action, so each one gets its own go-ahead.
  7. Expect — and fix — the one residual conflict. lane-suggest's independence check is dependency-graph safety only; it does not know whether two features touch the same files. If a land produces a merge conflict (most likely in the generated PROGRESS.md), resolve it and re-run node scripts/framework-check.mjs progress-update; this is expected occasionally and is not a sign the lanes were wrongly judged independent.

Rules

  • Never call lane-new, start another session, or call lane-land without the human having said yes to that specific step — an earlier approval does not cover a later one.
  • lane-suggest never writes anything. If it ever needs to, that's a bug.
  • One active writer per worktree. Don't point two sessions at the same lane directory.
  • A feature with unmet dependencies, already blocked, or already claimed by an existing lane/* branch never appears as a candidate — don't propose it anyway.

Quick Reference

  • npm run lane-suggest run and read before proposing anything
  • Candidate set presented to the human in plain language
  • Explicit approval received before any lane-new
  • One session per lane, each scoped to its one feature
  • lane-list checked before claiming a lane is ready
  • Each lane-land confirmed individually, landed one at a time

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.