Skip to content

Commit 0127bf3

Browse files
GeneAIclaude
andcommitted
refactor: Rename workflows to wizards (revert to original naming)
Reverted all "workflows" references back to "wizards" throughout the codebase: - Renamed memdocs/workflows/ directory to memdocs/wizards/ - Updated EmpathySyncWorkflow class to EmpathySyncWizard - Updated all imports, docstrings, and variable names - Updated documentation (CHANGELOG, CONTRIBUTING, PRODUCTION_ROADMAP) - Changed "Complete workflow:" to "Process steps:" in symbol_extractor.py All 301 unit tests passing. This restores the original naming convention. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d30b1c1 commit 0127bf3

7 files changed

Lines changed: 21 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pip install memdocs
7373
- VSCode extension
7474
- JetBrains plugin
7575
- Automatic PR summary generation
76-
- Improved Empathy sync workflows
76+
- Improved Empathy sync wizards
7777

7878
### [2.2.0] - Q2 2026 (Planned)
7979
- Optional semantic search with embeddings

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ memdocs/
239239
│ ├── embeddings.py # Vector embeddings
240240
│ ├── search.py # Vector search
241241
│ ├── index.py # Memory indexing
242-
│ └── workflows/ # High-level workflows
242+
│ └── wizards/ # High-level wizards
243243
├── tests/
244244
│ ├── unit/ # Unit tests
245245
│ ├── integration/ # Integration tests

PRODUCTION_ROADMAP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
- Test error handling and edge cases
3030
- Integration test with Claude Desktop (optional)
3131

32-
- [ ] **workflows/empathy_sync.py (0% → 75%)**:
32+
- [ ] **wizards/empathy_sync.py (0% → 75%)**:
3333
- Mock Empathy API calls
34-
- Test sync workflow end-to-end
34+
- Test sync wizard end-to-end
3535
- Test conflict resolution
3636
- Test rollback on failure
3737

memdocs/symbol_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def extract_and_save_symbols(
455455
"""
456456
Extract symbols and save to YAML file.
457457
458-
**Complete workflow:**
458+
**Process steps:**
459459
1. Detect or use provided language
460460
2. Parse source file with appropriate parser
461461
3. Extract all symbols (functions, classes, methods)

memdocs/wizards/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""Automated wizards for Empathy-DocInt integration."""
2+
3+
from .empathy_sync import EmpathySyncWizard
4+
5+
__all__ = ["EmpathySyncWizard"]
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
Empathy-DocInt Sync Workflow
2+
Empathy-DocInt Sync Wizard
33
4-
Automated workflow to run Empathy Framework analysis and store results in DocInt.
4+
Automated wizard to run Empathy Framework analysis and store results in DocInt.
55
Can be triggered by:
66
- Git hooks (pre-commit, post-commit)
77
- GitHub Actions
@@ -22,9 +22,9 @@
2222
from memdocs.empathy_adapter import adapt_empathy_to_memdocs
2323

2424

25-
class EmpathySyncWorkflow:
25+
class EmpathySyncWizard:
2626
"""
27-
Workflow to sync Empathy Framework analysis to DocInt storage.
27+
Wizard to sync Empathy Framework analysis to DocInt storage.
2828
2929
Supports:
3030
- File-level analysis (default)
@@ -40,7 +40,7 @@ def __init__(
4040
api_key: str | None = None,
4141
):
4242
"""
43-
Initialize workflow.
43+
Initialize wizard.
4444
4545
Args:
4646
empathy_service_url: URL of Empathy Framework API
@@ -299,7 +299,7 @@ def _get_current_commit(self) -> str | None:
299299

300300
# CLI Interface
301301
async def main():
302-
"""CLI entry point for empathy-sync workflow."""
302+
"""CLI entry point for empathy-sync wizard."""
303303
import argparse
304304

305305
parser = argparse.ArgumentParser(
@@ -353,26 +353,26 @@ async def main():
353353

354354
args = parser.parse_args()
355355

356-
# Create workflow
357-
workflow = EmpathySyncWorkflow(
356+
# Create wizard
357+
wizard = EmpathySyncWizard(
358358
empathy_service_url=args.api_url,
359359
memdocs_root=Path(".memdocs"),
360360
)
361361

362362
# Execute based on mode
363363
if args.file:
364364
print(f"Analyzing file: {args.file}")
365-
result = await workflow.analyze_file(args.file, args.language, args.wizard, args.tier)
365+
result = await wizard.analyze_file(args.file, args.language, args.wizard, args.tier)
366366
print("✓ Analysis complete. Stored in .memdocs/")
367367

368368
elif args.module:
369369
print(f"Analyzing module: {args.module}")
370-
results = await workflow.analyze_module(args.module, args.language, args.wizard, args.tier)
370+
results = await wizard.analyze_module(args.module, args.language, args.wizard, args.tier)
371371
print(f"✓ Analyzed {len(results)} files. Stored in .memdocs/")
372372

373373
elif args.changed:
374374
print("Analyzing changed files...")
375-
results = await workflow.analyze_changed_files(
375+
results = await wizard.analyze_changed_files(
376376
args.since, args.language, args.wizard, args.tier
377377
)
378378
print(f"✓ Analyzed {len(results)} changed files. Stored in .memdocs/")

memdocs/workflows/__init__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)