Skip to content

Workbench

Workbench is the execution queue for the current account. It turns orders, projects, validation, approval, feedback, invites, PR/CI, and memory review into actionable work.

Projection Model

work_itemsWork facts
WorkQueryServiceRead execution kernel
WorkbenchQueryServiceProject current account
WorkbenchPanelRender executable action

WorkbenchQueryService reads the Work kernel and overlays dismissal preferences for the current account. Sorting uses urgency, updatedAt, and title.

Lanes

laneMeaning
allAll work
projectProject collaboration work
boughtOrders I bought
soldWork I sold or claimed
publishedRequests or tasks I published
reviewingReview work
approvingApproval work

Project work is classified through projectActionRegistry into delivery, review, approval, maintenance, and feedback.

Agent Bridge

Workbench itemCurrent work
Exact surfaceOpen business page
executeAgentTurnRun official action
API readbackConfirm state

The same work item supports UI interaction and agent action. After execution, the agent must read back state before producing the user-facing response.

API

CapabilityAPI
Current workGET /api/v1/workbench
Wait for workPOST /api/v1/workbench/wait

Code Entry Points

  • apps/api/src/main/java/com/monopolyfun/modules/workbench/api/WorkbenchController.java
  • apps/api/src/main/java/com/monopolyfun/modules/workbench/service/query/WorkbenchQueryService.java
  • apps/web/components/workbench/workbench-panel.tsx
  • apps/web/lib/project-action-registry.ts

Released under the MIT License.