Skip to content

[ADR-016] Chunk 4: Performance Mode, prompt engineering, and Signal Flow bridge #568

@amiable-dev

Description

@amiable-dev

Task

Polish the conversational experience: update system prompt with signal awareness guidelines, add Performance Mode UI, and bridge Signal Flow clicks to Chat input.

Requirements

4A: System Prompt Engineering

  • Add "Signal Awareness" section to system prompt with:
    • How to reference topology naturally
    • When to be proactive vs passive
    • Examples of good signal-aware responses
    • Performance Mode behaviour guidelines

4B: Performance Mode UI

  • /performance chat command (on/off/toggle)
  • Optional toggle icon in Chat header
  • "PERF" badge when active
  • Settings persist in signalContextStore.settings

4C: Signal Flow → Chat Bridge

  • signalFlowAction store for cross-panel communication
  • Click loop warning badge → pre-populate Chat input with resolution request
  • Click unmapped indicator → pre-populate with mapping creation request
  • Click error junction → pre-populate with error investigation request

Files to modify

  • conductor-gui/ui/src/lib/stores/chat.js — system prompt + /performance command
  • conductor-gui/ui/src/lib/stores/signal-context.js — Performance Mode settings
  • conductor-gui/ui/src/lib/views/ChatView.svelte — toggle UI
  • Signal Flow component (when implemented) — click handlers

Acceptance criteria

  • /performance on enables mode and confirms in chat
  • Proactive alerts suppressed in Performance Mode
  • Clicking loop warning in Signal Flow pre-populates Chat input
  • LLM naturally references device names and routing in responses

Depends on: Chunks 1–3
Parent: [ADR-016] Epic

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgui-v2GUI v2 rebuild issuesllm

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions