Closed
Conversation
5 tasks
Owner
Author
Code Review SummaryOverall Assessment: NEEDS CHANGES 🚨 Critical Issues Found:
Full detailed report available in: Please address critical issues before merge. |
- Changed terminal handler to use async spawn() instead of blocking output() - Prevents CLI from hanging when launching terminal applications - Removed unused error import from terminal handler
- Added comprehensive PRD with 6 user stories for session persistence - Created Ralph autonomous development workflow - Includes progress tracking and execution script
- Add Ghostty back to TerminalType enum - Implement Fish shell workaround for Ghostty's -e parsing issues - Use 'ghostty -e fish -c "command"' to bypass broken argument parsing - Update terminal detection to prioritize Ghostty → iTerm → Terminal.app - Add comprehensive tests for Ghostty functionality - Update error messages to include Ghostty in supported terminals This resolves the window visibility issues by using Fish shell to properly handle command parsing that Ghostty's -e flag currently handles incorrectly.
- Remove Ghostty from TerminalType enum and terminal detection - Remove unused command_exists function - Update error messages and tests to exclude Ghostty - Focus on reliable iTerm/Terminal.app support Ghostty's -e flag currently runs commands in background without visible windows. Will re-add support when ghostty-org/ghostty#7032 is resolved.
Owner
Author
PR Review SummaryCritical Issues (3 found)
Important Issues (6 found)
Suggestions (6 found)
Strengths
Recommended Action
Verdict: The PR implements file-based persistence correctly with good architecture. Address the silent failure issues (especially in |
08e83a6 to
7f4bcee
Compare
- Complete PRD with 10 user stories addressing all code review issues - Progress tracking log with implementation learnings - Ralph execution script and prompt for autonomous development
Wirasm
added a commit
that referenced
this pull request
Jan 12, 2026
- Replace SQLite with JSON file-based session persistence - Add atomic file writes with temp file + rename pattern - Implement comprehensive session validation with detailed error reporting - Fix all critical code review issues from PR #1: * Silent failure patterns eliminated with proper logging * TOCTOU race conditions fixed in directory creation * Enhanced error handling with preserved context * Added missing integration tests for core workflows - Add Ralph autonomous development artifacts and PRD tracking - Maintain 73 passing tests with no regressions - Production-ready persistence layer with thread-safe operations Resolves all PR #1 code review findings and establishes solid foundation for parallel development tracks.
This was referenced Jan 14, 2026
4 tasks
7 tasks
This was referenced Feb 25, 2026
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.
Overview
This PR implements a complete file-based persistence system for Shards CLI, replacing the SQLite dependency with lightweight JSON file storage.
Major Features
🗄️ File-Based Persistence System
📁 Session Storage Format
Technical Implementation
Core Changes
Key Benefits
Testing Results
Example Session File
{ "id": "af405012531586b7/feature-auth", "project_id": "af405012531586b7", "branch": "feature-auth", "worktree_path": "/Users/user/.shards/worktrees/project/feature-auth", "agent": "kiro", "status": "Active", "created_at": "2026-01-09T11:15:12.850824+00:00" }Migration Path
This is a breaking change that removes SQLite dependency. Users will need to:
The simpler architecture and zero-dependency deployment make this worthwhile.
Future Enhancements
This PR delivers the core "browser tabs for AI agents" experience with reliable, lightweight persistence.