Skip to content

Cockpit Command Center: introduce AgentFlowGoalModel, health score, and next-best-action #149

Description

@smota

Background & Problem Statement

Epic: #147

Cockpit currently builds views directly from GitHub issue data. This keeps GitHub artifacts as the mental model and makes it hard to express goals, confidence, health, and next best action.

Proposed Solution

Add an intermediate between GitHub source data and UI view models.

Requirements

  • Define goal fields: id, title, goalType, status, confidence, nextBestActions, roleContributions, evidenceHealth, highlights, graph, durableLinks.
  • Infer from issues, labels, body sections, comments, PRs, checks, replay events.
  • Derive explainable next-best-actions.
  • Derive confidence/health without over-penalizing missing optional metadata.
  • GitHub terminology remains secondary metadata.

Acceptance criteria

  • Goal model module exists with tests.
  • Next-best-action rules are deterministic and explainable.
  • Confidence/health derivation returns score and dimensions.
  • Existing board/issue views can consume goal model without GitHub-first naming.

Test plan

  • Unit tests for minimal GitHub issue, managed issue, PR-linked goal, blocked review, missing validation, merged goal.
  • Regression tests for not rendering ordinary missing optional data as error.

Workflow classification

Architect/developer foundation issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-releaseManaged by multi-agent-sdlc integration lifecycle automationdrafted-by:piIssue drafted by PifeatureUser-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 releasetoolingCLI tooling and automation

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions