You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(specs): clean project-rename-restructure spec - remove all Tauri/desktop references
- Remove Tauri/desktop/frontend implementation details from spec
- Focus exclusively on Python core library with hexagonal architecture
- Update tasks.md: remove Phase 8.2-8.11 (Tauri setup), rewrite Phase 9
- Update design.md: already cleaned in previous commits
- Update requirements.md: already cleaned in previous commits
- Reduce from 59 to 51 task groups across 9 weeks
- Add CLEANUP_COMPLETE.md documenting the cleanup work
- All desktop app content now in separate tauri-desktop-ui spec
This spec now contains ONLY:
- Hexagonal architecture (Ports & Adapters)
- Monorepo structure with apps/core/
- Python library implementation
- Release to PyPI
Desktop app implementation is in .kiro/specs/tauri-desktop-ui/
**Decision Point**: Choose how Tauri will communicate with Python core library
555
-
556
-
**Options to evaluate**:
557
-
1.**Subprocess CLI Bridge** (simple, portable)
558
-
- Tauri spawns Python process
559
-
- Communication via stdin/stdout JSON
560
-
- Easy to debug and test
561
-
562
-
2.**PyO3 Direct Calls** (faster, more complex)
563
-
- Python embedded in Rust
564
-
- Direct function calls
565
-
- Better performance
566
-
567
-
3.**HTTP Local Server** (flexible, familiar)
568
-
- Python FastAPI server
569
-
- Tauri makes HTTP requests
570
-
- Standard REST patterns
571
-
572
-
4.**IPC** (Inter-Process Communication)
573
-
- Named pipes or sockets
574
-
- Bidirectional communication
575
-
- More complex setup
576
-
577
-
-[ ] Evaluate options based on:
578
-
-[ ] Performance requirements
579
-
-[ ] Development complexity
580
-
-[ ] Debugging ease
581
-
-[ ] Cross-platform compatibility
582
-
-[ ] Document decision and rationale
583
-
-[ ] Proceed with chosen approach
584
-
585
-
### 8.8 CLI Interface for Subprocess (if chosen)
586
-
**Note**: Only implement if subprocess approach is chosen in 8.7
587
-
588
-
-[ ] Create `apps/core/src/api/cli.py`
589
-
-[ ] Add argparse CLI for subprocess calls
590
-
-[ ] Add `create-profile` command
591
-
-[ ] Add `generate` command
592
-
-[ ] Add `list-profiles` command
593
-
-[ ] Add `delete-profile` command
594
-
-[ ] Add `validate-samples` command
595
-
-[ ] Output JSON for Tauri to parse
596
-
-[ ] Add `if __name__ == '__main__'` block
597
-
-[ ] Add error handling with JSON error responses
598
-
-[ ] Create `apps/core/tests/api/test_cli.py`
599
-
-[ ] Test CLI commands
600
-
-[ ] Test JSON output format
601
-
-[ ] Test error handling
602
-
-[ ] Test subprocess invocation
603
-
604
-
### 8.9 PyO3 Integration (if chosen)
605
-
**Note**: Only implement if PyO3 approach is chosen in 8.7
606
-
607
-
-[ ] Add PyO3 to Tauri dependencies
608
-
-[ ] Create Python module wrapper
609
-
-[ ] Implement direct function calls
610
-
-[ ] Add error handling
611
-
-[ ] Test integration
612
-
613
-
### 8.10 HTTP Server (if chosen)
614
-
**Note**: Only implement if HTTP approach is chosen in 8.7
615
-
616
-
-[ ] Add FastAPI to core dependencies
617
-
-[ ] Create HTTP server wrapper around TTSStudio
618
-
-[ ] Implement REST endpoints
619
-
-[ ] Add CORS for local access
620
-
-[ ] Test server integration
621
-
622
-
### 8.11 Validation (Bridge Implementation)
623
-
-[ ] Chosen integration approach works
624
-
-[ ] Tauri can call Python successfully
625
-
-[ ] JSON serialization works correctly
626
-
-[ ] Error handling is robust
627
-
-[ ] Performance is acceptable
628
-
-[ ] Cross-platform compatibility verified
526
+
## Phase 9: Release Preparation (Week 9)
629
527
630
-
---
631
-
632
-
## Phase 9: Release (Week 9)
528
+
**Note**: Desktop app implementation is covered in a separate spec (`.kiro/specs/tauri-desktop-ui/`). This phase focuses on releasing the Python core library v1.0.0.
633
529
634
530
### 9.1 Final Testing
635
531
-[ ] Run full test suite: `pytest apps/core/`
636
532
-[ ] Manual testing of Python API
637
-
-[ ] Manual testing of Tauri integration
638
533
-[ ] Performance testing (generation speed)
639
534
-[ ] Memory usage testing
640
535
-[ ] Test on different platforms (macOS, Linux)
@@ -695,14 +590,15 @@ Implementation tasks for migrating to TTS Studio with hexagonal architecture and
0 commit comments