Skip to content

feat: v1.4 — PARA Migration#16

Merged
devwhodevs merged 8 commits intomainfrom
feature/v1.4-para-migration
Mar 26, 2026
Merged

feat: v1.4 — PARA Migration#16
devwhodevs merged 8 commits intomainfrom
feature/v1.4-para-migration

Conversation

@devwhodevs
Copy link
Copy Markdown
Owner

Summary

  • New module: migrate.rs — AI-assisted vault restructuring into PARA (Projects/Areas/Resources/Archive)
  • Heuristic classification — 11 priority-ordered rules: status fields, unchecked tasks, person tags, edge counts, area keywords, daily/template/canvas skipping
  • Preview-then-apply workflow — generates markdown + JSON preview, user reviews, then applies
  • Rollbackengraph migrate para --undo reverses the last migration via migration log
  • 3 new MCP toolsmigrate_preview, migrate_apply, migrate_undo
  • 3 new HTTP endpointsPOST /api/migrate/{preview,apply,undo}
  • Live vault test: 39 files classified for move, 0 uncertain, 68 skipped (daily notes, templates, already-correct)

Stats

Metric Before After
Modules 24 25
MCP tools 19 22
HTTP endpoints 20 23
Tests 385 417
Clippy warnings 0 0

Test plan

  • cargo test --lib — 417 pass
  • cargo clippy -- -D warnings — 0 warnings
  • cargo fmt --check — clean
  • Live vault: preview generates correct classifications
  • Preview markdown has proper tables with confidence scores
  • CLI migrate para --help shows all flags
  • Daily notes, templates, canvas files correctly skipped
  • Files already in correct PARA folder skipped

Implements suggest_path() for PARA-compliant destination paths with
VaultProfile support, generate_preview() that classifies all indexed
files and partitions into confident/uncertain buckets, and
format_preview_markdown() for human-readable review tables grouped by
category. Adds 16 new tests covering path suggestion, formatting output,
and edge cases.
@devwhodevs devwhodevs merged commit c7bcab3 into main Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant