Add MCP menu/dashboard view for live queue, leases, blockers, and next safe action #605

Open
opened 2026-07-09 16:07:23 -05:00 by jcwalker3 · 1 comment
Owner

Context

Part of the LLM coordination failure series (sessions stepping on each other). This is a focused implementation issue, not an umbrella.

Related siblings: #600 (allocator), #601 (leases), #602 (terminal path), #603 (lifecycle labels), #604 (anti-stomp preflight).

Problem

The system needs a clear operational view so humans and LLMs can see what is safe to work on without reconstructing state from comments.

Required behavior

Add an MCP menu/dashboard command showing:

  • open PR queue
  • open issue queue
  • active leases by role
  • terminal review lock state
  • blocked items and reasons
  • stale/expired leases
  • merge-ready PRs
  • review-ready PRs
  • discussion issues
  • controller-needed items
  • next safe action

Acceptance criteria

  1. Dashboard shows enough state to prevent duplicate work.
  2. Dashboard output is machine-readable and human-readable.
  3. It includes exact prompts for next safe author/reviewer/merger/controller action.
  4. It never suggests blocked work as safe.
  5. Tests cover current PR #593/#592/#587-style terminal-blocked queue.

Implementation notes

  • Prefer extending existing MCP menu surface (mcp-menu, discoverability docs) rather than a second parallel UI.
  • Dashboard is read-only; assignment still goes through the allocator (#600).
  • Never present blocked/terminal-locked items as safe next work.
## Context Part of the LLM coordination failure series (sessions stepping on each other). This is a focused implementation issue, not an umbrella. Related siblings: #600 (allocator), #601 (leases), #602 (terminal path), #603 (lifecycle labels), #604 (anti-stomp preflight). ## Problem The system needs a clear operational view so humans and LLMs can see what is safe to work on without reconstructing state from comments. ## Required behavior Add an MCP menu/dashboard command showing: * open PR queue * open issue queue * active leases by role * terminal review lock state * blocked items and reasons * stale/expired leases * merge-ready PRs * review-ready PRs * discussion issues * controller-needed items * next safe action ## Acceptance criteria 1. Dashboard shows enough state to prevent duplicate work. 2. Dashboard output is machine-readable and human-readable. 3. It includes exact prompts for next safe author/reviewer/merger/controller action. 4. It never suggests blocked work as safe. 5. Tests cover current PR #593/#592/#587-style terminal-blocked queue. ## Implementation notes * Prefer extending existing MCP menu surface (`mcp-menu`, discoverability docs) rather than a second parallel UI. * Dashboard is read-only; assignment still goes through the allocator (#600). * Never present blocked/terminal-locked items as safe next work.
Author
Owner

Canonical Issue State

STATE: ready for independent implementation
WHO_IS_NEXT: author
NEXT_ACTION: claim this issue and add MCP menu/dashboard for live queue, leases, blockers, and next safe action
NEXT_PROMPT:

Implement #605 on Scaled-Tech-Consulting/Gitea-Tools: MCP menu/dashboard showing open PR/issue queues, active leases, terminal lock state, blockers, stale leases, merge/review-ready items, discussion issues, controller-needed items, and exact next safe prompts. Never mark blocked work as safe. Cover #593/#592/#587-style terminal-blocked queue tests.

WHAT_HAPPENED: Filed as focused coordination issue #605. Series siblings: #600 allocator, #601 leases, #602 terminal-lock early check, #603 lifecycle labels, #604 anti-stomp preflight.
WHY: Operators and LLMs reconstruct queue safety from comments instead of a durable operational view.
RELATED_PRS: none yet
BLOCKERS: none
VALIDATION: issue created with type:feature status:ready and labels workflow-hardening,dashboard,mcp-menu,queue
LAST_UPDATED_BY: jcwalker3 (prgs-author)

## Canonical Issue State STATE: ready for independent implementation WHO_IS_NEXT: author NEXT_ACTION: claim this issue and add MCP menu/dashboard for live queue, leases, blockers, and next safe action NEXT_PROMPT: ```text Implement #605 on Scaled-Tech-Consulting/Gitea-Tools: MCP menu/dashboard showing open PR/issue queues, active leases, terminal lock state, blockers, stale leases, merge/review-ready items, discussion issues, controller-needed items, and exact next safe prompts. Never mark blocked work as safe. Cover #593/#592/#587-style terminal-blocked queue tests. ``` WHAT_HAPPENED: Filed as focused coordination issue #605. Series siblings: #600 allocator, #601 leases, #602 terminal-lock early check, #603 lifecycle labels, #604 anti-stomp preflight. WHY: Operators and LLMs reconstruct queue safety from comments instead of a durable operational view. RELATED_PRS: none yet BLOCKERS: none VALIDATION: issue created with type:feature status:ready and labels workflow-hardening,dashboard,mcp-menu,queue LAST_UPDATED_BY: jcwalker3 (prgs-author)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#605