Context is Everything logo

Changelog

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

[Unreleased] - 2026-02-06

Added - Claude Code CLI Upgrade (2.1.7 → 2.1.33)

  • Upgraded Claude Code CLI from v2.1.7 to v2.1.33: 26 versions of stability and accuracy improvements
    • Updated 1M context Bedrock patch with new minified variable names (nf1, _6, q)
    • Files: Dockerfile.sliplane, scripts/patch-claude-1m.js, claude-code-1m-context-patch.md

Stability Improvements (from upstream Claude Code releases)

  • Crash and memory fixes: Fixed OOM crashes from parallel subagents (2.1.14), heavy session resumption (2.1.16), and processors without AVX support (2.1.17/2.1.19)
  • Session reliability: Fixed long sessions with parallel tool calls failing with orphan tool_result API errors (2.1.9); fixed API errors when resuming interrupted sessions (2.1.21); 68% memory reduction for session resumption (2.1.29/2.1.30)
  • Connection handling: Fixed mTLS/proxy connectivity for corporate proxies (2.1.23); fixed OAuth token expiration causing 401 errors (2.1.27); fixed beta header validation for Bedrock/Vertex gateway users (2.1.25)
  • Tool execution: Fixed ripgrep timeouts silently returning empty results (2.1.23); fixed Bash heredoc errors with JS template literals (2.1.32); fixed MCP server reconnection hangs (2.1.9)
  • Error messages: Connection failures now show specific cause (ECONNREFUSED, SSL errors) instead of generic "Connection error" (2.1.33)

Hallucination and Accuracy Improvements (from upstream Claude Code releases)

  • System prompt tool guidance (2.1.21, 2.1.31, 2.1.32, 2.1.33): Progressively improved prompts steer the model toward Read/Edit/Glob/Grep instead of bash equivalents, directly reducing hallucinated file paths and command syntax
  • Temperature override fix (2.1.31): temperatureOverride was silently ignored in the streaming path — all requests used temperature 1.0 regardless of configuration, directly affecting output determinism
  • Context window fix (2.1.14): Users were blocked at ~65% context instead of ~98%, forcing premature compaction and loss of grounding context
  • Prompt cache invalidation (2.1.30/2.1.33): Fixed cache not invalidating when tool descriptions changed (only checked tool names), causing stale tool descriptions and wrong tool usage
  • Phantom content removal (2.1.30/2.1.31): Eliminated "(no content)" text blocks from API conversation history that wasted tokens and confused the model
  • Auto-compact timing (2.1.21): Fixed auto-compact triggering too early on models with large output token limits, causing unnecessary context loss
  • Subagent fixes: Fixed subagents not inheriting parent model (2.1.19) and unable to access SDK-provided MCP tools (2.1.30/2.1.33)

[Unreleased] - 2025-08-24

Fixed - Session Management and Security

  • Complete Session Validation and Error Recovery System: Fixed critical session management issues
    • Fixed 500 server error in session validation endpoint (database function call issue)
    • Fixed React toast rendering error ("Objects are not valid as a React child")
    • Added secure session validation endpoint with authentication to prevent session enumeration
    • Implemented automatic stale session detection on component mount with browser storage cleanup
    • Enhanced Claude error handling with exit code 1 detection and session validation
    • Fixed browser storage persistence issues across Docker restarts with comprehensive documentation
    • Optimized React performance with custom memoization and reduced console logging
    • Security improvements: Authentication required, minimal data exposure, timing attack prevention
    • Files: server/index.js, src/components/ChatInterface.jsx, comprehensive documentation
    • Result: Zero session duplication, proper error recovery, enhanced security

Fixed - Bedrock Status Display

  • Bedrock Status Visibility for All Users: Fixed Bedrock provider status appearing incorrectly
    • Root cause: Mock test data in database + admin-only API endpoint
    • Cleaned up test data from bedrock_config table
    • Created new /api/admin/bedrock/status endpoint for all authenticated users
    • Updated ChatInterface.jsx and QuickSettingsPanel.jsx to use new endpoint
    • All logged-in users can now see Bedrock configuration status
    • Bedrock indicator only shows when actually configured
    • Security maintained: No API keys exposed, still requires authentication

Enhanced - BuildKit Container Documentation

  • Comprehensive BuildKit Documentation: Added detailed explanation of BuildKit containers
    • Updated Docker Architecture Troubleshooting guide with BuildKit management section
    • Added BuildKit explanation to Local Development Guide
    • Documented why moby/buildkit:buildx-stable-1 containers appear during development
    • Provided BuildKit management commands and troubleshooting steps
    • Explained multi-platform build requirements for Intel and ARM architectures
    • Added cross-references between related Docker documentation

[Previous Release] - 2025-08-23

Fixed - Task List Visibility

  • TodoWrite Task Lists Always Visible: Fixed task lists appearing collapsed by default
    • Root cause: Two-level collapsing system (top-level showTools state + inner <details> wrappers)
    • Solution: Auto-enable showTools for TodoWrite messages and remove all collapsible wrappers
    • Task lists now display immediately without requiring user interaction
    • Other tools maintain their normal expand/collapse behavior
    • Improved UX: Users can immediately see task progress and status

Enhanced - Edit Button Functionality

  • Auto-Switch to Raw Mode on Edit: Made Edit buttons more intuitive
    • Clicking "Edit" button in diff display now automatically switches message to raw mode
    • Reveals editable parameters immediately without manual raw mode toggle
    • Preserves all existing file opening functionality
    • Applies to both filename and file path edit buttons

Added - HTML Publishing with Auto-Refresh

  • Prominent HTML Publishing Button: Enhanced the HTML generation feature with a prominent blue "Publish HTML" button
    • Changed from subtle icon to clearly labeled button in file tree toolbar
    • Added visual feedback with pulsing animation during generation
    • Improved accessibility with proper ARIA labels and tooltips
  • Live Auto-Refresh System: Implemented real-time browser refresh capability
    • Added WebSocket live-reload endpoint (/live-reload) for browser communication
    • Injected live-reload JavaScript into generated HTML pages
    • Automatic browser refresh when HTML is regenerated
    • Development-only feature (localhost/127.0.0.1)
  • Manual Refresh Button: Added refresh button to generated HTML pages
    • Placed in top-right breadcrumb area next to PDF export button
    • Uses Phosphor arrows-clockwise icon for consistency
    • Styled to match existing design system with blue hover effects
    • Enables manual page refresh alongside automatic WebSocket refresh

Technical Implementation - HTML Publishing

  • WebSocket Handler (server/index.js): Added live-reload connection management
  • Report Generator (server/services/report-generator.js): Enhanced HTML template with refresh button and live-reload script
  • API Integration (server/routes/files.js): Added reload broadcast after HTML generation
  • UI Enhancement (src/components/FileTree.jsx): Redesigned HTML generation button for better discoverability

[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/uploads/ 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/uploads/
    • Creates document index with metadata
    • Categorizes documents by type (contracts, presentations, handbooks, etc.)
  • Workspace Manager Service: Automated workspace setup
    • Creates proper directory structure (docs/uploads/, 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: GettingStartedScreenOrganizationSetupScreen
  • 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