Files
Claude-Code-Workflow/.claude/commands/workflow/session/list.md
catlog22 5983762810 feat: Add v1.1 update-memory system with dual-mode operations and enhanced documentation
## New Features
- **Dual-mode update-memory commands**: /update-memory-full and /update-memory-related
- **Git-aware change detection**: Intelligent context-aware documentation updates
- **Complexity-adaptive execution**: Auto-delegation to memory-gemini-bridge for complex projects
- **Depth-parallel processing**: Bottom-up execution ensuring proper context propagation
- **Enhanced issue tracking integration**: Complete /workflow:issue:* command set documentation

## New Scripts & Infrastructure
- detect_changed_modules.sh: Git-based change detection with fallback strategies
- get_modules_by_depth.sh: Hierarchical module discovery and organization
- update_module_claude.sh: Core CLAUDE.md update execution engine

## Documentation Updates
- **README.md**: Added comprehensive update-memory system documentation with usage examples
- **README_CN.md**: Complete Chinese localization of new features and technical details
- **Command reference tables**: Updated with new /update-memory-* commands and /workflow:issue:* set
- **Technical highlights**: Enhanced with dual-mode operations and complexity thresholds
- **Usage workflows**: Added detailed examples for different development scenarios

## Technical Improvements
- Streamlined memory-gemini-bridge.md (reduced by 200+ lines)
- Simplified gemini-unified.md workflow documentation
- Added comprehensive CLAUDE.md files for new modules
- Enhanced DMS (Distributed Memory System) with 4-layer hierarchy templates

## Architecture Enhancements
- **Complexity thresholds**: related mode (>15 modules), full mode (>20 modules)
- **Git integration**: Smart change detection with comprehensive status reporting
- **User confirmation workflows**: Clear execution plans with mandatory approval steps
- **Fallback strategies**: Graceful handling of non-git environments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 18:15:30 +08:00

2.0 KiB

name, description, usage
name description usage
list List all workflow sessions with status /workflow:session:list

List Workflow Sessions (/workflow/session/list)

Purpose

Display all workflow sessions with their current status, progress, and metadata.

Usage

/workflow/session/list

Output Format

Active Session (Highlighted)

✅ WFS-oauth-integration (ACTIVE)
   Description: Implement OAuth2 authentication
   Phase: IMPLEMENTATION
   Created: 2025-09-07 14:30:00
   Directory: .workflow/WFS-oauth-integration/
   Progress: 3/5 tasks completed

Paused Sessions

⏸️  WFS-user-profile (PAUSED)
   Description: Build user profile management
   Phase: PLANNING  
   Created: 2025-09-06 10:15:00
   Last active: 2025-09-07 09:20:00
   Directory: .workflow/WFS-user-profile/

Completed Sessions

✅ WFS-bug-fix-123 (COMPLETED)
   Description: Fix login security vulnerability
   Completed: 2025-09-05 16:45:00
   Directory: .workflow/WFS-bug-fix-123/

Status Indicators

  • ACTIVE: Currently active session (has marker file)
  • ⏸️ PAUSED: Session paused, can be resumed
  • COMPLETED: Session finished successfully
  • FAILED: Session ended with errors
  • 🔄 INTERRUPTED: Session was interrupted unexpectedly

Session Discovery

Searches for:

  • .workflow/WFS-* directories
  • Reads workflow-session.json from each
  • Checks for .active-* marker files
  • Sorts by last activity date

Quick Actions

For each session, shows available actions:

  • Resume: /workflow/session/resume (paused sessions)
  • Switch: /workflow/session/switch <session-id>
  • View: /context <session-id>

Empty State

If no sessions exist:

No workflow sessions found.

Create a new session:
/workflow/session/start "your task description"

Error Handling

  • Directory access: Handles permission issues
  • Corrupted sessions: Shows warning but continues listing
  • Missing metadata: Shows partial info with warnings

Result: Complete overview of all workflow sessions and their current state