mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-28 10:49:45 +02:00
When no install-state is found for the current context, `ecc uninstall` now checks for the legacy `sync-ecc-to-codex.sh` ownership manifest under `~/.codex/ecc/legacy-sync-state.json` and, if present, rolls back the managed Codex artifacts it recorded. It restores previous `config.toml` and `AGENTS.md` content instead of deleting them, removes generated prompts/docs/copies, and leaves unrelated Codex conversation history and user config keys untouched. A fallback `--legacy-codex-sync` flag still forces the legacy path explicitly, and `--dry-run` previews the cleanup. Co-Authored-By: Paperclip <noreply@paperclip.ing>