migrate_project_layout
Preview or migrate selected legacy project facts, rules, and skills into shared repository storage, with dry-run preview and private exclusions before applying changes.
Instructions
Preview or migrate selected legacy project facts, rules, and skills into shared repository storage. Use to expose curated existing content; initialize_project creates new storage and share_skill shares one skill. Requires legacy content and filesystem access. dry_run=true previews without modifying content. false writes shared content and migration state, then rewrites the legacy facts file to remove migrated or already- shared facts; private, global, and conflicting facts remain local. Writes use the safe snapshot/audit pipeline. Returns the migration plan/results and warnings. Review private exclusions and source changes before applying: shared content can become visible to repository collaborators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true (default) previews without modifying content. false applies shared writes and rewrites the legacy facts file to remove migrated/already-shared facts. | |
| include | No | Content kinds to migrate. Omitted or empty selects facts, rules, and skills. | |
| target_layout | No | Destination layout. Only shared is supported. Applying migration removes migrated/already-shared facts from the legacy facts file; private/global/conflicting facts remain. | shared |
| private_fact_ids | No | Fact IDs to retain privately instead of copying into shared content; omitted or empty excludes none explicitly. | |
| private_skill_slugs | No | Skill slugs to retain privately; omitted or empty excludes none explicitly. | |
| shared_operational_skill_slugs | No | Explicit operational skill slugs allowed into shared content; omitted or empty grants no such exceptions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||