Maintenance

Migrate

Move a legacy .bluespec/ install to Lagune with a single command, keeping your charter, artifacts, tracking, and own sub-skills.

Migrate

🔀 Move a legacy .bluespec/ install to Lagune, keeping everything you wrote.

For projects installed under the legacy name

If your project was set up by the legacy blue-spec package, its state lives in .bluespec/ and its agent commands answer to /bluespec.*. Migrate brings all of it to Lagune in one run.

Run it once, from the project root:

npx -y lagune@latest migrate
Your memories and specializations are never lost

Only the old name inside them changes, never the content. The one exception, as in update: a built-in you refined is reset to the shipped version, still recoverable from your git history.

tip

In doubt? Make sure your project's current state is committed before running the migration.

What changes

Once migrated, your project will answer to the new commands and paths:

BeforeAfter
/bluespec/lagune
/bluespec.charter/lagune.charter
/bluespec.detect/lagune.detect
/bluespec.plan/lagune.plan
/bluespec.harden/lagune.harden
/bluespec.verify/lagune.verify
/bluespec.repair/lagune.repair
/bluespec.specialize/lagune.specialize
/bluespec.prove/lagune.prove

How it works

Migrate reads your legacy manifest and carries the whole install over:

  1. Renames .bluespec/ to .lagune/.
  2. Removes the legacy /bluespec.* agent commands and writes the /lagune.* ones in their place, in your agent's own format.
  3. Rewrites the old name inside the manifest, the tracking, the phase artifacts, and any sub-skill you authored, keeping their content otherwise intact.
  4. Migrates the Lagune block in your .gitignore, preserving your own entries and any sub-skill re-include.
  5. Refreshes the templates, hooks, and built-in sub-skills to the installed version, the same way update does.

Your security work survives as it is: the charter, the artifacts each phase produced, the tracked findings and the paths they point at, and every sub-skill of your own.

tip
  • It touches only Lagune's own files, never your code.
  • Running it again is a no-op: once the project runs on Lagune, there is nothing left to migrate.
  • If both .bluespec/ and .lagune/ exist, it stops and asks you to keep the one holding your state before running again.

Copyright © 2026-present Weslley Araújo and contributors. SDH: Lagune is under the MIT License. Please check the Security Policy.

All product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.