feat(chapter-31): make workflows exportable and importable

↗ view on GitHub · Amal · 2026-05-24 · 4378b6af

Chapter: 31 - Workflow portability.

Plain-English map:
Add endpoints for exporting and importing workflows as `.mikeworkflow.json`
files.

Why it matters:
Workflows capture reusable legal know-how. Users should be able to move them
between Mike instances, teams, and environments without database access.

Principle:
Useful knowledge should be portable.

Precedent borrowed:
Upstream PR #59.

Upstream base: willchen96/mike@d39f580.
Original local commit: 212fbbe.
Repository amal66/mike
Author Amal <mamalanand3@gmail.com>
Authored
Parents 5b82eff9
Stats 1 file changed , +90
Part of Workflow export/import portability

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-4378b6af.md from inside the repo you want the change in.

⬇ Download capture-commit-4378b6af.md