mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
4108563731
* chore: bulk archive completed changes and normalize specs * docs: finalize spec purposes and align init workflow scenarios * test: guard source specs against placeholders and delta headers * docs: resolve remaining spec review nits
1.3 KiB
1.3 KiB
1. Feedback Command
- 1.1 Create
src/commands/feedback.tswith command implementation - 1.2 Check
ghCLI availability using platform-appropriate command (whichon Unix/macOS,whereon Windows) - 1.3 Check GitHub auth status with
gh auth status - 1.4 Execute
gh issue createwith formatted title and body usingexecFileSyncto prevent shell injection - 1.5 Display issue URL returned by
ghCLI - 1.6 Register
feedback <message>command insrc/cli/index.ts - 1.7 Ensure cross-platform compatibility (macOS, Linux, Windows)
2. Shell Completions
- 2.1 Add
feedbackcommand to command registry - 2.2 Regenerate completion scripts for all shells
3. Feedback Skill
- 3.1 Create feedback skill template in
skill-templates.ts - 3.2 Document context gathering workflow
- 3.3 Document anonymization rules
- 3.4 Document user confirmation flow
4. Testing
- 4.1 Add unit tests for feedback command (mock
ghsubprocess calls) - 4.2 Add integration test for full feedback flow with mocked
ghCLI - 4.3 Test error handling for missing
ghCLI - 4.4 Test error handling for unauthenticated
ghsession - 4.5 Test cross-platform
ghCLI detection (verifywhichon Unix,whereon Windows) - 4.6 Test platform metadata includes correct value for Windows (win32)