Workspace Management Guide
Complete guide to workspaces, projects, and team collaboration
Overview
Workspaces in Lovelace organize your projects, provide context for AI interactions, and manage team collaboration. This guide covers workspace operations, project integration, and team workflows.
Understanding Workspaces
What are Workspaces?
Workspaces are organizational units that:
- Group related projects and resources
- Provide context for AI chat and analysis
- Enable team collaboration and sharing
- Sync data across devices and team members
- Manage permissions and access control
Workspace vs Project
| Concept | Purpose | Scope |
|---|---|---|
| Workspace | Organizational container | Multiple projects, team collaboration |
| Project | Individual codebase or application | Single repository or application |
Workspace Operations
List Workspaces
bash
# List all available workspaces
lovelace workspace list
# List with detailed information
lovelace workspace list --detailed
# List only your workspaces
lovelace workspace list --mine
Switch Workspaces
bash
# Switch to a workspace
lovelace workspace switch my-project
# Switch with confirmation
lovelace workspace switch team-workspace --confirm
# Switch and sync immediately
lovelace workspace switch production --sync
Create Workspaces
bash
# Create new workspace
lovelace workspace create my-new-project
# Create with description
lovelace workspace create mobile-app --description "React Native mobile application"
# Create private workspace
lovelace workspace create private-research --private
Workspace Information
bash
# Show current workspace
lovelace workspace current
# Show workspace details
lovelace workspace info my-project
# Show workspace activity
lovelace workspace activity
# Show workspace members
lovelace workspace members
Project Integration
Initialize Project
bash
# Navigate to your project directory
cd /path/to/your/project
# Initialize Lovelace in project
lovelace workspace init
# Initialize with specific workspace
lovelace workspace init --workspace my-workspace
What happens during initialization:
- Creates
.lovelace/directory in project root - Generates project configuration file
- Analyzes project structure and dependencies
- Connects project to workspace
Project Configuration
File: .lovelace/config.json
json
{
"project": {
"name": "my-application",
"workspace": "development-team",
"type": "web-application",
"framework": "react-nextjs"
},
"analysis": {
"include_patterns": ["src/**/*", "components/**/*"],
"exclude_patterns": ["node_modules/**", "build/**"],
"language": "typescript"
},
"integrations": {
"git": true,
"package_manager": "npm",
"ci_cd": "github-actions"
}
}
Project Status
bash
# Check project integration status
lovelace workspace status
# Validate project configuration
lovelace workspace validate
# Show project analysis summary
lovelace workspace analyze --summary
Synchronization
Manual Sync
bash
# Sync current workspace
lovelace workspace sync
# Sync specific workspace
lovelace workspace sync my-project
# Force complete sync
lovelace workspace sync --force
# Sync with conflict resolution
lovelace workspace sync --resolve-conflicts
Auto Sync
bash
# Enable auto-sync for workspace
lovelace config set workspace.auto_sync true
# Set sync interval (minutes)
lovelace config set workspace.sync_interval 15
# Disable auto-sync
lovelace config set workspace.auto_sync false
Sync Status
bash
# Check sync status
lovelace workspace sync-status
# View sync history
lovelace workspace sync-history
# Check for conflicts
lovelace workspace conflicts
Team Collaboration
Member Management
bash
# Invite team member
lovelace workspace invite user@example.com
# Invite with specific role
lovelace workspace invite developer@company.com --role developer
# List workspace members
lovelace workspace members
# Remove member
lovelace workspace remove-member user@example.com
Roles and Permissions
| Role | Permissions |
|---|---|
| Owner | Full access, member management, workspace settings |
| Admin | Most access, member management, limited settings |
| Developer | Read/write access to projects, limited admin functions |
| Viewer | Read-only access to projects and conversations |
bash
# Change member role
lovelace workspace set-role user@example.com admin
# View member permissions
lovelace workspace permissions user@example.com
Sharing & Collaboration
bash
# Share workspace link
lovelace workspace share
# Generate invite link
lovelace workspace invite-link --role developer
# Export workspace data
lovelace workspace export --format json
# Import shared workspace
lovelace workspace import shared-workspace.json
Backup & Restore
Backup Workspace
bash
# Backup current workspace
lovelace workspace backup
# Backup to specific location
lovelace workspace backup --output ./backups/
# Backup with compression
lovelace workspace backup --compress
# Scheduled backup
lovelace workspace backup --schedule daily
Restore Workspace
bash
# List available backups
lovelace workspace backups
# Restore from backup
lovelace workspace restore backup-2024-01-15.tar.gz
# Restore specific components
lovelace workspace restore --projects-only backup.tar.gz
Backup Configuration
bash
# Configure backup settings
lovelace config set backup.auto_backup true
lovelace config set backup.retention_days 30
lovelace config set backup.location ~/.lovelace/backups/
Advanced Workspace Features
Workspace Templates
bash
# List available templates
lovelace workspace templates
# Create from template
lovelace workspace create web-app --template react-typescript
# Create custom template
lovelace workspace template create my-template
Environment Management
bash
# List workspace environments
lovelace workspace environments
# Switch environment
lovelace workspace env production
# Create new environment
lovelace workspace env create staging
Workspace Settings
bash
# View workspace settings
lovelace workspace settings
# Update workspace settings
lovelace workspace settings set description "New description"
lovelace workspace settings set privacy private
# Configure AI settings
lovelace workspace settings ai --provider anthropic
lovelace workspace settings ai --model claude-3-5-sonnet
Integration Patterns
Git Integration
bash
# Connect git repository
lovelace workspace git connect origin
# Sync with git branches
lovelace workspace git sync-branches
# Auto-link commits to conversations
lovelace config set git.auto_link_commits true
CI/CD Integration
bash
# Connect CI/CD pipeline
lovelace workspace cicd connect github-actions
# View pipeline status
lovelace workspace cicd status
# Trigger workspace sync on deployment
lovelace workspace cicd hook deploy
External Tools
bash
# Connect issue tracker
lovelace workspace connect linear
lovelace workspace connect jira
# Connect documentation
lovelace workspace connect notion
lovelace workspace connect confluence
# Connect monitoring
lovelace workspace connect datadog
lovelace workspace connect newrelic
Troubleshooting
Sync Issues
Sync Conflicts
bash
# Check for conflicts
lovelace workspace conflicts
# Resolve conflicts manually
lovelace workspace resolve-conflicts
# Force resolution (use local)
lovelace workspace sync --force-local
# Force resolution (use remote)
lovelace workspace sync --force-remote
Sync Failures
bash
# Check sync logs
lovelace workspace sync-logs
# Retry failed sync
lovelace workspace sync --retry
# Reset sync state
lovelace workspace sync --reset
Permission Issues
Access Denied
bash
# Check your permissions
lovelace workspace permissions
# Request access from workspace owner
lovelace workspace request-access
# Switch to accessible workspace
lovelace workspace list --accessible
Performance Issues
Large Workspaces
bash
# Optimize workspace
lovelace workspace optimize
# Clean up old data
lovelace workspace cleanup
# Archive inactive projects
lovelace workspace archive-inactive
Slow Sync
bash
# Use incremental sync
lovelace workspace sync --incremental
# Exclude large files
lovelace config set sync.exclude_patterns "*.log,*.tmp"
# Limit sync bandwidth
lovelace config set sync.bandwidth_limit 1MB
Best Practices
Workspace Organization
- Use descriptive names -
mobile-app-iosvsproject1 - Separate by team/purpose - Different workspaces for different teams
- Keep projects related - Group related projects in same workspace
- Regular cleanup - Archive completed projects
Collaboration
- Set clear roles - Assign appropriate permissions to team members
- Regular sync - Keep workspace data synchronized
- Document conventions - Establish naming and organization conventions
- Use templates - Create templates for common project types
Performance
- Exclude unnecessary files - Configure sync patterns appropriately
- Regular maintenance - Clean up old data and optimize workspace
- Monitor usage - Keep track of workspace size and activity
- Use environments - Separate development, staging, and production
Next Steps:
- AI Chat & Analysis - Start using AI in your workspace
- Agent Execution - Set up agent workers
- Editor Integration - Connect your editor to workspace