pulse-framework
PULSE Framework: CLI (pulse) + MCP Server (pulse_*) for controlled agentic development. Features 30-min rule, 5 safeguards, loop detection, Git checkpoints, and escalation workflows.
Installation
npx pulseframeworkAsk AI about pulse-framework
Powered by Claude Β· Grounded in docs
I know everything about pulse-framework. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
PULSE Framework β Controlled AI-Assisted Development
PULSE is a complete toolkit for controlled AI-assisted software development: methodology, CLI commands, MCP server for Cursor IDE, automatic safeguards, and loop detection.
# Quick Start
npm install && npm run build
npm link -w packages/pulse-cli -w packages/pulse-mcp
cd your-project
pulse init --mcp # Initialize with Cursor integration
Target Audience: Senior Developers and Tech Leads who want structured, safe AI-assisted development.
β‘ Before vs After
π The Workflow
Status β Run β Build β Doctor β Checkpoint β repeat
π‘οΈ The 5 Safeguards
π¬ Extension Features
β±οΈ Always-On Status Bar Timer
- Visual checkpoint reminder β See exactly how long since your last commit
- Color-coded warnings β Green β Yellow β Red as time passes
- One-click access β Click to open checkpoint menu instantly
π One-Click Project Setup
- Auto-detection β Pulse recognizes uninitialized projects automatically
- Fullstack preset β Sensible defaults for most projects
- Zero config β MCP server, Git hooks, and Cursor rules installed in one click
πΎ Smart Checkpoint (AI-Generated Commits)
- Context-aware β The AI generates commit messages from your chat history
- No copy-paste β Zero friction between coding and committing
- Git best practices β Meaningful, structured commit messages every time
βΈοΈ Snooze & Stop Watcher
- Non-intrusive reminders β Only notifies when you have uncommitted changes
- Snooze 1 hour β Take a break without spam
- Stop Watcher β Disable completely when you need deep focus
If Pulse helps your workflow, please β Star the Repository.
π» CLI Commands
pulse status β Check Project State
pulse doctor β Scan for Red Flags
pulse doctor β Warning Example (Secrets + Mass Delete)
pulse run β Start New Feature
pulse checkpoint β Save Progress
pulse doctor --loop β Detect Fix-Loops
π€ Agent Mode (MCP Tools)
The AI agent automatically calls PULSE tools during your conversation. Here's what it looks like:
π Status Check (Before Every Response)
- Automatic β Agent calls
pulse_statusbefore every response - Checkpoint tracking β Shows time since last commit
- Scope awareness β Tracks files and lines changed
β οΈ Checkpoint Overdue Warning
- 30-minute rule β Stops the agent when checkpoint is overdue
- Protects your work β Forces a save before continuing
- Clear action β Agent creates checkpoint automatically
π Secret Detection
- Pre-commit scan β Catches API keys before they leak
- Blocks commit β Won't let you push secrets
- Shows solution β Tells you exactly how to fix it
π Loop Detection
- Fix-chain detection β Catches when you're stuck
- File churn tracking β Same file edited 5+ times
- Suggests escalation β Get fresh perspective
π Escalation (When Stuck)
- Automatic trigger β After 2-3 failed fix attempts
- Context export β Full problem description for GPT-5/Claude
- Breaks the loop β Get expert help, not more guessing
π Learn (Capture Knowledge)
- Save solutions β After fixing tricky bugs
- Auto-updates rules β Future sessions remember
- Project knowledge base β Gets smarter over time
π Run (Start New Feature)
- Branch creation β Auto-creates feature branch
- Work order β Generates structured prompt
- Profile activation β Applies right safeguards
β Review (Pre-Merge Check)
- Quality checklist β Automated pre-merge review
- Scope validation β Files, lines, tests
- Clear recommendation β Approve / Review / Block
π Correct (Course Correction)
- Direction change β When requirements shift
- Safety checkpoint β Saves before correction
- Clear path forward β New implementation plan
π Proven at Scale: 14B+ Tokens
PULSE isn't theory. It's the distilled experience of 14.22 Billion Tokens and 21.9K Agentic Sessions in 2025.

- Top 3% Globally in AI-assisted development velocity
- Tested across complex refactors, greenfield builds, and escalation loops
- Built from real production experience with Claude, GPT-4, and Cursor
What's in the Box
| Component | Description |
|---|---|
CLI (pulse) | 13 commands for prompts, checkpoints, safeguards, escalation |
MCP Server (pulse_*) | 10 tools for automatic Cursor IDE integration |
| Cursor Rules | Auto-injected safeguards for every AI conversation |
| AGENTS.md | Universal rules for Windsurf, Copilot, Cline, etc. |
| Loop Detection | 5 patterns to catch fix-chains, reverts, file-churn |
| Git Hooks | Pre-commit and pre-push safeguards |
Installation
Quick Start (Recommended)
# 1. Clone and build
git clone https://github.com/manuelfussTC/PulseFramework.git
cd PulseFramework
npm install && npm run build
npm link -w packages/pulse-cli -w packages/pulse-mcp
# 2. Initialize in your project
cd /path/to/your/project
pulse init --mcp
# 3. Restart Cursor - Done!
What pulse init --mcp does automatically
| Step | What happens |
|---|---|
| 1 | Checks if pulse-mcp is installed, installs if needed |
| 2 | Creates .pulse/ directory with config |
| 3 | Creates .cursor/mcp.json with absolute paths (no PATH issues) |
| 4 | Creates .cursor/rules/pulse.mdc (auto-safeguards) |
| 5 | Detects workspace mismatch and fixes it |
| 6 | Validates everything works |
Installation Options
| Command | What it does | When to use |
|---|---|---|
pulse init | Basic setup without MCP | Manual workflow |
pulse init --mcp | Local MCP config | Recommended for Cursor |
pulse init --mcp --global | Global MCP in ~/.cursor | One-time setup for all projects |
pulse init --agents | Creates AGENTS.md | Windsurf, Copilot, Cline |
After Installation
- Restart Cursor (Cmd+Shift+P β "Developer: Reload Window")
- Check MCP status: Settings β Features β MCP β
pulseshould be green - Test: Ask Cursor something - it will automatically call
pulse_status
Requirements
- Git repository: Pulse requires your project to be a Git repo
- One repo per workspace: Open the specific project folder containing
.git, not a parent folder with multiple repos
Troubleshooting
| Problem | Solution |
|---|---|
| "MCP Server not found" | Restart Cursor |
| "pulse-mcp: command not found" | npm link -w packages/pulse-mcp |
| Rules not loading | Check if .cursor/rules/pulse.mdc exists |
| Wrong working directory | Use --global flag or check workspace setup |
| "Not in a git repository" | Open the folder containing .git, not a parent |
Structure after Init
your-project/
βββ .pulse/
β βββ state.json
β βββ templates/roles/
βββ .cursor/
β βββ mcp.json # MCP server config (absolute paths)
β βββ rules/pulse.mdc # Auto-safeguards (alwaysApply: true)
βββ .cursorrules # Fallback rules
βββ pulse.config.json # Project config
Usage
CLI Commands (Human)
pulse status # Quick project overview
pulse run # Start workflow (creates branch + prompt)
pulse checkpoint -m "msg" # Git commit with safeguard check
pulse doctor --loop # Check for problems + loop detection
pulse escalate -C # Create escalation for external AI
pulse review # Decision briefing before merge
pulse learn # Save knowledge from solved problems
pulse reset # Safe git reset for loop recovery
MCP Tools (Agent)
When using Cursor with --mcp, the agent automatically calls:
| Tool | When |
|---|---|
pulse_status | Before every response |
pulse_doctor | After code changes |
pulse_checkpoint | Every 5-10 minutes |
pulse_escalate | After 2-3 failed attempts |
Core Concepts
The 3-Layer Architecture
| Layer | Purpose | Tool |
|---|---|---|
| 1: Concept | Planning, architecture | ChatGPT, Claude |
| 2: Build | Implementation | Cursor Agent Mode |
| 3: Escalation | Complex problems | GPT-5, Opus |
The 5 Safeguards (Non-Negotiable)
- β±οΈ 30-Minute Rule β Stop and checkpoint after 30 min autonomous
- ποΈ Delete Guard β No file deletion without confirmation
- π€ Push Guard β No git push without confirmation
- π Secrets Guard β No API keys, passwords in code
- π Checkpoint β Git commit every 5-10 minutes
Loop Detection (5 Patterns)
| Pattern | Signal |
|---|---|
| Fix-Chain | 3+ "fix" commits in a row |
| Revert | AβB toggling detected |
| File-Churn | Same file changed 5+ times |
| Pendulum | Similar commit messages repeating |
| Fix-No-Test | Fix commits without test changes |
Red Flags Overview
π Quick Reference
| Format | Link |
|---|---|
| π Cheatsheet (Markdown) | PULSE-Cheatsheet.md |
| πΌοΈ Cheatsheet (Visual) | PULSE-Cheatsheet.png |
| π CLI Reference | pulse-cli.md |
| π MCP Reference | pulse-mcp.md |
| π Technical Reference | Technical Reference |
| π Workflow Guide | workflow.md |
| ποΈ Changelog | CHANGELOG.md |
Repository Structure
PulseFramework/
βββ packages/
β βββ pulse-cli/ # CLI toolkit (13 commands)
β β βββ src/commands/ # init, status, run, checkpoint, doctor, ...
β β βββ src/lib/ # prompts, scanner, briefing, ...
β β βββ templates/ # .cursorrules, pulse.mdc, AGENTS.md
β βββ pulse-mcp/ # MCP server (10 tools)
β β βββ src/tools/ # status, run, checkpoint, doctor, ...
β βββ pulse-vscode/ # VS Code extension (basic)
βββ docs/
β βββ tooling/ # CLI + MCP reference docs
β βββ cheatsheet/ # Quick reference
β βββ deep-dive/ # Advanced guides
β βββ workflow.md # How to use PULSE
βββ spec/ # Framework specification
βββ templates/ # Standalone templates (for manual use)
βββ examples/ # Example implementations
Presets
When running pulse init, choose a preset that matches your project:
| Preset | Max Files | Max Lines | Checkpoint |
|---|---|---|---|
frontend | 10 | 250 | 15 min |
backend | 15 | 400 | 20 min |
fullstack | 15 | 300 | 15 min |
monorepo | 25 | 600 | 25 min |
Workflow Example
# 1. Start a new feature
pulse run
# β Creates branch, generates prompt, starts watcher
# 2. Work with Cursor (agent calls MCP tools automatically)
# β pulse_status before each response
# β pulse_doctor after code changes
# β pulse_checkpoint reminders
# 3. When stuck
pulse escalate -C
# β Copy prompt to ChatGPT/Claude for external analysis
# 4. Before merge
pulse review
# β Decision briefing: Approve / Reject / Escalate
# 5. Save learnings
pulse learn
# β Capture problem β solution β rule for future
Support & Community
If PULSE helps your workflow, please β Star the Repository.
Author: Manuel FuΓ
Website: manuel-fuss.de/pulse
Email: kontakt@manuel-fuss.de
License
MIT License β See LICENSE for details.
Contributions welcome! Issues, PRs, and feedback appreciated.
