Skip to content

Cockpit: implement chat UX, follow-up drafting, and guarded action forms #137

Description

@smota

Background & Problem Statement

Epic: #119

Cockpit has a guarded action endpoint and intent helpers, but no complete user-facing chat/steering UX or follow-up drafting workflow.

Proposed Solution

Build UI forms and chat-like lane for typed intents: ask status, add clarification, request checkpoint, request human review, draft follow-up, post handover, and start next phase.

Requirements

  • Chat/status answers cite durable evidence.
  • Guarded action forms require preview and confirmation.
  • Follow-up draft flow turns review findings or replay gaps into issue drafts.
  • Forbidden actions show policy reason.
  • Material steering posts GitHub evidence or issue section update.
  • Remote write actions require authz, CSRF, audit, and configured enablement.

Acceptance criteria

  • User can draft follow-up issue from finding/gap.
  • User can post clarification/handover through guarded form.
  • Forbidden action attempts are blocked in UI and API.
  • Action result links to GitHub comment/issue.
  • Audit event visible/downloadable to authorized admin.

Test plan

  • Component/E2E tests for guarded forms.
  • API policy tests.
  • Accessibility smoke for forms.

Workflow classification

High-assurance remote write UX. Requires security review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-releaseManaged by multi-agent-sdlc integration lifecycle automationdrafted-by:piIssue drafted by PidxDeveloper experience and agent workflowfeatureUser-facing product capabilityintegrated:developmentManaged by multi-agent-sdlc integration lifecycle automationproduct:cockpitAgentFlow Cockpit optional Goal Command Centerproduct:harnessHarness adapters, plugins, skills, settings, execution targetsrelease:v1.0.0Assigned to AgentFlow SDLC v1 releasestatus:v1-readyImplemented on development and awaiting v1 release

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions