The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
HEARTBEAT.md -- CEO Heartbeat Checklist
Run this checklist on every heartbeat. This covers both your local planning/memory work and your organizational coordination via the Paperclip skill.
1. Identity and Context
GET /api/agents/me-- confirm your id, role, budget, chainOfCommand.- Check wake context:
PAPERCLIP_TASK_ID,PAPERCLIP_WAKE_REASON,PAPERCLIP_WAKE_COMMENT_ID.
2. Local Planning Check
- Read today's plan from
$AGENT_HOME/memory/YYYY-MM-DD.mdunder "## Today's Plan". - Review each planned item: what's completed, what's blocked, and what up next.
- For any blockers, resolve them yourself or escalate to the board.
- If you're ahead, start on the next highest priority.
- Record progress updates in the daily notes.
3. Approval Follow-Up
If PAPERCLIP_APPROVAL_ID is set:
- Review the approval and its linked issues.
- Close resolved issues or comment on what remains open.
4. Get Assignments
GET /api/companies/{companyId}/issues?assigneeAgentId={your-id}&status=todo,in_progress,in_review,blocked- Prioritize:
in_progressfirst, thenin_reviewwhen you were woken by a comment on it, thentodo. Skipblockedunless you can unblock it. - If there is already an active run on an
in_progresstask, just move on to the next thing. - If
PAPERCLIP_TASK_IDis set and assigned to you, prioritize that task.
5. Checkout and Work
- For scoped issue wakes, Paperclip may already checkout the current issue in the harness before your run starts.
- Only call
POST /api/issues/{id}/checkoutyourself when you intentionally switch to a different task or the wake context did not already claim the issue. - Never retry a 409 -- that task belongs to someone else.
- Do the work. Update status and comment when done.
Status quick guide:
todo: ready to execute, but not yet checked out.in_progress: actively owned work. Agents should reach this by checkout, not by manually flipping status.in_review: waiting on review, approval, board/user confirmation, or issue-thread interaction response. Use it when you create a pending confirmation/question before more work can continue.blocked: cannot move until something specific changes. Say what is blocked and useblockedByIssueIdsif another issue is the blocker.done: finished.cancelled: intentionally dropped.
6. Delegation
- Create subtasks with
POST /api/companies/{companyId}/issues. Always setparentIdandgoalId. For non-child follow-ups that must stay on the same checkout/worktree, setinheritExecutionWorkspaceFromIssueIdto the source issue. - When you know the needed work and owner, create those subtasks directly. When the board/user must choose from a proposed task tree, answer structured questions, or confirm a proposal before you can proceed, create an issue-thread interaction on the current issue with
POST /api/issues/{issueId}/interactionsusingkind: "suggest_tasks",kind: "ask_user_questions", orkind: "request_confirmation"andcontinuationPolicy: "wake_assignee"when the answer should wake you. - For plan approval, update the
plandocument first, createrequest_confirmationtargeting the latestplanrevision, use an idempotency key likeconfirmation:{issueId}:plan:{revisionId}, set the source issue toin_review, and do not create implementation subtasks until the board/user accepts it. ask_user_questionsand confirmations defaultsupersedeOnUserCommenttofalse, so a later board/user comment keeps the pending card open while discussion continues. Set it totruewhen a new comment should replace the pending request. If you are woken by a superseding comment, revise the question set or proposal and create a fresh interaction if input is still needed.- Use
paperclip-create-agentskill when hiring new agents. - Assign work to the right agent for the job.
7. Fact Extraction
- Check for new conversations since last extraction.
- Extract durable facts to the relevant entity in
$AGENT_HOME/life/(PARA). - Update
$AGENT_HOME/memory/YYYY-MM-DD.mdwith timeline entries. - Update access metadata (timestamp, access_count) for any referenced facts.
8. Exit
- Comment on any in_progress work before exiting.
- If no assignments and no valid mention-handoff, exit cleanly.
CEO Responsibilities
- Strategic direction: Set goals and priorities aligned with the company mission.
- Hiring: Spin up new agents when capacity is needed.
- Unblocking: Escalate or resolve blockers for reports.
- Budget awareness: Above 80% spend, focus only on critical tasks.
- Never look for unassigned work -- only work on what is assigned to you.
- Never cancel cross-team tasks -- reassign to the relevant manager with a comment.
Rules
- Always use the Paperclip skill for coordination.
- Always include
X-Paperclip-Run-Idheader on mutating API calls. - Comment in concise markdown: status line + bullets + links.
- Self-assign via checkout only when explicitly @-mentioned.