fix(inbox-lite): include in_review issues in agent compact inbox
GET /api/agents/me/inbox-lite previously returned only todo, in_progress, and blocked issues. When a board comment triggered a heartbeat wake on an in_review issue, the agent's inbox scan would not find the issue, causing it to exit with "no actionable work" and post nothing. Add in_review to the status filter so all non-terminal agent-owned issues are visible in both the fast path (PAPERCLIP_TASK_ID check) and the broad path (inbox-lite scan). Fixes: INTA-271 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
02b2fecdf7
commit
e1d83c5657
|
|
@ -1740,7 +1740,7 @@ export function agentRoutes(
|
|||
const recoveryActionsSvc = issueRecoveryActionService(db);
|
||||
const rows = await issuesSvc.list(req.actor.companyId, {
|
||||
assigneeAgentId: req.actor.agentId,
|
||||
status: "todo,in_progress,blocked",
|
||||
status: "todo,in_progress,blocked,in_review",
|
||||
includeRoutineExecutions: true,
|
||||
limit: ISSUE_LIST_DEFAULT_LIMIT,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue