Skip to content

[WIP] Symphony: Send Feedback: in-app issue creation via agent (#457)#1031

Draft
DRAZY wants to merge 40 commits into
RunMaestro:mainfrom
DRAZY:symphony/issue-457-mpf4s3ff
Draft

[WIP] Symphony: Send Feedback: in-app issue creation via agent (#457)#1031
DRAZY wants to merge 40 commits into
RunMaestro:mainfrom
DRAZY:symphony/issue-457-mpf4s3ff

Conversation

@DRAZY
Copy link
Copy Markdown

@DRAZY DRAZY commented May 21, 2026

Maestro Symphony Contribution

Closes #457

Contributed via Maestro Symphony.

Status: In Progress
Started: 2026-05-21T06:49:57.115Z


This PR will be updated automatically when the Auto Run completes.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8b60cbb5-9482-4453-8e2d-6db23bf0f8b4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

MAXIMUS added 28 commits May 20, 2026 23:51
Creates src/prompts/feedback.md, the system prompt that wraps a user's
raw in-app feedback and instructs the selected agent to:
- Classify the feedback (Bug, Feature, Improvement, Feedback)
- Compose a prefixed title and a typed structured body
- Ensure the Maestro-feedback label exists on RunMaestro/Maestro
- Create the GitHub issue via gh and surface the resulting URL

The prompt uses {{FEEDBACK}} as the template variable for the raw text
and explicitly tells the agent not to ask clarifying questions. Kept
under 60 lines to match the tone of existing prompts in src/prompts/.
Implements src/main/ipc/handlers/feedback.ts exposing two channels:
- feedback:check-gh-auth — verifies gh CLI is installed and authenticated
  via isGhInstalled() + execFileNoThrow('gh', ['auth', 'status']) with a
  60s TTL cache. Returns { authenticated, message? } with actionable
  install/login messages.
- feedback:submit — substitutes {{FEEDBACK}} in feedbackPrompt and writes
  the constructed prompt to the selected agent via ProcessManager.write().
  Returns { success, error? }, surfacing 'Agent process not available' if
  write fails or throws.

The handler imports feedbackPrompt from src/prompts/index.ts (auto-generated
from feedback.md), matching the convention used by directorNotesPrompt and
tabNamingPrompt. Registered in registerAllHandlers() alongside the other
handler modules.

Adds vitest coverage (12 cases) for handler registration, all gh-auth code
paths, TTL caching behavior, prompt substitution, write failure modes, and
input validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send Feedback: in-app issue creation via agent

1 participant