LH Task Queue is a single work queue for human and AI agent tasks, with atomic claiming, dependency tracking, and MCP abilities. Tasks live as a dedicated post type; workflow state (New, Claimed, In Progress, Pending, Blocked, Resolved, Closed, Cancelled, Deferred) is tracked in a companion status table rather than native WordPress post_status, so an atomic claim/complete/fail/reassign lifecycle can run safely under concurrent access from multiple human and agent sessions.
Key features
- Atomic task claiming, highest priority first and then oldest (or one specific task), optionally narrowed to a queue and task type, with claim-token verification so concurrent sessions can’t double-claim the same task
- Dependency tracking via blocked_by: a task waiting on an unfinished prerequisite is never handed out, a claim that gets nothing says why, and if a prerequisite is cancelled or trashed the tasks waiting on it go to Pending for a person to check
- Queue/lane and task-type taxonomies for routing
- Stale-claim sweep (cron) to recover tasks left claimed by a crashed or disconnected agent, with a renew-claim heartbeat so a still-live long-running claim can stay ahead of the sweep
- Full MCP ability surface: create, update, add-note, claim-next, complete, fail, reassign, renew-claim, edit (staff override), get, list. Tasks keep revisions, so an overwritten title or description can be recovered
- A Tasks tab on each member’s own BuddyPress profile, for people who are given tasks but have no staff access: it lists the open tasks assigned to them or asked for by them, and lets them add notes and mark their tasks done, without going into wp-admin
- Dashboard widget and admin list-table columns for at-a-glance workflow status
Install & setup
Network-activate the plugin (requires LH Content Converter). Tasks are created via the MCP abilities or programmatically via LH_Tasks_task_actions_class::create_task().
