Files
Tabish Bidiwale 4108563731 Bulk archive completed changes and normalize source specs (#716)
* 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
2026-02-16 21:28:27 -08:00

1.3 KiB

1. Feedback Command

  • 1.1 Create src/commands/feedback.ts with command implementation
  • 1.2 Check gh CLI availability using platform-appropriate command (which on Unix/macOS, where on Windows)
  • 1.3 Check GitHub auth status with gh auth status
  • 1.4 Execute gh issue create with formatted title and body using execFileSync to prevent shell injection
  • 1.5 Display issue URL returned by gh CLI
  • 1.6 Register feedback <message> command in src/cli/index.ts
  • 1.7 Ensure cross-platform compatibility (macOS, Linux, Windows)

2. Shell Completions

  • 2.1 Add feedback command 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 gh subprocess calls)
  • 4.2 Add integration test for full feedback flow with mocked gh CLI
  • 4.3 Test error handling for missing gh CLI
  • 4.4 Test error handling for unauthenticated gh session
  • 4.5 Test cross-platform gh CLI detection (verify which on Unix, where on Windows)
  • 4.6 Test platform metadata includes correct value for Windows (win32)