Skip to content

Epic: Cockpit domain model and GitHub workflow mapping #120

Description

@smota

Background & Problem Statement

Epic: #119

Cockpit must understand AgentFlow concepts natively: goals, epics, child issues, phases, role-pass evidence, handover comments, validation, review gates, PR readiness, and follow-ups. A generic issue list will not support goal-oriented SDLC.

Proposed Solution

Define canonical Cockpit domain model and GitHub mapping. Parse issue body sections, labels, markers, workflow-status comments, handovers, PR manifests, and relationship links into an AgentFlow read model.

Requirements

  • Define entities: Goal, Epic, Workstream, Issue, Phase, RolePass, EvidenceRef, ValidationRun, ReviewFinding, Gate, PR, FollowUp, SteeringIntent.
  • Define comment markers for workflow status, handover, role-pass summaries, human review requests, validation summaries, and follow-up proposals.
  • Define status derivation rules from GitHub truth, not local UI-only state.
  • Define relationship edges: implements, closes, blocks, depends-on, spawned-follow-up, validated-by, reviewed-by, returned-to-dev.
  • Preserve docs/issue-standards.md section-targeted update discipline.

Acceptance criteria

  • Domain model documented.
  • GitHub issue/comment/PR mapping documented.
  • Status derivation rules documented with precedence and stale-state handling.
  • Comment marker schema documented.
  • Parser fixtures cover epic, child issue, handover, validation, review, PR manifest.

Test plan

  • Unit tests for issue-section parser and marker extraction.
  • Fixture tests against representative epic/child issue/PR bodies.
  • Negative tests for malformed or missing sections.

Workflow classification

High-assurance foundation. Architect and tester required; security review only if parser consumes untrusted HTML/markdown rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-releaseManaged by multi-agent-sdlc integration lifecycle automationdrafted-by:piIssue drafted by PiepicParent tracking issue with child issue breakdownfeatureUser-facing product capabilityintegrated:developmentManaged by multi-agent-sdlc integration lifecycle automationproduct:cockpitAgentFlow Cockpit optional Goal Command Centerproduct:harnessHarness adapters, plugins, skills, settings, execution targetsproduct:sdlc-coreCanonical SDLC definition, config, validators, issue/PR governancerelease: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