agentleFS
harshanandakharshanandak/forge-legacy/.cursor/rules/permissions-guidance.mdc

forge-legacy / rules

Cursor rule4 starsChanged 48 days agoMITView on GitHub

Cursor YOLO Mode — recommended terminal permissions for this project

  • Deletes or force-pushes
  • Commits and pushes

The file

Files
permissions-guidance.mdc
---
description: Cursor YOLO Mode — recommended terminal permissions for this project
---

Cursor's allow/deny lists are configured in the IDE, not project files.

**Enable YOLO mode**: Cursor Settings → Features → Chat & Composer → Enable YOLO mode

## Recommended Allow List (auto-run without prompt)

```
Bash(git status *), Bash(git log *), Bash(git diff *), Bash(git branch *)
Bash(git add *), Bash(git commit *), Bash(git push *), Bash(git stash *)
Bash(git checkout *), Bash(git switch *), Bash(git merge *), Bash(git worktree *)
Bash(bun *), Bash(bunx *), Bash(npm *), Bash(npx *), Bash(node *)
Bash(forge *), Bash(gh *), Bash(openspec *)
Bash(ls *), Bash(cat *), Bash(grep *), Bash(find *), Bash(pwd *), Bash(which *)
Bash(echo *), Bash(head *), Bash(tail *), Bash(sort *), Bash(wc *)
Bash(mkdir *), Bash(touch *), Bash(cp *), Bash(mv *)
```

## Confirm Before Running (prompt each time)

<!-- git reset --hard moved from Deny to Confirm ("ask" policy).
     Rationale: agents may need it for worktree cleanup during /verify stage,
     but it should always require user confirmation since it discards uncommitted changes. -->
```
Bash(git rebase *), Bash(git reset --hard *)
```

## Recommended Deny List (always block)

```
Bash(rm -rf *), Bash(git push --force *), Bash(git push -f *)
```

See [docs/research/agent-permissions.md](../../docs/research/agent-permissions.md) for the full permission tier classification and rationale.

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.