agentleFS
danielvm-gitdanielvm-git/bigpowers/.cursor/rules/execute-plan.mdc

bigpowers / rules

Cursor rule252 starsChanged 3 months agoMITView on GitHub

Batch-execute tasks from the active epic capsule sequentially, with a human checkpoint after each step. Use when user has an approved plan and wants step-by-step oversight.

The file

We split this execute-plan.mdc into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Read specs/state.yaml (active_epic, active_story) and the matching specs/epics/*/epic.yaml.

    line 18
  2. Very specific:

    Update specs/execution-status.yaml when a story/epic completes (bash scripts/sync-status-from-epics.sh or direct edit).

    line 42
  3. Distinctive:

    Loop until behavioral correctness is verified: if a verify command passes but the observed behavior is still wrong, return to step 1 and …

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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
execute-plan.mdc
---
description: "Batch-execute tasks from the active epic capsule sequentially, with a human checkpoint after each step. Use when user has an approved plan and wants step-by-step oversight."
alwaysApply: false
---

# Execute Plan

Execute tasks from the **active epic** (`specs/epics/eNN-slug/epic.yaml` story `tasks[]`) one at a time, showing evidence after each step before proceeding.

> **HARD GATE** — Do NOT proceed if on `main` or `master`. Run `kickoff-branch` first.
>
> **HARD GATE** — Active epic must exist with runnable `verify` on each task. If missing, run `plan-release` then `plan-work` or `build-epic`.

## Process

### 1. Read the plan

Read `specs/state.yaml` (`active_epic`, `active_story`) and the matching `specs/epics/*/epic.yaml`. Parse `depends-on` in task descriptions for execution waves.

> **CONTEXT ISOLATION** — Spawn each skill with a **fresh context window**. Pass decisions only through `specs/state.yaml` `handoff` — never rely on prior chat history.

Confirm with the user: step count, skip/reorder, stop-after step.

### 2. Execute step by step

For each task in the active story:

**a. Announce** — task `desc` and `verify` command.

**b. Execute** — code or `delegate-task` / `dispatch-agents` for waves.

**c. Run verify** — must be green before advancing.

**d. Log** — non-obvious decisions in `specs/state.yaml` under `decisions[]` or `handoff` block.

**e. Checkpoint** — ask to proceed unless autonomous mode requested.

**f. Story UAT** — after last task, run manual verification script from story notes or `verify-work`.

On verify failure: fix and re-run; never advance on red.

Update `specs/execution-status.yaml` when a story/epic completes (`bash scripts/sync-status-from-epics.sh` or direct edit).

### 3. Blockers

Report blocker; ask skip/adapt/stop; update epic capsule if plan changes.

### 4. Final report

Suggest: `verify-work` → `run-evals` → `audit-code` → `simulate-agents` → `commit-message` → `release-branch`

## Rules

- **Loop until behavioral correctness is verified**: if a verify command passes but the observed behavior is still wrong, return to step 1 and run the execution cycle again.



<!-- story: e02s03 -->
<!-- story: e05s02 -->
<!-- story: e08s01 -->

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.