Migrate legacy WF_* files and CLAUDE.md to plugin-based workflow
Migrates legacy WF_* files and CLAUDE.md to plugin-based workflow format.
/plugin marketplace add earthmanweb/serena-workflow-engine/plugin install serena-workflow-engine@EarthmanWebMigrate existing project from legacy WF_* memories and CLAUDE.md-based workflow to plugin-based workflow.
.serena/memories/WF_*.md files (legacy format)# Backup legacy WF_* memories
mkdir -p .serena/archive-memories/
cp .serena/memories/WF_*.md .serena/archive-memories/
# Backup CLAUDE.md
cp CLAUDE.md CLAUDE.md.bak
For each existing WF_*.md, verify against states.json:
| Check | Action if Missing |
|---|---|
requiredActions complete? | Add missing from states.json |
| Transitions correct? | Update to match transitionMatrix |
planMode documented? | Add from states.json |
| RLVR signal present? | Add signalType and rewardImpact |
| Permissions stated? | Add allowEdit/allowWrite |
| ≤100 lines? | Condense, move detail to cross-refs |
| Icon correct? | Use icon from states.json |
Remove workflow sections from CLAUDE.md:
Keep in CLAUDE.md:
Ensure hooks are configured in .claude/settings.local.json
Run a simple test to verify workflow functions:
✅ WORKFLOW MIGRATION
Backup:
Migration:
Verification:
Status: SUCCESS
If migration fails:
# Restore legacy WF_* files
cp .serena/archive-memories/WF_*.md .serena/memories/
# Restore CLAUDE.md
mv CLAUDE.md.bak CLAUDE.md
| Aspect | Legacy | Plugin |
|---|---|---|
| Location | .serena/memories/ | Plugin instructions/ → injected via hooks |
| Format | Variable | Standardized ≤100 lines |
| RLVR | Missing | Required per state |
| planMode | Often missing | Required per state |
| Permissions | Implicit | Explicit allowEdit/allowWrite |
| Icons | Ad-hoc emoji | states.json defined |