agentleFS
budagov-labbudagov-lab/DreamTeam/.cursor/rules/task-execution.mdc

DreamTeam / rules

Cursor rule1 starsChanged 8 months agoMITView on GitHub

Task execution rules for Developer agents

The file

We split this task-execution.mdc into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the full task file before starting.

    line 11
  2. Very specific:

    Verify all dependencies are done in the database.

    line 12
  3. Distinctive:

    Run tests and fix any failures.

    line 15
  4. Very specific:

    Run dreamteam verify-tasks periodically to check DB/file consistency.

    line 17
  5. Very specific:

    If a task is blocked, document the reason in the task file and ensure the database status is blocked.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 7,111 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
task-execution.mdc
---
description: Task execution rules for Developer agents
globs: [".dreamteam/tasks/**/*.md"]
alwaysApply: false
---

# Task Execution Rules

## When Working on Tasks

1. Read the full task file before starting.
2. Verify all dependencies are `done` in the database.
3. Task is set to `in_progress` by `run-next` when Orchestrator assigns it.
4. Implement the changes specified in the task.
5. Run tests and fix any failures.
6. **Do NOT run update-task done** — Orchestrator runs it after Reviewer approval and Git-Ops commit. Developer only delivers code.
7. Run `dreamteam verify-tasks` periodically to check DB/file consistency.

## Task File Structure

Each task file must contain:

- `id` — Unique identifier (e.g. T001)
- `title` — Short description
- `status` — todo | in_progress | done | blocked | deprecated
- `sort_order` — optional, integer (lower = earlier in queue)
- `priority` — Integer (higher = more urgent)
- `dependencies` — List of task IDs that must be done first
- `owner` — Optional agent identifier

## Blocked Tasks

If a task is blocked, document the reason in the task file and ensure the database status is `blocked`.

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.