Heartbeat
HEARTBEAT.md β Alfred, Orchestrator
Prime Directive: Revenue First
Every decision, every task prioritization, every heartbeat β ask: does this move us closer to revenue? If it doesn't generate revenue, enable revenue, or protect revenue, it is secondary. We have 8 agents, a full stack, and zero revenue. That changes NOW. Ship the simplest thing that someone will pay for. A PDF, a single automation, a one-off service β anything that generates cash.
On Every Heartbeat
- Check each department head's workspace for progress updates or blockers
- Review ops/audit/ logs for any unauthorized or failed actions
- Check if any scheduled reports are due (see reporting schedule below)
- Check for open Telegram project threads (see Multi-Threaded Work below)
- If nothing needs attention, reply HEARTBEAT_OK
Standard Operating Procedures
All operational workflows follow the orchestrator SOP: docs/sops/sop-orchestrator.md
Review the SOP on every heartbeat β it defines daily cadence, cross-agent coordination, work order routing, escalation paths, and system health checks.
Scheduled Reports (Bolivia time, UTC-4)
Use cron jobs for these β don't rely on heartbeat timing:
- Mon 7:30am: Weekend progress report β collect summaries from all heads
- Mon 8:00am: Company-wide weekly plan of action
- Daily 8:00am: Morning brief (overnight summary + system health + alerts) β cron:
morning-brief - Daily 8:30am: Daily plan of action β cron:
daily-plan - Daily 6:00pm: End of day progress summary β cron:
evening-report - Fri 6:00pm: Weekly progress summary (ahead/on target/behind) β cron:
weekly-review - Daily 2:00am: Nightly memory consolidation (automated) β cron:
memory-consolidation - Daily 12:00am: Nightly backup (automated) β cron:
nightly-backup
Rick (Revenue) β 24/7 Sales Machine:
- Daily 11:00pm: Nightly lead research (Upwork + DFW Google Maps) β cron:
nightly-lead-research - Weekdays 10:00am: Automated outreach (proposals + DFW templates) β cron:
automated-outreach - Weekdays 2:00pm: Follow-ups (re-engage unresponsive leads) β cron:
follow-ups - Weekdays 6:00pm: CRM review (pipeline cleanup + metrics) β cron:
crm-review
Milestone Updates
When any department hits 25%, 50%, 75%, or 100% on a tracked goal, send Clayton a brief update via Telegram immediately.
Quiet Hours
- Avoid non-urgent messages between 10pmβ7am Bolivia time
- Blockers requiring human intervention are always sent immediately regardless of time
Session Monitoring [T1 β Nat/Felix Pattern]
On every heartbeat, check for open codex/long-running sessions:
- Read today's daily note (
memory/YYYY-MM-DD.md) for any entries under "Open Sessions" - For each listed session:
- Still running β do nothing
- Died/failed β restart silently, don't report unless repeated failure
- Finished successfully β report to Clayton via Telegram, update daily note
- If no daily note exists for today, create one from
knowledge/daily-note-template.md
codex Delegation Pattern
For any programming task bigger than a quick fix:
- Do NOT do it directly. Delegate to codex via terminal session.
- Pattern: Write PRD β spawn RALPH loop β codex executes PRD β heartbeat monitors
- NEVER spawn sessions in TMP β TMP gets cleaned out and kills long-running work
- Log every spawned session in the daily note with path, start time, and status
Multi-Threaded Work [T1 β Nat/Felix Pattern]
Use Telegram forum topics as parallel workstreams. Each project or major task gets its own topic thread β this prevents context collision across unrelated work.
Rules:
- When starting a new project, create a dedicated forum topic (or use an existing one)
- Each topic = one OpenClaw session = one context. Never mix project contexts.
- Agents can run 5+ threads in parallel β use this. Don't serialize work that can be parallelized.
- Daily standup topic is for coordination only β actual work happens in project topics.
- Existing topics: Announcements, Daily Standup, Blockers & Escalations, Delivery & Ops, R&D, Sales & Revenue, Legal, People & Culture, Design, Finance
- Create new topics as needed for specific projects (e.g., "DFW Dental Pilot", "Speed-to-Lead MVP")
Tool & Skill Request Workflow
Alfred is responsible for the formal tool/skill creation approval pipeline. See tool-skill-request skill for full process.
On every heartbeat, check:
~/.openclaw/workspace/ops/requests/for new request files- Telegram (Clayton's Tasks topic) for pending approval responses
Workflow: Agent request β Alfred review β Alfred escalates to Clayton β Clayton approves β Alfred creates β Alfred notifies agent.
Emergency: Critical requests that block revenue go directly to Clayton's Tasks topic.
Proactive Work & Autonomous Feature Building
During heartbeats, if no reports are due:
- Check knowledge base β is anything stale or missing?
- Check tool/skill requests β process any pending requests per
tool-skill-requestskill - Review department progress and identify stalled work
- Check for unprovisioned credentials that are blocking tasks
- Ensure all agents have the tools they need
- Look for cross-department dependencies that need coordination
- Identify the single highest-impact task that's not being worked on and assign it
- Review and organize memory files
- Look for quick wins that move the mission forward
- Ask: "Can I remove this bottleneck?" for anything that requires Clayton's intervention repeatedly
Autonomous feature proposals [T1 β Felix pattern]: When any agent identifies a useful improvement or new capability during their work:
- Write up a brief proposal (what it does, why it matters, estimated effort)
- Internal-only changes (new skill, workflow improvement, docs, cron job) β build it, report what you did
- External-facing changes (client-visible, spending money, publishing content, sending messages) β propose to Clayton first, wait for approval
- Log all autonomous work in the daily note
System Health
- Verify gateway is running (ws://127.0.0.1:18789)
- Check for 402/rate limit errors in logs
- Monitor agent workspace sizes (avoid bloat)
Nightly Backup (Midnight UTC-4)
Every night at midnight (Bolivia time), backup the entire .openclaw directory to GitHub:
git -C "C:\Users\Administrator\.openclaw" add -A
git -C "C:\Users\Administrator\.openclaw" commit -m "nightly backup: YYYY-MM-DD"
git -C "C:\Users\Administrator\.openclaw" push origin master
- Repo:
clayandthepotter/openclaw-org(private) - What's backed up: All workspaces, skills, cron jobs, agent config, CRM templates, reference docs
- What's excluded (via .gitignore): secrets/, credentials/, identity/, logs/, browser cache, nested git repos (leadspanther-site etc)
- If commit fails (nothing changed): That's fine β skip and report HEARTBEAT_OK
- If push fails: Report the error to Clayton immediately
Weekly Product Scorecard (Every Friday)
For each active micro-SaaS product, report to Clayton:
- Activation rate (β % of signups completing the money path)
- D7 / W4 retention
- Churn (target: <5% monthly)
- MRR + net new MRR
-
user conversations this week (target: 5+)
-
fixes shipped same-day
- Top acquisition channel performance
- LTD revenue + runway remaining (if in LTD phase)
No active products yet β this scorecard activates when the first micro-SaaS launches (Phase 3+ of GTM).
Full framework: docs/micro-saas-factory-playbook.md
Current Strategy Phase: Phase 1 β Free Pilots + Proof Accumulation
Full strategy: ops/gtm-strategy.md
Immediate Priorities (Post-Funding)
Track 1 β Upwork (Fast Cash):
- Coordinate Devin β build skateboard demo β scrape β enrich β CRM end-to-end workflow + 2-5 min recording
- Coordinate Rick β Upwork sprint β pull 20 jobs, submit 10 proposals with demo attached
- Close first Upwork project ($500-2,500) β deliver, collect testimonial
Track 2 β DFW (Higher Value, Parallel): 4. Coordinate Rick β DFW prospect list β 50+ businesses across Tier 1 verticals, enriched via Crustdata (Apollo backup), scored against Pain+Budget+Access 5. Coordinate Rene β DFW vertical research β marketing spend, pain points, tech stack, AI adoption by vertical 6. Coordinate Devin β build first client automation β when pilot client is secured 7. Coordinate Daniel β client-facing assets β reports, dashboards, proposal visuals 8. Clayton β warm network blitz β 50 conversations, 10 qualified, 3-5 beta clients
Infrastructure: 9. β All credentials provisioned (GitHub, Vercel, Stripe, PayPal, Gmail, Google OAuth, Crustdata, Apollo, HubSpot) 10. β OpenRouter credits needed β Tier 1+2 models blocked until funded 11. β HubSpot Private App token provisioned β CRM operations ready
Phase Gates
- Phase 1 β 2: 3+ beta clients with testimonials
- Phase 2 β 3: $5K+ in service revenue, same automation delivered 3+ times
- Phase 3 β 4: Reusable skill library with 5+ production skills
- Phase 4 β 5: Product MVP live with first paying subscriber
Key Rule
Sell outcomes, not AI. "We cut follow-up time from 4 hours to 30 seconds" β never "we have AI agents."
Excellence KPIs (Baldrige Monthly Scorecard)
Score 1-5 on the first briefing of each month:
- Leadership β mission alignment, guardrails enforced
- Strategy β GTM on track, pivots needed?
- Customer Focus β acquisition rate, delivery quality, satisfaction
- Measurement & Knowledge β MEMORY.md learnings captured and applied
- Workforce β agent capabilities, specialist quality
- Operations β DORA metrics, delivery flow
- Results β revenue, costs, compliance
Product Graduation Monitor
Track agency workflows approaching micro-SaaS graduation:
- Which workflows have been delivered 3+ times?
- Which have documented SOPs?
- Which have standalone value?
See
reference/excellence-standards.mdfor full criteria.
Session State
Session State (Active Working Memory)
Status: Active Last Updated: 2026-02-23
Current Context
- Agent: Alfred, Orchestrator
- Stakeholder: Clayton
- Primary Goal: Maximize revenue, margin, and growth while staying compliant and secure
- Strategy Phase: Phase 1 β Free Pilots + Proof Accumulation (DFW local services)
- Full Strategy:
ops/gtm-strategy.md
Infrastructure Status (as of 2026-02-23)
- β All 8 agents configured with 3-tier model cascade (autoβpaidβfree)
- β 66 skills installed (37 existing + 29 new from ClawHub)
- β
gogCLI v0.11.0 installed + authenticated asclayton@leadspanther.com(13 Google services) - β All credentials provisioned (GitHub, Vercel, Stripe, PayPal, Gmail, Google OAuth, Apollo, HubSpot)
- β Telegram team group active with 10 forum topics
- β 6 cron jobs wired (morning brief, daily plan, evening report, nightly backup, memory consolidation, weekly review)
- β Agent config audit complete β all SERVICES.md, TOOLS.md, AGENTS.md, HEARTBEAT.md current
- β PARA knowledge base deployed (knowledge/ with 3 layers)
- β All 35 transcript levers operationalized across org docs
- β GTM strategy rewritten for DFW local services (replaced Upwork-centric strategy)
- β Full org consistency audit completed β 13 inconsistencies found and fixed
- β οΈ
lb-supabase-skillstill pending (download timeout) - β οΈ OpenRouter credits needed for Tier 1+2 models
- β οΈ Codex OAuth token expires 2026-03-01
Active Work Orders
Org Improvement Plan Phase 1 β COMPLETE. Phase 2 blocked on OpenRouter funding.
Post-funding action plan: docs/post-funding-action-plan.md
Completed This Session (2026-02-23)
- β Forensic transcript analysis of 4 sources (Nat/Felix, Kevin Badi, Bugo, Hormozi)
- β Org Improvement Plan compiled, approved, Phase 1 executed (10 items)
- β PARA knowledge base deployed (knowledge/ with projects, areas, resources, archive)
- β Tacit knowledge document created (how Clayton works)
- β Daily note template + session tracking created
- β Nightly memory consolidation cron job added (2 AM)
- β Heartbeat upgraded with session monitoring, codex delegation, multi-threaded work, revenue-first directive
- β DFW market plan created (verticals, qualification, unique advantages, outreach strategy)
- β Service offering redesigned (services-first, proof-first, pricing ladder, content repurposing)
- β Content playbook created (LinkedIn-first, hook framework, 70/30 ratio, volume>optimization, avatar targeting, buyer continuum)
- β Agent specialization + operating principles documented (25 principles)
- β Forensic transcript analysis reference doc created (35 levers)
- β Post-funding action plan created (Day 0 through Day 30+)
- β All 35 levers operationalized (11 gaps closed across 4 files)
- β Full org consistency audit β 13 inconsistencies found and fixed
- β GTM strategy rewritten for DFW pivot (replaced Upwork-centric strategy)
Current Strategy Phase: DFW Market Launch (Services-First)
Pivoted from Upwork-first to DFW local services market based on forensic transcript analysis. All org docs now aligned to DFW strategy. No remaining Upwork references in active strategy docs.
Security Posture
- No credentials stored in workspace files
- Following least privilege by default
- Read-only access to Stripe/PayPal by default
- gog OAuth tokens stored in Windows Credential Manager (via gogcli keyring)
- Authenticated vs information channel separation enforced (T1 pattern)
Next Steps (Blocked on Funding)
- Fund OpenRouter account ($10+) to unlock paid models
- Activate Rick β execute DFW prospect research from docs/dfw-market-plan.md
- Activate Rene β vertical deep-dives on Tier 1 DFW industries
- Clayton begins warm outreach to DFW network
- First 3-5 free pilot clients β testimonials β paid engagements
See docs/post-funding-action-plan.md for day-by-day execution plan.
Memory
MEMORY.md - Distilled Learnings
Curated long-term decisions, workflows, and implementation notes.
Session Summary (2026-03-02)
- Priority Shift: Revenue-first, retainer clients NOW. Runway is limited, no consistent income yet. Everything else is secondary.
- Lead Database: ~800 leads in Supabase, primarily roofers. Need to broaden scope to HVAC, dental, plumbing, landscaping, personal injury lawyers (DFW).
- Crustdata: ~1,000 credits available. Budget plan: 400 company enrichments + 200 decision-maker contacts.
- Telephony: Switched from Twilio to Telnyx. Twilio dropped β didn't work for Clayton. Telnyx credentials to be provisioned 2026-03-03.
- Automaton project: On hold. Do not touch.
- Deck updated:
leadspanther-site/content/decks/capabilities.jsonβ new pricing, DFW positioning, beta pilot framing, no fabricated stats. - Docs created:
docs/call-template.md,docs/prospect-dossier-template.md,docs/outreach-sequences.md,ops/first-client-plan.md - Goal: Full funnel automated from cold lead β Clayton on Google Meet. Prospect research dossier auto-delivered 30 min before each call.
- Target: 2 retainer clients at $3K/mo. Path: beta pilot ($500) β prove results β upgrade to Growth retainer.
- Provisioning needed (2026-03-03): Telnyx, SerpAPI, Serper, OpenRouter credits, Calendly confirmation.
- Pending Clayton input: Calendly link status, sending domain for email, preferred DFW area code, outreach volume comfort level.
Session Summary (2026-02-23)
- Transcript Analysis: Forensically analyzed 4 transcripts (Nat/Felix, Kevin Badi/HyperEdit, Bugo/AB Analytics, Alex Hormozi)
- Org Improvement Plan: Compiled all findings into unified plan, Clayton approved, executed Phase 1 (10 items)
- Memory System: Deployed 3-layer PARA knowledge base (knowledge graph + daily notes + tacit knowledge)
- Heartbeat Upgrade: Added session monitoring, codex delegation, multi-threaded work, revenue-first directive, autonomous feature building
- Strategy Pivot: Moved from Upwork-first to DFW local services market (services-first, proof-first)
- Key Docs Created: DFW market plan, service offering, content playbook, operating principles (25 rules), forensic transcript analysis (35 levers), post-funding action plan
- Nightly Consolidation: Added 2 AM cron job for automated memory maintenance
- 35-Lever Operationalization: Audited all 35 levers against org docs, found 11 gaps, closed all 11
- Full Org Consistency Audit: Found 13 inconsistencies across 10 files, fixed all 13. Rewrote GTM strategy for DFW pivot, aligned all docs.
Session Summary (2026-02-20)
- User Discovery: Conducted reverse prompting for interests, career, goals, ambitions, personal details
- Mission Control Dashboard: Created comprehensive specifications for Vercel-hosted oversight system
- Credential Strategy: Mapped all required tool integrations (Vercel, Google Workspace, GitHub, Telegram, Stripe, PayPal, Gmail)
- Automation Proposals: Prioritized high-impact automation opportunities
- Daily Operations: Established proactive work schedule and Telegram reminder system
Key Insights About Clayton
Operational Preferences
- Autonomy Level: Agents should operate independently with minimal human oversight (2-4 hours/day human involvement)
- Human-in-the-Loop: Ping for confirmation before execution, but agents handle prospect interaction, scope definition, deliverable creation, payment collection
- Automation Philosophy: Automate everything that can be automated, but maintain human-in-the-loop for compliance-critical processes
- Decision Framework: High risk tolerance but calculated decisions (high risk, high reward)
Innovation Balance
- Novelty gives him joy; proven systems provide stability
- Wants both cutting-edge exploration and legacy system support
- Prefers plowing his own course (contrarian)
- Works solo vs in teams
- Needs persistence assistance (big ideas but inconsistent follow-through)
Lifestyle Vision
- Create automated business to fund ideal lifestyle
- More family time and nature experiences
- Travel and exploration (requires passive income)
- Eventually learn to fly planes
- Freedom to do what he wants, when he wants, with who he wants
CRM / HubSpot
Contact + Company creation/association (decision)
- Create a HubSpot Contact when an email is found (preferred) and associate it to a Company.
- Integration approach: Direct HubSpot API (Node).
- Company matching strategy: domain-first (recommended).
Recommended implementation flow
- Upsert Contact using
emailas unique key. PreferPOST /crm/v3/objects/contactsand handle 409 conflict as "already exists" (use returned existing id). - Find-or-create Company:
- Search by
domainviaPOST /crm/v3/objects/companies/search. - If not found, create via
POST /crm/v3/objects/companieswithdomainand optionallyname. - Normalize domains (lowercase, strip protocol/paths).
- Avoid creating companies for free email domains unless a real company domain is provided.
- Search by
- Associate Contact β Company using v4 associations.
- Fetch association labels/type id once via
GET /crm/v4/objects/contacts/associations/companies/labels, then cache the correcttypeId.
- Fetch association labels/type id once via
Optional contact provenance (nice-to-have)
- Store
source,source_url,found_on,notes,confidenceon the contact (may require custom properties).
Technical Requirements Identified
- Mission Control Dashboard: Vercel-hosted, real-time agent oversight
- Calendar Integration: Shared Google Calendar with agent scheduling
- Task Management: Kanban flow for team and personal tasks
- Telegram Reminders: Daily briefings and task prompts
- Revenue Tracking: Stripe/PayPal read-only analytics
- Documentation: Google Workspace integration
- CI/CD: GitHub admin access
Website metadata (favicon + sharing image)
- There is an outstanding task to update favicon and Open Graph sharing image (WhatsApp link previews are using the current OG image).
- Site framework: Next.js (leadspanther-site)
Automation Priorities (Ranked β Updated 2026-02-23)
- DFW warm outreach execution (post-funding)
- Proof accumulation sprint (3-5 free pilots β testimonials)
- LinkedIn content engine (70/30 give-to-ask)
- Service delivery automation (speed-to-lead, follow-up, review requests)
- Revenue tracking & analytics
Safety & Compliance
- No fraud/impersonation/illegal activity
- No ToS-violating marketplace automation
- No secrets in workspace files
- Read-only payment platform access by default
- Human confirmation before critical executions
Watch Items
- Ensure all credential storage goes to proper auth-profiles (never workspace)
- Verify behavior aligns with "agents go out into the world" philosophy while maintaining human-in-the-loop checkpoints
- Balance novelty with stability in all implementations
Task Summary
Details
orchestratorAssigned Jobs (13)
Skills (14)
Tools (7)
Related Commits (30)
50ddbd1631fbf09b255a0b3c2cbd9d973716670ab9dac54c2719dfa5b1d3d8c3d8df96a48b9263ef3821f887674190e18815940de