Skip to content

feat: conflict resolution workflow (ele resolve-conflict)#70

Merged
Alphanymous merged 1 commit into
masterfrom
feat/conflict-resolution
Jun 30, 2026
Merged

feat: conflict resolution workflow (ele resolve-conflict)#70
Alphanymous merged 1 commit into
masterfrom
feat/conflict-resolution

Conversation

@Alphanymous

Copy link
Copy Markdown
Contributor

Closes #53

Changes

  • Add conflict_resolutions table to track resolved conflicts
  • New ele conflicts list with cluster IDs for resolution
  • New ele resolve-conflict <cluster-id> --choose <memory-id> command
  • New ele resolve-conflict <cluster-id> --strategy newest|oldest|longest for auto-resolution
  • Resolved conflict pairs are skipped in future find_conflicts calls

Comment thread elesync/cli.py
meta["lang"] = get_language()
(vp / "meta.json").write_text(json.dumps(meta, indent=2) + "\n", encoding="utf-8")
print(f" Saved to {vp / 'meta.json'}")
except (OSError, json.JSONDecodeError):
Comment thread elesync/cli.py
try:
p.parent.mkdir(parents=True, exist_ok=True)
p.write_text(json.dumps(cfg, indent=2), encoding="utf-8")
except OSError:
Comment thread elesync/store.py
"UPDATE memories SET mtime = ? WHERE id = ?",
(note.stat().st_mtime, item.id),
)
except Exception:
@Alphanymous Alphanymous merged commit c10801d into master Jun 30, 2026
8 of 11 checks passed
@Alphanymous Alphanymous deleted the feat/conflict-resolution branch June 30, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Better conflict resolution workflow (CLI + web UI)

1 participant