agentleFS
KanevryKanevry/session-orchestrator/.cursor/rules/000-session-orchestrator.mdc

session-orchestrator / rules

Cursor rule53 starsChanged 31 days agoMITView on GitHub

When working in any project with Session Orchestrator capabilities

We split this 000-session-orchestrator.mdc into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 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.

  • 6

    Very specific

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

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

    There is no Skill tool on Cursor: When a command says to invoke a skill, Read skills/<name>/SKILL.md and follow it.

    line 16
  2. Distinctive:

    No TaskCreate/Update: Use plain-text checklists to track progress:

    line 50
  3. Distinctive:

    No EnterPlanMode: When planning, state "I will focus on analysis only.

    line 57
  4. Very specific:

    Web search: Use @web in Cursor chat instead of WebSearch tool.

    line 59
  5. Very specific:

    Web fetch: Use curl via Bash instead of WebFetch tool.

    line 61
  6. Very specific:

    If a command is set to skip in Session Config, skip that check entirely.

    line 70
  7. Very specific:

    Read .orchestrator/metrics/learnings.jsonl for cross-session intelligence.

    line 78
  8. Very specific:

    Write session metrics to .orchestrator/metrics/sessions.jsonl with "platform": "cursor".

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 6,350 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
000-session-orchestrator.mdc
---
description: "When working in any project with Session Orchestrator capabilities"
globs: ""
alwaysApply: true
---

# Session Orchestrator — Cursor IDE

You have Session Orchestrator capabilities. This plugin provides structured session management for development work.

Native Cursor surface (this repo and `scripts/cursor-install.mjs` targets):
- Slash commands: `.cursor/commands/*.md` — type `/session`, `/go`, `/close`
- Skills: `.cursor/skills/<name>/SKILL.md` wrappers that point at canonical `skills/<name>/SKILL.md`
- Hooks: `.cursor/hooks.json` → `scripts/lib/cursor-hook-bridge.mjs`

**There is no Skill tool on Cursor.** When a command says to invoke a skill, Read `skills/<name>/SKILL.md` and follow it. Supporting files (`soul.md`, phase docs) live in that same directory.


## Platform Context

- Platform: Cursor IDE (SO_PLATFORM=cursor)
- State directory: `.cursor/` (STATE.md, wave-scope.json)
- Config: Session Config in `CLAUDE.md` under `## Session Config`
- Shared knowledge: `.orchestrator/metrics/` (sessions.jsonl, learnings.jsonl)

## Available Commands

| Command | Purpose |
|---------|---------|
| /session [type] | Start a session (housekeeping, feature, deep) |
| /go | Execute the agreed session plan |
| /close | End session with verification and commits |
| /discovery [scope] | Run quality analysis probes |
| /plan [mode] | Create project plan or PRD (new, feature, retro) |
| /evolve [mode] | Extract session learnings (analyze, review, list) |

## Cursor-Specific Adaptations

**No parallel agents**: Execute wave tasks sequentially. Complete one task fully before starting the next. The `agents-per-wave` config is ignored on Cursor.

**No AskUserQuestion tool**: Present choices as numbered Markdown lists:
```
Choose one:
1. Option A (Recommended) — what it does, and why it is the safe default here.
2. Option B — when B applies instead, and what it costs.
Reply with the number of your choice.
```
Two rules the example above follows. `(Recommended)` goes on option 1, in the label — an operator skims labels, so a recommendation hidden in the description is a recommendation he never sees. And every option names a reason, a cost, or a consequence: a recommendation without one is a claim he can only believe or ignore.

**No TaskCreate/Update**: Use plain-text checklists to track progress:
```
- [x] Task 1 — done
- [ ] Task 2 — in progress
- [ ] Task 3 — pending
```

**No EnterPlanMode**: When planning, state "I will focus on analysis only. No files will be modified until you approve the plan."

**Web search**: Use `@web` in Cursor chat instead of WebSearch tool.

**Web fetch**: Use `curl` via Bash instead of WebFetch tool.

## Quality Gates

Standard quality commands (read from Session Config, defaults below):
- **Typecheck**: `tsgo --noEmit` (or `npx tsc --noEmit`)
- **Test**: `pnpm test --run`
- **Lint**: `pnpm lint`

If a command is set to `skip` in Session Config, skip that check entirely.

## Agent Dispatch

Agents are resolved in priority order: project agents (`.cursor/agents/`) > plugin agents (`agents/`) > general-purpose. Use the `agent-mapping` Session Config field to bind roles explicitly to specific agents.

## Shared Knowledge

- Read `.orchestrator/metrics/learnings.jsonl` for cross-session intelligence. Only apply learnings with confidence >= 0.5.
- Write session metrics to `.orchestrator/metrics/sessions.jsonl` with `"platform": "cursor"`.
- Metrics directory: `.orchestrator/metrics/` (not `.claude/metrics/`).

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.

Reviews can't be read right now.

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.