---
id: TASK-88
title: Normalize space visibility enums + runtime migration
status: Done
assignee: []
created_date: '2026-03-03 21:58'
labels:
  - spaces
  - refactor
dependencies: []
priority: high
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Consolidate legacy space visibility values into a clean 3-type model (public/members/private). Add migrateVisibility runtime migration, fix participant→member role label, normalize enums across all remaining files, and inline the space creation form with the new visibility model.
<!-- SECTION:DESCRIPTION:END -->

## Final Summary

<!-- SECTION:FINAL_SUMMARY:BEGIN -->
Normalized visibility across 4 commits: legacy value normalization (0d8d820), migrateVisibility migration + role label fix (daa6013), space visibility enums + inline create form (eb2859d), and final enum normalization + tab tracking across remaining files (80e4259).
<!-- SECTION:FINAL_SUMMARY:END -->
