Pulse v3 β Autonomous Development Platform
Pulse v3 is a production-grade platform for autonomous AI-driven development. It extends Pulse v2 with advanced features for enterprise use:
Full Public Reader
---
name: pulse-v3
description: Production-grade autonomous development platform with chains, quality gates, checkpoints, learning, and multi-channel deployment
homepage: https://github.com/clawdbot/pulse-v3
user-invocable: true
command-dispatch: pulse
metadata.clawdbot: {"governance": true, "mcp_aware": true, "version": "3.0.0"}
---
Pulse v3 β Autonomous Development Platform
Pulse v3 is a production-grade platform for autonomous AI-driven development. It extends Pulse v2 with advanced features for enterprise use:
- π Chains β Multi-step workflows with dependencies
- β‘ Parallel Execution β Run sessions concurrently
- β Quality Gates β TypeScript, ESLint, tests, builds
- πΎ Checkpoints β Auto-save and resume from any point
- π Rollback β Automatic rollback on failure
- π Cost Tracking β Budget limits and usage monitoring
- π§ Learning β Pattern recognition and improvement suggestions
- π Deployment β Vercel, TestFlight, GitHub Releases
- π± Notifications β iMessage, Discord, Slack support
Quick Start
Basic Session
/pulse "Add user authentication to the app"With Options
/pulse "Add payment integration" --project my-app --budget 5.00 --notifyUsing Template
/pulse template expo-feature --feature_name "checkout" --feature_description "Shopping cart checkout flow"Chain Execution
/pulse chain full-release --version 2.0.0Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Pulse v3 Platform β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Orchestrator β
β βββ Session Management β
β βββ Chain Execution β
β βββ Parallel Coordination β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Core Systems β
β βββ Registry (Session Storage) β
β βββ State Machine (PENDINGβRUNNINGβCOMPLETE) β
β βββ Event Bus (pulse:start, pulse:complete, etc.) β
β βββ Checkpoints (Auto-save, Resume) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Quality & Safety β
β βββ Quality Gates (TypeScript, ESLint, Tests) β
β βββ Rollback Manager (Git-based safety) β
β βββ Interactive Approval (Human-in-the-loop) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Intelligence β
β βββ Pattern Store (Learn from success) β
β βββ Skill Matcher (Auto-select skills) β
β βββ Analyzer (Improvement suggestions) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Deployment β
β βββ Vercel (Preview/Production) β
β βββ TestFlight (EAS Build) β
β βββ GitHub (Releases, PRs) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββSession States
PENDING β RUNNING β CHECKPOINT β QUALITY_CHECK β DEPLOYING β COMPLETE
β β β β
PAUSED PAUSED PAUSED FAILED
β β β β
RUNNING RUNNING RUNNING (retry)Features
1. Chains β Multi-Step Workflows
Define complex workflows with dependencies:
# templates/my-chain.yaml
name: feature-release
steps:
- id: develop
name: Develop Feature
task: "Implement the feature..."
qualityGates: [typescript, eslint]
- id: test
name: Run Tests
task: "Execute test suite"
dependsOn: [develop]
- id: deploy
name: Deploy
task: "Deploy to production"
dependsOn: [test]
deploy:
platform: vercel
environment: production2. Quality Gates
Built-in gates:
- `typescript` β Type checking
- `eslint` β Code quality
- `jest` / `vitest` β Unit tests
- `build` β Production build
- `expo-typecheck` β Expo TypeScript
- `nextjs-build` β Next.js build
- `swift-build` β Swift compilation
Custom gates:
gateConfig.createFromCommand(
'custom-lint',
'Custom Lint',
'npm run custom-lint',
{ required: true, timeoutSeconds: 120 }
);3. Checkpoints & Resume
Auto-checkpoint every 5 minutes:
const session = await orchestrator.startSession({
task: "...",
autoCheckpoint: true,
checkpointIntervalMs: 5 * 60 * 1000
});Resume from checkpoint:
await resumeManager.resumeFromLatest(sessionId);
// or
await resumeManager.resumeFromCheckpoint(sessionId, checkpointId);4. Cost Tracking
Set budget limits:
const session = await orchestrator.startSession({
task: "...",
budgetLimit: 5.00 // $5 max
});Query costs:
const summary = costTracker.getSessionSummary(sessionId);
console.log(formatCostSummary(summary));5. Learning & Patterns
Patterns are automatically learned from successful sessions:
// Find matching patterns for a task
const matches = patternStore.findByKeywords(['expo', 'feature']);
// Apply a pattern
const pattern = matches[0].pattern;
console.log(pattern.successRate); // 0.856. Deployment
Vercel:
const result = await deploySessionToVercel(session, 'production');TestFlight:
const result = await deploySessionToTestFlight(session, {
profile: 'production',
autoSubmit: true
});GitHub Release:
const result = await createSessionRelease(session, '1.0.0', {
generateNotes: true
});7. Notifications
Configure multi-channel notifications:
notificationManager.configure(sessionId, [
{
channel: 'imessage',
target: '+1234567890',
onComplete: true,
onError: true
},
{
channel: 'discord',
target: 'channel-id',
verbosity: 'verbose'
}
]);8. Interactive Approvals
Request human approval at checkpoints:
const approved = await interactiveManager.requestApproval(session, {
type: 'deploy',
title: 'Deploy to Production?',
description: 'Review changes before deployment',
changes: ['file1.ts', 'file2.ts'],
timeoutMs: 60 * 60 * 1000 // 1 hour
});Templates
Available templates:
- `expo-feature` β Add feature to Expo app
- `ios-feature` β Add feature to iOS app
- `nextjs-page` β Add page to Next.js app
- `api-endpoint` β Create CRUD API endpoints
- `full-parity` β Port features between platforms
- `bug-fix` β Fix bugs with test coverage
- `refactor` β Refactor with safety
- `documentation` β Create/update docs
Use templates:
const task = orchestrator.generateFromTemplate(
'expo-feature',
{ feature_name: 'checkout', feature_description: 'Shopping cart' },
{ project: 'my-app', projectPath: '/path/to/app' }
);CLI Commands
pulse start "task description" # Start session
pulse status [sessionId] # Get status
pulse list --status running # List sessions
pulse resume <sessionId> # Resume session
pulse templates # List templates
pulse template <name> # Show template details
pulse schedule "0 9 * * *" "task" # Schedule task
pulse costs --days 7 # Show costs
pulse patterns --search "expo" # Search patterns
pulse help # Show helpAPI Reference
Core
import {
orchestrator,
registry,
pulseEvents,
pulse // quick start helper
} from '@clawdbot/pulse-v3';
// Quick start
const session = await pulse('Add feature', { budget: 5 });
// Full control
const session = await orchestrator.startSession({...});
await orchestrator.executeSession(session, executor, options);Events
pulseEvents.on('pulse:complete', ({ session, summary }) => {
console.log(`Done in ${summary.duration}ms`);
});
pulseEvents.on('pulse:error', ({ error, recoverable }) => {
if (recoverable) rollback();
});Quality
import { runSessionQuality, gateConfig } from '@clawdbot/pulse-v3';
const result = await runSessionQuality(session, ['typescript', 'eslint']);
if (!result.requiredPassed) {
// Handle failure
}Configuration
Data stored in `[home-path]`:
- `sessions.json` β Session registry
- `states/` β State machine snapshots
- `checkpoints/` β Checkpoint data
- `patterns.json` β Learned patterns
- `costs.json` β Cost records
- `schedules.json` β Scheduled tasks
Best Practices
1. Use templates β Consistent task structure
2. Set budgets β Prevent runaway costs
3. Enable checkpoints β Resume on failure
4. Run quality gates β Catch issues early
5. Review patterns β Learn from history
6. Configure notifications β Stay informed
Migration from Pulse v2
Pulse v3 is backward compatible with Pulse v2 preambles. New features are opt-in:
## PULSE v2 PREAMBLE
(existing format works)
## PULSE v3 OPTIONS (optional)
- autoCheckpoint: true
- qualityGates: [typescript, eslint]
- budgetLimit: 10.00Troubleshooting
Session stuck in RUNNING?
const session = registry.get(id);
const sm = registry.getStateMachine(id);
sm.forceState('FAILED', 'Manual intervention');Checkpoint not found?
const cps = checkpoints.list(sessionId);
// List all available checkpointsQuality gate timeout?
gateConfig.customize('typescript', 'typescript-extended', {
timeoutSeconds: 600 // 10 minutes
});License
MIT
Promotion Decision
Keep in the searchable backlog until it intersects a live paper or system.
Source Anchor
homelab/clawdbot/skills/pulse-v3/SKILL.md
Detected Structure
Method Β· Figures Β· Code Anchors Β· Architecture