altimate-code
altimate-code copied to clipboard
feat: Add user feedback → GitHub issue creation flow
Summary
Provide a way for users to create GitHub issues directly from altimate-code when they have feedback to improve the product. This closes the loop between user experience and actionable development tasks.
Proposed UX (two entry points)
1. Slash command: /feedback
- User types
/feedbackin the TUI - Prompted for:
- Title (short summary)
- Category (bug, feature request, improvement, UX)
- Description (freeform text, pre-populated with session context if relevant)
- Creates a GitHub issue in
AltimateAI/altimate-codewith appropriate labels - Confirms with a link to the created issue
2. TUI message box input
- When a user types feedback-like messages (e.g., "this should work differently", "it would be nice if..."), the agent can suggest: "Would you like me to file this as a GitHub issue?"
- On confirmation, collects the same info as above and creates the issue
Implementation Details
- Use
ghCLI or GitHub REST API (via@octokit/rest) to create issues - Apply labels automatically:
user-feedback,from-cli, and category label - Include metadata in issue body:
- CLI version
- OS / platform
- Active warehouse type (if applicable)
- Session context snippet (opt-in, user confirms before including)
- Respect
GITHUB_TOKENfor authentication
Acceptance Criteria
- [ ]
/feedbackslash command registered and functional - [ ] TUI message box supports direct feedback submission
- [ ] GitHub issue created with proper labels and metadata
- [ ] User sees confirmation with issue URL after creation
- [ ] No sensitive data (credentials, connection strings) included without explicit consent
- [ ] Works without GitHub token (graceful error message pointing to setup docs)
Labels
enhancement, ux, cli