Last updated: Aug 12, 2025, 01:09 PM UTC

Changelog

All notable changes to Sasha Studio will be documented in this file.

[Unreleased] - 2025-08-09

Fixed - Sliplane Production Deployment

  • Database Reset Functionality: Fixed RESET_DATABASE environment variable not working in production
    • Root cause: Database reset logic ran BEFORE tables were created during initialization
    • Solution: Moved RESET_DATABASE check AFTER init.sql execution in server/database/db.js
    • Now properly deletes from all tables (research_documents, onboarding_documents, company_profiles, users)
    • Added comprehensive logging and verification to confirm successful reset
    • Enables fresh setup screen instead of login screen on new deployments
  • Health Check Endpoints: Fixed Sliplane health check failures causing deployment rejections
    • Issue: Health endpoints were placed AFTER CORS and other middleware, causing hanging responses
    • Solution: Moved health endpoints to very beginning of middleware stack
    • Added simple /health endpoint for Sliplane (returns 200 OK)
    • Kept detailed /api/health endpoint for comprehensive status monitoring
    • Health checks now pass immediately, enabling successful deployments
  • Deployment Process Improvements: Enhanced Docker deployment pipeline for Sliplane
    • Fixed image caching issues by using timestamp-based tags instead of "latest"
    • Updated deployment script to use specific tags (e.g., 20250809-192853)
    • Added webhook automation for seamless deployments
    • Documented troubleshooting process for deployment issues

Fixed - Docker and Claude CLI Issues

  • Claude CLI Invalid --project Flag: Fixed critical error preventing chat functionality
    • Root cause: Sliplane deployment commit added --project workspace flag to Claude CLI
    • Issue: Claude CLI doesn't support --project flag, causing "unknown option '--project'" error
    • Solution: Removed the invalid flag from server/claude-cli.js
    • Affected Docker environments where RUNNING_IN_DOCKER=true
  • Nginx Reverse Proxy Removal: Removed unsuccessful vpnkit workaround
    • Attempted to fix Docker Desktop file upload issues with Nginx proxy
    • Caused WebSocket connection failures and increased complexity
    • Decision: Remove Nginx, test in different Docker environments instead
    • Created documentation of the experiment for future reference

[Unreleased] - 2025-08-09

Fixed - Chat Interface Improvements

  • User Messages Disappearing Bug: Fixed critical issue where user messages would flash and disappear
    • Root cause: chatMessages was being overwritten by convertedMessages when loading sessions
    • Solution: Now preserves local messages when merging with session messages
    • Messages added after the last session message are retained during updates
  • Tool Progress Display: Made tool execution status always visible
    • When expanded: Full card UI with detailed status badges
    • When collapsed: Compact inline status with icon and elapsed time
    • Shows "Running β€’ 2.5s", "Completed β€’ 1.2s", or "Failed β€’ 0.8s"
  • Inline Code Rendering: Fixed inline code being displayed as full code blocks
    • Issue: Inline code like CONFIG_DIR was showing with borders, copy buttons, and headers
    • Root cause: react-markdown v10 doesn't reliably pass the inline parameter
    • Solution: Better detection using content analysis (no newlines + no language class = inline)
    • Now inline code appears as simple highlighted text within sentences

[Unreleased] - 2025-08-08

Added - Organization Setup & Settings Integration

  • Organization Setup Feature: Complete onboarding flow for new organizations
    • Document-first approach: Upload business documents (PDFs, Word, Excel, PowerPoints)
    • Automatic conversion to Markdown using @knowcode/convert-to-markdown
    • Documents saved to docs/local/ preserving directory structure
    • Privacy-focused messaging with Phosphor icons (Shield, Lock, Server)
    • Beautiful UI with gradient backgrounds and drag-and-drop support
  • Skip Functionality: Users can skip Organization Setup and complete later
    • "Skip for now β†’" button with explanation text
    • Creates default-workspace even when skipped
    • Can re-access from Settings menu later
  • Document Processing Pipeline: Comprehensive document handling
    • Converts all uploaded documents to searchable Markdown
    • Preserves directory structure in docs/local/
    • Creates document index with metadata
    • Categorizes documents by type (contracts, presentations, handbooks, etc.)
  • Workspace Manager Service: Automated workspace setup
    • Creates proper directory structure (docs/local/, docs/organization/, docs/guides/)
    • Generates CLAUDE.md with organization context
    • Copies research guide for Claude to follow
  • Research Guide: Comprehensive guide for organization research
    • Four-phase approach: Document Analysis, Web Research, Knowledge Base Creation, Synthesis
    • Templates for structured documentation
    • Best practices and success criteria
  • API Endpoints: New organization setup endpoints
    • POST /api/profile/organization/skip - Skip setup with workspace creation
    • POST /api/profile/organization/complete - Complete setup with document processing
    • Generates custom research prompt for Claude based on uploaded documents

Changed - Organization Setup

  • Renamed Component: GettingStartedScreen β†’ OrganizationSetupScreen
  • Updated Title: Changed from "Getting Started" to "Organization Setup"
  • Enhanced Document Processor: Added workspace document conversion capabilities
  • Updated Auth Flow: Added skip functionality to AuthContext
  • Modified Protected Route: Shows OrganizationSetupScreen for new users

Technical Implementation

  • Created server/services/workspace-manager.js for workspace management
  • Enhanced server/services/document-processor.js with organization document processing
  • Added organization endpoints to server/routes/profile.js
  • Created docs/guides/organization-research-guide.md for Claude research instructions
  • Created comprehensive docs/organization-setup-implementation-guide.md for developers
  • Settings Menu Integration: Added "Organization" tab to Settings for re-accessing setup
    • Beautiful gradient UI with purple/indigo theme
    • Lists all Organization Setup features and benefits
    • "Launch Organization Setup" button to re-run setup anytime
    • Privacy-first messaging about local document storage
  • Auto-Launch Claude Session: After Organization Setup completion
    • Automatically launches Claude with research prompt
    • Seamlessly transitions from setup to active research
    • Works with default-workspace project
    • Clears prompt from session storage after use

[Released] - 2025-08-07

Added

  • Tool Details Toggle: Hide technical tool execution details by default with a toggle button to show/hide them on demand
  • Business-Friendly Descriptions: When tools are hidden, display concise one-line descriptions with appropriate Phosphor icons
  • New Navigation Tabs: Added "Guides" and "Personas" tabs between Chat and Files in the top navigation menu
    • Guides tab with List icon for future documentation and tutorials
    • Personas tab with Users icon for AI personality configurations
  • Slide-out Panels: Created right-hand slide-out panels for Guides and Personas with rich content
    • GuidesPanel with categorized guides for Research, Documentation, and Business Strategy
    • PersonasPanel with different Sasha personalities and their traits
  • Document Upload Dropzone: Beautiful drag-and-drop zone in Files section for uploading documents (UI only, not functional yet)
    • Gradient backgrounds with hover and drag states
    • Support indicators for PDF, DOCX, MD, TXT files
  • Shared Drives Tab: New settings tab showcasing cloud storage integration capabilities
    • Support for Dropbox, OneDrive, and Google Drive
    • Quick start guide and key benefits
    • "Coming Soon" badge indicator
  • System Health Tab: New settings tab with system monitoring dashboard preview
    • Overall health score with progress bar
    • Performance metrics (CPU, Memory, Storage, Network)
    • Service status indicators
    • Recent system events log
    • "Coming Soon" badge indicator
  • Code Block Improvements: Enhanced code preview styling with:
    • Soft gradient backgrounds
    • Language indicators
    • Copy functionality with button
    • Better inline code styling

Changed

  • Icon Consistency: Replaced all remaining Unicode emoji characters with Phosphor icons throughout the application
    • Tool indicators now use FileText, PencilSimple, and other appropriate icons
    • Welcome screen tip now uses Lightbulb icon instead of Unicode emoji
    • Added FilePlus, UploadSimple icons for upload functionality
    • Added ChartLineUp, CheckCircle for system health monitoring
  • Improved UX: Made the interface more business-friendly by hiding technical details while maintaining transparency about AI operations
  • Processing State UI: Transformed harsh colors to soft gradients with better visual hierarchy
  • Files View: Modified to show only files under /docs directory for documentation focus

Fixed

  • Fixed Unicode emojis still appearing in tool detail sections (, , )
  • Fixed lightbulb emoji in MainContent welcome screen tip
  • Fixed missing icon exports (CircleFill β†’ Record, TextAlign β†’ FileText, SpinnerGap)
  • Fixed icon import errors in GuidesPanel and PersonasPanel
  • Ensured consistent Phosphor icon usage across all components
  • Fixed deprecated apple-mobile-web-app-capable meta tag warning by adding modern mobile-web-app-capable tag

Previous Updates

Rebranding to Sasha Studio

  • Complete rebrand from Claude Code UI to Sasha Studio
  • Updated all references, titles, and branding elements
  • Simplified UI for business users
  • Migrated from Lucide to Phosphor icons library