# generated: 2026-01-17
# project: Keep
# project_key: keep-mvp
# tracking_system: file-system
# story_location: _bmad-output/implementation-artifacts

# STATUS DEFINITIONS:
# ==================
# Epic Status:
#   - backlog: Epic not yet started
#   - in-progress: Epic actively being worked on
#   - done: All stories in epic completed
#
# Epic Status Transitions:
#   - backlog → in-progress: Automatically when first story is created (via create-story)
#   - in-progress → done: Manually when all stories reach 'done' status
#
# Story Status:
#   - backlog: Story only exists in epic file
#   - ready-for-dev: Story file created in stories folder
#   - in-progress: Developer actively working on implementation
#   - review: Ready for code review (via Dev's code-review workflow)
#   - done: Story completed
#
# Retrospective Status:
#   - optional: Can be completed but not required
#   - done: Retrospective has been completed
#
# WORKFLOW NOTES:
# ===============
# - Epic transitions to 'in-progress' automatically when first story is created
# - Stories can be worked in parallel if team capacity allows
# - SM typically creates next story after previous one is 'done' to incorporate learnings
# - Dev moves story to 'review', then runs code-review (fresh context, different LLM recommended)

generated: 2026-01-17
project: Keep
project_key: keep-mvp
tracking_system: file-system
story_location: _bmad-output/implementation-artifacts

development_status:
  # ============================================================
  # NOTEBOOKS & LABELS CONTEXTUELS (6 Epics - 34 Stories)
  # ============================================================

  # Epic 1: Database Migration & Schema
  epic-1: done
  1-1-create-prisma-schema-migration: done
  1-2-create-data-migration-script: done
  1-3-create-migration-tests: in-progress
  1-4-document-migration-process: backlog
  epic-1-retrospective: optional

  # Epic 2: State Management & Server Actions
  epic-2: in-progress
  2-1-create-notebooks-context: done
  2-2-create-notebook-server-actions: done
  2-3-create-label-server-actions: done
  2-4-create-note-notebook-server-actions: done
  2-5-create-ai-server-actions-stub: review
  2-6-write-tests-context-actions: backlog
  epic-2-retrospective: optional

  # Epic 3: Notebooks Sidebar UI
  epic-3: in-progress
  3-1-create-notebooks-sidebar-component: done
  3-2-add-notebook-creation-ui: done
  3-3-add-notebook-management-actions: done
  3-4-display-labels-sidebar: done
  3-5-add-label-creation-ui: done
  3-6-add-label-management-actions: done
  3-7-implement-note-filtering-notebook: done
  3-8-style-sidebar-match-keep-design: done
  epic-3-retrospective: optional

  # Epic 4: Advanced Drag & Drop
  epic-4: in-progress
  4-1-implement-notebook-reordering: backlog
  4-2-add-visual-drag-feedback: backlog
  4-3-implement-drag-notes-sidebar: backlog
  4-4-add-context-menu-move-alternative: done
  4-5-add-drag-performance-optimizations: backlog
  epic-4-retrospective: optional

  # Epic 5: Contextual AI Features
  epic-5: in-progress
  5-1-implement-notebook-suggestion: done
  5-2-implement-label-suggestions: backlog
  5-3-implement-batch-inbox-organization: backlog
  5-4-implement-auto-label-creation: backlog
  5-5-implement-contextual-semantic-search: backlog
  5-6-implement-notebook-summary: backlog
  5-7-add-ai-settings-controls: backlog
  5-8-add-ai-performance-monitoring: backlog
  epic-5-retrospective: optional

  # Epic 6: Undo/Redo System
  epic-6: backlog
  6-1-implement-undo-history: backlog
  6-2-register-undo-actions: backlog
  6-3-create-undo-toast-ui: backlog
  6-4-add-undo-keyboard-shortcut: backlog
  epic-6-retrospective: optional

  # ============================================================
  # PHASE 1 MVP AI - AI FEATURES (8 Epics - 62 Stories)
  # ============================================================

  # Epic 1: AI-Powered Title Suggestions
  epic-1-ai: backlog
  1-1-database-schema-extension-title-suggestions: review
  1-2-ai-service-title-suggestions-generation: backlog
  1-3-contextual-trigger-detection-title-suggestions: backlog
  1-4-toast-notification-title-suggestions-discovery: backlog
  1-5-display-multiple-title-suggestions: backlog
  1-6-apply-title-suggestion-note: backlog
  1-7-defer-title-suggestions: backlog
  1-8-dismiss-title-suggestions-permanently: backlog
  1-9-feedback-collection-title-suggestions: backlog
  1-10-settings-toggle-title-suggestions: backlog
  epic-1-ai-retrospective: optional

  # Epic 2: Hybrid Semantic Search
  epic-2-ai: backlog
  2-1-semantic-search-service-implementation: backlog
  2-2-keyword-search-implementation: backlog
  2-3-hybrid-search-result-fusion: backlog
  2-4-visual-indicators-search-result-types: backlog
  2-5-unified-search-interface: backlog
  2-6-settings-toggle-semantic-search: backlog
  epic-2-ai-retrospective: optional

  # Epic 3: Memory Echo - Proactive Connections
  epic-3-ai: backlog
  3-1-database-schema-memory-echo-insights: backlog
  3-2-memory-echo-background-analysis-service: backlog
  3-3-memory-echo-insight-notification: backlog
  3-4-view-memory-echo-connection-details: backlog
  3-5-link-notes-memory-echo: backlog
  3-6-dismiss-memory-echo-insights: backlog
  3-7-feedback-collection-memory-echo: backlog
  3-8-settings-toggle-frequency-control-memory-echo: backlog
  epic-3-ai-retrospective: optional

  # Epic 4: Paragraph-Level AI Reformulation
  epic-4-ai: backlog
  4-1-paragraph-selection-interface: backlog
  4-2-reformulation-options-selection: backlog
  4-3-ai-paragraph-reformulation-service: backlog
  4-4-display-reformulated-content: backlog
  4-5-apply-reformulated-content: backlog
  4-6-cancel-reformulation-action: backlog
  4-7-feedback-collection-reformulation: backlog
  4-8-settings-toggle-paragraph-reformulation: backlog
  epic-4-ai-retrospective: optional

  # Epic 5: AI Settings & Privacy Control
  epic-5-ai: backlog
  5-1-database-schema-ai-settings: backlog
  5-2-ai-settings-page-structure: backlog
  5-3-granular-feature-toggles: backlog
  5-4-customize-ai-trigger-thresholds: backlog
  5-5-focus-mode-toggle: backlog
  5-6-ai-provider-selection: backlog
  5-7-connection-status-indicators: backlog
  5-8-api-key-management-cloud-providers: backlog
  5-9-verify-local-processing-privacy-verification: backlog
  5-10-auto-fallback-providers: backlog
  5-11-re-enable-disabled-features: backlog
  epic-5-ai-retrospective: optional

  # Epic 6: Language Detection & Multilingual Support
  epic-6-ai: backlog
  6-1-language-detection-service-implementation: backlog
  6-2-multilingual-ai-processing: backlog
  epic-6-ai-retrospective: optional

  # Epic 7: Admin Dashboard & Analytics
  epic-7-ai: backlog
  7-1-admin-dashboard-access-control: backlog
  7-2-real-time-ai-usage-metrics: backlog
  7-3-configure-default-ai-provider-settings: backlog
  7-4-set-rate-limits-per-user: backlog
  7-5-override-individual-user-ai-settings: backlog
  7-6-view-ai-processing-costs-statistics: backlog
  7-7-adjust-ai-model-parameters: backlog
  7-8-configure-team-wide-ai-feature-availability: backlog
  7-9-encrypted-api-key-storage: backlog
  epic-7-ai-retrospective: optional

  # Epic 8: Accessibility & Responsive Design
  epic-8-ai: backlog
  8-1-keyboard-navigation-all-ai-features: backlog
  8-2-screen-reader-support-ai-features: backlog
  8-3-keyboard-shortcuts-ai-notifications: backlog
  8-4-mobile-responsive-design-ai-features: backlog
  8-5-tablet-responsive-design-ai-features: backlog
  8-6-desktop-responsive-design-ai-features: backlog
  8-7-visual-focus-indicators-ai-elements: backlog
  8-8-touch-target-sizing-mobile-ai-features: backlog
  epic-8-ai-retrospective: optional

  # ============================================================
  # FEATURE: COLLABORATORS (1 Epic - 8 Stories)
  # ============================================================

  # Epic: Implémentation Complète de la Fonctionnalité Collaborateurs
  epic-collaborators: backlog
  collab-1-select-collaborators-note-creation: backlog
  collab-2-verify-functioning-existing-notes: backlog
  collab-3-display-collaborators-note-card: backlog
  collab-4-view-notes-shared-me: backlog
  collab-5-manage-permissions-read-write: backlog
  collab-6-notification-sharing-note: backlog
  collab-7-filter-display-shared-notes-only: backlog
  collab-8-e2e-tests-collaborators: backlog
  epic-collaborators-retrospective: optional

  # ============================================================
  # BUG FIX: GHOST TAGS (1 Epic - 8 Stories)
  # ============================================================

  # Epic: Correction Bug Ghost Tags - Fermeture Intempestive
  epic-ghost-tags-fix: backlog
  ghost-tags-1-prevent-closing-note-click: backlog
  ghost-tags-2-async-add-tag-interrupt-ui: backlog
  ghost-tags-3-improve-visual-feedback-ghost-tags: backlog
  ghost-tags-4-remove-toast-optional: backlog
  ghost-tags-5-prevent-accidental-closures: backlog
  ghost-tags-6-silent-mode-ghost-tags: backlog
  ghost-tags-7-e2e-tests-ghost-tags-workflow: backlog
  ghost-tags-8-documentation-ghost-tags-behavior: backlog
  epic-ghost-tags-fix-retrospective: optional

  # ============================================================
  # IMPROVEMENT: SEARCH 2.0 (1 Epic - 8 Stories)
  # ============================================================

  # Epic: Amélioration de la Recherche Sémantique - Version 2.0
  epic-search-2-0: backlog
  search-2-0-1-validation-quality-embeddings: backlog
  search-2-0-2-optimization-similarity-threshold: backlog
  search-2-0-3-reconfiguration-rrf-algorithm: backlog
  search-2-0-4-adaptive-weighting-search-scores: backlog
  search-2-0-5-query-expansion-normalization: backlog
  search-2-0-6-debug-interface-monitoring-search: backlog
  search-2-0-7-re-generation-validation-embeddings: backlog
  search-2-0-8-automated-quality-tests-search: backlog
  epic-search-2-0-retrospective: optional

  # ============================================================
  # EPICS PRE-EXISTANTS (Préserver les statuts)
  # ============================================================

  # Epic 7: Bug Fixes - Auto-labeling & Note Visibility
  epic-7: in-progress
  7-1-fix-auto-labeling-bug: review
  7-2-fix-note-visibility-bug: review
  epic-7-retrospective: optional

  # Epic 8: Bug Fixes - UI Reactivity & State Management
  epic-8: in-progress
  8-1-fix-ui-reactivity-bug: done
  epic-8-retrospective: optional

  # Epic 9: Feature Requests - Favorites & Recent Notes
  epic-9: in-progress
  9-1-add-favorites-section: done
  9-2-add-recent-notes-section: review
  epic-9-retrospective: optional

  # Epic 10: Bug Fixes - Mobile UX
  epic-10: in-progress
  10-1-fix-mobile-drag-scroll-bug: review
  10-2-fix-mobile-menu-bug: review
  epic-10-retrospective: optional

  # Epic 11: Bug Fixes - Design & Settings
  epic-11: in-progress
  11-1-improve-design-consistency: review
  11-2-improve-settings-ux: review
  epic-11-retrospective: optional

  # Epic 12: Mobile Experience Overhaul
  epic-12: backlog
  12-1-mobile-note-cards-simplification: backlog
  12-2-mobile-first-layout: backlog
  12-3-mobile-bottom-navigation: backlog
  12-4-full-screen-mobile-note-editor: backlog
  12-5-mobile-quick-actions-swipe: backlog
  12-6-mobile-typography-spacing: backlog
  12-7-mobile-performance-optimization: backlog
  epic-12-retrospective: optional

  # ============================================================
  # DESKTOP & MOBILE UX OVERHAUL (3 Epics - 37 Stories)
  # ============================================================

  # Epic 13: Desktop Design Refactor
  epic-13: in-progress
  13-1-refactor-notebook-main-page-layout: in-progress
  13-2-refactor-note-cards-display: backlog
  13-3-refactor-note-editor-interface: backlog
  13-4-refactor-search-and-filtering-interface: backlog
  13-5-refactor-settings-panels: backlog
  13-6-improve-navigation-and-breadcrumbs: backlog
  13-7-enhance-animations-and-micro-interactions: backlog
  13-8-refactor-admin-dashboard-if-applicable: backlog
  epic-13-retrospective: optional

  # Epic 14: Admin & Profile Redesign
  epic-14: in-progress
  14-1-redesign-admin-dashboard-layout: review
  14-2-redesign-admin-metrics-display: backlog
  14-3-redesign-ai-settings-panel: backlog
  14-4-redesign-user-profile-settings: backlog
  14-5-redesign-admin-user-management: backlog
  14-6-redesign-admin-ai-management: backlog
  14-7-improve-error-handling-and-feedback: backlog
  14-8-add-keyboard-navigation-support: backlog
  14-9-implement-dark-mode-support: backlog
  14-10-improve-responsive-design-for-admin-profile: backlog
  14-11-add-loading-states-and-skeletons: backlog
  14-12-add-accessibility-improvements: backlog
  epic-14-retrospective: optional

  # Epic 15: Mobile UX Overhaul
  epic-15: in-progress
  15-1-redesign-mobile-navigation: ready-for-dev
  15-2-redesign-mobile-note-cards: backlog
  15-3-redesign-mobile-note-editor: backlog
  15-4-redesign-mobile-search-and-filtering: backlog
  15-5-implement-gesture-support: backlog
  15-6-redesign-mobile-settings: backlog
  15-7-optimize-mobile-performance: backlog
  15-8-implement-pull-to-refresh: backlog
  15-9-implement-mobile-offline-support: backlog
  15-10-implement-mobile-accessibility-improvements: backlog
  epic-15-retrospective: optional

  # Epic 14: Admin & Profile Redesign
  epic-14: backlog
  14-1-redesign-admin-dashboard-layout: backlog
  14-2-redesign-admin-metrics-display: backlog
  14-3-redesign-ai-settings-panel: backlog
  14-4-redesign-user-profile-settings: backlog
  14-5-redesign-admin-user-management: backlog
  14-6-redesign-admin-ai-management: backlog
  14-7-improve-error-handling-and-feedback: backlog
  14-8-add-keyboard-navigation-support: backlog
  14-9-implement-dark-mode-support: backlog
  14-10-improve-responsive-design-for-admin-profile: backlog
  14-11-add-loading-states-and-skeletons: backlog
  14-12-add-accessibility-improvements: backlog
  epic-14-retrospective: optional

  # Epic 15: Mobile UX Overhaul
  epic-15: backlog
  15-1-redesign-mobile-navigation: backlog
  15-2-redesign-mobile-note-cards: backlog
  15-3-redesign-mobile-note-editor: backlog
  15-4-redesign-mobile-search-and-filtering: backlog
  15-5-implement-gesture-support: backlog
  15-6-redesign-mobile-settings: backlog
  15-7-optimize-mobile-performance: backlog
  15-8-implement-pull-to-refresh: backlog
  15-9-implement-mobile-offline-support: backlog
  15-10-implement-mobile-accessibility-improvements: backlog
  epic-15-retrospective: optional
