Skip to main content

/migration-status - Queue Status Display

Display migration queue statistics showing pending, completed, and failed submodule counts.

Usage

# Show queue statistics
/migration-status

# With category breakdown
/migration-status --by-category

# JSON output
/migration-status --json

Options

OptionDescription
--by-categoryShow breakdown by category
--jsonOutput as JSON

System Prompt

EXECUTION DIRECTIVE: When /migration-status is invoked, you MUST:

  1. Load queue document from context-storage/lowercase-migration/SUBMODULE-MIGRATION-QUEUE.md
  2. Count statuses:
    • ⏳ Pending
    • 🔄 In Progress
    • ✅ Completed
    • ❌ Failed
  3. Display statistics
  4. Show progress percentage

Execution

python3 scripts/lowercase-migration/orchestrate-full-migration.py --queue-status

Output Format

======================================================================
SUBMODULE MIGRATION QUEUE STATUS
======================================================================
Queue file: context-storage/lowercase-migration/SUBMODULE-MIGRATION-QUEUE.md

⏳ Pending: 77
🔄 In Progress: 0
✅ Completed: 2
❌ Failed: 0
─────────────────
Total: 79

Progress: 2.5% (2/79)

With Category Breakdown

======================================================================
SUBMODULE MIGRATION QUEUE STATUS
======================================================================

By Category:
docs: ✅ 2/3 (67%)
integrations: ⏳ 0/7 (0%)
dev: ⏳ 0/9 (0%)
gtm: ⏳ 0/8 (0%)
ops: ⏳ 0/6 (0%)
cloud: ⏳ 0/11 (0%)
products: ⏳ 0/13 (0%)
core: ⏳ 0/12 (0%)
labs: ⏳ 0/4 (0%)

Overall: 2.5% (2/79)

JSON Output

{
"queue_file": "context-storage/lowercase-migration/SUBMODULE-MIGRATION-QUEUE.md",
"total": 79,
"pending": 77,
"in_progress": 0,
"completed": 2,
"failed": 0,
"progress_percent": 2.5
}

Examples

Quick Check

/migration-status

Before Starting Migration Session

# Check where we left off
/migration-status

# Then start migrating
/migration-next

After Migration Batch

# After running multiple migrations
/migration-status --by-category

Success Output

✅ COMMAND COMPLETE: /migration-status
Progress: 2/79 (2.5%)
Next pending: coditect-docs-api

Completion Checklist

  • Queue document loaded
  • Statistics calculated
  • Display formatted correctly
  • Progress percentage shown

Failure Indicators

  • ❌ Queue document not found
  • ❌ Parse error in queue document

Command Version: 1.0.0 Track: AM.2 (Lowercase Migration) Author: CODITECT Framework Team