Standardize heartbeat step 2: generic inbox-lite for all agents
Replaced hardcoded "Check for assigned work from <manager>" and pnpm paperclipai CLI with consistent inbox-lite API call. Agents work on whatever is assigned regardless of who assigned it. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ Read the Paperclip skill to understand how to interact with this system:
|
|||||||
|
|
||||||
### 2. Check for assigned work
|
### 2. Check for assigned work
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each open issue or unread comment:
|
For each open issue or unread comment:
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -16,7 +16,8 @@ Read the Paperclip skill to understand how to interact with this system:
|
|||||||
|
|
||||||
### 2. Check for assigned work
|
### 2. Check for assigned work
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each open issue or unread comment:
|
For each open issue or unread comment:
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -20,7 +20,8 @@ Orient yourself:
|
|||||||
|
|
||||||
### 2. Check for assigned work
|
### 2. Check for assigned work
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each open issue or unread comment:
|
For each open issue or unread comment:
|
||||||
|
|
||||||
|
|||||||
@@ -18,9 +18,10 @@ Orient yourself:
|
|||||||
|
|
||||||
gh pr list --repo privilegedescalation --state open --limit 20
|
gh pr list --repo privilegedescalation --state open --limit 20
|
||||||
|
|
||||||
### 2. Check for assigned work from Nancy
|
### 2. Check for assigned work
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each assigned issue:
|
For each assigned issue:
|
||||||
|
|
||||||
|
|||||||
@@ -27,11 +27,12 @@ Confirm your identity and capture your run ID:
|
|||||||
|
|
||||||
Working directory: /paperclip/privilegedescalation/agents/engineering/hugh
|
Working directory: /paperclip/privilegedescalation/agents/engineering/hugh
|
||||||
|
|
||||||
### 2. Check for assigned work from Nancy
|
### 2. Check for assigned work
|
||||||
|
|
||||||
List your open Paperclip issues:
|
List your open Paperclip issues:
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each assigned issue:
|
For each assigned issue:
|
||||||
|
|
||||||
|
|||||||
@@ -19,9 +19,10 @@ Then orient yourself:
|
|||||||
gh repo view privilegedescalation/marketing --json description,defaultBranchRef
|
gh repo view privilegedescalation/marketing --json description,defaultBranchRef
|
||||||
gh issue list --repo privilegedescalation/marketing --state open --limit 20
|
gh issue list --repo privilegedescalation/marketing --state open --limit 20
|
||||||
|
|
||||||
### 2. Check for assigned work from the CMO
|
### 2. Check for assigned work CMO
|
||||||
|
|
||||||
pnpm paperclipai issue list --status open --assigned-to me
|
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
|
||||||
|
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
|
||||||
|
|
||||||
For each assigned issue:
|
For each assigned issue:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user