What problem does it solve? Legacy repositories using the .lovable folder structure need to be migrated to the modern .ai-memory and 02-spec architecture, and their Go codebases require DRY optimization such as replacing legacy error wrappers with pkg/appfault and enforcing strict boolean standards. Doing this manually across many files is error-prone and inconsistent. ## Core Features & Use Cases - Repository Migration: Synchronizes .ai-memory, 02-spec, 01-prompts, 03-ai-scripts, and agents.md from a central orchestration repo, migrates .lovable/memory/ into .ai-memory/memory/, and removes legacy folders. - DRY Code Optimization: Spawns execution subagents to replace apperror with appfault, fix boolean flag names, extract embedded options structs, and enforce line length under 100 characters. - Atomic Consolidation: Merges subtask logs into .ai-memory/plans/completed/ and commits all changes in a single atomic git commit. - Use Case: A maintainer of movie-cli-v8 needs to modernize the repo structure and standardize error handling across the Go codebase without running builds or tests during the refactor loop. ## Quick Start Ask the agent to run the movie-cli migration and optimization workflow to migrate the repository structure and refactor the Go codebase with appfault error handling.