feat: create GitHub issues (bug/feature) from Slack via Fiona#78
Draft
stevenarnold-ed-fi wants to merge 10 commits into
Draft
feat: create GitHub issues (bug/feature) from Slack via Fiona#78stevenarnold-ed-fi wants to merge 10 commits into
stevenarnold-ed-fi wants to merge 10 commits into
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
stevenarnold-ed-fi
marked this pull request as draft
July 20, 2026 22:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lets Ed-Fi community members file a GitHub bug or feature issue directly from Slack via Fiona — no GitHub account needed. Two entry points, an optional config-gated approval step, and automatic reporter attribution.
/fiona bugand/fiona featureopen a modal (summary, description, priority, plus bug-specific steps/expected-vs-actual/environment).file a bug,report a bug,bug report,request a feature,feature request,file a feature) makes Fiona post a "Create ticket" button that opens the same modal.buglabel, Feature→enhancementlabel; priority + reporter Slack name/email go in the body.TICKET_APPROVAL_REQUIRED=true+TICKET_TRIAGE_CHANNEL_ID): posts a draft with Approve/Discard buttons to a triage channel instead of creating immediately. Off by default.Architecture
github-client.js(REST wrapper) →ticket-service.js(orchestrator: label + reporter resolution, body assembly, interaction recording, direct-vs-approval decision) → thin Slack listeners (slash subcommands, modal, buttons). Follows existingescalation.js/ feedback-handler patterns.Config (see
docs/github-issue-creation.md)GITHUB_REPO,GITHUB_TOKEN(required),GITHUB_API_URL,GITHUB_BUG_LABEL,GITHUB_FEATURE_LABEL,TICKET_APPROVAL_REQUIRED,TICKET_TRIAGE_CHANNEL_ID. Feature disables gracefully if unconfigured.Deploy requirements
commands,users:read,users:read.emailtomanifest.json.bug/enhancementlabels exist there.Testing
573/573 tests pass; lint clean. Every task was built TDD with a per-task spec+quality review, plus a final whole-branch review (verdict: ready to merge with the default gate-off config).
Follow-ups (not blockers for gate-off default)
Before the approval gate is ever enabled in production:
Other tracked minors: conversational button lacks an
isTicketingEnabled()guard; rate limiting gates modal-open but not submit. LLM-based intent detection for the conversational offer is tracked as AI-174.Human review note
This feature was implemented with substantial AI assistance (design, plan, and code). Please review before merging — the "Open Items to Confirm" (target repo, PAT, label existence, public/private repo privacy decision) need human sign-off.
🤖 Generated with Claude Code