agentleFS
xAIKnown publisherxai-org/customer-education-workshops/ledgerly/.cursor/rules/multitask-no-wrapper.mdc

customer-education-workshops / rules

Cursor rule2 starsChanged 16 days agoApache-2.0View on GitHub

Do not wrap Ledgerly /multitask in a single implementer Task

The file

We split this multitask-no-wrapper.mdc into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Put owned files, contract, constraints, and verify steps in each worker’s prompt.

    line 15
  2. Distinctive:

    Do not add an extra agent whose only job is to re-dispatch, write tests, or own the whole slice.

    line 16
  3. Very specific:

    Do not call move_agent_to_root or SetActiveBranch for a worker worktree or branch.

    line 34
  4. Distinctive:

    Read worker diffs from the linked worktree paths.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule 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
multitask-no-wrapper.mdc
---
description: Do not wrap Ledgerly /multitask in a single implementer Task
alwaysApply: true
---

# No wrapper for /multitask

The parent chat **is** the coordinator. Do not launch a Task whose job is “implement this plan,” “execute the runbook,” or “dispatch the workers.” That wrapper is not an implementer.

Launch mechanics live in `.cursor/skills/dispatch-subagents/SKILL.md`. Slice-specific workers, files, and verify steps live in the plan (e.g. `.cursor/plans/resolve-dispute.md`).

## Dispatch

- First Task calls are the named parallel workers (one isolated Task per workstream / worktree).
- Put owned files, contract, constraints, and verify steps **in each worker’s prompt**. Do not start a sibling later “so it has context.”
- Do not add an extra agent whose only job is to re-dispatch, write tests, or own the whole slice.
- Dependent steps (apply, review, verify) wait until those workers finish. They are not a reason to wrap the workers.

```
# ❌ BAD — one Task around the plan
Task: “Read the attached plan and implement it. You may split into subagents.”

# ✅ GOOD — coordinator launches the named rows
Task: owns <file A> only
Task: owns <file B> only
```

A typed worker (`api-instrumenter`, `ledgerly-reviewer`, `dispute-verifier`) is still one named job. It is not a stand-in for “do the whole plan.”

## Stay on the main worktree

The parent chat stays in the primary checkout on `main`. Do not `git checkout` a worker branch there.

Do not call `move_agent_to_root` or `SetActiveBranch` for a worker worktree or branch. If a tool would switch this chat’s root, skip it and keep the main path.

Read worker diffs from the linked worktree paths. Apply them later, from `main`, in the plan’s order.

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.