Submatter/plans/Plan-automation-foundation/Epic-ops-copilot/Task-ops-copilot-context-tools.md
Randall Stillwell d1b2b9695e docs(plans): expand automation foundation for owner cockpit vision
Add epics 10–12 (plans UI, completion artifacts, ops copilot), worker
draft-PR and live E2E verify tasks, and phase A–E execution order after
A1 gap review.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 14:11:20 -05:00

1.1 KiB

kind slug title plan_slug epic_slug status priority tenant_id owner cursor_todo_id updated_at
task ops-copilot-context-tools Ops copilot — server tools over convoys, backlog, events automation-foundation ops-copilot ready P2 global unassigned null 2026-08-12

Task summary

Implement workspace-scoped tool functions the ops copilot model can call: gate inbox, convoy summary, recent events, ready backlog (if available), recent runs — all filtered by workspace_id.

Description

Pattern after gate co-pilot + AI SDK tools. Register role route ops-copilot. No UI yet.

Tools (v1)

  • list_gate_inbox
  • get_convoy_summary
  • list_recent_events
  • list_ready_backlog (no-op / empty if tree API missing)
  • list_recent_runs

Subtasks

  • Shared zod tool schemas
  • Server implementation with membership checks
  • Seed ops-copilot role route
  • Unit tests for workspace isolation

Estimation

M

Acceptance criteria

  • Tools refuse cross-workspace ids
  • Gate inbox tool matches Mission Control counts for a fixture workspace
  • Epic: ./Epic-ops-copilot.md