Skip to content

bug(copilot): commands display simulated workload results and remediation diffs #423

Done

Description

@utkarsh232005

Description

The Copilot shell presents success messages, specialist activity, and a deployment diff that are generated locally instead of reflecting command results.

Evidence

  • A non-slash prompt waits briefly, then states that all workloads were evaluated.
  • The Agents tab shows a fixed RuntimeLogAgent and a fixed Kubernetes list-pods call.
  • /diff opens a hard-coded k8s/deployment.yaml memory-limit change.

These responses can be mistaken for live cluster diagnostics or an approved remediation proposal.

Expected behavior

  • Chat messages and agent progress come from the configured AI provider or a real diagnostic operation.
  • /diff only renders a diff generated by an analysis or remediation planner.
  • When there is no result, the shell clearly reports that no diagnostic data is available.

Acceptance criteria

  • Remove timer-driven synthetic success messages and fixed agent progress.
  • Connect /pods, /containers, /health, /analyze, and /investigate to their corresponding runtime services.
  • Render the Diff tab from real proposal data and keep it empty when none exists.
  • Add tests ensuring commands do not fabricate cluster state or remediation output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions